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);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
234 #define SWIGTYPE_p_wxRealPoint swig_types[1]
235 #define SWIGTYPE_p_wxSizerItem swig_types[2]
236 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
237 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
238 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
239 #define SWIGTYPE_p_wxSizer swig_types[6]
240 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
241 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
242 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
243 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
244 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
245 #define SWIGTYPE_p_wxMenu swig_types[12]
246 #define SWIGTYPE_p_wxEvent swig_types[13]
247 #define SWIGTYPE_p_wxGridSizer swig_types[14]
248 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
249 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
250 #define SWIGTYPE_p_wxItemContainer swig_types[17]
251 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
252 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
253 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
254 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
255 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
256 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
257 #define SWIGTYPE_p_wxControl swig_types[24]
258 #define SWIGTYPE_p_wxFont swig_types[25]
259 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
260 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
261 #define SWIGTYPE_p_wxFSFile swig_types[28]
262 #define SWIGTYPE_p_wxCaret swig_types[29]
263 #define SWIGTYPE_p_wxRegion swig_types[30]
264 #define SWIGTYPE_p_wxPoint2D swig_types[31]
265 #define SWIGTYPE_p_int swig_types[32]
266 #define SWIGTYPE_p_wxSize swig_types[33]
267 #define SWIGTYPE_p_wxDC swig_types[34]
268 #define SWIGTYPE_p_wxPySizer swig_types[35]
269 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
270 #define SWIGTYPE_p_wxPyEvent swig_types[37]
271 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
272 #define SWIGTYPE_p_wxAppTraits swig_types[39]
273 #define SWIGTYPE_p_wxArrayString swig_types[40]
274 #define SWIGTYPE_p_wxShowEvent swig_types[41]
275 #define SWIGTYPE_p_wxToolTip swig_types[42]
276 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
277 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
278 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
279 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
280 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
281 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
282 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
283 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
284 #define SWIGTYPE_p_wxMenuItem swig_types[51]
285 #define SWIGTYPE_p_wxStaticBox swig_types[52]
286 #define SWIGTYPE_p_long swig_types[53]
287 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
288 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
289 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
290 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
291 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
292 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
293 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
294 #define SWIGTYPE_p_wxANIHandler swig_types[61]
295 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
296 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
297 #define SWIGTYPE_p_wxCURHandler swig_types[64]
298 #define SWIGTYPE_p_wxICOHandler swig_types[65]
299 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
300 #define SWIGTYPE_p_wxImageHandler swig_types[67]
301 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
302 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
303 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
304 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
305 #define SWIGTYPE_p_wxRect swig_types[72]
306 #define SWIGTYPE_p_wxGBSpan swig_types[73]
307 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
308 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
309 #define SWIGTYPE_p_char swig_types[76]
310 #define SWIGTYPE_p_wxGBPosition swig_types[77]
311 #define SWIGTYPE_p_wxImage swig_types[78]
312 #define SWIGTYPE_p_wxFrame swig_types[79]
313 #define SWIGTYPE_p_wxScrollWinEvent swig_types[80]
314 #define SWIGTYPE_p_wxImageHistogram swig_types[81]
315 #define SWIGTYPE_p_byte swig_types[82]
316 #define SWIGTYPE_p_wxPoint swig_types[83]
317 #define SWIGTYPE_p_wxCursor swig_types[84]
318 #define SWIGTYPE_p_wxObject swig_types[85]
319 #define SWIGTYPE_p_wxPyInputStream swig_types[86]
320 #define SWIGTYPE_p_wxOutputStream swig_types[87]
321 #define SWIGTYPE_p_wxInputStream swig_types[88]
322 #define SWIGTYPE_p_wxDateTime swig_types[89]
323 #define SWIGTYPE_p_wxKeyEvent swig_types[90]
324 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
325 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[92]
326 #define SWIGTYPE_p_wxWindow swig_types[93]
327 #define SWIGTYPE_p_wxMenuBar swig_types[94]
328 #define SWIGTYPE_p_wxFileSystem swig_types[95]
329 #define SWIGTYPE_p_wxBitmap swig_types[96]
330 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
331 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
332 #define SWIGTYPE_p_unsigned_char swig_types[99]
333 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
334 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
335 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
336 #define SWIGTYPE_p_wxPyApp swig_types[103]
337 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
338 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
339 #define SWIGTYPE_p_wxPyDropTarget swig_types[106]
340 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
341 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
342 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
343 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
344 #define SWIGTYPE_p_wxColour swig_types[111]
345 #define SWIGTYPE_p_wxValidator swig_types[112]
346 #define SWIGTYPE_p_wxPyValidator swig_types[113]
347 static swig_type_info
*swig_types
[115];
349 /* -------- TYPES TABLE (END) -------- */
352 /*-----------------------------------------------
354 ------------------------------------------------*/
355 #define SWIG_init init_core
357 #define SWIG_name "_core"
365 #define SWIGSTATIC(a) static inline a
367 #define SWIGSTATIC(a) static a
373 #ifdef HAVE_NUMERIC_CAST
374 #define numeric_cast(type,a) numeric_cast<type>(a)
376 #define numeric_cast(type,a) static_cast<type>(a)
379 #define numeric_cast(type,a) (type)(a)
385 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
386 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
387 #define SWIG_PyObj_FromShort PyInt_FromLong
388 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
389 #define SWIG_PyObj_FromInt PyInt_FromLong
390 #define SWIG_PyObj_FromLong PyInt_FromLong
391 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
392 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
393 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
394 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
397 #include "wx/wxPython/wxPython_int.h"
398 #include "wx/wxPython/pyclasses.h"
401 #ifndef wxPyUSE_EXPORT
402 // Helper functions for dealing with SWIG objects and such. These are
403 // located here so they know about the SWIG types and functions declared
404 // in the wrapper code.
406 #include <wx/hashmap.h>
407 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
410 // Maintains a hashmap of className to swig_type_info pointers. Given the
411 // name of a class either looks up the type info in the cache, or scans the
412 // SWIG tables for it.
413 extern PyObject
* wxPyPtrTypeMap
;
415 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
417 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
419 if (typeInfoCache
== NULL
)
420 typeInfoCache
= new wxPyTypeInfoHashMap
;
422 wxString
name(className
);
423 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
426 // it wasn't in the cache, so look it up from SWIG
427 name
.Append(wxT(" *"));
428 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
430 // if it still wasn't found, try looking for a mapped name
435 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
436 (char*)(const char*)name
.mbc_str())) != NULL
) {
437 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
438 name
.Append(wxT(" *"));
439 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
443 // and add it to the map if found
444 (*typeInfoCache
)[className
] = swigType
;
451 // Check if a class name is a type known to SWIG
452 bool wxPyCheckSwigType(const wxChar
* className
) {
454 swig_type_info
* swigType
= wxPyFindSwigType(className
);
455 return swigType
!= NULL
;
459 // Given a pointer to a C++ object and a class name, construct a Python proxy
461 PyObject
* wxPyConstructObject(void* ptr
,
462 const wxChar
* className
,
465 swig_type_info
* swigType
= wxPyFindSwigType(className
);
466 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
468 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
472 // Extract a pointer to the wrapped C++ object from a Python proxy object.
473 // Ensures that the proxy object is of the specified (or derived) type. If
474 // not able to perform the conversion then a Python exception is set and the
475 // error should be handled properly in the caller. Returns True on success.
476 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
477 const wxChar
* className
) {
479 swig_type_info
* swigType
= wxPyFindSwigType(className
);
480 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
482 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
486 // Make a SWIGified pointer object suitable for a .this attribute
487 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
489 PyObject
* robj
= NULL
;
491 swig_type_info
* swigType
= wxPyFindSwigType(className
);
492 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
494 #ifdef SWIG_COBJECT_TYPES
495 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
501 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
502 strcpy(r
, swigType
->name
);
503 robj
= PyString_FromString(result
);
513 // Export a C API in a struct. Other modules will be able to load this from
514 // the wx.core module and will then have safe access to these functions, even if
515 // they are located in another shared library.
516 static wxPyCoreAPI API
= {
518 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
519 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
520 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
521 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
522 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
523 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
524 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
525 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
526 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
527 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
528 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
529 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
530 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
531 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
532 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
533 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
534 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
536 (p_SWIG_PyObj_AsCharPtr_t
)SWIG_PyObj_AsCharPtr
,
537 (p_SWIG_PyObj_FromCharPtr_t
)SWIG_PyObj_FromCharPtr
,
538 (p_SWIG_PyObj_AsUnsignedLong_t
)SWIG_PyObj_AsUnsignedLong
,
539 (p_SWIG_PyObj_AsLongInRange_t
)SWIG_PyObj_AsLongInRange
,
540 (p_SWIG_PyObj_AsUnsignedLongInRange_t
)SWIG_PyObj_AsUnsignedLongInRange
,
541 (p_SWIG_PyObj_AsNewCharPtr_t
)SWIG_PyObj_AsNewCharPtr
,
542 (p_SWIG_PyObj_AsCharPtrAndSize_t
)SWIG_PyObj_AsCharPtrAndSize
,
543 (p_SWIG_PyObj_AsCharArray_t
)SWIG_PyObj_AsCharArray
,
544 (p_SWIG_PyObj_FromCharArray_t
)SWIG_PyObj_FromCharArray
,
545 (p_SWIG_PyObj_AsFloatConv_t
)SWIG_PyObj_AsFloatConv
,
552 wxPyBeginAllowThreads
,
554 wxPyBeginBlockThreads
,
568 wxBitmap_LIST_helper
,
569 wxString_LIST_helper
,
570 wxAcceleratorEntry_LIST_helper
,
579 wxPySimple_typecheck
,
582 wxPyCBH_setCallbackInfo
,
583 wxPyCBH_findCallback
,
584 wxPyCBH_callCallback
,
585 wxPyCBH_callCallbackObj
,
593 wxArrayString2PyList_helper
,
594 wxArrayInt2PyList_helper
,
598 wxPyOORClientData_dtor
,
600 wxPyCBInputStream_create
,
603 wxPySwigInstance_Check
611 enum wxHotkeyModifier
619 #define wxEVT_HOTKEY 9999
622 static const wxString
wxPyEmptyString(wxEmptyString
);
623 wxString
wxObject_GetClassName(wxObject
*self
){
624 return self
->GetClassInfo()->GetClassName();
626 void wxObject_Destroy(wxObject
*self
){
631 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
636 SWIG_PyObj_AsInt(PyObject
*obj
)
638 return numeric_cast(int,
639 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
642 PyObject
*wxSize_Get(wxSize
*self
){
643 wxPyBeginBlockThreads();
644 PyObject
* tup
= PyTuple_New(2);
645 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
646 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
647 wxPyEndBlockThreads();
652 SWIG_PyObj_AsDouble(PyObject
*obj
)
654 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
656 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
658 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
660 if (PyErr_Occurred()) {
662 PyErr_SetString(PyExc_TypeError
, "a double is expected");
666 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
670 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
671 wxPyBeginBlockThreads();
672 PyObject
* tup
= PyTuple_New(2);
673 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
674 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
675 wxPyEndBlockThreads();
680 SWIG_PyObj_AsLong(PyObject
* obj
)
682 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
685 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
689 PyObject
*wxPoint_Get(wxPoint
*self
){
690 wxPyBeginBlockThreads();
691 PyObject
* tup
= PyTuple_New(2);
692 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
693 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
694 wxPyEndBlockThreads();
697 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
701 self
->height
= height
;
703 PyObject
*wxRect_Get(wxRect
*self
){
704 wxPyBeginBlockThreads();
705 PyObject
* tup
= PyTuple_New(4);
706 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
707 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
708 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
709 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
710 wxPyEndBlockThreads();
714 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
717 wxRect
dest(0,0,0,0);
720 reg1
.Intersect(reg2
);
721 dest
= reg1
.GetBox();
723 if (dest
!= wxRect(0,0,0,0)) {
724 wxPyBeginBlockThreads();
725 wxRect
* newRect
= new wxRect(dest
);
726 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
727 wxPyEndBlockThreads();
735 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
741 } else if (target
== Py_None
) {
745 if (!PyTuple_Check(target
)) {
747 target
= PyTuple_New(1);
748 PyTuple_SetItem(target
, 0, o2
);
751 PyTuple_SetItem(o3
, 0, o
);
754 target
= PySequence_Concat(o2
, o3
);
761 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
765 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
766 wxPyBeginBlockThreads();
767 PyObject
* tup
= PyTuple_New(2);
768 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
769 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
770 wxPyEndBlockThreads();
774 #include "wx/wxPython/pyistream.h"
776 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
777 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
779 return new wxPyInputStream(wxis
);
784 SWIGSTATIC(PyObject
*)
785 SWIG_PyObj_FromChar(char c
)
787 return PyString_FromStringAndSize(&c
,1);
791 SWIGSTATIC(PyObject
* )
792 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
794 return (value
> (unsigned long)(LONG_MAX
)) ?
795 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
800 SWIG_PyObj_AsChar(PyObject
*obj
)
803 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
804 c
= numeric_cast(char,
805 SWIG_PyObj_AsLongInRange(obj
, "char",CHAR_MIN
, CHAR_MAX
));
807 char* cptr
; size_t csize
;
808 SWIG_PyObj_AsCharPtrAndSize(obj
, 0, &cptr
, &csize
);
812 PyErr_SetString(PyExc_TypeError
, "a char is expected");
818 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
819 // We use only strings for the streams, not unicode
820 PyObject
* str
= PyObject_Str(obj
);
822 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
825 self
->Write(PyString_AS_STRING(str
),
826 PyString_GET_SIZE(str
));
830 #include "wx/wxPython/pyistream.h"
833 class wxPyFileSystemHandler
: public wxFileSystemHandler
836 wxPyFileSystemHandler() : wxFileSystemHandler() {}
838 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
839 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
840 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
841 DEC_PYCALLBACK_STRING__pure(FindNext
);
843 wxString
GetProtocol(const wxString
& location
) {
844 return wxFileSystemHandler::GetProtocol(location
);
847 wxString
GetLeftLocation(const wxString
& location
) {
848 return wxFileSystemHandler::GetLeftLocation(location
);
851 wxString
GetAnchor(const wxString
& location
) {
852 return wxFileSystemHandler::GetAnchor(location
);
855 wxString
GetRightLocation(const wxString
& location
) {
856 return wxFileSystemHandler::GetRightLocation(location
);
859 wxString
GetMimeTypeFromExt(const wxString
& location
) {
860 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
867 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
868 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
869 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
870 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
874 SWIG_PyObj_AsBool(PyObject
*obj
)
876 return PyObject_IsTrue(obj
) ? true : false;
880 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
881 wxFileName fname
= wxFileSystem::URLToFileName(url
);
882 return fname
.GetFullPath();
886 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
889 wxMemoryFSHandler::AddFile(filename
, image
, type
);
892 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
893 const wxBitmap
& bitmap
,
895 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
898 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
900 wxMemoryFSHandler::AddFile(filename
,
901 // TODO: Verify data type
902 (void*)PyString_AsString(data
),
903 (size_t)PyString_Size(data
));
907 #include "wx/wxPython/pyistream.h"
910 SWIGSTATIC(unsigned char)
911 SWIG_PyObj_AsUnsignedChar(PyObject
*obj
)
913 return numeric_cast(unsigned char,
914 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned char", UCHAR_MAX
));
917 wxImage
*new_wxImage(int width
,int height
,bool clear
){
918 if (width
> 0 && height
> 0)
919 return new wxImage(width
, height
, clear
);
923 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
924 return new wxImage(bitmap
.ConvertToImage());
926 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
927 // Copy the source data so the wxImage can clean it up later
928 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
933 memcpy(copy
, data
, width
*height
*3);
934 return new wxImage(width
, height
, copy
, False
);
936 PyObject
*wxImage_GetData(wxImage
*self
){
937 unsigned char* data
= self
->GetData();
938 int len
= self
->GetWidth() * self
->GetHeight() * 3;
940 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
943 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
944 unsigned char* dataPtr
;
946 if (! PyString_Check(data
)) {
947 PyErr_SetString(PyExc_TypeError
, "Expected string object");
951 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
952 dataPtr
= (unsigned char*) malloc(len
);
953 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
954 self
->SetData(dataPtr
);
955 // wxImage takes ownership of dataPtr...
957 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
958 unsigned char* data
= self
->GetData();
959 int len
= self
->GetWidth() * self
->GetHeight() * 3;
961 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
964 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
965 unsigned char* buffer
;
968 wxPyBeginBlockThreads();
969 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
972 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
973 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
976 self
->SetData(buffer
);
978 wxPyEndBlockThreads();
980 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
981 unsigned char* data
= self
->GetAlpha();
985 int len
= self
->GetWidth() * self
->GetHeight();
987 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
991 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
992 unsigned char* dataPtr
;
994 if (! PyString_Check(data
)) {
995 PyErr_SetString(PyExc_TypeError
, "Expected string object");
999 size_t len
= self
->GetWidth() * self
->GetHeight();
1000 dataPtr
= (unsigned char*) malloc(len
);
1001 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1002 self
->SetAlpha(dataPtr
);
1003 // wxImage takes ownership of dataPtr...
1005 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1006 unsigned char* data
= self
->GetAlpha();
1007 int len
= self
->GetWidth() * self
->GetHeight();
1009 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1012 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1013 unsigned char* buffer
;
1016 wxPyBeginBlockThreads();
1017 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1020 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1021 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1024 self
->SetAlpha(buffer
);
1026 wxPyEndBlockThreads();
1028 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1029 wxBitmap
bitmap(*self
);
1032 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1033 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1034 wxBitmap
bitmap( mono
, 1 );
1037 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1038 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1039 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1040 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1041 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1042 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1043 if (PyCallable_Check(func
)) {
1044 self
->Connect(id
, lastId
, eventType
,
1045 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1046 new wxPyCallback(func
));
1048 else if (func
== Py_None
) {
1049 self
->Disconnect(id
, lastId
, eventType
,
1050 (wxObjectEventFunction
)
1051 &wxPyCallback::EventThunker
);
1054 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
1057 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1058 return self
->Disconnect(id
, lastId
, eventType
,
1059 (wxObjectEventFunction
)
1060 &wxPyCallback::EventThunker
);
1062 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1063 if (_self
&& _self
!= Py_None
) {
1064 self
->SetClientObject(new wxPyOORClientData(_self
));
1067 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1069 self
->SetClientObject(NULL
); // This will delete it too
1073 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1075 return self
->m_uniChar
;
1081 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
1084 SWIGSTATIC(unsigned int)
1085 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
1087 return numeric_cast(unsigned int,
1088 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
1091 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1092 self
->m_size
= size
;
1094 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1097 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1098 int count
= self
->GetNumberOfFiles();
1099 wxString
* files
= self
->GetFiles();
1100 PyObject
* list
= PyList_New(count
);
1103 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1107 for (int i
=0; i
<count
; i
++) {
1108 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1114 wxPyApp
*new_wxPyApp(){
1115 wxPythonApp
= new wxPyApp();
1118 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1120 void wxApp_CleanUp() {
1125 wxPyApp
* wxGetApp() {
1126 return (wxPyApp
*)wxTheApp
;
1131 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1132 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1133 wxWindowList
& list
= self
->GetChildren();
1134 return wxPy_ConvertList(&list
);
1136 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1143 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1150 long wxWindow_GetHandle(wxWindow
*self
){
1151 return wxPyGetWinHandle(self
);
1154 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1155 return wxWindow::FindWindowById(id
, parent
);
1158 wxWindow
* wxFindWindowByName( const wxString
& name
,
1159 const wxWindow
*parent
= NULL
) {
1160 return wxWindow::FindWindowByName(name
, parent
);
1163 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1164 const wxWindow
*parent
= NULL
) {
1165 return wxWindow::FindWindowByLabel(label
, parent
);
1169 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1171 wxWindow
* win
= new wxWindow
;
1173 win
->SubclassWin(hWnd
);
1176 wxPyRaiseNotImplemented();
1182 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1183 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1184 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1186 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1188 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1189 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1190 wxMenuItemList
& list
= self
->GetMenuItems();
1191 return wxPy_ConvertList(&list
);
1193 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1194 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1195 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1197 wxPyClientData
* data
= new wxPyClientData(clientData
);
1198 return self
->Append(item
, data
);
1200 return self
->Append(item
);
1202 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1204 wxPyClientData
* data
= new wxPyClientData(clientData
);
1205 return self
->Insert(item
, pos
, data
);
1207 return self
->Insert(item
, pos
);
1209 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1210 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1212 Py_INCREF(data
->m_obj
);
1219 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1220 wxPyClientData
* data
= new wxPyClientData(clientData
);
1221 self
->SetClientObject(n
, data
);
1227 SWIG_PyObj_AsFloat(PyObject
*obj
)
1229 return SWIG_PyObj_AsFloatConv(obj
, SWIG_PyObj_AsDouble
);
1232 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1233 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1235 Py_INCREF(data
->m_obj
);
1243 // Figure out the type of the sizer item
1245 struct wxPySizerItemInfo
{
1247 : window(NULL
), sizer(NULL
), gotSize(False
),
1248 size(wxDefaultSize
), gotPos(False
), pos(-1)
1259 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1261 wxPySizerItemInfo info
;
1263 wxSize
* sizePtr
= &size
;
1265 // Find out what the type of the item is
1267 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1272 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1276 // try wxSize or (w,h)
1277 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1278 info
.size
= *sizePtr
;
1279 info
.gotSize
= True
;
1283 if (checkIdx
&& PyInt_Check(item
)) {
1284 info
.pos
= PyInt_AsLong(item
);
1290 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1291 // no expected type, figure out what kind of error message to generate
1292 if ( !checkSize
&& !checkIdx
)
1293 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1294 else if ( checkSize
&& !checkIdx
)
1295 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1296 else if ( !checkSize
&& checkIdx
)
1297 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1299 // can this one happen?
1300 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1306 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1307 self
->SetClientObject(new wxPyOORClientData(_self
));
1309 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1311 wxPyUserData
* data
= NULL
;
1312 wxPyBeginBlockThreads();
1313 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1314 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1315 data
= new wxPyUserData(userData
);
1316 wxPyEndBlockThreads();
1318 // Now call the real Add method if a valid item type was found
1320 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1321 else if ( info
.sizer
)
1322 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1323 else if (info
.gotSize
)
1324 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1325 proportion
, flag
, border
, data
);
1327 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1329 wxPyUserData
* data
= NULL
;
1330 wxPyBeginBlockThreads();
1331 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1332 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1333 data
= new wxPyUserData(userData
);
1334 wxPyEndBlockThreads();
1336 // Now call the real Insert method if a valid item type was found
1338 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1339 else if ( info
.sizer
)
1340 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1341 else if (info
.gotSize
)
1342 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1343 proportion
, flag
, border
, data
);
1345 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1347 wxPyUserData
* data
= NULL
;
1348 wxPyBeginBlockThreads();
1349 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1350 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1351 data
= new wxPyUserData(userData
);
1352 wxPyEndBlockThreads();
1354 // Now call the real Prepend method if a valid item type was found
1356 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1357 else if ( info
.sizer
)
1358 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1359 else if (info
.gotSize
)
1360 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1361 proportion
, flag
, border
, data
);
1363 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1364 wxPyBeginBlockThreads();
1365 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1366 wxPyEndBlockThreads();
1368 return self
->Remove(info
.window
);
1369 else if ( info
.sizer
)
1370 return self
->Remove(info
.sizer
);
1371 else if ( info
.gotPos
)
1372 return self
->Remove(info
.pos
);
1376 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1377 wxPyBeginBlockThreads();
1378 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1379 wxPyEndBlockThreads();
1381 self
->SetItemMinSize(info
.window
, size
);
1382 else if ( info
.sizer
)
1383 self
->SetItemMinSize(info
.sizer
, size
);
1384 else if ( info
.gotPos
)
1385 self
->SetItemMinSize(info
.pos
, size
);
1387 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1388 wxSizerItemList
& list
= self
->GetChildren();
1389 return wxPy_ConvertList(&list
);
1391 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1392 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1394 self
->Show(info
.window
, show
);
1395 else if ( info
.sizer
)
1396 self
->Show(info
.sizer
, show
);
1398 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1399 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1401 self
->Hide(info
.window
);
1402 else if ( info
.sizer
)
1403 self
->Hide(info
.sizer
);
1405 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1406 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1408 return self
->IsShown(info
.window
);
1409 else if ( info
.sizer
)
1410 return self
->IsShown(info
.sizer
);
1416 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1417 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1418 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1423 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1425 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1428 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1430 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1434 bool wxGBPosition___eq__(wxGBPosition
*self
,wxGBPosition
const *other
){ return other
? (*self
== *other
) : False
; }
1435 bool wxGBPosition___ne__(wxGBPosition
*self
,wxGBPosition
const *other
){ return other
? (*self
!= *other
) : True
; }
1436 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1440 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1441 wxPyBeginBlockThreads();
1442 PyObject
* tup
= PyTuple_New(2);
1443 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1444 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1445 wxPyEndBlockThreads();
1448 bool wxGBSpan___eq__(wxGBSpan
*self
,wxGBSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1449 bool wxGBSpan___ne__(wxGBSpan
*self
,wxGBSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1450 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1451 self
->SetRowspan(rowspan
);
1452 self
->SetColspan(colspan
);
1454 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1455 wxPyBeginBlockThreads();
1456 PyObject
* tup
= PyTuple_New(2);
1457 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1458 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1459 wxPyEndBlockThreads();
1462 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1464 wxPyUserData
* data
= NULL
;
1465 wxPyBeginBlockThreads();
1466 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1467 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1468 data
= new wxPyUserData(userData
);
1469 wxPyEndBlockThreads();
1471 // Now call the real Add method if a valid item type was found
1473 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1474 else if ( info
.sizer
)
1475 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1476 else if (info
.gotSize
)
1477 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1478 pos
, span
, flag
, border
, data
);
1486 static int _wrap_EmptyString_set(PyObject
*) {
1487 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1492 static PyObject
*_wrap_EmptyString_get() {
1497 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1499 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1506 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
*resultobj
;
1508 wxObject
*arg1
= (wxObject
*) 0 ;
1510 PyObject
* obj0
= 0 ;
1512 (char *) "self", NULL
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1519 result
= wxObject_GetClassName(arg1
);
1521 wxPyEndAllowThreads(__tstate
);
1522 if (PyErr_Occurred()) SWIG_fail
;
1526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1537 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
*resultobj
;
1539 wxObject
*arg1
= (wxObject
*) 0 ;
1540 PyObject
* obj0
= 0 ;
1542 (char *) "self", NULL
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1549 wxObject_Destroy(arg1
);
1551 wxPyEndAllowThreads(__tstate
);
1552 if (PyErr_Occurred()) SWIG_fail
;
1554 Py_INCREF(Py_None
); resultobj
= Py_None
;
1561 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1564 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1566 return Py_BuildValue((char *)"");
1568 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
*resultobj
;
1570 wxSize
*arg1
= (wxSize
*) 0 ;
1572 PyObject
* obj0
= 0 ;
1573 PyObject
* obj1
= 0 ;
1575 (char *) "self",(char *) "x", NULL
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1581 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1582 if (PyErr_Occurred()) SWIG_fail
;
1584 if (arg1
) (arg1
)->x
= arg2
;
1586 Py_INCREF(Py_None
); resultobj
= Py_None
;
1593 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1594 PyObject
*resultobj
;
1595 wxSize
*arg1
= (wxSize
*) 0 ;
1597 PyObject
* obj0
= 0 ;
1599 (char *) "self", NULL
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1604 result
= (int) ((arg1
)->x
);
1606 resultobj
= SWIG_PyObj_FromInt((int)result
);
1613 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
*resultobj
;
1615 wxSize
*arg1
= (wxSize
*) 0 ;
1617 PyObject
* obj0
= 0 ;
1618 PyObject
* obj1
= 0 ;
1620 (char *) "self",(char *) "y", NULL
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1626 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1627 if (PyErr_Occurred()) SWIG_fail
;
1629 if (arg1
) (arg1
)->y
= arg2
;
1631 Py_INCREF(Py_None
); resultobj
= Py_None
;
1638 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
*resultobj
;
1640 wxSize
*arg1
= (wxSize
*) 0 ;
1642 PyObject
* obj0
= 0 ;
1644 (char *) "self", NULL
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1649 result
= (int) ((arg1
)->y
);
1651 resultobj
= SWIG_PyObj_FromInt((int)result
);
1658 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
*resultobj
;
1660 int arg1
= (int) 0 ;
1661 int arg2
= (int) 0 ;
1663 PyObject
* obj0
= 0 ;
1664 PyObject
* obj1
= 0 ;
1666 (char *) "w",(char *) "h", NULL
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1672 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1673 if (PyErr_Occurred()) SWIG_fail
;
1678 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1679 if (PyErr_Occurred()) SWIG_fail
;
1683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1684 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1686 wxPyEndAllowThreads(__tstate
);
1687 if (PyErr_Occurred()) SWIG_fail
;
1689 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1696 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
*resultobj
;
1698 wxSize
*arg1
= (wxSize
*) 0 ;
1699 PyObject
* obj0
= 0 ;
1701 (char *) "self", NULL
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1710 wxPyEndAllowThreads(__tstate
);
1711 if (PyErr_Occurred()) SWIG_fail
;
1713 Py_INCREF(Py_None
); resultobj
= Py_None
;
1720 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
*resultobj
;
1722 wxSize
*arg1
= (wxSize
*) 0 ;
1726 PyObject
* obj0
= 0 ;
1727 PyObject
* obj1
= 0 ;
1729 (char *) "self",(char *) "sz", NULL
1732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1736 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1740 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1742 wxPyEndAllowThreads(__tstate
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1752 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
*resultobj
;
1754 wxSize
*arg1
= (wxSize
*) 0 ;
1758 PyObject
* obj0
= 0 ;
1759 PyObject
* obj1
= 0 ;
1761 (char *) "self",(char *) "sz", NULL
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1768 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1772 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
1774 wxPyEndAllowThreads(__tstate
);
1775 if (PyErr_Occurred()) SWIG_fail
;
1777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1784 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
*resultobj
;
1786 wxSize
*arg1
= (wxSize
*) 0 ;
1790 PyObject
* obj0
= 0 ;
1791 PyObject
* obj1
= 0 ;
1793 (char *) "self",(char *) "sz", NULL
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1800 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1811 resultptr
= new wxSize((wxSize
&) result
);
1812 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1820 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
*resultobj
;
1822 wxSize
*arg1
= (wxSize
*) 0 ;
1826 PyObject
* obj0
= 0 ;
1827 PyObject
* obj1
= 0 ;
1829 (char *) "self",(char *) "sz", NULL
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1836 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1847 resultptr
= new wxSize((wxSize
&) result
);
1848 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1856 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
*resultobj
;
1858 wxSize
*arg1
= (wxSize
*) 0 ;
1861 PyObject
* obj0
= 0 ;
1862 PyObject
* obj1
= 0 ;
1864 (char *) "self",(char *) "sz", NULL
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1871 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1875 (arg1
)->IncTo((wxSize
const &)*arg2
);
1877 wxPyEndAllowThreads(__tstate
);
1878 if (PyErr_Occurred()) SWIG_fail
;
1880 Py_INCREF(Py_None
); resultobj
= Py_None
;
1887 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
*resultobj
;
1889 wxSize
*arg1
= (wxSize
*) 0 ;
1892 PyObject
* obj0
= 0 ;
1893 PyObject
* obj1
= 0 ;
1895 (char *) "self",(char *) "sz", NULL
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1902 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1906 (arg1
)->DecTo((wxSize
const &)*arg2
);
1908 wxPyEndAllowThreads(__tstate
);
1909 if (PyErr_Occurred()) SWIG_fail
;
1911 Py_INCREF(Py_None
); resultobj
= Py_None
;
1918 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
*resultobj
;
1920 wxSize
*arg1
= (wxSize
*) 0 ;
1923 PyObject
* obj0
= 0 ;
1924 PyObject
* obj1
= 0 ;
1925 PyObject
* obj2
= 0 ;
1927 (char *) "self",(char *) "w",(char *) "h", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1933 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1934 if (PyErr_Occurred()) SWIG_fail
;
1937 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1942 (arg1
)->Set(arg2
,arg3
);
1944 wxPyEndAllowThreads(__tstate
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 Py_INCREF(Py_None
); resultobj
= Py_None
;
1954 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
*resultobj
;
1956 wxSize
*arg1
= (wxSize
*) 0 ;
1958 PyObject
* obj0
= 0 ;
1959 PyObject
* obj1
= 0 ;
1961 (char *) "self",(char *) "w", NULL
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1967 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1968 if (PyErr_Occurred()) SWIG_fail
;
1971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1972 (arg1
)->SetWidth(arg2
);
1974 wxPyEndAllowThreads(__tstate
);
1975 if (PyErr_Occurred()) SWIG_fail
;
1977 Py_INCREF(Py_None
); resultobj
= Py_None
;
1984 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
*resultobj
;
1986 wxSize
*arg1
= (wxSize
*) 0 ;
1988 PyObject
* obj0
= 0 ;
1989 PyObject
* obj1
= 0 ;
1991 (char *) "self",(char *) "h", NULL
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
1995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1997 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1998 if (PyErr_Occurred()) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 (arg1
)->SetHeight(arg2
);
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 Py_INCREF(Py_None
); resultobj
= Py_None
;
2014 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2016 wxSize
*arg1
= (wxSize
*) 0 ;
2018 PyObject
* obj0
= 0 ;
2020 (char *) "self", NULL
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 resultobj
= SWIG_PyObj_FromInt((int)result
);
2039 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
*resultobj
;
2041 wxSize
*arg1
= (wxSize
*) 0 ;
2043 PyObject
* obj0
= 0 ;
2045 (char *) "self", NULL
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2054 wxPyEndAllowThreads(__tstate
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2057 resultobj
= SWIG_PyObj_FromInt((int)result
);
2064 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2066 wxSize
*arg1
= (wxSize
*) 0 ;
2068 PyObject
* obj0
= 0 ;
2070 (char *) "self", NULL
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 result
= (PyObject
*)wxSize_Get(arg1
);
2079 wxPyEndAllowThreads(__tstate
);
2080 if (PyErr_Occurred()) SWIG_fail
;
2089 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2092 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2094 return Py_BuildValue((char *)"");
2096 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2098 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2100 PyObject
* obj0
= 0 ;
2101 PyObject
* obj1
= 0 ;
2103 (char *) "self",(char *) "x", NULL
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2109 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2112 if (arg1
) (arg1
)->x
= arg2
;
2114 Py_INCREF(Py_None
); resultobj
= Py_None
;
2121 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
*resultobj
;
2123 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2125 PyObject
* obj0
= 0 ;
2127 (char *) "self", NULL
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2132 result
= (double) ((arg1
)->x
);
2134 resultobj
= SWIG_PyObj_FromDouble((double)result
);
2141 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2145 PyObject
* obj0
= 0 ;
2146 PyObject
* obj1
= 0 ;
2148 (char *) "self",(char *) "y", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2154 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2157 if (arg1
) (arg1
)->y
= arg2
;
2159 Py_INCREF(Py_None
); resultobj
= Py_None
;
2166 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
*resultobj
;
2168 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2170 PyObject
* obj0
= 0 ;
2172 (char *) "self", NULL
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2177 result
= (double) ((arg1
)->y
);
2179 resultobj
= SWIG_PyObj_FromDouble((double)result
);
2186 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
*resultobj
;
2188 double arg1
= (double) 0.0 ;
2189 double arg2
= (double) 0.0 ;
2190 wxRealPoint
*result
;
2191 PyObject
* obj0
= 0 ;
2192 PyObject
* obj1
= 0 ;
2194 (char *) "x",(char *) "y", NULL
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2200 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2206 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2217 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
2224 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
*resultobj
;
2226 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2229 (char *) "self", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2241 Py_INCREF(Py_None
); resultobj
= Py_None
;
2248 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
*resultobj
;
2250 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2251 wxRealPoint
*arg2
= 0 ;
2254 PyObject
* obj0
= 0 ;
2255 PyObject
* obj1
= 0 ;
2257 (char *) "self",(char *) "pt", NULL
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2264 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2268 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2270 wxPyEndAllowThreads(__tstate
);
2271 if (PyErr_Occurred()) SWIG_fail
;
2273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2280 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
*resultobj
;
2282 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2283 wxRealPoint
*arg2
= 0 ;
2286 PyObject
* obj0
= 0 ;
2287 PyObject
* obj1
= 0 ;
2289 (char *) "self",(char *) "pt", NULL
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2296 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2300 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2302 wxPyEndAllowThreads(__tstate
);
2303 if (PyErr_Occurred()) SWIG_fail
;
2305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2312 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
*resultobj
;
2314 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2315 wxRealPoint
*arg2
= 0 ;
2318 PyObject
* obj0
= 0 ;
2319 PyObject
* obj1
= 0 ;
2321 (char *) "self",(char *) "pt", NULL
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2328 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2338 wxRealPoint
* resultptr
;
2339 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2340 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2348 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
*resultobj
;
2350 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2351 wxRealPoint
*arg2
= 0 ;
2354 PyObject
* obj0
= 0 ;
2355 PyObject
* obj1
= 0 ;
2357 (char *) "self",(char *) "pt", NULL
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2364 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2368 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2370 wxPyEndAllowThreads(__tstate
);
2371 if (PyErr_Occurred()) SWIG_fail
;
2374 wxRealPoint
* resultptr
;
2375 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2376 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2384 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
*resultobj
;
2386 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2389 PyObject
* obj0
= 0 ;
2390 PyObject
* obj1
= 0 ;
2391 PyObject
* obj2
= 0 ;
2393 (char *) "self",(char *) "x",(char *) "y", NULL
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2399 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2400 if (PyErr_Occurred()) SWIG_fail
;
2403 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2404 if (PyErr_Occurred()) SWIG_fail
;
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 wxRealPoint_Set(arg1
,arg2
,arg3
);
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) SWIG_fail
;
2413 Py_INCREF(Py_None
); resultobj
= Py_None
;
2420 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2424 PyObject
* obj0
= 0 ;
2426 (char *) "self", NULL
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2433 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2435 wxPyEndAllowThreads(__tstate
);
2436 if (PyErr_Occurred()) SWIG_fail
;
2445 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2448 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2450 return Py_BuildValue((char *)"");
2452 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
*resultobj
;
2454 wxPoint
*arg1
= (wxPoint
*) 0 ;
2456 PyObject
* obj0
= 0 ;
2457 PyObject
* obj1
= 0 ;
2459 (char *) "self",(char *) "x", NULL
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2465 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2466 if (PyErr_Occurred()) SWIG_fail
;
2468 if (arg1
) (arg1
)->x
= arg2
;
2470 Py_INCREF(Py_None
); resultobj
= Py_None
;
2477 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
*resultobj
;
2479 wxPoint
*arg1
= (wxPoint
*) 0 ;
2481 PyObject
* obj0
= 0 ;
2483 (char *) "self", NULL
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2488 result
= (int) ((arg1
)->x
);
2490 resultobj
= SWIG_PyObj_FromInt((int)result
);
2497 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
*resultobj
;
2499 wxPoint
*arg1
= (wxPoint
*) 0 ;
2501 PyObject
* obj0
= 0 ;
2502 PyObject
* obj1
= 0 ;
2504 (char *) "self",(char *) "y", NULL
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2510 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2511 if (PyErr_Occurred()) SWIG_fail
;
2513 if (arg1
) (arg1
)->y
= arg2
;
2515 Py_INCREF(Py_None
); resultobj
= Py_None
;
2522 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
*resultobj
;
2524 wxPoint
*arg1
= (wxPoint
*) 0 ;
2526 PyObject
* obj0
= 0 ;
2528 (char *) "self", NULL
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2533 result
= (int) ((arg1
)->y
);
2535 resultobj
= SWIG_PyObj_FromInt((int)result
);
2542 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
*resultobj
;
2544 int arg1
= (int) 0 ;
2545 int arg2
= (int) 0 ;
2547 PyObject
* obj0
= 0 ;
2548 PyObject
* obj1
= 0 ;
2550 (char *) "x",(char *) "y", NULL
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2556 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2562 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2563 if (PyErr_Occurred()) SWIG_fail
;
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2573 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2580 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2582 wxPoint
*arg1
= (wxPoint
*) 0 ;
2583 PyObject
* obj0
= 0 ;
2585 (char *) "self", NULL
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 wxPyEndAllowThreads(__tstate
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2597 Py_INCREF(Py_None
); resultobj
= Py_None
;
2604 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
*resultobj
;
2606 wxPoint
*arg1
= (wxPoint
*) 0 ;
2610 PyObject
* obj0
= 0 ;
2611 PyObject
* obj1
= 0 ;
2613 (char *) "self",(char *) "pt", NULL
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2620 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2636 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2638 wxPoint
*arg1
= (wxPoint
*) 0 ;
2642 PyObject
* obj0
= 0 ;
2643 PyObject
* obj1
= 0 ;
2645 (char *) "self",(char *) "pt", NULL
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2652 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) SWIG_fail
;
2661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2668 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxPoint
*arg1
= (wxPoint
*) 0 ;
2674 PyObject
* obj0
= 0 ;
2675 PyObject
* obj1
= 0 ;
2677 (char *) "self",(char *) "pt", NULL
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2684 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2694 wxPoint
* resultptr
;
2695 resultptr
= new wxPoint((wxPoint
&) result
);
2696 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2704 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
*resultobj
;
2706 wxPoint
*arg1
= (wxPoint
*) 0 ;
2710 PyObject
* obj0
= 0 ;
2711 PyObject
* obj1
= 0 ;
2713 (char *) "self",(char *) "pt", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2720 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) SWIG_fail
;
2730 wxPoint
* resultptr
;
2731 resultptr
= new wxPoint((wxPoint
&) result
);
2732 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2740 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
*resultobj
;
2742 wxPoint
*arg1
= (wxPoint
*) 0 ;
2746 PyObject
* obj0
= 0 ;
2747 PyObject
* obj1
= 0 ;
2749 (char *) "self",(char *) "pt", NULL
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2756 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2761 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2762 result
= (wxPoint
*) &_result_ref
;
2765 wxPyEndAllowThreads(__tstate
);
2766 if (PyErr_Occurred()) SWIG_fail
;
2768 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2775 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
*resultobj
;
2777 wxPoint
*arg1
= (wxPoint
*) 0 ;
2781 PyObject
* obj0
= 0 ;
2782 PyObject
* obj1
= 0 ;
2784 (char *) "self",(char *) "pt", NULL
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2791 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2797 result
= (wxPoint
*) &_result_ref
;
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2803 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2810 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
*resultobj
;
2812 wxPoint
*arg1
= (wxPoint
*) 0 ;
2815 PyObject
* obj0
= 0 ;
2816 PyObject
* obj1
= 0 ;
2817 PyObject
* obj2
= 0 ;
2819 (char *) "self",(char *) "x",(char *) "y", NULL
2822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2825 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2829 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2830 if (PyErr_Occurred()) SWIG_fail
;
2833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2834 wxPoint_Set(arg1
,arg2
,arg3
);
2836 wxPyEndAllowThreads(__tstate
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2839 Py_INCREF(Py_None
); resultobj
= Py_None
;
2846 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
*resultobj
;
2848 wxPoint
*arg1
= (wxPoint
*) 0 ;
2850 PyObject
* obj0
= 0 ;
2852 (char *) "self", NULL
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
2856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 result
= (PyObject
*)wxPoint_Get(arg1
);
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2871 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2874 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2876 return Py_BuildValue((char *)"");
2878 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
*resultobj
;
2880 int arg1
= (int) 0 ;
2881 int arg2
= (int) 0 ;
2882 int arg3
= (int) 0 ;
2883 int arg4
= (int) 0 ;
2885 PyObject
* obj0
= 0 ;
2886 PyObject
* obj1
= 0 ;
2887 PyObject
* obj2
= 0 ;
2888 PyObject
* obj3
= 0 ;
2890 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2896 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2902 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2908 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2914 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2925 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2932 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
*resultobj
;
2939 PyObject
* obj0
= 0 ;
2940 PyObject
* obj1
= 0 ;
2942 (char *) "topLeft",(char *) "bottomRight", NULL
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2948 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2952 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2961 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2968 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2975 PyObject
* obj0
= 0 ;
2976 PyObject
* obj1
= 0 ;
2978 (char *) "pos",(char *) "size", NULL
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2984 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2988 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2997 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
3004 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
*resultobj
;
3006 wxRect
*arg1
= (wxRect
*) 0 ;
3007 PyObject
* obj0
= 0 ;
3009 (char *) "self", NULL
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3021 Py_INCREF(Py_None
); resultobj
= Py_None
;
3028 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
*resultobj
;
3030 wxRect
*arg1
= (wxRect
*) 0 ;
3032 PyObject
* obj0
= 0 ;
3034 (char *) "self", NULL
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 result
= (int)((wxRect
const *)arg1
)->GetX();
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3046 resultobj
= SWIG_PyObj_FromInt((int)result
);
3053 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
*resultobj
;
3055 wxRect
*arg1
= (wxRect
*) 0 ;
3057 PyObject
* obj0
= 0 ;
3058 PyObject
* obj1
= 0 ;
3060 (char *) "self",(char *) "x", NULL
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3066 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) SWIG_fail
;
3076 Py_INCREF(Py_None
); resultobj
= Py_None
;
3083 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxRect
*arg1
= (wxRect
*) 0 ;
3087 PyObject
* obj0
= 0 ;
3089 (char *) "self", NULL
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 result
= (int)(arg1
)->GetY();
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3101 resultobj
= SWIG_PyObj_FromInt((int)result
);
3108 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3110 wxRect
*arg1
= (wxRect
*) 0 ;
3112 PyObject
* obj0
= 0 ;
3113 PyObject
* obj1
= 0 ;
3115 (char *) "self",(char *) "y", NULL
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3121 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3122 if (PyErr_Occurred()) SWIG_fail
;
3125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 wxPyEndAllowThreads(__tstate
);
3129 if (PyErr_Occurred()) SWIG_fail
;
3131 Py_INCREF(Py_None
); resultobj
= Py_None
;
3138 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxRect
*arg1
= (wxRect
*) 0 ;
3142 PyObject
* obj0
= 0 ;
3144 (char *) "self", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3156 resultobj
= SWIG_PyObj_FromInt((int)result
);
3163 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3165 wxRect
*arg1
= (wxRect
*) 0 ;
3167 PyObject
* obj0
= 0 ;
3168 PyObject
* obj1
= 0 ;
3170 (char *) "self",(char *) "w", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3176 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 (arg1
)->SetWidth(arg2
);
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3186 Py_INCREF(Py_None
); resultobj
= Py_None
;
3193 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
*resultobj
;
3195 wxRect
*arg1
= (wxRect
*) 0 ;
3197 PyObject
* obj0
= 0 ;
3199 (char *) "self", NULL
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3211 resultobj
= SWIG_PyObj_FromInt((int)result
);
3218 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
*resultobj
;
3220 wxRect
*arg1
= (wxRect
*) 0 ;
3222 PyObject
* obj0
= 0 ;
3223 PyObject
* obj1
= 0 ;
3225 (char *) "self",(char *) "h", NULL
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3231 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 (arg1
)->SetHeight(arg2
);
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) SWIG_fail
;
3241 Py_INCREF(Py_None
); resultobj
= Py_None
;
3248 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
*resultobj
;
3250 wxRect
*arg1
= (wxRect
*) 0 ;
3252 PyObject
* obj0
= 0 ;
3254 (char *) "self", NULL
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 result
= ((wxRect
const *)arg1
)->GetPosition();
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3267 wxPoint
* resultptr
;
3268 resultptr
= new wxPoint((wxPoint
&) result
);
3269 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3277 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3279 wxRect
*arg1
= (wxRect
*) 0 ;
3282 PyObject
* obj0
= 0 ;
3283 PyObject
* obj1
= 0 ;
3285 (char *) "self",(char *) "p", NULL
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3292 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 Py_INCREF(Py_None
); resultobj
= Py_None
;
3308 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
*resultobj
;
3310 wxRect
*arg1
= (wxRect
*) 0 ;
3312 PyObject
* obj0
= 0 ;
3314 (char *) "self", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 result
= ((wxRect
const *)arg1
)->GetSize();
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3328 resultptr
= new wxSize((wxSize
&) result
);
3329 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3337 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
;
3339 wxRect
*arg1
= (wxRect
*) 0 ;
3342 PyObject
* obj0
= 0 ;
3343 PyObject
* obj1
= 0 ;
3345 (char *) "self",(char *) "s", NULL
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3352 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 (arg1
)->SetSize((wxSize
const &)*arg2
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 Py_INCREF(Py_None
); resultobj
= Py_None
;
3368 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 wxRect
*arg1
= (wxRect
*) 0 ;
3372 PyObject
* obj0
= 0 ;
3374 (char *) "self", NULL
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3387 wxPoint
* resultptr
;
3388 resultptr
= new wxPoint((wxPoint
&) result
);
3389 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3397 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
;
3399 wxRect
*arg1
= (wxRect
*) 0 ;
3402 PyObject
* obj0
= 0 ;
3403 PyObject
* obj1
= 0 ;
3405 (char *) "self",(char *) "p", NULL
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3412 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 Py_INCREF(Py_None
); resultobj
= Py_None
;
3428 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxRect
*arg1
= (wxRect
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3434 (char *) "self", NULL
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3441 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3443 wxPyEndAllowThreads(__tstate
);
3444 if (PyErr_Occurred()) SWIG_fail
;
3447 wxPoint
* resultptr
;
3448 resultptr
= new wxPoint((wxPoint
&) result
);
3449 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3457 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxRect
*arg1
= (wxRect
*) 0 ;
3462 PyObject
* obj0
= 0 ;
3463 PyObject
* obj1
= 0 ;
3465 (char *) "self",(char *) "p", NULL
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3481 Py_INCREF(Py_None
); resultobj
= Py_None
;
3488 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
*resultobj
;
3490 wxRect
*arg1
= (wxRect
*) 0 ;
3492 PyObject
* obj0
= 0 ;
3494 (char *) "self", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 resultobj
= SWIG_PyObj_FromInt((int)result
);
3513 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
;
3515 wxRect
*arg1
= (wxRect
*) 0 ;
3517 PyObject
* obj0
= 0 ;
3519 (char *) "self", NULL
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 result
= (int)((wxRect
const *)arg1
)->GetTop();
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3531 resultobj
= SWIG_PyObj_FromInt((int)result
);
3538 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
*resultobj
;
3540 wxRect
*arg1
= (wxRect
*) 0 ;
3542 PyObject
* obj0
= 0 ;
3544 (char *) "self", NULL
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3556 resultobj
= SWIG_PyObj_FromInt((int)result
);
3563 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
*resultobj
;
3565 wxRect
*arg1
= (wxRect
*) 0 ;
3567 PyObject
* obj0
= 0 ;
3569 (char *) "self", NULL
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 result
= (int)((wxRect
const *)arg1
)->GetRight();
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 resultobj
= SWIG_PyObj_FromInt((int)result
);
3588 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
*resultobj
;
3590 wxRect
*arg1
= (wxRect
*) 0 ;
3592 PyObject
* obj0
= 0 ;
3593 PyObject
* obj1
= 0 ;
3595 (char *) "self",(char *) "left", NULL
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3601 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3606 (arg1
)->SetLeft(arg2
);
3608 wxPyEndAllowThreads(__tstate
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3611 Py_INCREF(Py_None
); resultobj
= Py_None
;
3618 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
*resultobj
;
3620 wxRect
*arg1
= (wxRect
*) 0 ;
3622 PyObject
* obj0
= 0 ;
3623 PyObject
* obj1
= 0 ;
3625 (char *) "self",(char *) "right", NULL
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3631 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 (arg1
)->SetRight(arg2
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 Py_INCREF(Py_None
); resultobj
= Py_None
;
3648 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxRect
*arg1
= (wxRect
*) 0 ;
3652 PyObject
* obj0
= 0 ;
3653 PyObject
* obj1
= 0 ;
3655 (char *) "self",(char *) "top", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
3659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3661 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 (arg1
)->SetTop(arg2
);
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3671 Py_INCREF(Py_None
); resultobj
= Py_None
;
3678 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
*resultobj
;
3680 wxRect
*arg1
= (wxRect
*) 0 ;
3682 PyObject
* obj0
= 0 ;
3683 PyObject
* obj1
= 0 ;
3685 (char *) "self",(char *) "bottom", NULL
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
3689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3691 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 (arg1
)->SetBottom(arg2
);
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3701 Py_INCREF(Py_None
); resultobj
= Py_None
;
3708 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
*resultobj
;
3710 wxRect
*arg1
= (wxRect
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3715 PyObject
* obj1
= 0 ;
3716 PyObject
* obj2
= 0 ;
3718 (char *) "self",(char *) "dx",(char *) "dy", NULL
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3724 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3728 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3735 result
= (wxRect
*) &_result_ref
;
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3741 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3748 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
;
3750 wxRect
*arg1
= (wxRect
*) 0 ;
3754 PyObject
* obj0
= 0 ;
3755 PyObject
* obj1
= 0 ;
3756 PyObject
* obj2
= 0 ;
3758 (char *) "self",(char *) "dx",(char *) "dy", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3764 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3768 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3775 result
= (wxRect
*) &_result_ref
;
3778 wxPyEndAllowThreads(__tstate
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3781 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3788 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
*resultobj
;
3790 wxRect
*arg1
= (wxRect
*) 0 ;
3793 PyObject
* obj0
= 0 ;
3794 PyObject
* obj1
= 0 ;
3795 PyObject
* obj2
= 0 ;
3797 (char *) "self",(char *) "dx",(char *) "dy", NULL
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3803 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3807 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 (arg1
)->Offset(arg2
,arg3
);
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 Py_INCREF(Py_None
); resultobj
= Py_None
;
3824 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxRect
*arg1
= (wxRect
*) 0 ;
3829 PyObject
* obj0
= 0 ;
3830 PyObject
* obj1
= 0 ;
3832 (char *) "self",(char *) "pt", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3839 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 (arg1
)->Offset((wxPoint
const &)*arg2
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3848 Py_INCREF(Py_None
); resultobj
= Py_None
;
3855 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
*resultobj
;
3857 wxRect
*arg1
= (wxRect
*) 0 ;
3861 PyObject
* obj0
= 0 ;
3862 PyObject
* obj1
= 0 ;
3864 (char *) "self",(char *) "rect", NULL
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3871 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3877 result
= (wxRect
*) &_result_ref
;
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) SWIG_fail
;
3883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3890 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
*resultobj
;
3892 wxRect
*arg1
= (wxRect
*) 0 ;
3896 PyObject
* obj0
= 0 ;
3897 PyObject
* obj1
= 0 ;
3899 (char *) "self",(char *) "rect", NULL
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3906 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3917 resultptr
= new wxRect((wxRect
&) result
);
3918 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3926 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
*resultobj
;
3928 wxRect
*arg1
= (wxRect
*) 0 ;
3932 PyObject
* obj0
= 0 ;
3933 PyObject
* obj1
= 0 ;
3935 (char *) "self",(char *) "rect", NULL
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3942 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3948 result
= (wxRect
*) &_result_ref
;
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3954 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3961 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
*resultobj
;
3963 wxRect
*arg1
= (wxRect
*) 0 ;
3967 PyObject
* obj0
= 0 ;
3968 PyObject
* obj1
= 0 ;
3970 (char *) "self",(char *) "rect", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3977 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3993 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
3995 wxRect
*arg1
= (wxRect
*) 0 ;
3999 PyObject
* obj0
= 0 ;
4000 PyObject
* obj1
= 0 ;
4002 (char *) "self",(char *) "rect", NULL
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4009 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4025 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4027 wxRect
*arg1
= (wxRect
*) 0 ;
4031 PyObject
* obj0
= 0 ;
4032 PyObject
* obj1
= 0 ;
4033 PyObject
* obj2
= 0 ;
4035 (char *) "self",(char *) "x",(char *) "y", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4041 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4045 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4062 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxRect
*arg1
= (wxRect
*) 0 ;
4068 PyObject
* obj0
= 0 ;
4069 PyObject
* obj1
= 0 ;
4071 (char *) "self",(char *) "pt", NULL
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4078 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4094 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxRect
*arg1
= (wxRect
*) 0 ;
4100 PyObject
* obj0
= 0 ;
4101 PyObject
* obj1
= 0 ;
4103 (char *) "self",(char *) "rect", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4110 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4126 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
;
4128 wxRect
*arg1
= (wxRect
*) 0 ;
4130 PyObject
* obj0
= 0 ;
4131 PyObject
* obj1
= 0 ;
4133 (char *) "self",(char *) "x", NULL
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4139 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 if (arg1
) (arg1
)->x
= arg2
;
4144 Py_INCREF(Py_None
); resultobj
= Py_None
;
4151 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxRect
*arg1
= (wxRect
*) 0 ;
4155 PyObject
* obj0
= 0 ;
4157 (char *) "self", NULL
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4162 result
= (int) ((arg1
)->x
);
4164 resultobj
= SWIG_PyObj_FromInt((int)result
);
4171 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
;
4173 wxRect
*arg1
= (wxRect
*) 0 ;
4175 PyObject
* obj0
= 0 ;
4176 PyObject
* obj1
= 0 ;
4178 (char *) "self",(char *) "y", NULL
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4184 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4185 if (PyErr_Occurred()) SWIG_fail
;
4187 if (arg1
) (arg1
)->y
= arg2
;
4189 Py_INCREF(Py_None
); resultobj
= Py_None
;
4196 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
;
4198 wxRect
*arg1
= (wxRect
*) 0 ;
4200 PyObject
* obj0
= 0 ;
4202 (char *) "self", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4207 result
= (int) ((arg1
)->y
);
4209 resultobj
= SWIG_PyObj_FromInt((int)result
);
4216 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
;
4218 wxRect
*arg1
= (wxRect
*) 0 ;
4220 PyObject
* obj0
= 0 ;
4221 PyObject
* obj1
= 0 ;
4223 (char *) "self",(char *) "width", NULL
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4229 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4232 if (arg1
) (arg1
)->width
= arg2
;
4234 Py_INCREF(Py_None
); resultobj
= Py_None
;
4241 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 wxRect
*arg1
= (wxRect
*) 0 ;
4245 PyObject
* obj0
= 0 ;
4247 (char *) "self", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4252 result
= (int) ((arg1
)->width
);
4254 resultobj
= SWIG_PyObj_FromInt((int)result
);
4261 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 wxRect
*arg1
= (wxRect
*) 0 ;
4265 PyObject
* obj0
= 0 ;
4266 PyObject
* obj1
= 0 ;
4268 (char *) "self",(char *) "height", NULL
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4274 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4277 if (arg1
) (arg1
)->height
= arg2
;
4279 Py_INCREF(Py_None
); resultobj
= Py_None
;
4286 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
;
4288 wxRect
*arg1
= (wxRect
*) 0 ;
4290 PyObject
* obj0
= 0 ;
4292 (char *) "self", NULL
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4297 result
= (int) ((arg1
)->height
);
4299 resultobj
= SWIG_PyObj_FromInt((int)result
);
4306 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
*resultobj
;
4308 wxRect
*arg1
= (wxRect
*) 0 ;
4309 int arg2
= (int) 0 ;
4310 int arg3
= (int) 0 ;
4311 int arg4
= (int) 0 ;
4312 int arg5
= (int) 0 ;
4313 PyObject
* obj0
= 0 ;
4314 PyObject
* obj1
= 0 ;
4315 PyObject
* obj2
= 0 ;
4316 PyObject
* obj3
= 0 ;
4317 PyObject
* obj4
= 0 ;
4319 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4326 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4332 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4338 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4344 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4355 Py_INCREF(Py_None
); resultobj
= Py_None
;
4362 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
*resultobj
;
4364 wxRect
*arg1
= (wxRect
*) 0 ;
4366 PyObject
* obj0
= 0 ;
4368 (char *) "self", NULL
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (PyObject
*)wxRect_Get(arg1
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4387 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4390 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4392 return Py_BuildValue((char *)"");
4394 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
;
4396 wxRect
*arg1
= (wxRect
*) 0 ;
4397 wxRect
*arg2
= (wxRect
*) 0 ;
4399 PyObject
* obj0
= 0 ;
4400 PyObject
* obj1
= 0 ;
4402 (char *) "r1",(char *) "r2", NULL
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4422 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
;
4424 double arg1
= (double) 0.0 ;
4425 double arg2
= (double) 0.0 ;
4427 PyObject
* obj0
= 0 ;
4428 PyObject
* obj1
= 0 ;
4430 (char *) "x",(char *) "y", NULL
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4436 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4442 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4460 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
;
4462 wxPoint2D
*arg1
= 0 ;
4465 PyObject
* obj0
= 0 ;
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4473 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4489 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
;
4494 PyObject
* obj0
= 0 ;
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4502 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4518 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
;
4520 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4521 int *arg2
= (int *) 0 ;
4522 int *arg3
= (int *) 0 ;
4525 PyObject
* obj0
= 0 ;
4527 (char *) "self", NULL
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 Py_INCREF(Py_None
); resultobj
= Py_None
;
4543 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4544 resultobj
= t_output_helper(resultobj
,o
);
4547 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4548 resultobj
= t_output_helper(resultobj
,o
);
4556 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
*resultobj
;
4558 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4559 int *arg2
= (int *) 0 ;
4560 int *arg3
= (int *) 0 ;
4563 PyObject
* obj0
= 0 ;
4565 (char *) "self", NULL
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4579 Py_INCREF(Py_None
); resultobj
= Py_None
;
4581 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4582 resultobj
= t_output_helper(resultobj
,o
);
4585 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4586 resultobj
= t_output_helper(resultobj
,o
);
4594 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
*resultobj
;
4596 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4598 PyObject
* obj0
= 0 ;
4600 (char *) "self", NULL
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4619 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4623 PyObject
* obj0
= 0 ;
4625 (char *) "self", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4632 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4634 wxPyEndAllowThreads(__tstate
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4637 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4644 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
*resultobj
;
4646 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4651 (char *) "self",(char *) "length", NULL
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
4655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4657 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4662 (arg1
)->SetVectorLength(arg2
);
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 Py_INCREF(Py_None
); resultobj
= Py_None
;
4674 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4679 PyObject
* obj1
= 0 ;
4681 (char *) "self",(char *) "degrees", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
4685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4687 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 (arg1
)->SetVectorAngle(arg2
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 Py_INCREF(Py_None
); resultobj
= Py_None
;
4704 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
;
4706 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4707 wxPoint2D
*arg2
= 0 ;
4710 PyObject
* obj0
= 0 ;
4711 PyObject
* obj1
= 0 ;
4713 (char *) "self",(char *) "pt", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4720 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4736 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
*resultobj
;
4738 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4739 wxPoint2D
*arg2
= 0 ;
4742 PyObject
* obj0
= 0 ;
4743 PyObject
* obj1
= 0 ;
4745 (char *) "self",(char *) "pt", NULL
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4752 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4768 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
;
4770 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4771 wxPoint2D
*arg2
= 0 ;
4774 PyObject
* obj0
= 0 ;
4775 PyObject
* obj1
= 0 ;
4777 (char *) "self",(char *) "vec", NULL
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4784 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4800 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4802 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4803 wxPoint2D
*arg2
= 0 ;
4806 PyObject
* obj0
= 0 ;
4807 PyObject
* obj1
= 0 ;
4809 (char *) "self",(char *) "vec", NULL
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4816 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4832 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
;
4834 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4836 PyObject
* obj0
= 0 ;
4838 (char *) "self", NULL
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (arg1
)->operator -();
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4851 wxPoint2D
* resultptr
;
4852 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4853 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4861 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4863 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4864 wxPoint2D
*arg2
= 0 ;
4867 PyObject
* obj0
= 0 ;
4868 PyObject
* obj1
= 0 ;
4870 (char *) "self",(char *) "pt", NULL
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4877 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4883 result
= (wxPoint2D
*) &_result_ref
;
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4896 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4899 wxPoint2D
*arg2
= 0 ;
4902 PyObject
* obj0
= 0 ;
4903 PyObject
* obj1
= 0 ;
4905 (char *) "self",(char *) "pt", NULL
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4912 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4918 result
= (wxPoint2D
*) &_result_ref
;
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4931 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
;
4933 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4934 wxPoint2D
*arg2
= 0 ;
4937 PyObject
* obj0
= 0 ;
4938 PyObject
* obj1
= 0 ;
4940 (char *) "self",(char *) "pt", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4947 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4953 result
= (wxPoint2D
*) &_result_ref
;
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4966 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4969 wxPoint2D
*arg2
= 0 ;
4972 PyObject
* obj0
= 0 ;
4973 PyObject
* obj1
= 0 ;
4975 (char *) "self",(char *) "pt", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4982 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4988 result
= (wxPoint2D
*) &_result_ref
;
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
5001 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
*resultobj
;
5003 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5004 wxPoint2D
*arg2
= 0 ;
5007 PyObject
* obj0
= 0 ;
5008 PyObject
* obj1
= 0 ;
5010 (char *) "self",(char *) "pt", NULL
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5017 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5033 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
;
5035 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5036 wxPoint2D
*arg2
= 0 ;
5039 PyObject
* obj0
= 0 ;
5040 PyObject
* obj1
= 0 ;
5042 (char *) "self",(char *) "pt", NULL
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5049 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5065 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
;
5067 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5069 PyObject
* obj0
= 0 ;
5070 PyObject
* obj1
= 0 ;
5072 (char *) "self",(char *) "m_x", NULL
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5078 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 if (arg1
) (arg1
)->m_x
= arg2
;
5083 Py_INCREF(Py_None
); resultobj
= Py_None
;
5090 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5094 PyObject
* obj0
= 0 ;
5096 (char *) "self", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5101 result
= (double) ((arg1
)->m_x
);
5103 resultobj
= SWIG_PyObj_FromDouble((double)result
);
5110 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5115 PyObject
* obj1
= 0 ;
5117 (char *) "self",(char *) "m_y", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5123 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5126 if (arg1
) (arg1
)->m_y
= arg2
;
5128 Py_INCREF(Py_None
); resultobj
= Py_None
;
5135 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
;
5137 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5141 (char *) "self", NULL
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5146 result
= (double) ((arg1
)->m_y
);
5148 resultobj
= SWIG_PyObj_FromDouble((double)result
);
5155 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
*resultobj
;
5157 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5158 double arg2
= (double) 0 ;
5159 double arg3
= (double) 0 ;
5160 PyObject
* obj0
= 0 ;
5161 PyObject
* obj1
= 0 ;
5162 PyObject
* obj2
= 0 ;
5164 (char *) "self",(char *) "x",(char *) "y", NULL
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5171 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5177 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 wxPoint2D_Set(arg1
,arg2
,arg3
);
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 Py_INCREF(Py_None
); resultobj
= Py_None
;
5195 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5199 PyObject
* obj0
= 0 ;
5201 (char *) "self", NULL
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5220 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5223 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5225 return Py_BuildValue((char *)"");
5227 static int _wrap_DefaultPosition_set(PyObject
*) {
5228 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5233 static PyObject
*_wrap_DefaultPosition_get() {
5236 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
5241 static int _wrap_DefaultSize_set(PyObject
*) {
5242 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5247 static PyObject
*_wrap_DefaultSize_get() {
5250 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
5255 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 PyObject
*arg1
= (PyObject
*) 0 ;
5258 wxPyInputStream
*result
;
5259 PyObject
* obj0
= 0 ;
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
5280 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
*resultobj
;
5282 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5283 PyObject
* obj0
= 0 ;
5285 (char *) "self", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 Py_INCREF(Py_None
); resultobj
= Py_None
;
5304 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5307 PyObject
* obj0
= 0 ;
5309 (char *) "self", NULL
5312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 Py_INCREF(Py_None
); resultobj
= Py_None
;
5328 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
*resultobj
;
5330 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5332 PyObject
* obj0
= 0 ;
5334 (char *) "self", NULL
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 result
= (bool)(arg1
)->eof();
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5353 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
;
5355 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5356 int arg2
= (int) -1 ;
5358 PyObject
* obj0
= 0 ;
5359 PyObject
* obj1
= 0 ;
5361 (char *) "self",(char *) "size", NULL
5364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5368 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= (PyObject
*)(arg1
)->read(arg2
);
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5386 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
*resultobj
;
5388 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5389 int arg2
= (int) -1 ;
5391 PyObject
* obj0
= 0 ;
5392 PyObject
* obj1
= 0 ;
5394 (char *) "self",(char *) "size", NULL
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5401 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (PyObject
*)(arg1
)->readline(arg2
);
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5419 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5422 int arg2
= (int) -1 ;
5424 PyObject
* obj0
= 0 ;
5425 PyObject
* obj1
= 0 ;
5427 (char *) "self",(char *) "sizehint", NULL
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5434 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5452 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5456 int arg3
= (int) 0 ;
5457 PyObject
* obj0
= 0 ;
5458 PyObject
* obj1
= 0 ;
5459 PyObject
* obj2
= 0 ;
5461 (char *) "self",(char *) "offset",(char *) "whence", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5467 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5472 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 (arg1
)->seek(arg2
,arg3
);
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5483 Py_INCREF(Py_None
); resultobj
= Py_None
;
5490 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
;
5492 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5494 PyObject
* obj0
= 0 ;
5496 (char *) "self", NULL
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (int)(arg1
)->tell();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= SWIG_PyObj_FromInt((int)result
);
5515 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
;
5517 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5519 PyObject
* obj0
= 0 ;
5521 (char *) "self", NULL
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 result
= (char)(arg1
)->Peek();
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 resultobj
= SWIG_PyObj_FromChar((char)result
);
5540 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5546 (char *) "self", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 result
= (char)(arg1
)->GetC();
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5558 resultobj
= SWIG_PyObj_FromChar((char)result
);
5565 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
*resultobj
;
5567 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5569 PyObject
* obj0
= 0 ;
5571 (char *) "self", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 result
= (size_t)(arg1
)->LastRead();
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5583 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
5590 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5596 (char *) "self", NULL
5599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 result
= (bool)(arg1
)->CanRead();
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5615 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5621 (char *) "self", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= (bool)(arg1
)->Eof();
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5640 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
;
5642 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5646 PyObject
* obj1
= 0 ;
5648 (char *) "self",(char *) "c", NULL
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
5652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5654 arg2
= (char) SWIG_PyObj_AsChar(obj1
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 result
= (bool)(arg1
)->Ungetch(arg2
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5671 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5673 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5675 int arg3
= (int) wxFromStart
;
5677 PyObject
* obj0
= 0 ;
5678 PyObject
* obj1
= 0 ;
5679 PyObject
* obj2
= 0 ;
5681 (char *) "self",(char *) "pos",(char *) "mode", NULL
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5687 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5692 arg3
= (wxSeekMode
) SWIG_PyObj_AsInt(obj2
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= SWIG_PyObj_FromLong((long)result
);
5710 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5714 PyObject
* obj0
= 0 ;
5716 (char *) "self", NULL
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (long)(arg1
)->TellI();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= SWIG_PyObj_FromLong((long)result
);
5735 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5738 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5740 return Py_BuildValue((char *)"");
5742 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5745 PyObject
*arg2
= (PyObject
*) 0 ;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5749 (char *) "self",(char *) "obj", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 wxOutputStream_write(arg1
,arg2
);
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 Py_INCREF(Py_None
); resultobj
= Py_None
;
5769 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5772 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5774 return Py_BuildValue((char *)"");
5776 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
;
5778 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5779 wxString
*arg2
= 0 ;
5780 wxString
*arg3
= 0 ;
5781 wxString
*arg4
= 0 ;
5784 wxPyInputStream
*temp1
;
5786 bool temp2
= False
;
5787 bool temp3
= False
;
5788 bool temp4
= False
;
5790 PyObject
* obj0
= 0 ;
5791 PyObject
* obj1
= 0 ;
5792 PyObject
* obj2
= 0 ;
5793 PyObject
* obj3
= 0 ;
5794 PyObject
* obj4
= 0 ;
5796 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5801 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5802 arg1
= temp1
->m_wxis
;
5805 PyErr_Clear(); // clear the failure of the wxPyConvert above
5806 arg1
= wxPyCBInputStream_create(obj0
, False
);
5808 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5815 arg2
= wxString_in_helper(obj1
);
5816 if (arg2
== NULL
) SWIG_fail
;
5820 arg3
= wxString_in_helper(obj2
);
5821 if (arg3
== NULL
) SWIG_fail
;
5825 arg4
= wxString_in_helper(obj3
);
5826 if (arg4
== NULL
) SWIG_fail
;
5829 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5839 resultobj
= wxPyMake_wxObject(result
);
5879 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
;
5881 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5882 PyObject
* obj0
= 0 ;
5884 (char *) "self", NULL
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5896 Py_INCREF(Py_None
); resultobj
= Py_None
;
5903 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
;
5905 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5906 wxInputStream
*result
;
5907 PyObject
* obj0
= 0 ;
5909 (char *) "self", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (wxInputStream
*)(arg1
)->GetStream();
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5922 wxPyInputStream
* _ptr
= NULL
;
5925 _ptr
= new wxPyInputStream(result
);
5927 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
5935 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
;
5937 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5939 PyObject
* obj0
= 0 ;
5941 (char *) "self", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5950 result
= (wxString
*) &_result_ref
;
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5958 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5960 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5969 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
;
5971 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5973 PyObject
* obj0
= 0 ;
5975 (char *) "self", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 wxString
const &_result_ref
= (arg1
)->GetLocation();
5984 result
= (wxString
*) &_result_ref
;
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5994 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6003 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6007 PyObject
* obj0
= 0 ;
6009 (char *) "self", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6018 result
= (wxString
*) &_result_ref
;
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6028 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6037 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
*resultobj
;
6039 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6041 PyObject
* obj0
= 0 ;
6043 (char *) "self", NULL
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 result
= (arg1
)->GetModificationTime();
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6056 wxDateTime
* resultptr
;
6057 resultptr
= new wxDateTime((wxDateTime
&) result
);
6058 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
6066 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6069 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6071 return Py_BuildValue((char *)"");
6073 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6076 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6078 return Py_BuildValue((char *)"");
6080 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxPyFileSystemHandler
*result
;
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6102 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6105 PyObject
*arg2
= (PyObject
*) 0 ;
6106 PyObject
*arg3
= (PyObject
*) 0 ;
6107 PyObject
* obj0
= 0 ;
6108 PyObject
* obj1
= 0 ;
6109 PyObject
* obj2
= 0 ;
6111 (char *) "self",(char *) "self",(char *) "_class", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 Py_INCREF(Py_None
); resultobj
= Py_None
;
6132 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6135 wxString
*arg2
= 0 ;
6137 bool temp2
= False
;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6141 (char *) "self",(char *) "location", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6147 arg2
= wxString_in_helper(obj1
);
6148 if (arg2
== NULL
) SWIG_fail
;
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6173 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
;
6175 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6176 wxFileSystem
*arg2
= 0 ;
6177 wxString
*arg3
= 0 ;
6179 bool temp3
= False
;
6180 PyObject
* obj0
= 0 ;
6181 PyObject
* obj1
= 0 ;
6182 PyObject
* obj2
= 0 ;
6184 (char *) "self",(char *) "fs",(char *) "location", NULL
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6189 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6191 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6194 arg3
= wxString_in_helper(obj2
);
6195 if (arg3
== NULL
) SWIG_fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6206 resultobj
= wxPyMake_wxObject(result
);
6222 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
;
6224 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6225 wxString
*arg2
= 0 ;
6226 int arg3
= (int) 0 ;
6228 bool temp2
= False
;
6229 PyObject
* obj0
= 0 ;
6230 PyObject
* obj1
= 0 ;
6231 PyObject
* obj2
= 0 ;
6233 (char *) "self",(char *) "spec",(char *) "flags", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6239 arg2
= wxString_in_helper(obj1
);
6240 if (arg2
== NULL
) SWIG_fail
;
6245 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6277 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
*resultobj
;
6279 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6281 PyObject
* obj0
= 0 ;
6283 (char *) "self", NULL
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (arg1
)->FindNext();
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6308 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
;
6310 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6311 wxString
*arg2
= 0 ;
6313 bool temp2
= False
;
6314 PyObject
* obj0
= 0 ;
6315 PyObject
* obj1
= 0 ;
6317 (char *) "self",(char *) "location", NULL
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6323 arg2
= wxString_in_helper(obj1
);
6324 if (arg2
== NULL
) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6355 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
*resultobj
;
6357 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6358 wxString
*arg2
= 0 ;
6360 bool temp2
= False
;
6361 PyObject
* obj0
= 0 ;
6362 PyObject
* obj1
= 0 ;
6364 (char *) "self",(char *) "location", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6370 arg2
= wxString_in_helper(obj1
);
6371 if (arg2
== NULL
) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6402 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
;
6404 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6405 wxString
*arg2
= 0 ;
6407 bool temp2
= False
;
6408 PyObject
* obj0
= 0 ;
6409 PyObject
* obj1
= 0 ;
6411 (char *) "self",(char *) "location", NULL
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6417 arg2
= wxString_in_helper(obj1
);
6418 if (arg2
== NULL
) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6449 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
*resultobj
;
6451 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6452 wxString
*arg2
= 0 ;
6454 bool temp2
= False
;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6458 (char *) "self",(char *) "location", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6464 arg2
= wxString_in_helper(obj1
);
6465 if (arg2
== NULL
) SWIG_fail
;
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6496 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
*resultobj
;
6498 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6499 wxString
*arg2
= 0 ;
6501 bool temp2
= False
;
6502 PyObject
* obj0
= 0 ;
6503 PyObject
* obj1
= 0 ;
6505 (char *) "self",(char *) "location", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6511 arg2
= wxString_in_helper(obj1
);
6512 if (arg2
== NULL
) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6543 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6546 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6548 return Py_BuildValue((char *)"");
6550 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
*resultobj
;
6552 wxFileSystem
*result
;
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 result
= (wxFileSystem
*)new wxFileSystem();
6562 wxPyEndAllowThreads(__tstate
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6566 resultobj
= wxPyMake_wxObject(result
);
6574 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6576 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6577 PyObject
* obj0
= 0 ;
6579 (char *) "self", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 wxPyEndAllowThreads(__tstate
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 Py_INCREF(Py_None
); resultobj
= Py_None
;
6598 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
;
6600 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6601 wxString
*arg2
= 0 ;
6602 bool arg3
= (bool) False
;
6603 bool temp2
= False
;
6604 PyObject
* obj0
= 0 ;
6605 PyObject
* obj1
= 0 ;
6606 PyObject
* obj2
= 0 ;
6608 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6614 arg2
= wxString_in_helper(obj1
);
6615 if (arg2
== NULL
) SWIG_fail
;
6620 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 Py_INCREF(Py_None
); resultobj
= Py_None
;
6646 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
*resultobj
;
6648 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6650 PyObject
* obj0
= 0 ;
6652 (char *) "self", NULL
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 result
= (arg1
)->GetPath();
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6677 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6680 wxString
*arg2
= 0 ;
6682 bool temp2
= False
;
6683 PyObject
* obj0
= 0 ;
6684 PyObject
* obj1
= 0 ;
6686 (char *) "self",(char *) "location", NULL
6689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6692 arg2
= wxString_in_helper(obj1
);
6693 if (arg2
== NULL
) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= wxPyMake_wxObject(result
);
6720 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
*resultobj
;
6722 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6723 wxString
*arg2
= 0 ;
6724 int arg3
= (int) 0 ;
6726 bool temp2
= False
;
6727 PyObject
* obj0
= 0 ;
6728 PyObject
* obj1
= 0 ;
6729 PyObject
* obj2
= 0 ;
6731 (char *) "self",(char *) "spec",(char *) "flags", NULL
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6737 arg2
= wxString_in_helper(obj1
);
6738 if (arg2
== NULL
) SWIG_fail
;
6743 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6775 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6779 PyObject
* obj0
= 0 ;
6781 (char *) "self", NULL
6784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 result
= (arg1
)->FindNext();
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6806 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
*resultobj
;
6808 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6809 PyObject
* obj0
= 0 ;
6811 (char *) "handler", NULL
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 wxFileSystem::AddHandler(arg1
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 Py_INCREF(Py_None
); resultobj
= Py_None
;
6830 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 wxFileSystem::CleanUpHandlers();
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 Py_INCREF(Py_None
); resultobj
= Py_None
;
6851 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
;
6853 wxString
*arg1
= 0 ;
6855 bool temp1
= False
;
6856 PyObject
* obj0
= 0 ;
6858 (char *) "filename", NULL
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6863 arg1
= wxString_in_helper(obj0
);
6864 if (arg1
== NULL
) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6895 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6898 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6900 return Py_BuildValue((char *)"");
6902 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxString
*arg1
= 0 ;
6906 bool temp1
= False
;
6907 PyObject
* obj0
= 0 ;
6909 (char *) "url", NULL
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6914 arg1
= wxString_in_helper(obj0
);
6915 if (arg1
== NULL
) SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6946 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxInternetFSHandler
*result
;
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6968 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
;
6970 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6971 wxString
*arg2
= 0 ;
6973 bool temp2
= False
;
6974 PyObject
* obj0
= 0 ;
6975 PyObject
* obj1
= 0 ;
6977 (char *) "self",(char *) "location", NULL
6980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6983 arg2
= wxString_in_helper(obj1
);
6984 if (arg2
== NULL
) SWIG_fail
;
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7009 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
;
7011 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7012 wxFileSystem
*arg2
= 0 ;
7013 wxString
*arg3
= 0 ;
7015 bool temp3
= False
;
7016 PyObject
* obj0
= 0 ;
7017 PyObject
* obj1
= 0 ;
7018 PyObject
* obj2
= 0 ;
7020 (char *) "self",(char *) "fs",(char *) "location", NULL
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7025 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7027 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7030 arg3
= wxString_in_helper(obj2
);
7031 if (arg3
== NULL
) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= wxPyMake_wxObject(result
);
7058 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7061 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7063 return Py_BuildValue((char *)"");
7065 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
;
7067 wxZipFSHandler
*result
;
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7077 wxPyEndAllowThreads(__tstate
);
7078 if (PyErr_Occurred()) SWIG_fail
;
7080 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
7087 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
*resultobj
;
7089 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7090 wxString
*arg2
= 0 ;
7092 bool temp2
= False
;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7096 (char *) "self",(char *) "location", NULL
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7102 arg2
= wxString_in_helper(obj1
);
7103 if (arg2
== NULL
) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7128 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7131 wxFileSystem
*arg2
= 0 ;
7132 wxString
*arg3
= 0 ;
7134 bool temp3
= False
;
7135 PyObject
* obj0
= 0 ;
7136 PyObject
* obj1
= 0 ;
7137 PyObject
* obj2
= 0 ;
7139 (char *) "self",(char *) "fs",(char *) "location", NULL
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7144 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7146 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7149 arg3
= wxString_in_helper(obj2
);
7150 if (arg3
== NULL
) SWIG_fail
;
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= wxPyMake_wxObject(result
);
7177 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
;
7179 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7180 wxString
*arg2
= 0 ;
7181 int arg3
= (int) 0 ;
7183 bool temp2
= False
;
7184 PyObject
* obj0
= 0 ;
7185 PyObject
* obj1
= 0 ;
7186 PyObject
* obj2
= 0 ;
7188 (char *) "self",(char *) "spec",(char *) "flags", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7194 arg2
= wxString_in_helper(obj1
);
7195 if (arg2
== NULL
) SWIG_fail
;
7200 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7232 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
;
7234 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7236 PyObject
* obj0
= 0 ;
7238 (char *) "self", NULL
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 result
= (arg1
)->FindNext();
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7263 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7266 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7268 return Py_BuildValue((char *)"");
7270 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
;
7272 wxString
*arg1
= 0 ;
7275 bool temp1
= False
;
7276 PyObject
* obj0
= 0 ;
7277 PyObject
* obj1
= 0 ;
7278 PyObject
* obj2
= 0 ;
7280 (char *) "filename",(char *) "image",(char *) "type", NULL
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7285 arg1
= wxString_in_helper(obj0
);
7286 if (arg1
== NULL
) SWIG_fail
;
7289 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7291 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7294 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 Py_INCREF(Py_None
); resultobj
= Py_None
;
7319 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
;
7321 wxString
*arg1
= 0 ;
7322 wxBitmap
*arg2
= 0 ;
7324 bool temp1
= False
;
7325 PyObject
* obj0
= 0 ;
7326 PyObject
* obj1
= 0 ;
7327 PyObject
* obj2
= 0 ;
7329 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7334 arg1
= wxString_in_helper(obj0
);
7335 if (arg1
== NULL
) SWIG_fail
;
7338 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7340 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7343 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 Py_INCREF(Py_None
); resultobj
= Py_None
;
7368 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
;
7370 wxString
*arg1
= 0 ;
7371 PyObject
*arg2
= (PyObject
*) 0 ;
7372 bool temp1
= False
;
7373 PyObject
* obj0
= 0 ;
7374 PyObject
* obj1
= 0 ;
7376 (char *) "filename",(char *) "data", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7381 arg1
= wxString_in_helper(obj0
);
7382 if (arg1
== NULL
) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 Py_INCREF(Py_None
); resultobj
= Py_None
;
7408 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxMemoryFSHandler
*result
;
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
7430 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxString
*arg1
= 0 ;
7433 bool temp1
= False
;
7434 PyObject
* obj0
= 0 ;
7436 (char *) "filename", NULL
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7441 arg1
= wxString_in_helper(obj0
);
7442 if (arg1
== NULL
) SWIG_fail
;
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7452 Py_INCREF(Py_None
); resultobj
= Py_None
;
7467 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
;
7469 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7470 wxString
*arg2
= 0 ;
7472 bool temp2
= False
;
7473 PyObject
* obj0
= 0 ;
7474 PyObject
* obj1
= 0 ;
7476 (char *) "self",(char *) "location", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7482 arg2
= wxString_in_helper(obj1
);
7483 if (arg2
== NULL
) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7508 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
;
7510 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7511 wxFileSystem
*arg2
= 0 ;
7512 wxString
*arg3
= 0 ;
7514 bool temp3
= False
;
7515 PyObject
* obj0
= 0 ;
7516 PyObject
* obj1
= 0 ;
7517 PyObject
* obj2
= 0 ;
7519 (char *) "self",(char *) "fs",(char *) "location", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7524 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7526 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7529 arg3
= wxString_in_helper(obj2
);
7530 if (arg3
== NULL
) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= wxPyMake_wxObject(result
);
7557 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7559 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7560 wxString
*arg2
= 0 ;
7561 int arg3
= (int) 0 ;
7563 bool temp2
= False
;
7564 PyObject
* obj0
= 0 ;
7565 PyObject
* obj1
= 0 ;
7566 PyObject
* obj2
= 0 ;
7568 (char *) "self",(char *) "spec",(char *) "flags", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7574 arg2
= wxString_in_helper(obj1
);
7575 if (arg2
== NULL
) SWIG_fail
;
7580 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7612 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
*resultobj
;
7614 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7616 PyObject
* obj0
= 0 ;
7618 (char *) "self", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (arg1
)->FindNext();
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7643 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7646 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7648 return Py_BuildValue((char *)"");
7650 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7656 (char *) "self", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
7660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (arg1
)->GetName();
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7681 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
*resultobj
;
7683 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7685 PyObject
* obj0
= 0 ;
7687 (char *) "self", NULL
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
7691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 result
= (arg1
)->GetExtension();
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7712 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7714 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7718 (char *) "self", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
7722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 result
= (long)(arg1
)->GetType();
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= SWIG_PyObj_FromLong((long)result
);
7737 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7741 PyObject
* obj0
= 0 ;
7743 (char *) "self", NULL
7746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 result
= (arg1
)->GetMimeType();
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7768 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
;
7770 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7771 wxString
*arg2
= 0 ;
7773 bool temp2
= False
;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7777 (char *) "self",(char *) "name", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7783 arg2
= wxString_in_helper(obj1
);
7784 if (arg2
== NULL
) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7809 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
;
7811 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7812 wxString
*arg2
= 0 ;
7813 bool temp2
= False
;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7817 (char *) "self",(char *) "name", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7823 arg2
= wxString_in_helper(obj1
);
7824 if (arg2
== NULL
) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 (arg1
)->SetName((wxString
const &)*arg2
);
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 Py_INCREF(Py_None
); resultobj
= Py_None
;
7849 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7852 wxString
*arg2
= 0 ;
7853 bool temp2
= False
;
7854 PyObject
* obj0
= 0 ;
7855 PyObject
* obj1
= 0 ;
7857 (char *) "self",(char *) "extension", NULL
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7863 arg2
= wxString_in_helper(obj1
);
7864 if (arg2
== NULL
) SWIG_fail
;
7868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7869 (arg1
)->SetExtension((wxString
const &)*arg2
);
7871 wxPyEndAllowThreads(__tstate
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 Py_INCREF(Py_None
); resultobj
= Py_None
;
7889 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
;
7891 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7893 PyObject
* obj0
= 0 ;
7894 PyObject
* obj1
= 0 ;
7896 (char *) "self",(char *) "type", NULL
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
7900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7902 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 (arg1
)->SetType(arg2
);
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 Py_INCREF(Py_None
); resultobj
= Py_None
;
7919 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7922 wxString
*arg2
= 0 ;
7923 bool temp2
= False
;
7924 PyObject
* obj0
= 0 ;
7925 PyObject
* obj1
= 0 ;
7927 (char *) "self",(char *) "mimetype", NULL
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7933 arg2
= wxString_in_helper(obj1
);
7934 if (arg2
== NULL
) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 Py_INCREF(Py_None
); resultobj
= Py_None
;
7959 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7962 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7964 return Py_BuildValue((char *)"");
7966 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
;
7968 wxImageHistogram
*result
;
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 result
= (wxImageHistogram
*)new wxImageHistogram();
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7981 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7988 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
;
7990 unsigned char arg1
;
7991 unsigned char arg2
;
7992 unsigned char arg3
;
7993 unsigned long result
;
7994 PyObject
* obj0
= 0 ;
7995 PyObject
* obj1
= 0 ;
7996 PyObject
* obj2
= 0 ;
7998 (char *) "r",(char *) "g",(char *) "b", NULL
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8003 arg1
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj0
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8007 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8011 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
8028 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
;
8030 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8031 unsigned char *arg2
= (unsigned char *) 0 ;
8032 unsigned char *arg3
= (unsigned char *) 0 ;
8033 unsigned char *arg4
= (unsigned char *) 0 ;
8034 unsigned char arg5
= (unsigned char) 1 ;
8035 unsigned char arg6
= (unsigned char) 0 ;
8036 unsigned char arg7
= (unsigned char) 0 ;
8038 unsigned char temp2
;
8039 unsigned char temp3
;
8040 unsigned char temp4
;
8041 PyObject
* obj0
= 0 ;
8042 PyObject
* obj1
= 0 ;
8043 PyObject
* obj2
= 0 ;
8044 PyObject
* obj3
= 0 ;
8046 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8056 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8062 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8068 arg7
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8081 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8082 resultobj
= t_output_helper(resultobj
,o
);
8085 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8086 resultobj
= t_output_helper(resultobj
,o
);
8089 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8090 resultobj
= t_output_helper(resultobj
,o
);
8098 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8101 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8103 return Py_BuildValue((char *)"");
8105 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxString
*arg1
= 0 ;
8108 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8109 int arg3
= (int) -1 ;
8111 bool temp1
= False
;
8112 PyObject
* obj0
= 0 ;
8113 PyObject
* obj1
= 0 ;
8114 PyObject
* obj2
= 0 ;
8116 (char *) "name",(char *) "type",(char *) "index", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8121 arg1
= wxString_in_helper(obj0
);
8122 if (arg1
== NULL
) SWIG_fail
;
8127 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8133 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8139 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8141 wxPyEndAllowThreads(__tstate
);
8142 if (PyErr_Occurred()) SWIG_fail
;
8144 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8159 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxImage
*arg1
= (wxImage
*) 0 ;
8162 PyObject
* obj0
= 0 ;
8164 (char *) "self", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8176 Py_INCREF(Py_None
); resultobj
= Py_None
;
8183 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8184 PyObject
*resultobj
;
8185 wxString
*arg1
= 0 ;
8186 wxString
*arg2
= 0 ;
8187 int arg3
= (int) -1 ;
8189 bool temp1
= False
;
8190 bool temp2
= False
;
8191 PyObject
* obj0
= 0 ;
8192 PyObject
* obj1
= 0 ;
8193 PyObject
* obj2
= 0 ;
8195 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8200 arg1
= wxString_in_helper(obj0
);
8201 if (arg1
== NULL
) SWIG_fail
;
8205 arg2
= wxString_in_helper(obj1
);
8206 if (arg2
== NULL
) SWIG_fail
;
8211 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8245 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 wxInputStream
*arg1
= 0 ;
8248 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8249 int arg3
= (int) -1 ;
8251 wxPyInputStream
*temp1
;
8253 PyObject
* obj0
= 0 ;
8254 PyObject
* obj1
= 0 ;
8255 PyObject
* obj2
= 0 ;
8257 (char *) "stream",(char *) "type",(char *) "index", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8262 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8263 arg1
= temp1
->m_wxis
;
8266 PyErr_Clear(); // clear the failure of the wxPyConvert above
8267 arg1
= wxPyCBInputStream_create(obj0
, False
);
8269 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8277 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8283 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8294 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8309 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxInputStream
*arg1
= 0 ;
8312 wxString
*arg2
= 0 ;
8313 int arg3
= (int) -1 ;
8315 wxPyInputStream
*temp1
;
8317 bool temp2
= False
;
8318 PyObject
* obj0
= 0 ;
8319 PyObject
* obj1
= 0 ;
8320 PyObject
* obj2
= 0 ;
8322 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8327 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8328 arg1
= temp1
->m_wxis
;
8331 PyErr_Clear(); // clear the failure of the wxPyConvert above
8332 arg1
= wxPyCBInputStream_create(obj0
, False
);
8334 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8341 arg2
= wxString_in_helper(obj1
);
8342 if (arg2
== NULL
) SWIG_fail
;
8347 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8381 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 int arg1
= (int) 0 ;
8384 int arg2
= (int) 0 ;
8385 bool arg3
= (bool) True
;
8387 PyObject
* obj0
= 0 ;
8388 PyObject
* obj1
= 0 ;
8389 PyObject
* obj2
= 0 ;
8391 (char *) "width",(char *) "height",(char *) "clear", NULL
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8397 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8403 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8409 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8427 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8428 PyObject
*resultobj
;
8429 wxBitmap
*arg1
= 0 ;
8431 PyObject
* obj0
= 0 ;
8433 (char *) "bitmap", NULL
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8439 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8455 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8459 unsigned char *arg3
= (unsigned char *) 0 ;
8461 PyObject
* obj0
= 0 ;
8462 PyObject
* obj1
= 0 ;
8463 PyObject
* obj2
= 0 ;
8465 (char *) "width",(char *) "height",(char *) "data", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8470 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8474 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8477 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8492 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
*resultobj
;
8494 wxImage
*arg1
= (wxImage
*) 0 ;
8497 PyObject
* obj0
= 0 ;
8498 PyObject
* obj1
= 0 ;
8499 PyObject
* obj2
= 0 ;
8501 (char *) "self",(char *) "width",(char *) "height", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8507 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8511 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 (arg1
)->Create(arg2
,arg3
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8521 Py_INCREF(Py_None
); resultobj
= Py_None
;
8528 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
;
8530 wxImage
*arg1
= (wxImage
*) 0 ;
8531 PyObject
* obj0
= 0 ;
8533 (char *) "self", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8542 wxPyEndAllowThreads(__tstate
);
8543 if (PyErr_Occurred()) SWIG_fail
;
8545 Py_INCREF(Py_None
); resultobj
= Py_None
;
8552 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8553 PyObject
*resultobj
;
8554 wxImage
*arg1
= (wxImage
*) 0 ;
8557 SwigValueWrapper
< wxImage
> result
;
8558 PyObject
* obj0
= 0 ;
8559 PyObject
* obj1
= 0 ;
8560 PyObject
* obj2
= 0 ;
8562 (char *) "self",(char *) "width",(char *) "height", NULL
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8568 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8572 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= (arg1
)->Scale(arg2
,arg3
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8583 wxImage
* resultptr
;
8584 resultptr
= new wxImage((wxImage
&) result
);
8585 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8593 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
;
8595 wxImage
*arg1
= (wxImage
*) 0 ;
8598 SwigValueWrapper
< wxImage
> result
;
8599 PyObject
* obj0
= 0 ;
8600 PyObject
* obj1
= 0 ;
8601 PyObject
* obj2
= 0 ;
8603 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8609 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8613 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8624 wxImage
* resultptr
;
8625 resultptr
= new wxImage((wxImage
&) result
);
8626 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8634 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxImage
*arg1
= (wxImage
*) 0 ;
8640 PyObject
* obj0
= 0 ;
8641 PyObject
* obj1
= 0 ;
8642 PyObject
* obj2
= 0 ;
8644 (char *) "self",(char *) "width",(char *) "height", NULL
8647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8650 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8654 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
8661 result
= (wxImage
*) &_result_ref
;
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
8674 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxImage
*arg1
= (wxImage
*) 0 ;
8679 unsigned char arg4
;
8680 unsigned char arg5
;
8681 unsigned char arg6
;
8682 PyObject
* obj0
= 0 ;
8683 PyObject
* obj1
= 0 ;
8684 PyObject
* obj2
= 0 ;
8685 PyObject
* obj3
= 0 ;
8686 PyObject
* obj4
= 0 ;
8687 PyObject
* obj5
= 0 ;
8689 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
8692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8695 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8699 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8703 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8707 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj4
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8711 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj5
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 Py_INCREF(Py_None
); resultobj
= Py_None
;
8728 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxImage
*arg1
= (wxImage
*) 0 ;
8733 unsigned char result
;
8734 PyObject
* obj0
= 0 ;
8735 PyObject
* obj1
= 0 ;
8736 PyObject
* obj2
= 0 ;
8738 (char *) "self",(char *) "x",(char *) "y", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8744 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8748 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8765 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxImage
*arg1
= (wxImage
*) 0 ;
8770 unsigned char result
;
8771 PyObject
* obj0
= 0 ;
8772 PyObject
* obj1
= 0 ;
8773 PyObject
* obj2
= 0 ;
8775 (char *) "self",(char *) "x",(char *) "y", NULL
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8781 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8785 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8802 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8804 wxImage
*arg1
= (wxImage
*) 0 ;
8807 unsigned char result
;
8808 PyObject
* obj0
= 0 ;
8809 PyObject
* obj1
= 0 ;
8810 PyObject
* obj2
= 0 ;
8812 (char *) "self",(char *) "x",(char *) "y", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8818 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8822 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8839 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
;
8841 wxImage
*arg1
= (wxImage
*) 0 ;
8844 unsigned char arg4
;
8845 PyObject
* obj0
= 0 ;
8846 PyObject
* obj1
= 0 ;
8847 PyObject
* obj2
= 0 ;
8848 PyObject
* obj3
= 0 ;
8850 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8856 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8860 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8864 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 Py_INCREF(Py_None
); resultobj
= Py_None
;
8881 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8883 wxImage
*arg1
= (wxImage
*) 0 ;
8886 unsigned char result
;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8889 PyObject
* obj2
= 0 ;
8891 (char *) "self",(char *) "x",(char *) "y", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8897 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8901 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8918 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxImage
*arg1
= (wxImage
*) 0 ;
8922 PyObject
* obj0
= 0 ;
8924 (char *) "self", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 result
= (bool)(arg1
)->HasAlpha();
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8943 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
;
8945 wxImage
*arg1
= (wxImage
*) 0 ;
8946 byte
*arg2
= (byte
*) 0 ;
8947 byte
*arg3
= (byte
*) 0 ;
8948 byte
*arg4
= (byte
*) 0 ;
8949 byte arg5
= (byte
) 0 ;
8950 byte arg6
= (byte
) 0 ;
8951 byte arg7
= (byte
) 0 ;
8956 PyObject
* obj0
= 0 ;
8957 PyObject
* obj1
= 0 ;
8958 PyObject
* obj2
= 0 ;
8959 PyObject
* obj3
= 0 ;
8961 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8971 arg5
= (byte
) SWIG_PyObj_AsUnsignedChar(obj1
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8977 arg6
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8983 arg7
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8996 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8997 resultobj
= t_output_helper(resultobj
,o
);
9000 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9001 resultobj
= t_output_helper(resultobj
,o
);
9004 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9005 resultobj
= t_output_helper(resultobj
,o
);
9013 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxImage
*arg1
= (wxImage
*) 0 ;
9021 PyObject
* obj0
= 0 ;
9022 PyObject
* obj1
= 0 ;
9023 PyObject
* obj2
= 0 ;
9024 PyObject
* obj3
= 0 ;
9025 PyObject
* obj4
= 0 ;
9027 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9032 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9034 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9037 arg3
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9041 arg4
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9045 arg5
= (byte
) SWIG_PyObj_AsUnsignedChar(obj4
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9062 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
;
9064 wxString
*arg1
= 0 ;
9066 bool temp1
= False
;
9067 PyObject
* obj0
= 0 ;
9069 (char *) "name", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9074 arg1
= wxString_in_helper(obj0
);
9075 if (arg1
== NULL
) SWIG_fail
;
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9100 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
;
9102 wxString
*arg1
= 0 ;
9103 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9105 bool temp1
= False
;
9106 PyObject
* obj0
= 0 ;
9107 PyObject
* obj1
= 0 ;
9109 (char *) "name",(char *) "type", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9114 arg1
= wxString_in_helper(obj0
);
9115 if (arg1
== NULL
) SWIG_fail
;
9120 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= SWIG_PyObj_FromInt((int)result
);
9146 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
;
9148 wxImage
*arg1
= (wxImage
*) 0 ;
9149 wxString
*arg2
= 0 ;
9150 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9151 int arg4
= (int) -1 ;
9153 bool temp2
= False
;
9154 PyObject
* obj0
= 0 ;
9155 PyObject
* obj1
= 0 ;
9156 PyObject
* obj2
= 0 ;
9157 PyObject
* obj3
= 0 ;
9159 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9165 arg2
= wxString_in_helper(obj1
);
9166 if (arg2
== NULL
) SWIG_fail
;
9171 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9177 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9203 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
;
9205 wxImage
*arg1
= (wxImage
*) 0 ;
9206 wxString
*arg2
= 0 ;
9207 wxString
*arg3
= 0 ;
9208 int arg4
= (int) -1 ;
9210 bool temp2
= False
;
9211 bool temp3
= False
;
9212 PyObject
* obj0
= 0 ;
9213 PyObject
* obj1
= 0 ;
9214 PyObject
* obj2
= 0 ;
9215 PyObject
* obj3
= 0 ;
9217 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9223 arg2
= wxString_in_helper(obj1
);
9224 if (arg2
== NULL
) SWIG_fail
;
9228 arg3
= wxString_in_helper(obj2
);
9229 if (arg3
== NULL
) SWIG_fail
;
9234 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9268 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
;
9270 wxImage
*arg1
= (wxImage
*) 0 ;
9271 wxString
*arg2
= 0 ;
9274 bool temp2
= False
;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9277 PyObject
* obj2
= 0 ;
9279 (char *) "self",(char *) "name",(char *) "type", NULL
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9285 arg2
= wxString_in_helper(obj1
);
9286 if (arg2
== NULL
) SWIG_fail
;
9290 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9315 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
;
9317 wxImage
*arg1
= (wxImage
*) 0 ;
9318 wxString
*arg2
= 0 ;
9319 wxString
*arg3
= 0 ;
9321 bool temp2
= False
;
9322 bool temp3
= False
;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9325 PyObject
* obj2
= 0 ;
9327 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9333 arg2
= wxString_in_helper(obj1
);
9334 if (arg2
== NULL
) SWIG_fail
;
9338 arg3
= wxString_in_helper(obj2
);
9339 if (arg3
== NULL
) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9372 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9374 wxInputStream
*arg1
= 0 ;
9376 wxPyInputStream
*temp1
;
9378 PyObject
* obj0
= 0 ;
9380 (char *) "stream", NULL
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9385 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9386 arg1
= temp1
->m_wxis
;
9389 PyErr_Clear(); // clear the failure of the wxPyConvert above
9390 arg1
= wxPyCBInputStream_create(obj0
, False
);
9392 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 result
= (bool)wxImage::CanRead(*arg1
);
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9420 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxImage
*arg1
= (wxImage
*) 0 ;
9423 wxInputStream
*arg2
= 0 ;
9424 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9425 int arg4
= (int) -1 ;
9427 wxPyInputStream
*temp2
;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9431 PyObject
* obj2
= 0 ;
9432 PyObject
* obj3
= 0 ;
9434 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9440 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9441 arg2
= temp2
->m_wxis
;
9444 PyErr_Clear(); // clear the failure of the wxPyConvert above
9445 arg2
= wxPyCBInputStream_create(obj1
, False
);
9447 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9455 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9461 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9487 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxImage
*arg1
= (wxImage
*) 0 ;
9490 wxInputStream
*arg2
= 0 ;
9491 wxString
*arg3
= 0 ;
9492 int arg4
= (int) -1 ;
9494 wxPyInputStream
*temp2
;
9496 bool temp3
= False
;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 PyObject
* obj2
= 0 ;
9500 PyObject
* obj3
= 0 ;
9502 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9508 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9509 arg2
= temp2
->m_wxis
;
9512 PyErr_Clear(); // clear the failure of the wxPyConvert above
9513 arg2
= wxPyCBInputStream_create(obj1
, False
);
9515 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9522 arg3
= wxString_in_helper(obj2
);
9523 if (arg3
== NULL
) SWIG_fail
;
9528 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9562 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
;
9564 wxImage
*arg1
= (wxImage
*) 0 ;
9566 PyObject
* obj0
= 0 ;
9568 (char *) "self", NULL
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (bool)(arg1
)->Ok();
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9587 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxImage
*arg1
= (wxImage
*) 0 ;
9591 PyObject
* obj0
= 0 ;
9593 (char *) "self", NULL
9596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= (int)(arg1
)->GetWidth();
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= SWIG_PyObj_FromInt((int)result
);
9612 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
*resultobj
;
9614 wxImage
*arg1
= (wxImage
*) 0 ;
9616 PyObject
* obj0
= 0 ;
9618 (char *) "self", NULL
9621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 result
= (int)(arg1
)->GetHeight();
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= SWIG_PyObj_FromInt((int)result
);
9637 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
;
9639 wxImage
*arg1
= (wxImage
*) 0 ;
9641 SwigValueWrapper
< wxImage
> result
;
9643 PyObject
* obj0
= 0 ;
9644 PyObject
* obj1
= 0 ;
9646 (char *) "self",(char *) "rect", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
9650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9653 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9663 wxImage
* resultptr
;
9664 resultptr
= new wxImage((wxImage
&) result
);
9665 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9673 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
;
9675 wxImage
*arg1
= (wxImage
*) 0 ;
9676 SwigValueWrapper
< wxImage
> result
;
9677 PyObject
* obj0
= 0 ;
9679 (char *) "self", NULL
9682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
9683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (arg1
)->Copy();
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9692 wxImage
* resultptr
;
9693 resultptr
= new wxImage((wxImage
&) result
);
9694 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9702 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9704 wxImage
*arg1
= (wxImage
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9710 PyObject
* obj2
= 0 ;
9711 PyObject
* obj3
= 0 ;
9713 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9718 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9720 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9723 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9727 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 Py_INCREF(Py_None
); resultobj
= Py_None
;
9744 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxImage
*arg1
= (wxImage
*) 0 ;
9748 PyObject
* obj0
= 0 ;
9750 (char *) "self", NULL
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
9754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 result
= (PyObject
*)wxImage_GetData(arg1
);
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9769 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
;
9771 wxImage
*arg1
= (wxImage
*) 0 ;
9772 PyObject
*arg2
= (PyObject
*) 0 ;
9773 PyObject
* obj0
= 0 ;
9774 PyObject
* obj1
= 0 ;
9776 (char *) "self",(char *) "data", NULL
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
9780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 wxImage_SetData(arg1
,arg2
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 Py_INCREF(Py_None
); resultobj
= Py_None
;
9796 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxImage
*arg1
= (wxImage
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9802 (char *) "self", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
9806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9821 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
*resultobj
;
9823 wxImage
*arg1
= (wxImage
*) 0 ;
9824 PyObject
*arg2
= (PyObject
*) 0 ;
9825 PyObject
* obj0
= 0 ;
9826 PyObject
* obj1
= 0 ;
9828 (char *) "self",(char *) "data", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 wxImage_SetDataBuffer(arg1
,arg2
);
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 Py_INCREF(Py_None
); resultobj
= Py_None
;
9848 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxImage
*arg1
= (wxImage
*) 0 ;
9852 PyObject
* obj0
= 0 ;
9854 (char *) "self", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
9858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9873 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9875 wxImage
*arg1
= (wxImage
*) 0 ;
9876 PyObject
*arg2
= (PyObject
*) 0 ;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj1
= 0 ;
9880 (char *) "self",(char *) "data", NULL
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
9884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 wxImage_SetAlphaData(arg1
,arg2
);
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9893 Py_INCREF(Py_None
); resultobj
= Py_None
;
9900 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
*resultobj
;
9902 wxImage
*arg1
= (wxImage
*) 0 ;
9904 PyObject
* obj0
= 0 ;
9906 (char *) "self", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
9910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9925 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
;
9927 wxImage
*arg1
= (wxImage
*) 0 ;
9928 PyObject
*arg2
= (PyObject
*) 0 ;
9929 PyObject
* obj0
= 0 ;
9930 PyObject
* obj1
= 0 ;
9932 (char *) "self",(char *) "data", NULL
9935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 wxImage_SetAlphaBuffer(arg1
,arg2
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 Py_INCREF(Py_None
); resultobj
= Py_None
;
9952 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
;
9954 wxImage
*arg1
= (wxImage
*) 0 ;
9955 unsigned char arg2
;
9956 unsigned char arg3
;
9957 unsigned char arg4
;
9958 PyObject
* obj0
= 0 ;
9959 PyObject
* obj1
= 0 ;
9960 PyObject
* obj2
= 0 ;
9961 PyObject
* obj3
= 0 ;
9963 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9969 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9973 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9977 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9987 Py_INCREF(Py_None
); resultobj
= Py_None
;
9994 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 wxImage
*arg1
= (wxImage
*) 0 ;
9997 unsigned char result
;
9998 PyObject
* obj0
= 0 ;
10000 (char *) "self", NULL
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 result
= (unsigned char)(arg1
)->GetMaskRed();
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10019 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxImage
*arg1
= (wxImage
*) 0 ;
10022 unsigned char result
;
10023 PyObject
* obj0
= 0 ;
10024 char *kwnames
[] = {
10025 (char *) "self", NULL
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 result
= (unsigned char)(arg1
)->GetMaskGreen();
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10044 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
;
10046 wxImage
*arg1
= (wxImage
*) 0 ;
10047 unsigned char result
;
10048 PyObject
* obj0
= 0 ;
10049 char *kwnames
[] = {
10050 (char *) "self", NULL
10053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 result
= (unsigned char)(arg1
)->GetMaskBlue();
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10069 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
;
10071 wxImage
*arg1
= (wxImage
*) 0 ;
10072 bool arg2
= (bool) True
;
10073 PyObject
* obj0
= 0 ;
10074 PyObject
* obj1
= 0 ;
10075 char *kwnames
[] = {
10076 (char *) "self",(char *) "mask", NULL
10079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10083 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10089 (arg1
)->SetMask(arg2
);
10091 wxPyEndAllowThreads(__tstate
);
10092 if (PyErr_Occurred()) SWIG_fail
;
10094 Py_INCREF(Py_None
); resultobj
= Py_None
;
10101 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
*resultobj
;
10103 wxImage
*arg1
= (wxImage
*) 0 ;
10105 PyObject
* obj0
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "self", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (bool)(arg1
)->HasMask();
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10126 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
;
10128 wxImage
*arg1
= (wxImage
*) 0 ;
10130 wxPoint
*arg3
= 0 ;
10131 bool arg4
= (bool) True
;
10132 wxPoint
*arg5
= (wxPoint
*) NULL
;
10133 SwigValueWrapper
< wxImage
> result
;
10135 PyObject
* obj0
= 0 ;
10136 PyObject
* obj1
= 0 ;
10137 PyObject
* obj2
= 0 ;
10138 PyObject
* obj3
= 0 ;
10139 PyObject
* obj4
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10147 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10152 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10156 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10161 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10171 wxImage
* resultptr
;
10172 resultptr
= new wxImage((wxImage
&) result
);
10173 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10181 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
;
10183 wxImage
*arg1
= (wxImage
*) 0 ;
10184 bool arg2
= (bool) True
;
10185 SwigValueWrapper
< wxImage
> result
;
10186 PyObject
* obj0
= 0 ;
10187 PyObject
* obj1
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "self",(char *) "clockwise", NULL
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10196 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= (arg1
)->Rotate90(arg2
);
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10208 wxImage
* resultptr
;
10209 resultptr
= new wxImage((wxImage
&) result
);
10210 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10218 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxImage
*arg1
= (wxImage
*) 0 ;
10221 bool arg2
= (bool) True
;
10222 SwigValueWrapper
< wxImage
> result
;
10223 PyObject
* obj0
= 0 ;
10224 PyObject
* obj1
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self",(char *) "horizontally", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10233 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= (arg1
)->Mirror(arg2
);
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10245 wxImage
* resultptr
;
10246 resultptr
= new wxImage((wxImage
&) result
);
10247 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10255 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
;
10257 wxImage
*arg1
= (wxImage
*) 0 ;
10258 unsigned char arg2
;
10259 unsigned char arg3
;
10260 unsigned char arg4
;
10261 unsigned char arg5
;
10262 unsigned char arg6
;
10263 unsigned char arg7
;
10264 PyObject
* obj0
= 0 ;
10265 PyObject
* obj1
= 0 ;
10266 PyObject
* obj2
= 0 ;
10267 PyObject
* obj3
= 0 ;
10268 PyObject
* obj4
= 0 ;
10269 PyObject
* obj5
= 0 ;
10270 PyObject
* obj6
= 0 ;
10271 char *kwnames
[] = {
10272 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10278 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10282 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10286 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10290 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj4
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10294 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj5
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10298 arg7
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj6
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10308 Py_INCREF(Py_None
); resultobj
= Py_None
;
10315 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
;
10317 wxImage
*arg1
= (wxImage
*) 0 ;
10318 unsigned char arg2
;
10319 unsigned char arg3
;
10320 unsigned char arg4
;
10321 SwigValueWrapper
< wxImage
> result
;
10322 PyObject
* obj0
= 0 ;
10323 PyObject
* obj1
= 0 ;
10324 PyObject
* obj2
= 0 ;
10325 PyObject
* obj3
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10333 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10337 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10341 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10352 wxImage
* resultptr
;
10353 resultptr
= new wxImage((wxImage
&) result
);
10354 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10362 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
;
10364 wxImage
*arg1
= (wxImage
*) 0 ;
10365 wxString
*arg2
= 0 ;
10366 wxString
*arg3
= 0 ;
10367 bool temp2
= False
;
10368 bool temp3
= False
;
10369 PyObject
* obj0
= 0 ;
10370 PyObject
* obj1
= 0 ;
10371 PyObject
* obj2
= 0 ;
10372 char *kwnames
[] = {
10373 (char *) "self",(char *) "name",(char *) "value", NULL
10376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10379 arg2
= wxString_in_helper(obj1
);
10380 if (arg2
== NULL
) SWIG_fail
;
10384 arg3
= wxString_in_helper(obj2
);
10385 if (arg3
== NULL
) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 Py_INCREF(Py_None
); resultobj
= Py_None
;
10418 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxImage
*arg1
= (wxImage
*) 0 ;
10421 wxString
*arg2
= 0 ;
10423 bool temp2
= False
;
10424 PyObject
* obj0
= 0 ;
10425 PyObject
* obj1
= 0 ;
10426 PyObject
* obj2
= 0 ;
10427 char *kwnames
[] = {
10428 (char *) "self",(char *) "name",(char *) "value", NULL
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10434 arg2
= wxString_in_helper(obj1
);
10435 if (arg2
== NULL
) SWIG_fail
;
10439 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10449 Py_INCREF(Py_None
); resultobj
= Py_None
;
10464 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxImage
*arg1
= (wxImage
*) 0 ;
10467 wxString
*arg2
= 0 ;
10469 bool temp2
= False
;
10470 PyObject
* obj0
= 0 ;
10471 PyObject
* obj1
= 0 ;
10472 char *kwnames
[] = {
10473 (char *) "self",(char *) "name", NULL
10476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10479 arg2
= wxString_in_helper(obj1
);
10480 if (arg2
== NULL
) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10511 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10512 PyObject
*resultobj
;
10513 wxImage
*arg1
= (wxImage
*) 0 ;
10514 wxString
*arg2
= 0 ;
10516 bool temp2
= False
;
10517 PyObject
* obj0
= 0 ;
10518 PyObject
* obj1
= 0 ;
10519 char *kwnames
[] = {
10520 (char *) "self",(char *) "name", NULL
10523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10526 arg2
= wxString_in_helper(obj1
);
10527 if (arg2
== NULL
) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= SWIG_PyObj_FromInt((int)result
);
10552 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
;
10554 wxImage
*arg1
= (wxImage
*) 0 ;
10555 wxString
*arg2
= 0 ;
10557 bool temp2
= False
;
10558 PyObject
* obj0
= 0 ;
10559 PyObject
* obj1
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "self",(char *) "name", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10567 arg2
= wxString_in_helper(obj1
);
10568 if (arg2
== NULL
) SWIG_fail
;
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10593 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxImage
*arg1
= (wxImage
*) 0 ;
10596 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10597 unsigned long result
;
10598 PyObject
* obj0
= 0 ;
10599 PyObject
* obj1
= 0 ;
10600 char *kwnames
[] = {
10601 (char *) "self",(char *) "stopafter", NULL
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10608 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10619 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
10626 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
*resultobj
;
10628 wxImage
*arg1
= (wxImage
*) 0 ;
10629 wxImageHistogram
*arg2
= 0 ;
10630 unsigned long result
;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "self",(char *) "h", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
10638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10639 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10640 if (arg2
== NULL
) {
10641 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10650 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
10657 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
;
10659 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10660 PyObject
* obj0
= 0 ;
10661 char *kwnames
[] = {
10662 (char *) "handler", NULL
10665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
10666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 wxImage::AddHandler(arg1
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 Py_INCREF(Py_None
); resultobj
= Py_None
;
10681 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10684 PyObject
* obj0
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "handler", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
10690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 wxImage::InsertHandler(arg1
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 Py_INCREF(Py_None
); resultobj
= Py_None
;
10705 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
;
10707 wxString
*arg1
= 0 ;
10709 bool temp1
= False
;
10710 PyObject
* obj0
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "name", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
10717 arg1
= wxString_in_helper(obj0
);
10718 if (arg1
== NULL
) SWIG_fail
;
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10743 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10746 char *kwnames
[] = {
10750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= wxImage::GetImageExtWildcard();
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10771 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
;
10773 wxImage
*arg1
= (wxImage
*) 0 ;
10775 PyObject
* obj0
= 0 ;
10776 char *kwnames
[] = {
10777 (char *) "self", NULL
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
10781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 result
= wxImage_ConvertToBitmap(arg1
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10790 wxBitmap
* resultptr
;
10791 resultptr
= new wxBitmap((wxBitmap
&) result
);
10792 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
10800 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxImage
*arg1
= (wxImage
*) 0 ;
10803 unsigned char arg2
;
10804 unsigned char arg3
;
10805 unsigned char arg4
;
10807 PyObject
* obj0
= 0 ;
10808 PyObject
* obj1
= 0 ;
10809 PyObject
* obj2
= 0 ;
10810 PyObject
* obj3
= 0 ;
10811 char *kwnames
[] = {
10812 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
10815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10818 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10822 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10826 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10837 wxBitmap
* resultptr
;
10838 resultptr
= new wxBitmap((wxBitmap
&) result
);
10839 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
10847 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
10849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10850 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
10852 return Py_BuildValue((char *)"");
10854 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10856 char *kwnames
[] = {
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 wxInitAllImageHandlers();
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 Py_INCREF(Py_None
); resultobj
= Py_None
;
10875 static int _wrap_NullImage_set(PyObject
*) {
10876 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
10881 static PyObject
*_wrap_NullImage_get() {
10884 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
10889 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
10890 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
10895 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
10900 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
10902 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
10909 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
10910 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
10915 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
10920 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10922 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10929 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
10930 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
10935 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
10940 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10942 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10949 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
10950 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
10955 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
10960 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10962 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10969 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
10970 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
10975 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
10980 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10982 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10989 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10990 PyObject
*resultobj
;
10991 wxBMPHandler
*result
;
10992 char *kwnames
[] = {
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 result
= (wxBMPHandler
*)new wxBMPHandler();
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11004 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
11011 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11014 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11016 return Py_BuildValue((char *)"");
11018 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
;
11020 wxICOHandler
*result
;
11021 char *kwnames
[] = {
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 result
= (wxICOHandler
*)new wxICOHandler();
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11033 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
11040 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11043 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11045 return Py_BuildValue((char *)"");
11047 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxCURHandler
*result
;
11050 char *kwnames
[] = {
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 result
= (wxCURHandler
*)new wxCURHandler();
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11062 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
11069 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11072 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11074 return Py_BuildValue((char *)"");
11076 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
;
11078 wxANIHandler
*result
;
11079 char *kwnames
[] = {
11083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 result
= (wxANIHandler
*)new wxANIHandler();
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
11098 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11101 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11103 return Py_BuildValue((char *)"");
11105 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
;
11107 wxPNGHandler
*result
;
11108 char *kwnames
[] = {
11112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 result
= (wxPNGHandler
*)new wxPNGHandler();
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
11127 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11130 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11132 return Py_BuildValue((char *)"");
11134 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11135 PyObject
*resultobj
;
11136 wxGIFHandler
*result
;
11137 char *kwnames
[] = {
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11144 result
= (wxGIFHandler
*)new wxGIFHandler();
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11149 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
11156 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11159 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11161 return Py_BuildValue((char *)"");
11163 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
*resultobj
;
11165 wxPCXHandler
*result
;
11166 char *kwnames
[] = {
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (wxPCXHandler
*)new wxPCXHandler();
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
11185 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11188 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11190 return Py_BuildValue((char *)"");
11192 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
;
11194 wxJPEGHandler
*result
;
11195 char *kwnames
[] = {
11199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
11214 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11217 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11219 return Py_BuildValue((char *)"");
11221 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11222 PyObject
*resultobj
;
11223 wxPNMHandler
*result
;
11224 char *kwnames
[] = {
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11231 result
= (wxPNMHandler
*)new wxPNMHandler();
11233 wxPyEndAllowThreads(__tstate
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11236 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
11243 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11246 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11248 return Py_BuildValue((char *)"");
11250 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
;
11252 wxXPMHandler
*result
;
11253 char *kwnames
[] = {
11257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 result
= (wxXPMHandler
*)new wxXPMHandler();
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
11272 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11275 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11277 return Py_BuildValue((char *)"");
11279 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
;
11281 wxTIFFHandler
*result
;
11282 char *kwnames
[] = {
11286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11294 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
11301 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11304 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11306 return Py_BuildValue((char *)"");
11308 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
*resultobj
;
11310 wxEvtHandler
*result
;
11311 char *kwnames
[] = {
11315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 result
= (wxEvtHandler
*)new wxEvtHandler();
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11324 resultobj
= wxPyMake_wxObject(result
);
11332 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
;
11334 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11335 wxEvtHandler
*result
;
11336 PyObject
* obj0
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11351 resultobj
= wxPyMake_wxObject(result
);
11359 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11362 wxEvtHandler
*result
;
11363 PyObject
* obj0
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "self", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11378 resultobj
= wxPyMake_wxObject(result
);
11386 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
;
11388 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11389 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11390 PyObject
* obj0
= 0 ;
11391 PyObject
* obj1
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self",(char *) "handler", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11398 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 (arg1
)->SetNextHandler(arg2
);
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 Py_INCREF(Py_None
); resultobj
= Py_None
;
11413 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
;
11415 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11416 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11417 PyObject
* obj0
= 0 ;
11418 PyObject
* obj1
= 0 ;
11419 char *kwnames
[] = {
11420 (char *) "self",(char *) "handler", NULL
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11425 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 (arg1
)->SetPreviousHandler(arg2
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 Py_INCREF(Py_None
); resultobj
= Py_None
;
11440 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 char *kwnames
[] = {
11446 (char *) "self", NULL
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11465 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
;
11467 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11469 PyObject
* obj0
= 0 ;
11470 PyObject
* obj1
= 0 ;
11471 char *kwnames
[] = {
11472 (char *) "self",(char *) "enabled", NULL
11475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11478 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 (arg1
)->SetEvtHandlerEnabled(arg2
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 Py_INCREF(Py_None
); resultobj
= Py_None
;
11495 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11498 wxEvent
*arg2
= 0 ;
11500 PyObject
* obj0
= 0 ;
11501 PyObject
* obj1
= 0 ;
11502 char *kwnames
[] = {
11503 (char *) "self",(char *) "event", NULL
11506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11508 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11509 if (arg2
== NULL
) {
11510 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11526 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
;
11528 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11529 wxEvent
*arg2
= 0 ;
11530 PyObject
* obj0
= 0 ;
11531 PyObject
* obj1
= 0 ;
11532 char *kwnames
[] = {
11533 (char *) "self",(char *) "event", NULL
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11539 if (arg2
== NULL
) {
11540 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 (arg1
)->AddPendingEvent(*arg2
);
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 Py_INCREF(Py_None
); resultobj
= Py_None
;
11556 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11559 PyObject
* obj0
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "self", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 (arg1
)->ProcessPendingEvents();
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 Py_INCREF(Py_None
); resultobj
= Py_None
;
11580 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11586 PyObject
*arg5
= (PyObject
*) 0 ;
11587 PyObject
* obj0
= 0 ;
11588 PyObject
* obj1
= 0 ;
11589 PyObject
* obj2
= 0 ;
11590 PyObject
* obj3
= 0 ;
11591 PyObject
* obj4
= 0 ;
11592 char *kwnames
[] = {
11593 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11599 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11607 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 Py_INCREF(Py_None
); resultobj
= Py_None
;
11625 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11629 int arg3
= (int) -1 ;
11630 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
11632 PyObject
* obj0
= 0 ;
11633 PyObject
* obj1
= 0 ;
11634 PyObject
* obj2
= 0 ;
11635 PyObject
* obj3
= 0 ;
11636 char *kwnames
[] = {
11637 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11643 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11648 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11654 arg4
= (wxEventType
) SWIG_PyObj_AsInt(obj3
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
11662 wxPyEndAllowThreads(__tstate
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11672 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
*resultobj
;
11674 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11675 PyObject
*arg2
= (PyObject
*) 0 ;
11676 PyObject
* obj0
= 0 ;
11677 PyObject
* obj1
= 0 ;
11678 char *kwnames
[] = {
11679 (char *) "self",(char *) "_self", NULL
11682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
11683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 wxEvtHandler__setOORInfo(arg1
,arg2
);
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 Py_INCREF(Py_None
); resultobj
= Py_None
;
11699 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11702 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
11704 return Py_BuildValue((char *)"");
11706 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11707 PyObject
*resultobj
;
11708 wxEventType result
;
11709 char *kwnames
[] = {
11713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 result
= (wxEventType
)wxNewEventType();
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11721 resultobj
= SWIG_PyObj_FromInt((int)result
);
11728 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxEvent
*arg1
= (wxEvent
*) 0 ;
11731 PyObject
* obj0
= 0 ;
11732 char *kwnames
[] = {
11733 (char *) "self", NULL
11736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
11737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 Py_INCREF(Py_None
); resultobj
= Py_None
;
11752 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
;
11754 wxEvent
*arg1
= (wxEvent
*) 0 ;
11756 PyObject
* obj0
= 0 ;
11757 PyObject
* obj1
= 0 ;
11758 char *kwnames
[] = {
11759 (char *) "self",(char *) "typ", NULL
11762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
11763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11765 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 (arg1
)->SetEventType(arg2
);
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11775 Py_INCREF(Py_None
); resultobj
= Py_None
;
11782 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxEvent
*arg1
= (wxEvent
*) 0 ;
11785 wxEventType result
;
11786 PyObject
* obj0
= 0 ;
11787 char *kwnames
[] = {
11788 (char *) "self", NULL
11791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
11792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 resultobj
= SWIG_PyObj_FromInt((int)result
);
11807 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11808 PyObject
*resultobj
;
11809 wxEvent
*arg1
= (wxEvent
*) 0 ;
11811 PyObject
* obj0
= 0 ;
11812 char *kwnames
[] = {
11813 (char *) "self", NULL
11816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
11817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= wxPyMake_wxObject(result
);
11834 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11835 PyObject
*resultobj
;
11836 wxEvent
*arg1
= (wxEvent
*) 0 ;
11837 wxObject
*arg2
= (wxObject
*) 0 ;
11838 PyObject
* obj0
= 0 ;
11839 PyObject
* obj1
= 0 ;
11840 char *kwnames
[] = {
11841 (char *) "self",(char *) "obj", NULL
11844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
11845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11846 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 (arg1
)->SetEventObject(arg2
);
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 Py_INCREF(Py_None
); resultobj
= Py_None
;
11861 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11862 PyObject
*resultobj
;
11863 wxEvent
*arg1
= (wxEvent
*) 0 ;
11865 PyObject
* obj0
= 0 ;
11866 char *kwnames
[] = {
11867 (char *) "self", NULL
11870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
11871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= SWIG_PyObj_FromLong((long)result
);
11886 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11887 PyObject
*resultobj
;
11888 wxEvent
*arg1
= (wxEvent
*) 0 ;
11889 long arg2
= (long) 0 ;
11890 PyObject
* obj0
= 0 ;
11891 PyObject
* obj1
= 0 ;
11892 char *kwnames
[] = {
11893 (char *) "self",(char *) "ts", NULL
11896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
11897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11900 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 (arg1
)->SetTimestamp(arg2
);
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11911 Py_INCREF(Py_None
); resultobj
= Py_None
;
11918 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11919 PyObject
*resultobj
;
11920 wxEvent
*arg1
= (wxEvent
*) 0 ;
11922 PyObject
* obj0
= 0 ;
11923 char *kwnames
[] = {
11924 (char *) "self", NULL
11927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
11928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 result
= (int)((wxEvent
const *)arg1
)->GetId();
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= SWIG_PyObj_FromInt((int)result
);
11943 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11944 PyObject
*resultobj
;
11945 wxEvent
*arg1
= (wxEvent
*) 0 ;
11947 PyObject
* obj0
= 0 ;
11948 PyObject
* obj1
= 0 ;
11949 char *kwnames
[] = {
11950 (char *) "self",(char *) "Id", NULL
11953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
11954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11956 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 (arg1
)->SetId(arg2
);
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 Py_INCREF(Py_None
); resultobj
= Py_None
;
11973 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
;
11975 wxEvent
*arg1
= (wxEvent
*) 0 ;
11977 PyObject
* obj0
= 0 ;
11978 char *kwnames
[] = {
11979 (char *) "self", NULL
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
11983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11998 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
;
12000 wxEvent
*arg1
= (wxEvent
*) 0 ;
12001 bool arg2
= (bool) True
;
12002 PyObject
* obj0
= 0 ;
12003 PyObject
* obj1
= 0 ;
12004 char *kwnames
[] = {
12005 (char *) "self",(char *) "skip", NULL
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12012 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 (arg1
)->Skip(arg2
);
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 Py_INCREF(Py_None
); resultobj
= Py_None
;
12030 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxEvent
*arg1
= (wxEvent
*) 0 ;
12034 PyObject
* obj0
= 0 ;
12035 char *kwnames
[] = {
12036 (char *) "self", NULL
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12055 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
;
12057 wxEvent
*arg1
= (wxEvent
*) 0 ;
12059 PyObject
* obj0
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12080 static PyObject
*_wrap_Event_StopPropagation(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_StopPropagation",kwnames
,&obj0
)) goto fail
;
12090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 result
= (int)(arg1
)->StopPropagation();
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_PyObj_FromInt((int)result
);
12105 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
;
12107 wxEvent
*arg1
= (wxEvent
*) 0 ;
12109 PyObject
* obj0
= 0 ;
12110 PyObject
* obj1
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self",(char *) "propagationLevel", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12118 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 (arg1
)->ResumePropagation(arg2
);
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12128 Py_INCREF(Py_None
); resultobj
= Py_None
;
12135 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxEvent
*arg1
= (wxEvent
*) 0 ;
12139 PyObject
* obj0
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 result
= (wxEvent
*)(arg1
)->Clone();
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
12160 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12163 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12165 return Py_BuildValue((char *)"");
12167 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxEvent
*arg1
= 0 ;
12170 wxPropagationDisabler
*result
;
12171 PyObject
* obj0
= 0 ;
12172 char *kwnames
[] = {
12173 (char *) "event", NULL
12176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12178 if (arg1
== NULL
) {
12179 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12185 wxPyEndAllowThreads(__tstate
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12188 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
12195 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
;
12197 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12198 PyObject
* obj0
= 0 ;
12199 char *kwnames
[] = {
12200 (char *) "self", NULL
12203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 Py_INCREF(Py_None
); resultobj
= Py_None
;
12219 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12222 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12224 return Py_BuildValue((char *)"");
12226 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxEvent
*arg1
= 0 ;
12229 wxPropagateOnce
*result
;
12230 PyObject
* obj0
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "event", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12237 if (arg1
== NULL
) {
12238 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
12254 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12257 PyObject
* obj0
= 0 ;
12258 char *kwnames
[] = {
12259 (char *) "self", NULL
12262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 wxPyEndAllowThreads(__tstate
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12271 Py_INCREF(Py_None
); resultobj
= Py_None
;
12278 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12281 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12283 return Py_BuildValue((char *)"");
12285 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12286 PyObject
*resultobj
;
12287 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12288 int arg2
= (int) 0 ;
12289 wxCommandEvent
*result
;
12290 PyObject
* obj0
= 0 ;
12291 PyObject
* obj1
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "commandType",(char *) "winid", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12299 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12305 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12316 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
12323 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= SWIG_PyObj_FromInt((int)result
);
12348 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12351 wxString
*arg2
= 0 ;
12352 bool temp2
= False
;
12353 PyObject
* obj0
= 0 ;
12354 PyObject
* obj1
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self",(char *) "s", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12362 arg2
= wxString_in_helper(obj1
);
12363 if (arg2
== NULL
) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 (arg1
)->SetString((wxString
const &)*arg2
);
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 Py_INCREF(Py_None
); resultobj
= Py_None
;
12388 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
;
12390 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12392 PyObject
* obj0
= 0 ;
12393 char *kwnames
[] = {
12394 (char *) "self", NULL
12397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12419 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12420 PyObject
*resultobj
;
12421 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12423 PyObject
* obj0
= 0 ;
12424 char *kwnames
[] = {
12425 (char *) "self", NULL
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12444 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
;
12446 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12448 PyObject
* obj0
= 0 ;
12449 char *kwnames
[] = {
12450 (char *) "self", NULL
12453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12457 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12469 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12470 PyObject
*resultobj
;
12471 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12473 PyObject
* obj0
= 0 ;
12474 PyObject
* obj1
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self",(char *) "extraLong", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12482 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 (arg1
)->SetExtraLong(arg2
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 Py_INCREF(Py_None
); resultobj
= Py_None
;
12499 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 char *kwnames
[] = {
12505 (char *) "self", NULL
12508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12517 resultobj
= SWIG_PyObj_FromLong((long)result
);
12524 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "self",(char *) "i", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12537 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 (arg1
)->SetInt(arg2
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 Py_INCREF(Py_None
); resultobj
= Py_None
;
12554 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12558 PyObject
* obj0
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12567 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12572 resultobj
= SWIG_PyObj_FromLong((long)result
);
12579 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
;
12581 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12583 PyObject
* obj0
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "self", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
12604 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12607 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
12609 return Py_BuildValue((char *)"");
12611 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12614 int arg2
= (int) 0 ;
12615 wxNotifyEvent
*result
;
12616 PyObject
* obj0
= 0 ;
12617 PyObject
* obj1
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "commandType",(char *) "winid", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12625 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12631 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12637 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12642 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
12649 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12650 PyObject
*resultobj
;
12651 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12652 PyObject
* obj0
= 0 ;
12653 char *kwnames
[] = {
12654 (char *) "self", NULL
12657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
12658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 Py_INCREF(Py_None
); resultobj
= Py_None
;
12673 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
;
12675 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
12682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 Py_INCREF(Py_None
); resultobj
= Py_None
;
12697 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12701 PyObject
* obj0
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "self", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
12707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= (bool)(arg1
)->IsAllowed();
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12722 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12725 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
12727 return Py_BuildValue((char *)"");
12729 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12732 int arg2
= (int) 0 ;
12733 int arg3
= (int) 0 ;
12734 int arg4
= (int) 0 ;
12735 wxScrollEvent
*result
;
12736 PyObject
* obj0
= 0 ;
12737 PyObject
* obj1
= 0 ;
12738 PyObject
* obj2
= 0 ;
12739 PyObject
* obj3
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12747 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12753 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12759 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12765 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
12783 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12787 PyObject
* obj0
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
12793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12801 resultobj
= SWIG_PyObj_FromInt((int)result
);
12808 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "self", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12826 resultobj
= SWIG_PyObj_FromInt((int)result
);
12833 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12834 PyObject
*resultobj
;
12835 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12837 PyObject
* obj0
= 0 ;
12838 PyObject
* obj1
= 0 ;
12839 char *kwnames
[] = {
12840 (char *) "self",(char *) "orient", NULL
12843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
12844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12846 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 (arg1
)->SetOrientation(arg2
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 Py_INCREF(Py_None
); resultobj
= Py_None
;
12863 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "self",(char *) "pos", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12876 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12881 (arg1
)->SetPosition(arg2
);
12883 wxPyEndAllowThreads(__tstate
);
12884 if (PyErr_Occurred()) SWIG_fail
;
12886 Py_INCREF(Py_None
); resultobj
= Py_None
;
12893 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12896 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
12898 return Py_BuildValue((char *)"");
12900 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
;
12902 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12903 int arg2
= (int) 0 ;
12904 int arg3
= (int) 0 ;
12905 wxScrollWinEvent
*result
;
12906 PyObject
* obj0
= 0 ;
12907 PyObject
* obj1
= 0 ;
12908 PyObject
* obj2
= 0 ;
12909 char *kwnames
[] = {
12910 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
12913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12916 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12922 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12928 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12939 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
12946 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12947 PyObject
*resultobj
;
12948 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12950 PyObject
* obj0
= 0 ;
12951 char *kwnames
[] = {
12952 (char *) "self", NULL
12955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
12956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= SWIG_PyObj_FromInt((int)result
);
12971 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12972 PyObject
*resultobj
;
12973 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12975 PyObject
* obj0
= 0 ;
12976 char *kwnames
[] = {
12977 (char *) "self", NULL
12980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 resultobj
= SWIG_PyObj_FromInt((int)result
);
12996 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12997 PyObject
*resultobj
;
12998 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13000 PyObject
* obj0
= 0 ;
13001 PyObject
* obj1
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self",(char *) "orient", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13009 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 (arg1
)->SetOrientation(arg2
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 Py_INCREF(Py_None
); resultobj
= Py_None
;
13026 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
;
13028 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13030 PyObject
* obj0
= 0 ;
13031 PyObject
* obj1
= 0 ;
13032 char *kwnames
[] = {
13033 (char *) "self",(char *) "pos", NULL
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13039 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 (arg1
)->SetPosition(arg2
);
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13049 Py_INCREF(Py_None
); resultobj
= Py_None
;
13056 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13059 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13061 return Py_BuildValue((char *)"");
13063 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
;
13065 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13066 wxMouseEvent
*result
;
13067 PyObject
* obj0
= 0 ;
13068 char *kwnames
[] = {
13069 (char *) "mouseType", NULL
13072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13075 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13087 resultobj
= wxPyMake_wxObject(result
);
13095 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13096 PyObject
*resultobj
;
13097 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13099 PyObject
* obj0
= 0 ;
13100 char *kwnames
[] = {
13101 (char *) "self", NULL
13104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13108 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13120 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13121 PyObject
*resultobj
;
13122 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13123 int arg2
= (int) wxMOUSE_BTN_ANY
;
13125 PyObject
* obj0
= 0 ;
13126 PyObject
* obj1
= 0 ;
13127 char *kwnames
[] = {
13128 (char *) "self",(char *) "but", NULL
13131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13135 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13153 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13154 PyObject
*resultobj
;
13155 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13156 int arg2
= (int) wxMOUSE_BTN_ANY
;
13158 PyObject
* obj0
= 0 ;
13159 PyObject
* obj1
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self",(char *) "but", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13168 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13186 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13189 int arg2
= (int) wxMOUSE_BTN_ANY
;
13191 PyObject
* obj0
= 0 ;
13192 PyObject
* obj1
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "self",(char *) "but", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13201 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13219 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
;
13221 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13224 PyObject
* obj0
= 0 ;
13225 PyObject
* obj1
= 0 ;
13226 char *kwnames
[] = {
13227 (char *) "self",(char *) "but", NULL
13230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13233 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13250 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13252 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 char *kwnames
[] = {
13258 (char *) "self",(char *) "but", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13264 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13281 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_PyObj_FromInt((int)result
);
13306 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
;
13308 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13310 PyObject
* obj0
= 0 ;
13311 char *kwnames
[] = {
13312 (char *) "self", NULL
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13331 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13356 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13381 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
;
13383 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13385 PyObject
* obj0
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13406 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
;
13408 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13410 PyObject
* obj0
= 0 ;
13411 char *kwnames
[] = {
13412 (char *) "self", NULL
13415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13431 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
;
13433 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13435 PyObject
* obj0
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13456 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13460 PyObject
* obj0
= 0 ;
13461 char *kwnames
[] = {
13462 (char *) "self", NULL
13465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13481 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
;
13483 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13485 PyObject
* obj0
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "self", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13506 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
;
13508 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13510 PyObject
* obj0
= 0 ;
13511 char *kwnames
[] = {
13512 (char *) "self", NULL
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13531 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13532 PyObject
*resultobj
;
13533 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13535 PyObject
* obj0
= 0 ;
13536 char *kwnames
[] = {
13537 (char *) "self", NULL
13540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13556 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13560 PyObject
* obj0
= 0 ;
13561 char *kwnames
[] = {
13562 (char *) "self", NULL
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
13566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13581 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
;
13583 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13585 PyObject
* obj0
= 0 ;
13586 char *kwnames
[] = {
13587 (char *) "self", NULL
13590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
13591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13606 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
;
13608 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13610 PyObject
* obj0
= 0 ;
13611 char *kwnames
[] = {
13612 (char *) "self", NULL
13615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
13616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13631 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
*resultobj
;
13633 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13635 PyObject
* obj0
= 0 ;
13636 char *kwnames
[] = {
13637 (char *) "self", NULL
13640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
13641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 result
= (bool)(arg1
)->LeftIsDown();
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13656 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13660 PyObject
* obj0
= 0 ;
13661 char *kwnames
[] = {
13662 (char *) "self", NULL
13665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
13666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 result
= (bool)(arg1
)->MiddleIsDown();
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13681 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
;
13683 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13685 PyObject
* obj0
= 0 ;
13686 char *kwnames
[] = {
13687 (char *) "self", NULL
13690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
13691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 result
= (bool)(arg1
)->RightIsDown();
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13706 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
;
13708 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13710 PyObject
* obj0
= 0 ;
13711 char *kwnames
[] = {
13712 (char *) "self", NULL
13715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
13716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13731 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
;
13733 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13735 PyObject
* obj0
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "self", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
13741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13756 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
;
13758 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13760 PyObject
* obj0
= 0 ;
13761 char *kwnames
[] = {
13762 (char *) "self", NULL
13765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
13766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13781 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13785 PyObject
* obj0
= 0 ;
13786 char *kwnames
[] = {
13787 (char *) "self", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
13791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13806 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
;
13808 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13810 PyObject
* obj0
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 result
= (arg1
)->GetPosition();
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13825 wxPoint
* resultptr
;
13826 resultptr
= new wxPoint((wxPoint
&) result
);
13827 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13835 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
;
13837 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13838 long *arg2
= (long *) 0 ;
13839 long *arg3
= (long *) 0 ;
13842 PyObject
* obj0
= 0 ;
13843 char *kwnames
[] = {
13844 (char *) "self", NULL
13849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
13850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 (arg1
)->GetPosition(arg2
,arg3
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 Py_INCREF(Py_None
); resultobj
= Py_None
;
13860 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13861 resultobj
= t_output_helper(resultobj
,o
);
13864 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13865 resultobj
= t_output_helper(resultobj
,o
);
13873 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
;
13875 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13878 PyObject
* obj0
= 0 ;
13879 PyObject
* obj1
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "self",(char *) "dc", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13886 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13887 if (arg2
== NULL
) {
13888 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13898 wxPoint
* resultptr
;
13899 resultptr
= new wxPoint((wxPoint
&) result
);
13900 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13908 static PyObject
*_wrap_MouseEvent_GetX(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_GetX",kwnames
,&obj0
)) goto fail
;
13918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= SWIG_PyObj_FromInt((int)result
);
13933 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13937 PyObject
* obj0
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= SWIG_PyObj_FromInt((int)result
);
13958 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13959 PyObject
*resultobj
;
13960 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13962 PyObject
* obj0
= 0 ;
13963 char *kwnames
[] = {
13964 (char *) "self", NULL
13967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
13968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13971 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
13973 wxPyEndAllowThreads(__tstate
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13976 resultobj
= SWIG_PyObj_FromInt((int)result
);
13983 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13984 PyObject
*resultobj
;
13985 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13987 PyObject
* obj0
= 0 ;
13988 char *kwnames
[] = {
13989 (char *) "self", NULL
13992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
13993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= SWIG_PyObj_FromInt((int)result
);
14008 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14009 PyObject
*resultobj
;
14010 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14012 PyObject
* obj0
= 0 ;
14013 char *kwnames
[] = {
14014 (char *) "self", NULL
14017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= SWIG_PyObj_FromInt((int)result
);
14033 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
;
14035 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14037 PyObject
* obj0
= 0 ;
14038 char *kwnames
[] = {
14039 (char *) "self", NULL
14042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14058 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
;
14060 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14062 PyObject
* obj0
= 0 ;
14063 PyObject
* obj1
= 0 ;
14064 char *kwnames
[] = {
14065 (char *) "self",(char *) "m_x", NULL
14068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14071 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14074 if (arg1
) (arg1
)->m_x
= arg2
;
14076 Py_INCREF(Py_None
); resultobj
= Py_None
;
14083 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14085 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14087 PyObject
* obj0
= 0 ;
14088 char *kwnames
[] = {
14089 (char *) "self", NULL
14092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14094 result
= (int) ((arg1
)->m_x
);
14096 resultobj
= SWIG_PyObj_FromInt((int)result
);
14103 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
;
14105 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14107 PyObject
* obj0
= 0 ;
14108 PyObject
* obj1
= 0 ;
14109 char *kwnames
[] = {
14110 (char *) "self",(char *) "m_y", NULL
14113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14116 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 if (arg1
) (arg1
)->m_y
= arg2
;
14121 Py_INCREF(Py_None
); resultobj
= Py_None
;
14128 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14129 PyObject
*resultobj
;
14130 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14132 PyObject
* obj0
= 0 ;
14133 char *kwnames
[] = {
14134 (char *) "self", NULL
14137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14139 result
= (int) ((arg1
)->m_y
);
14141 resultobj
= SWIG_PyObj_FromInt((int)result
);
14148 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 PyObject
* obj1
= 0 ;
14154 char *kwnames
[] = {
14155 (char *) "self",(char *) "m_leftDown", NULL
14158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14161 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14164 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14166 Py_INCREF(Py_None
); resultobj
= Py_None
;
14173 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
;
14175 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14177 PyObject
* obj0
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self", NULL
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14184 result
= (bool) ((arg1
)->m_leftDown
);
14186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14193 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14197 PyObject
* obj0
= 0 ;
14198 PyObject
* obj1
= 0 ;
14199 char *kwnames
[] = {
14200 (char *) "self",(char *) "m_middleDown", NULL
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14206 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14209 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14211 Py_INCREF(Py_None
); resultobj
= Py_None
;
14218 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14229 result
= (bool) ((arg1
)->m_middleDown
);
14231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14238 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14242 PyObject
* obj0
= 0 ;
14243 PyObject
* obj1
= 0 ;
14244 char *kwnames
[] = {
14245 (char *) "self",(char *) "m_rightDown", NULL
14248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14251 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14254 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14256 Py_INCREF(Py_None
); resultobj
= Py_None
;
14263 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14267 PyObject
* obj0
= 0 ;
14268 char *kwnames
[] = {
14269 (char *) "self", NULL
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14274 result
= (bool) ((arg1
)->m_rightDown
);
14276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14283 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
;
14285 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14287 PyObject
* obj0
= 0 ;
14288 PyObject
* obj1
= 0 ;
14289 char *kwnames
[] = {
14290 (char *) "self",(char *) "m_controlDown", NULL
14293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14296 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14301 Py_INCREF(Py_None
); resultobj
= Py_None
;
14308 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
;
14310 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14312 PyObject
* obj0
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "self", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14319 result
= (bool) ((arg1
)->m_controlDown
);
14321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14328 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14329 PyObject
*resultobj
;
14330 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 PyObject
* obj1
= 0 ;
14334 char *kwnames
[] = {
14335 (char *) "self",(char *) "m_shiftDown", NULL
14338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14341 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14346 Py_INCREF(Py_None
); resultobj
= Py_None
;
14353 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14364 result
= (bool) ((arg1
)->m_shiftDown
);
14366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14373 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
;
14375 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14377 PyObject
* obj0
= 0 ;
14378 PyObject
* obj1
= 0 ;
14379 char *kwnames
[] = {
14380 (char *) "self",(char *) "m_altDown", NULL
14383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14386 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 if (arg1
) (arg1
)->m_altDown
= arg2
;
14391 Py_INCREF(Py_None
); resultobj
= Py_None
;
14398 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self", NULL
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14409 result
= (bool) ((arg1
)->m_altDown
);
14411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14418 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14422 PyObject
* obj0
= 0 ;
14423 PyObject
* obj1
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "self",(char *) "m_metaDown", NULL
14428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14431 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14436 Py_INCREF(Py_None
); resultobj
= Py_None
;
14443 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
;
14445 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14447 PyObject
* obj0
= 0 ;
14448 char *kwnames
[] = {
14449 (char *) "self", NULL
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14454 result
= (bool) ((arg1
)->m_metaDown
);
14456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14463 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14467 PyObject
* obj0
= 0 ;
14468 PyObject
* obj1
= 0 ;
14469 char *kwnames
[] = {
14470 (char *) "self",(char *) "m_wheelRotation", NULL
14473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14476 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14479 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14481 Py_INCREF(Py_None
); resultobj
= Py_None
;
14488 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
;
14490 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14492 PyObject
* obj0
= 0 ;
14493 char *kwnames
[] = {
14494 (char *) "self", NULL
14497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14499 result
= (int) ((arg1
)->m_wheelRotation
);
14501 resultobj
= SWIG_PyObj_FromInt((int)result
);
14508 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14512 PyObject
* obj0
= 0 ;
14513 PyObject
* obj1
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self",(char *) "m_wheelDelta", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14521 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14524 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
14526 Py_INCREF(Py_None
); resultobj
= Py_None
;
14533 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
;
14535 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14537 PyObject
* obj0
= 0 ;
14538 char *kwnames
[] = {
14539 (char *) "self", NULL
14542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
14543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14544 result
= (int) ((arg1
)->m_wheelDelta
);
14546 resultobj
= SWIG_PyObj_FromInt((int)result
);
14553 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 PyObject
* obj1
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self",(char *) "m_linesPerAction", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14566 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
14571 Py_INCREF(Py_None
); resultobj
= Py_None
;
14578 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
;
14580 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14582 PyObject
* obj0
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "self", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
14588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14589 result
= (int) ((arg1
)->m_linesPerAction
);
14591 resultobj
= SWIG_PyObj_FromInt((int)result
);
14598 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14601 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
14603 return Py_BuildValue((char *)"");
14605 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
;
14607 int arg1
= (int) 0 ;
14608 int arg2
= (int) 0 ;
14609 wxSetCursorEvent
*result
;
14610 PyObject
* obj0
= 0 ;
14611 PyObject
* obj1
= 0 ;
14612 char *kwnames
[] = {
14613 (char *) "x",(char *) "y", NULL
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14619 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14625 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14631 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
14633 wxPyEndAllowThreads(__tstate
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14636 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
14643 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
;
14645 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14647 PyObject
* obj0
= 0 ;
14648 char *kwnames
[] = {
14649 (char *) "self", NULL
14652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
14653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 resultobj
= SWIG_PyObj_FromInt((int)result
);
14668 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
;
14670 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14672 PyObject
* obj0
= 0 ;
14673 char *kwnames
[] = {
14674 (char *) "self", NULL
14677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
14678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= SWIG_PyObj_FromInt((int)result
);
14693 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14694 PyObject
*resultobj
;
14695 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14696 wxCursor
*arg2
= 0 ;
14697 PyObject
* obj0
= 0 ;
14698 PyObject
* obj1
= 0 ;
14699 char *kwnames
[] = {
14700 (char *) "self",(char *) "cursor", NULL
14703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
14704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14705 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14706 if (arg2
== NULL
) {
14707 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14716 Py_INCREF(Py_None
); resultobj
= Py_None
;
14723 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
;
14725 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14727 PyObject
* obj0
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "self", NULL
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
14733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
14738 result
= (wxCursor
*) &_result_ref
;
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
14751 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
;
14753 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14755 PyObject
* obj0
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
14761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14776 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14779 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
14781 return Py_BuildValue((char *)"");
14783 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
;
14785 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14786 wxKeyEvent
*result
;
14787 PyObject
* obj0
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "keyType", NULL
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
14795 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
14813 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14817 PyObject
* obj0
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "self", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14838 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "self", NULL
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14863 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 char *kwnames
[] = {
14869 (char *) "self", NULL
14872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14888 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14913 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14917 PyObject
* obj0
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
14923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14938 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
;
14940 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14942 PyObject
* obj0
= 0 ;
14943 char *kwnames
[] = {
14944 (char *) "self", NULL
14947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
14948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= SWIG_PyObj_FromInt((int)result
);
14963 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
;
14965 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14967 PyObject
* obj0
= 0 ;
14968 char *kwnames
[] = {
14969 (char *) "self", NULL
14972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
14973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (int)wxKeyEvent_GetUniChar(arg1
);
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= SWIG_PyObj_FromInt((int)result
);
14988 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
;
14990 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14991 unsigned int result
;
14992 PyObject
* obj0
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
14998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15013 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15016 unsigned int result
;
15017 PyObject
* obj0
= 0 ;
15018 char *kwnames
[] = {
15019 (char *) "self", NULL
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15038 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
;
15040 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15042 PyObject
* obj0
= 0 ;
15043 char *kwnames
[] = {
15044 (char *) "self", NULL
15047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 result
= (arg1
)->GetPosition();
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15057 wxPoint
* resultptr
;
15058 resultptr
= new wxPoint((wxPoint
&) result
);
15059 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15067 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15070 long *arg2
= (long *) 0 ;
15071 long *arg3
= (long *) 0 ;
15074 PyObject
* obj0
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "self", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 (arg1
)->GetPosition(arg2
,arg3
);
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15090 Py_INCREF(Py_None
); resultobj
= Py_None
;
15092 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15093 resultobj
= t_output_helper(resultobj
,o
);
15096 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15097 resultobj
= t_output_helper(resultobj
,o
);
15105 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
;
15107 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15109 PyObject
* obj0
= 0 ;
15110 char *kwnames
[] = {
15111 (char *) "self", NULL
15114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15120 wxPyEndAllowThreads(__tstate
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15123 resultobj
= SWIG_PyObj_FromInt((int)result
);
15130 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15131 PyObject
*resultobj
;
15132 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15134 PyObject
* obj0
= 0 ;
15135 char *kwnames
[] = {
15136 (char *) "self", NULL
15139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= SWIG_PyObj_FromInt((int)result
);
15155 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
;
15157 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15159 PyObject
* obj0
= 0 ;
15160 PyObject
* obj1
= 0 ;
15161 char *kwnames
[] = {
15162 (char *) "self",(char *) "m_x", NULL
15165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15168 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 if (arg1
) (arg1
)->m_x
= arg2
;
15173 Py_INCREF(Py_None
); resultobj
= Py_None
;
15180 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
;
15182 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15184 PyObject
* obj0
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self", NULL
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15191 result
= (int) ((arg1
)->m_x
);
15193 resultobj
= SWIG_PyObj_FromInt((int)result
);
15200 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15201 PyObject
*resultobj
;
15202 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15204 PyObject
* obj0
= 0 ;
15205 PyObject
* obj1
= 0 ;
15206 char *kwnames
[] = {
15207 (char *) "self",(char *) "m_y", NULL
15210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15213 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15216 if (arg1
) (arg1
)->m_y
= arg2
;
15218 Py_INCREF(Py_None
); resultobj
= Py_None
;
15225 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15229 PyObject
* obj0
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "self", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15236 result
= (int) ((arg1
)->m_y
);
15238 resultobj
= SWIG_PyObj_FromInt((int)result
);
15245 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15247 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15249 PyObject
* obj0
= 0 ;
15250 PyObject
* obj1
= 0 ;
15251 char *kwnames
[] = {
15252 (char *) "self",(char *) "m_keyCode", NULL
15255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15258 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15263 Py_INCREF(Py_None
); resultobj
= Py_None
;
15270 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15274 PyObject
* obj0
= 0 ;
15275 char *kwnames
[] = {
15276 (char *) "self", NULL
15279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15281 result
= (long) ((arg1
)->m_keyCode
);
15283 resultobj
= SWIG_PyObj_FromLong((long)result
);
15290 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
;
15292 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15294 PyObject
* obj0
= 0 ;
15295 PyObject
* obj1
= 0 ;
15296 char *kwnames
[] = {
15297 (char *) "self",(char *) "m_controlDown", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15303 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15308 Py_INCREF(Py_None
); resultobj
= Py_None
;
15315 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15316 PyObject
*resultobj
;
15317 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15319 PyObject
* obj0
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15326 result
= (bool) ((arg1
)->m_controlDown
);
15328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15335 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15339 PyObject
* obj0
= 0 ;
15340 PyObject
* obj1
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self",(char *) "m_shiftDown", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15348 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15353 Py_INCREF(Py_None
); resultobj
= Py_None
;
15360 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "self", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15371 result
= (bool) ((arg1
)->m_shiftDown
);
15373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15380 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
;
15382 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 PyObject
* obj1
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self",(char *) "m_altDown", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15393 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 if (arg1
) (arg1
)->m_altDown
= arg2
;
15398 Py_INCREF(Py_None
); resultobj
= Py_None
;
15405 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
;
15407 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15409 PyObject
* obj0
= 0 ;
15410 char *kwnames
[] = {
15411 (char *) "self", NULL
15414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15416 result
= (bool) ((arg1
)->m_altDown
);
15418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15425 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15429 PyObject
* obj0
= 0 ;
15430 PyObject
* obj1
= 0 ;
15431 char *kwnames
[] = {
15432 (char *) "self",(char *) "m_metaDown", NULL
15435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15438 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15443 Py_INCREF(Py_None
); resultobj
= Py_None
;
15450 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15454 PyObject
* obj0
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "self", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15461 result
= (bool) ((arg1
)->m_metaDown
);
15463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15470 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15472 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15474 PyObject
* obj0
= 0 ;
15475 PyObject
* obj1
= 0 ;
15476 char *kwnames
[] = {
15477 (char *) "self",(char *) "m_scanCode", NULL
15480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15483 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 if (arg1
) (arg1
)->m_scanCode
= arg2
;
15488 Py_INCREF(Py_None
); resultobj
= Py_None
;
15495 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
;
15497 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15499 PyObject
* obj0
= 0 ;
15500 char *kwnames
[] = {
15501 (char *) "self", NULL
15504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
15505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15506 result
= (bool) ((arg1
)->m_scanCode
);
15508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15515 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
;
15517 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15518 unsigned int arg2
;
15519 PyObject
* obj0
= 0 ;
15520 PyObject
* obj1
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self",(char *) "m_rawCode", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15528 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15531 if (arg1
) (arg1
)->m_rawCode
= arg2
;
15533 Py_INCREF(Py_None
); resultobj
= Py_None
;
15540 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
;
15542 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15543 unsigned int result
;
15544 PyObject
* obj0
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "self", NULL
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
15550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15551 result
= (unsigned int) ((arg1
)->m_rawCode
);
15553 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15560 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
;
15562 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15563 unsigned int arg2
;
15564 PyObject
* obj0
= 0 ;
15565 PyObject
* obj1
= 0 ;
15566 char *kwnames
[] = {
15567 (char *) "self",(char *) "m_rawFlags", NULL
15570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15573 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
15578 Py_INCREF(Py_None
); resultobj
= Py_None
;
15585 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15586 PyObject
*resultobj
;
15587 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15588 unsigned int result
;
15589 PyObject
* obj0
= 0 ;
15590 char *kwnames
[] = {
15591 (char *) "self", NULL
15594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
15595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15596 result
= (unsigned int) ((arg1
)->m_rawFlags
);
15598 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15605 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15608 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
15610 return Py_BuildValue((char *)"");
15612 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
;
15614 wxSize
const &arg1_defvalue
= wxDefaultSize
;
15615 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
15616 int arg2
= (int) 0 ;
15617 wxSizeEvent
*result
;
15619 PyObject
* obj0
= 0 ;
15620 PyObject
* obj1
= 0 ;
15621 char *kwnames
[] = {
15622 (char *) "sz",(char *) "winid", NULL
15625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15629 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
15634 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
15652 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
;
15654 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15656 PyObject
* obj0
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
15662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15671 wxSize
* resultptr
;
15672 resultptr
= new wxSize((wxSize
&) result
);
15673 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15681 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
;
15683 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15685 PyObject
* obj0
= 0 ;
15686 char *kwnames
[] = {
15687 (char *) "self", NULL
15690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15700 wxRect
* resultptr
;
15701 resultptr
= new wxRect((wxRect
&) result
);
15702 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
15710 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
;
15712 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15715 PyObject
* obj0
= 0 ;
15716 PyObject
* obj1
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "self",(char *) "rect", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15723 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 (arg1
)->SetRect(arg2
);
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15732 Py_INCREF(Py_None
); resultobj
= Py_None
;
15739 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
;
15741 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15744 PyObject
* obj0
= 0 ;
15745 PyObject
* obj1
= 0 ;
15746 char *kwnames
[] = {
15747 (char *) "self",(char *) "size", NULL
15750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15752 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 wxSizeEvent_SetSize(arg1
,arg2
);
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 Py_INCREF(Py_None
); resultobj
= Py_None
;
15768 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
;
15770 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15771 wxSize
*arg2
= (wxSize
*) 0 ;
15772 PyObject
* obj0
= 0 ;
15773 PyObject
* obj1
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "self",(char *) "m_size", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15780 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15781 if (arg1
) (arg1
)->m_size
= *arg2
;
15783 Py_INCREF(Py_None
); resultobj
= Py_None
;
15790 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
15800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15801 result
= (wxSize
*)& ((arg1
)->m_size
);
15803 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
15810 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15811 PyObject
*resultobj
;
15812 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15813 wxRect
*arg2
= (wxRect
*) 0 ;
15814 PyObject
* obj0
= 0 ;
15815 PyObject
* obj1
= 0 ;
15816 char *kwnames
[] = {
15817 (char *) "self",(char *) "m_rect", NULL
15820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15822 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15823 if (arg1
) (arg1
)->m_rect
= *arg2
;
15825 Py_INCREF(Py_None
); resultobj
= Py_None
;
15832 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
;
15834 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15836 PyObject
* obj0
= 0 ;
15837 char *kwnames
[] = {
15838 (char *) "self", NULL
15841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
15842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15843 result
= (wxRect
*)& ((arg1
)->m_rect
);
15845 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
15852 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15855 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
15857 return Py_BuildValue((char *)"");
15859 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15860 PyObject
*resultobj
;
15861 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
15862 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
15863 int arg2
= (int) 0 ;
15864 wxMoveEvent
*result
;
15866 PyObject
* obj0
= 0 ;
15867 PyObject
* obj1
= 0 ;
15868 char *kwnames
[] = {
15869 (char *) "pos",(char *) "winid", NULL
15872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15876 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
15881 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15892 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
15899 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15903 PyObject
* obj0
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15918 wxPoint
* resultptr
;
15919 resultptr
= new wxPoint((wxPoint
&) result
);
15920 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15928 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15932 PyObject
* obj0
= 0 ;
15933 char *kwnames
[] = {
15934 (char *) "self", NULL
15937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15947 wxRect
* resultptr
;
15948 resultptr
= new wxRect((wxRect
&) result
);
15949 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
15957 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15958 PyObject
*resultobj
;
15959 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15962 PyObject
* obj0
= 0 ;
15963 PyObject
* obj1
= 0 ;
15964 char *kwnames
[] = {
15965 (char *) "self",(char *) "rect", NULL
15968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15970 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 (arg1
)->SetRect(arg2
);
15976 wxPyEndAllowThreads(__tstate
);
15977 if (PyErr_Occurred()) SWIG_fail
;
15979 Py_INCREF(Py_None
); resultobj
= Py_None
;
15986 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
;
15988 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15991 PyObject
* obj0
= 0 ;
15992 PyObject
* obj1
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self",(char *) "pos", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15999 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 wxMoveEvent_SetPosition(arg1
,arg2
);
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16008 Py_INCREF(Py_None
); resultobj
= Py_None
;
16015 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16018 wxPoint
*arg2
= (wxPoint
*) 0 ;
16019 PyObject
* obj0
= 0 ;
16020 PyObject
* obj1
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self",(char *) "m_pos", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16027 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16028 if (arg1
) (arg1
)->m_pos
= *arg2
;
16030 Py_INCREF(Py_None
); resultobj
= Py_None
;
16037 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
;
16039 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16041 PyObject
* obj0
= 0 ;
16042 char *kwnames
[] = {
16043 (char *) "self", NULL
16046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16048 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16050 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16057 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16058 PyObject
*resultobj
;
16059 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16060 wxRect
*arg2
= (wxRect
*) 0 ;
16061 PyObject
* obj0
= 0 ;
16062 PyObject
* obj1
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "self",(char *) "m_rect", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16069 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16070 if (arg1
) (arg1
)->m_rect
= *arg2
;
16072 Py_INCREF(Py_None
); resultobj
= Py_None
;
16079 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16083 PyObject
* obj0
= 0 ;
16084 char *kwnames
[] = {
16085 (char *) "self", NULL
16088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16090 result
= (wxRect
*)& ((arg1
)->m_rect
);
16092 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
16099 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16102 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16104 return Py_BuildValue((char *)"");
16106 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 int arg1
= (int) 0 ;
16109 wxPaintEvent
*result
;
16110 PyObject
* obj0
= 0 ;
16111 char *kwnames
[] = {
16112 (char *) "Id", NULL
16115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16118 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16119 if (PyErr_Occurred()) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16126 wxPyEndAllowThreads(__tstate
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16129 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
16136 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16139 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16141 return Py_BuildValue((char *)"");
16143 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 int arg1
= (int) 0 ;
16146 wxNcPaintEvent
*result
;
16147 PyObject
* obj0
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "winid", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16155 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16166 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
16173 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16176 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16178 return Py_BuildValue((char *)"");
16180 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
;
16182 int arg1
= (int) 0 ;
16183 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16184 wxEraseEvent
*result
;
16185 PyObject
* obj0
= 0 ;
16186 PyObject
* obj1
= 0 ;
16187 char *kwnames
[] = {
16188 (char *) "Id",(char *) "dc", NULL
16191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16194 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16199 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16203 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16208 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
16215 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16216 PyObject
*resultobj
;
16217 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16219 PyObject
* obj0
= 0 ;
16220 char *kwnames
[] = {
16221 (char *) "self", NULL
16224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= wxPyMake_wxObject(result
);
16242 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16245 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16247 return Py_BuildValue((char *)"");
16249 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16250 PyObject
*resultobj
;
16251 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16252 int arg2
= (int) 0 ;
16253 wxFocusEvent
*result
;
16254 PyObject
* obj0
= 0 ;
16255 PyObject
* obj1
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "type",(char *) "winid", NULL
16260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16263 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16269 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
16287 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16291 PyObject
* obj0
= 0 ;
16292 char *kwnames
[] = {
16293 (char *) "self", NULL
16296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= wxPyMake_wxObject(result
);
16314 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
;
16316 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16317 wxWindow
*arg2
= (wxWindow
*) 0 ;
16318 PyObject
* obj0
= 0 ;
16319 PyObject
* obj1
= 0 ;
16320 char *kwnames
[] = {
16321 (char *) "self",(char *) "win", NULL
16324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16326 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 (arg1
)->SetWindow(arg2
);
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16334 Py_INCREF(Py_None
); resultobj
= Py_None
;
16341 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16344 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16346 return Py_BuildValue((char *)"");
16348 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxWindow
*arg1
= (wxWindow
*) NULL
;
16351 wxChildFocusEvent
*result
;
16352 PyObject
* obj0
= 0 ;
16353 char *kwnames
[] = {
16354 (char *) "win", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
16375 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16379 PyObject
* obj0
= 0 ;
16380 char *kwnames
[] = {
16381 (char *) "self", NULL
16384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16390 wxPyEndAllowThreads(__tstate
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= wxPyMake_wxObject(result
);
16402 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16405 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16407 return Py_BuildValue((char *)"");
16409 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16412 bool arg2
= (bool) True
;
16413 int arg3
= (int) 0 ;
16414 wxActivateEvent
*result
;
16415 PyObject
* obj0
= 0 ;
16416 PyObject
* obj1
= 0 ;
16417 PyObject
* obj2
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "type",(char *) "active",(char *) "Id", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16425 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16431 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16437 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
16455 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
16459 PyObject
* obj0
= 0 ;
16460 char *kwnames
[] = {
16461 (char *) "self", NULL
16464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
16465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16468 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16480 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16483 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
16485 return Py_BuildValue((char *)"");
16487 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 int arg1
= (int) 0 ;
16490 wxInitDialogEvent
*result
;
16491 PyObject
* obj0
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "Id", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
16499 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
16517 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16520 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
16522 return Py_BuildValue((char *)"");
16524 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16527 int arg2
= (int) 0 ;
16528 wxMenu
*arg3
= (wxMenu
*) NULL
;
16529 wxMenuEvent
*result
;
16530 PyObject
* obj0
= 0 ;
16531 PyObject
* obj1
= 0 ;
16532 PyObject
* obj2
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "type",(char *) "winid",(char *) "menu", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16540 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16546 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16551 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
16567 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16571 PyObject
* obj0
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
16582 wxPyEndAllowThreads(__tstate
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16585 resultobj
= SWIG_PyObj_FromInt((int)result
);
16592 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
;
16594 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16596 PyObject
* obj0
= 0 ;
16597 char *kwnames
[] = {
16598 (char *) "self", NULL
16601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
16602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16617 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "self", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
16627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16636 resultobj
= wxPyMake_wxObject(result
);
16644 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16647 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
16649 return Py_BuildValue((char *)"");
16651 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
;
16653 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16654 int arg2
= (int) 0 ;
16655 wxCloseEvent
*result
;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "type",(char *) "winid", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16665 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16671 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16677 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
16679 wxPyEndAllowThreads(__tstate
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16682 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
16689 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
;
16691 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16693 PyObject
* obj0
= 0 ;
16694 PyObject
* obj1
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "self",(char *) "logOff", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
16700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16702 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 (arg1
)->SetLoggingOff(arg2
);
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16712 Py_INCREF(Py_None
); resultobj
= Py_None
;
16719 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16721 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16723 PyObject
* obj0
= 0 ;
16724 char *kwnames
[] = {
16725 (char *) "self", NULL
16728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
16729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16744 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16747 bool arg2
= (bool) True
;
16748 PyObject
* obj0
= 0 ;
16749 PyObject
* obj1
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self",(char *) "veto", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16758 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 (arg1
)->Veto(arg2
);
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16769 Py_INCREF(Py_None
); resultobj
= Py_None
;
16776 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16777 PyObject
*resultobj
;
16778 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16780 PyObject
* obj0
= 0 ;
16781 PyObject
* obj1
= 0 ;
16782 char *kwnames
[] = {
16783 (char *) "self",(char *) "canVeto", NULL
16786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
16787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16789 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 (arg1
)->SetCanVeto(arg2
);
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 Py_INCREF(Py_None
); resultobj
= Py_None
;
16806 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16810 PyObject
* obj0
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "self", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
16816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16831 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
;
16833 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16835 PyObject
* obj0
= 0 ;
16836 char *kwnames
[] = {
16837 (char *) "self", NULL
16840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
16841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16856 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16859 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
16861 return Py_BuildValue((char *)"");
16863 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
;
16865 int arg1
= (int) 0 ;
16866 bool arg2
= (bool) False
;
16867 wxShowEvent
*result
;
16868 PyObject
* obj0
= 0 ;
16869 PyObject
* obj1
= 0 ;
16870 char *kwnames
[] = {
16871 (char *) "winid",(char *) "show", NULL
16874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16877 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16883 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
16901 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16903 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
16905 PyObject
* obj0
= 0 ;
16906 PyObject
* obj1
= 0 ;
16907 char *kwnames
[] = {
16908 (char *) "self",(char *) "show", NULL
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
16912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16914 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 (arg1
)->SetShow(arg2
);
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 Py_INCREF(Py_None
); resultobj
= Py_None
;
16931 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
16935 PyObject
* obj0
= 0 ;
16936 char *kwnames
[] = {
16937 (char *) "self", NULL
16940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
16941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16956 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16959 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
16961 return Py_BuildValue((char *)"");
16963 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16965 int arg1
= (int) 0 ;
16966 bool arg2
= (bool) True
;
16967 wxIconizeEvent
*result
;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 char *kwnames
[] = {
16971 (char *) "id",(char *) "iconized", NULL
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16977 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16983 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
17001 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17003 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17005 PyObject
* obj0
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "self", NULL
17010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= (bool)(arg1
)->Iconized();
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17026 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17029 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17031 return Py_BuildValue((char *)"");
17033 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17034 PyObject
*resultobj
;
17035 int arg1
= (int) 0 ;
17036 wxMaximizeEvent
*result
;
17037 PyObject
* obj0
= 0 ;
17038 char *kwnames
[] = {
17039 (char *) "id", NULL
17042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17045 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17051 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
17063 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17066 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17068 return Py_BuildValue((char *)"");
17070 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 result
= (arg1
)->GetPosition();
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17089 wxPoint
* resultptr
;
17090 resultptr
= new wxPoint((wxPoint
&) result
);
17091 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17099 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17101 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17103 PyObject
* obj0
= 0 ;
17104 char *kwnames
[] = {
17105 (char *) "self", NULL
17108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 result
= (int)(arg1
)->GetNumberOfFiles();
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17117 resultobj
= SWIG_PyObj_FromInt((int)result
);
17124 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
;
17126 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17128 PyObject
* obj0
= 0 ;
17129 char *kwnames
[] = {
17130 (char *) "self", NULL
17133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17137 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= result
;
17149 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17152 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17154 return Py_BuildValue((char *)"");
17156 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 int arg1
= (int) 0 ;
17159 wxUpdateUIEvent
*result
;
17160 PyObject
* obj0
= 0 ;
17161 char *kwnames
[] = {
17162 (char *) "commandId", NULL
17165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17168 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17176 wxPyEndAllowThreads(__tstate
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17179 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
17186 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
;
17188 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17190 PyObject
* obj0
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17211 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17213 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17215 PyObject
* obj0
= 0 ;
17216 char *kwnames
[] = {
17217 (char *) "self", NULL
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17224 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17236 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
;
17238 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17240 PyObject
* obj0
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "self", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17267 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17271 PyObject
* obj0
= 0 ;
17272 char *kwnames
[] = {
17273 (char *) "self", NULL
17276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17292 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17293 PyObject
*resultobj
;
17294 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17296 PyObject
* obj0
= 0 ;
17297 char *kwnames
[] = {
17298 (char *) "self", NULL
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17317 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
;
17319 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17321 PyObject
* obj0
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "self", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17342 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17346 PyObject
* obj0
= 0 ;
17347 PyObject
* obj1
= 0 ;
17348 char *kwnames
[] = {
17349 (char *) "self",(char *) "check", NULL
17352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17355 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 (arg1
)->Check(arg2
);
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 Py_INCREF(Py_None
); resultobj
= Py_None
;
17372 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17376 PyObject
* obj0
= 0 ;
17377 PyObject
* obj1
= 0 ;
17378 char *kwnames
[] = {
17379 (char *) "self",(char *) "enable", NULL
17382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17385 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 (arg1
)->Enable(arg2
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 Py_INCREF(Py_None
); resultobj
= Py_None
;
17402 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
;
17404 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17405 wxString
*arg2
= 0 ;
17406 bool temp2
= False
;
17407 PyObject
* obj0
= 0 ;
17408 PyObject
* obj1
= 0 ;
17409 char *kwnames
[] = {
17410 (char *) "self",(char *) "text", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17416 arg2
= wxString_in_helper(obj1
);
17417 if (arg2
== NULL
) SWIG_fail
;
17421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 (arg1
)->SetText((wxString
const &)*arg2
);
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17427 Py_INCREF(Py_None
); resultobj
= Py_None
;
17442 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17445 PyObject
* obj0
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "updateInterval", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
17452 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 wxUpdateUIEvent::SetUpdateInterval(arg1
);
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 Py_INCREF(Py_None
); resultobj
= Py_None
;
17469 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17470 PyObject
*resultobj
;
17472 char *kwnames
[] = {
17476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17484 resultobj
= SWIG_PyObj_FromLong((long)result
);
17491 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
;
17493 wxWindow
*arg1
= (wxWindow
*) 0 ;
17495 PyObject
* obj0
= 0 ;
17496 char *kwnames
[] = {
17497 (char *) "win", NULL
17500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
17501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17504 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17516 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
;
17518 char *kwnames
[] = {
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 wxUpdateUIEvent::ResetUpdateTime();
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 Py_INCREF(Py_None
); resultobj
= Py_None
;
17537 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17540 PyObject
* obj0
= 0 ;
17541 char *kwnames
[] = {
17542 (char *) "mode", NULL
17545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
17547 arg1
= (wxUpdateUIMode
) SWIG_PyObj_AsInt(obj0
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17552 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 Py_INCREF(Py_None
); resultobj
= Py_None
;
17564 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17567 char *kwnames
[] = {
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 result
= (int)wxUpdateUIEvent::GetMode();
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 resultobj
= SWIG_PyObj_FromInt((int)result
);
17586 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17589 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
17591 return Py_BuildValue((char *)"");
17593 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxSysColourChangedEvent
*result
;
17596 char *kwnames
[] = {
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
17615 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17618 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
17620 return Py_BuildValue((char *)"");
17622 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 int arg1
= (int) 0 ;
17625 wxWindow
*arg2
= (wxWindow
*) NULL
;
17626 wxMouseCaptureChangedEvent
*result
;
17627 PyObject
* obj0
= 0 ;
17628 PyObject
* obj1
= 0 ;
17629 char *kwnames
[] = {
17630 (char *) "winid",(char *) "gainedCapture", NULL
17633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17636 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17641 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
17657 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
;
17659 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
17661 PyObject
* obj0
= 0 ;
17662 char *kwnames
[] = {
17663 (char *) "self", NULL
17666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
17667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17676 resultobj
= wxPyMake_wxObject(result
);
17684 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17687 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
17689 return Py_BuildValue((char *)"");
17691 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxDisplayChangedEvent
*result
;
17694 char *kwnames
[] = {
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
17713 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17716 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
17718 return Py_BuildValue((char *)"");
17720 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
;
17722 int arg1
= (int) 0 ;
17723 wxPaletteChangedEvent
*result
;
17724 PyObject
* obj0
= 0 ;
17725 char *kwnames
[] = {
17726 (char *) "id", NULL
17729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
17732 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
17750 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
;
17752 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
17753 wxWindow
*arg2
= (wxWindow
*) 0 ;
17754 PyObject
* obj0
= 0 ;
17755 PyObject
* obj1
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self",(char *) "win", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17762 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 (arg1
)->SetChangedWindow(arg2
);
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 Py_INCREF(Py_None
); resultobj
= Py_None
;
17777 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17778 PyObject
*resultobj
;
17779 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
17781 PyObject
* obj0
= 0 ;
17782 char *kwnames
[] = {
17783 (char *) "self", NULL
17786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
17787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17796 resultobj
= wxPyMake_wxObject(result
);
17804 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17807 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
17809 return Py_BuildValue((char *)"");
17811 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17812 PyObject
*resultobj
;
17813 int arg1
= (int) 0 ;
17814 wxQueryNewPaletteEvent
*result
;
17815 PyObject
* obj0
= 0 ;
17816 char *kwnames
[] = {
17817 (char *) "winid", NULL
17820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
17823 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17834 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
17841 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
;
17843 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
17845 PyObject
* obj0
= 0 ;
17846 PyObject
* obj1
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self",(char *) "realized", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
17852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17854 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 (arg1
)->SetPaletteRealized(arg2
);
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 Py_INCREF(Py_None
); resultobj
= Py_None
;
17871 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
17875 PyObject
* obj0
= 0 ;
17876 char *kwnames
[] = {
17877 (char *) "self", NULL
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
17881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17896 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17899 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
17901 return Py_BuildValue((char *)"");
17903 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxNavigationKeyEvent
*result
;
17906 char *kwnames
[] = {
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
17925 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17929 PyObject
* obj0
= 0 ;
17930 char *kwnames
[] = {
17931 (char *) "self", NULL
17934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
17935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17950 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
;
17952 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17954 PyObject
* obj0
= 0 ;
17955 PyObject
* obj1
= 0 ;
17956 char *kwnames
[] = {
17957 (char *) "self",(char *) "bForward", NULL
17960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
17961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17963 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 (arg1
)->SetDirection(arg2
);
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 Py_INCREF(Py_None
); resultobj
= Py_None
;
17980 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17984 PyObject
* obj0
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "self", NULL
17989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
17990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18005 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 PyObject
* obj1
= 0 ;
18011 char *kwnames
[] = {
18012 (char *) "self",(char *) "bIs", NULL
18015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18018 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 (arg1
)->SetWindowChange(arg2
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 Py_INCREF(Py_None
); resultobj
= Py_None
;
18035 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18054 resultobj
= wxPyMake_wxObject(result
);
18062 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18064 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18065 wxWindow
*arg2
= (wxWindow
*) 0 ;
18066 PyObject
* obj0
= 0 ;
18067 PyObject
* obj1
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self",(char *) "win", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18074 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 (arg1
)->SetCurrentFocus(arg2
);
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18082 Py_INCREF(Py_None
); resultobj
= Py_None
;
18089 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18092 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18094 return Py_BuildValue((char *)"");
18096 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18097 PyObject
*resultobj
;
18098 wxWindow
*arg1
= (wxWindow
*) NULL
;
18099 wxWindowCreateEvent
*result
;
18100 PyObject
* obj0
= 0 ;
18101 char *kwnames
[] = {
18102 (char *) "win", NULL
18105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
18123 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18127 PyObject
* obj0
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18142 resultobj
= wxPyMake_wxObject(result
);
18150 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18153 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18155 return Py_BuildValue((char *)"");
18157 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18158 PyObject
*resultobj
;
18159 wxWindow
*arg1
= (wxWindow
*) NULL
;
18160 wxWindowDestroyEvent
*result
;
18161 PyObject
* obj0
= 0 ;
18162 char *kwnames
[] = {
18163 (char *) "win", NULL
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18184 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
;
18186 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18188 PyObject
* obj0
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "self", NULL
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18203 resultobj
= wxPyMake_wxObject(result
);
18211 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18214 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18216 return Py_BuildValue((char *)"");
18218 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18219 PyObject
*resultobj
;
18220 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18221 int arg2
= (int) 0 ;
18222 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18223 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18224 wxContextMenuEvent
*result
;
18226 PyObject
* obj0
= 0 ;
18227 PyObject
* obj1
= 0 ;
18228 PyObject
* obj2
= 0 ;
18229 char *kwnames
[] = {
18230 (char *) "type",(char *) "winid",(char *) "pt", NULL
18233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18236 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18242 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18249 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
18266 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18270 PyObject
* obj0
= 0 ;
18271 char *kwnames
[] = {
18272 (char *) "self", NULL
18275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18281 result
= (wxPoint
*) &_result_ref
;
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
18294 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18295 PyObject
*resultobj
;
18296 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18297 wxPoint
*arg2
= 0 ;
18299 PyObject
* obj0
= 0 ;
18300 PyObject
* obj1
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "self",(char *) "pos", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18309 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18318 Py_INCREF(Py_None
); resultobj
= Py_None
;
18325 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18328 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18330 return Py_BuildValue((char *)"");
18332 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
;
18334 wxIdleEvent
*result
;
18335 char *kwnames
[] = {
18339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 result
= (wxIdleEvent
*)new wxIdleEvent();
18344 wxPyEndAllowThreads(__tstate
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18347 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
18354 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18355 PyObject
*resultobj
;
18356 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18357 bool arg2
= (bool) True
;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "needMore", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18368 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 (arg1
)->RequestMore(arg2
);
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 Py_INCREF(Py_None
); resultobj
= Py_None
;
18386 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
;
18388 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18390 PyObject
* obj0
= 0 ;
18391 char *kwnames
[] = {
18392 (char *) "self", NULL
18395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18411 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18412 PyObject
*resultobj
;
18414 PyObject
* obj0
= 0 ;
18415 char *kwnames
[] = {
18416 (char *) "mode", NULL
18419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18421 arg1
= (wxIdleMode
) SWIG_PyObj_AsInt(obj0
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18431 Py_INCREF(Py_None
); resultobj
= Py_None
;
18438 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
;
18441 char *kwnames
[] = {
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 result
= (int)wxIdleEvent::GetMode();
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= SWIG_PyObj_FromInt((int)result
);
18460 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
;
18462 wxWindow
*arg1
= (wxWindow
*) 0 ;
18464 PyObject
* obj0
= 0 ;
18465 char *kwnames
[] = {
18466 (char *) "win", NULL
18469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
18470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (bool)wxIdleEvent::CanSend(arg1
);
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18485 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18488 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
18490 return Py_BuildValue((char *)"");
18492 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 int arg1
= (int) 0 ;
18495 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
18497 PyObject
* obj0
= 0 ;
18498 PyObject
* obj1
= 0 ;
18499 char *kwnames
[] = {
18500 (char *) "winid",(char *) "commandType", NULL
18503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18506 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18512 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
18520 wxPyEndAllowThreads(__tstate
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18523 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
18530 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18533 PyObject
* obj0
= 0 ;
18534 char *kwnames
[] = {
18535 (char *) "self", NULL
18538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
18539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 wxPyEndAllowThreads(__tstate
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18547 Py_INCREF(Py_None
); resultobj
= Py_None
;
18554 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18557 PyObject
*arg2
= (PyObject
*) 0 ;
18558 PyObject
* obj0
= 0 ;
18559 PyObject
* obj1
= 0 ;
18560 char *kwnames
[] = {
18561 (char *) "self",(char *) "self", NULL
18564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 (arg1
)->SetSelf(arg2
);
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 Py_INCREF(Py_None
); resultobj
= Py_None
;
18581 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
;
18583 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18585 PyObject
* obj0
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 result
= (PyObject
*)(arg1
)->GetSelf();
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= result
;
18606 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18609 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
18611 return Py_BuildValue((char *)"");
18613 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18616 int arg2
= (int) 0 ;
18617 wxPyCommandEvent
*result
;
18618 PyObject
* obj0
= 0 ;
18619 PyObject
* obj1
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "commandType",(char *) "id", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18627 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18633 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
18651 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
;
18653 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18654 PyObject
* obj0
= 0 ;
18655 char *kwnames
[] = {
18656 (char *) "self", NULL
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
18660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 Py_INCREF(Py_None
); resultobj
= Py_None
;
18675 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18678 PyObject
*arg2
= (PyObject
*) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 PyObject
* obj1
= 0 ;
18681 char *kwnames
[] = {
18682 (char *) "self",(char *) "self", NULL
18685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 (arg1
)->SetSelf(arg2
);
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18695 Py_INCREF(Py_None
); resultobj
= Py_None
;
18702 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
;
18704 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18706 PyObject
* obj0
= 0 ;
18707 char *kwnames
[] = {
18708 (char *) "self", NULL
18711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 result
= (PyObject
*)(arg1
)->GetSelf();
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 resultobj
= result
;
18727 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18730 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
18732 return Py_BuildValue((char *)"");
18734 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18737 char *kwnames
[] = {
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
18743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18744 result
= (wxPyApp
*)new_wxPyApp();
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18750 resultobj
= wxPyMake_wxObject(result
);
18758 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
18767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 wxPyEndAllowThreads(__tstate
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18775 Py_INCREF(Py_None
); resultobj
= Py_None
;
18782 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18783 PyObject
*resultobj
;
18784 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18785 PyObject
*arg2
= (PyObject
*) 0 ;
18786 PyObject
*arg3
= (PyObject
*) 0 ;
18787 PyObject
* obj0
= 0 ;
18788 PyObject
* obj1
= 0 ;
18789 PyObject
* obj2
= 0 ;
18790 char *kwnames
[] = {
18791 (char *) "self",(char *) "self",(char *) "_class", NULL
18794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18805 Py_INCREF(Py_None
); resultobj
= Py_None
;
18812 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
;
18814 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18816 PyObject
* obj0
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "self", NULL
18821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
18822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 result
= ((wxPyApp
const *)arg1
)->GetAppName();
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18843 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18846 wxString
*arg2
= 0 ;
18847 bool temp2
= False
;
18848 PyObject
* obj0
= 0 ;
18849 PyObject
* obj1
= 0 ;
18850 char *kwnames
[] = {
18851 (char *) "self",(char *) "name", NULL
18854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18857 arg2
= wxString_in_helper(obj1
);
18858 if (arg2
== NULL
) SWIG_fail
;
18862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 (arg1
)->SetAppName((wxString
const &)*arg2
);
18865 wxPyEndAllowThreads(__tstate
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18868 Py_INCREF(Py_None
); resultobj
= Py_None
;
18883 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
;
18885 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18887 PyObject
* obj0
= 0 ;
18888 char *kwnames
[] = {
18889 (char *) "self", NULL
18892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
18893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 result
= ((wxPyApp
const *)arg1
)->GetClassName();
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18914 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
;
18916 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18917 wxString
*arg2
= 0 ;
18918 bool temp2
= False
;
18919 PyObject
* obj0
= 0 ;
18920 PyObject
* obj1
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self",(char *) "name", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
18926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18928 arg2
= wxString_in_helper(obj1
);
18929 if (arg2
== NULL
) SWIG_fail
;
18933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18934 (arg1
)->SetClassName((wxString
const &)*arg2
);
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18939 Py_INCREF(Py_None
); resultobj
= Py_None
;
18954 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18958 PyObject
* obj0
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
18964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18968 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
18969 result
= (wxString
*) &_result_ref
;
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18977 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18979 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18988 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
;
18990 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18991 wxString
*arg2
= 0 ;
18992 bool temp2
= False
;
18993 PyObject
* obj0
= 0 ;
18994 PyObject
* obj1
= 0 ;
18995 char *kwnames
[] = {
18996 (char *) "self",(char *) "name", NULL
18999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19002 arg2
= wxString_in_helper(obj1
);
19003 if (arg2
== NULL
) SWIG_fail
;
19007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19013 Py_INCREF(Py_None
); resultobj
= Py_None
;
19028 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19031 wxAppTraits
*result
;
19032 PyObject
* obj0
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
19053 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
;
19055 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19056 PyObject
* obj0
= 0 ;
19057 char *kwnames
[] = {
19058 (char *) "self", NULL
19061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 (arg1
)->ProcessPendingEvents();
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19070 Py_INCREF(Py_None
); resultobj
= Py_None
;
19077 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
;
19079 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19080 bool arg2
= (bool) False
;
19082 PyObject
* obj0
= 0 ;
19083 PyObject
* obj1
= 0 ;
19084 char *kwnames
[] = {
19085 (char *) "self",(char *) "onlyIfNeeded", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19092 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19098 result
= (bool)(arg1
)->Yield(arg2
);
19100 wxPyEndAllowThreads(__tstate
);
19101 if (PyErr_Occurred()) SWIG_fail
;
19103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19110 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19111 PyObject
*resultobj
;
19112 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19113 PyObject
* obj0
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 (arg1
)->WakeUpIdle();
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 Py_INCREF(Py_None
); resultobj
= Py_None
;
19134 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 result
= (int)(arg1
)->MainLoop();
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19152 resultobj
= SWIG_PyObj_FromInt((int)result
);
19159 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19162 PyObject
* obj0
= 0 ;
19163 char *kwnames
[] = {
19164 (char *) "self", NULL
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 Py_INCREF(Py_None
); resultobj
= Py_None
;
19183 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19186 PyObject
* obj0
= 0 ;
19187 char *kwnames
[] = {
19188 (char *) "self", NULL
19191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 (arg1
)->ExitMainLoop();
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 Py_INCREF(Py_None
); resultobj
= Py_None
;
19207 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19211 PyObject
* obj0
= 0 ;
19212 char *kwnames
[] = {
19213 (char *) "self", NULL
19216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19220 result
= (bool)(arg1
)->Pending();
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19232 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
;
19234 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19236 PyObject
* obj0
= 0 ;
19237 char *kwnames
[] = {
19238 (char *) "self", NULL
19241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 result
= (bool)(arg1
)->Dispatch();
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19257 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19261 PyObject
* obj0
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "self", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= (bool)(arg1
)->ProcessIdle();
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19282 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
;
19284 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19285 wxWindow
*arg2
= (wxWindow
*) 0 ;
19286 wxIdleEvent
*arg3
= 0 ;
19288 PyObject
* obj0
= 0 ;
19289 PyObject
* obj1
= 0 ;
19290 PyObject
* obj2
= 0 ;
19291 char *kwnames
[] = {
19292 (char *) "self",(char *) "win",(char *) "event", NULL
19295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19297 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19298 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19299 if (arg3
== NULL
) {
19300 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19304 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19316 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
;
19318 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19320 PyObject
* obj0
= 0 ;
19321 char *kwnames
[] = {
19322 (char *) "self", NULL
19325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19331 wxPyEndAllowThreads(__tstate
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19341 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19342 PyObject
*resultobj
;
19343 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19344 wxWindow
*arg2
= (wxWindow
*) 0 ;
19345 PyObject
* obj0
= 0 ;
19346 PyObject
* obj1
= 0 ;
19347 char *kwnames
[] = {
19348 (char *) "self",(char *) "win", NULL
19351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19353 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19356 (arg1
)->SetTopWindow(arg2
);
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19361 Py_INCREF(Py_None
); resultobj
= Py_None
;
19368 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
;
19370 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19372 PyObject
* obj0
= 0 ;
19373 char *kwnames
[] = {
19374 (char *) "self", NULL
19377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19387 resultobj
= wxPyMake_wxObject(result
);
19395 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19396 PyObject
*resultobj
;
19397 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self",(char *) "flag", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
19406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19408 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19413 (arg1
)->SetExitOnFrameDelete(arg2
);
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19418 Py_INCREF(Py_None
); resultobj
= Py_None
;
19425 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19426 PyObject
*resultobj
;
19427 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19429 PyObject
* obj0
= 0 ;
19430 char *kwnames
[] = {
19431 (char *) "self", NULL
19434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
19435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
19440 wxPyEndAllowThreads(__tstate
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19450 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19451 PyObject
*resultobj
;
19452 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19454 PyObject
* obj0
= 0 ;
19455 PyObject
* obj1
= 0 ;
19456 char *kwnames
[] = {
19457 (char *) "self",(char *) "flag", NULL
19460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
19461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19463 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 (arg1
)->SetUseBestVisual(arg2
);
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19473 Py_INCREF(Py_None
); resultobj
= Py_None
;
19480 static PyObject
*_wrap_PyApp_GetUseBestVisual(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_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
19490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19505 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
;
19507 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19509 PyObject
* obj0
= 0 ;
19510 PyObject
* obj1
= 0 ;
19511 char *kwnames
[] = {
19512 (char *) "self",(char *) "mode", NULL
19515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19518 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 (arg1
)->SetPrintMode(arg2
);
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19528 Py_INCREF(Py_None
); resultobj
= Py_None
;
19535 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19536 PyObject
*resultobj
;
19537 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19539 PyObject
* obj0
= 0 ;
19540 char *kwnames
[] = {
19541 (char *) "self", NULL
19544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 resultobj
= SWIG_PyObj_FromInt((int)result
);
19560 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
;
19562 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19564 PyObject
* obj0
= 0 ;
19565 PyObject
* obj1
= 0 ;
19566 char *kwnames
[] = {
19567 (char *) "self",(char *) "mode", NULL
19570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19573 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 (arg1
)->SetAssertMode(arg2
);
19580 wxPyEndAllowThreads(__tstate
);
19581 if (PyErr_Occurred()) SWIG_fail
;
19583 Py_INCREF(Py_None
); resultobj
= Py_None
;
19590 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19591 PyObject
*resultobj
;
19592 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19594 PyObject
* obj0
= 0 ;
19595 char *kwnames
[] = {
19596 (char *) "self", NULL
19599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
19600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 result
= (int)(arg1
)->GetAssertMode();
19605 wxPyEndAllowThreads(__tstate
);
19606 if (PyErr_Occurred()) SWIG_fail
;
19608 resultobj
= SWIG_PyObj_FromInt((int)result
);
19615 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
;
19618 char *kwnames
[] = {
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19637 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
;
19640 char *kwnames
[] = {
19644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 result
= (long)wxPyApp::GetMacAboutMenuItemId();
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19652 resultobj
= SWIG_PyObj_FromLong((long)result
);
19659 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19660 PyObject
*resultobj
;
19662 char *kwnames
[] = {
19666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
19668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19669 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
19671 wxPyEndAllowThreads(__tstate
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= SWIG_PyObj_FromLong((long)result
);
19681 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
;
19684 char *kwnames
[] = {
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
19690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19691 result
= (long)wxPyApp::GetMacExitMenuItemId();
19693 wxPyEndAllowThreads(__tstate
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19696 resultobj
= SWIG_PyObj_FromLong((long)result
);
19703 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
;
19706 char *kwnames
[] = {
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 result
= wxPyApp::GetMacHelpMenuTitleName();
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19731 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
;
19734 PyObject
* obj0
= 0 ;
19735 char *kwnames
[] = {
19736 (char *) "val", NULL
19739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
19741 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19746 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 Py_INCREF(Py_None
); resultobj
= Py_None
;
19758 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
;
19761 PyObject
* obj0
= 0 ;
19762 char *kwnames
[] = {
19763 (char *) "val", NULL
19766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
19768 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19769 if (PyErr_Occurred()) SWIG_fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 wxPyApp::SetMacAboutMenuItemId(arg1
);
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 Py_INCREF(Py_None
); resultobj
= Py_None
;
19785 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19788 PyObject
* obj0
= 0 ;
19789 char *kwnames
[] = {
19790 (char *) "val", NULL
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
19795 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 Py_INCREF(Py_None
); resultobj
= Py_None
;
19812 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
;
19815 PyObject
* obj0
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "val", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
19822 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19827 wxPyApp::SetMacExitMenuItemId(arg1
);
19829 wxPyEndAllowThreads(__tstate
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19832 Py_INCREF(Py_None
); resultobj
= Py_None
;
19839 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19840 PyObject
*resultobj
;
19841 wxString
*arg1
= 0 ;
19842 bool temp1
= False
;
19843 PyObject
* obj0
= 0 ;
19844 char *kwnames
[] = {
19845 (char *) "val", NULL
19848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
19850 arg1
= wxString_in_helper(obj0
);
19851 if (arg1
== NULL
) SWIG_fail
;
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
19858 wxPyEndAllowThreads(__tstate
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19861 Py_INCREF(Py_None
); resultobj
= Py_None
;
19876 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
;
19878 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19879 PyObject
* obj0
= 0 ;
19880 char *kwnames
[] = {
19881 (char *) "self", NULL
19884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
19885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 (arg1
)->_BootstrapApp();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 Py_INCREF(Py_None
); resultobj
= Py_None
;
19900 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19903 char *kwnames
[] = {
19907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
19909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19910 result
= (int)PyApp_GetComCtl32Version();
19912 wxPyEndAllowThreads(__tstate
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19915 resultobj
= SWIG_PyObj_FromInt((int)result
);
19922 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
19924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19925 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
19927 return Py_BuildValue((char *)"");
19929 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 char *kwnames
[] = {
19935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
19937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19943 Py_INCREF(Py_None
); resultobj
= Py_None
;
19950 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
;
19953 char *kwnames
[] = {
19957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 result
= (bool)wxYield();
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19972 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19973 PyObject
*resultobj
;
19975 char *kwnames
[] = {
19979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 result
= (bool)wxYieldIfNeeded();
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19994 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19995 PyObject
*resultobj
;
19996 wxWindow
*arg1
= (wxWindow
*) NULL
;
19997 bool arg2
= (bool) False
;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "win",(char *) "onlyIfNeeded", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20011 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 result
= (bool)wxSafeYield(arg1
,arg2
);
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20029 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
;
20031 char *kwnames
[] = {
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 wxPyEndAllowThreads(__tstate
);
20041 if (PyErr_Occurred()) SWIG_fail
;
20043 Py_INCREF(Py_None
); resultobj
= Py_None
;
20050 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
;
20052 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20053 wxEvent
*arg2
= 0 ;
20054 PyObject
* obj0
= 0 ;
20055 PyObject
* obj1
= 0 ;
20056 char *kwnames
[] = {
20057 (char *) "dest",(char *) "event", NULL
20060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20062 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20063 if (arg2
== NULL
) {
20064 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 wxPostEvent(arg1
,*arg2
);
20070 wxPyEndAllowThreads(__tstate
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20073 Py_INCREF(Py_None
); resultobj
= Py_None
;
20080 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20081 PyObject
*resultobj
;
20082 char *kwnames
[] = {
20086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 wxPyEndAllowThreads(__tstate
);
20092 if (PyErr_Occurred()) SWIG_fail
;
20094 Py_INCREF(Py_None
); resultobj
= Py_None
;
20101 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
;
20104 char *kwnames
[] = {
20108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 result
= (wxPyApp
*)wxGetApp();
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20117 resultobj
= wxPyMake_wxObject(result
);
20125 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
;
20127 int arg1
= (int) 0 ;
20128 int arg2
= (int) 0 ;
20129 int arg3
= (int) 0 ;
20130 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20131 wxAcceleratorEntry
*result
;
20132 PyObject
* obj0
= 0 ;
20133 PyObject
* obj1
= 0 ;
20134 PyObject
* obj2
= 0 ;
20135 PyObject
* obj3
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20143 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20149 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20155 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20160 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20169 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
20176 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20178 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20179 PyObject
* obj0
= 0 ;
20180 char *kwnames
[] = {
20181 (char *) "self", NULL
20184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 wxPyEndAllowThreads(__tstate
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20193 Py_INCREF(Py_None
); resultobj
= Py_None
;
20200 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
;
20202 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20206 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20207 PyObject
* obj0
= 0 ;
20208 PyObject
* obj1
= 0 ;
20209 PyObject
* obj2
= 0 ;
20210 PyObject
* obj3
= 0 ;
20211 PyObject
* obj4
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20219 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20223 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20227 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20231 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 Py_INCREF(Py_None
); resultobj
= Py_None
;
20247 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
;
20249 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20250 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20251 PyObject
* obj0
= 0 ;
20252 PyObject
* obj1
= 0 ;
20253 char *kwnames
[] = {
20254 (char *) "self",(char *) "item", NULL
20257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20259 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 (arg1
)->SetMenuItem(arg2
);
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 Py_INCREF(Py_None
); resultobj
= Py_None
;
20274 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20277 wxMenuItem
*result
;
20278 PyObject
* obj0
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "self", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20287 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20293 resultobj
= wxPyMake_wxObject(result
);
20301 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
;
20303 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20305 PyObject
* obj0
= 0 ;
20306 char *kwnames
[] = {
20307 (char *) "self", NULL
20310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= (int)(arg1
)->GetFlags();
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20319 resultobj
= SWIG_PyObj_FromInt((int)result
);
20326 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
;
20328 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20330 PyObject
* obj0
= 0 ;
20331 char *kwnames
[] = {
20332 (char *) "self", NULL
20335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 result
= (int)(arg1
)->GetKeyCode();
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20344 resultobj
= SWIG_PyObj_FromInt((int)result
);
20351 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
;
20353 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20355 PyObject
* obj0
= 0 ;
20356 char *kwnames
[] = {
20357 (char *) "self", NULL
20360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 result
= (int)(arg1
)->GetCommand();
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20369 resultobj
= SWIG_PyObj_FromInt((int)result
);
20376 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20379 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20381 return Py_BuildValue((char *)"");
20383 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
;
20386 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20387 wxAcceleratorTable
*result
;
20388 PyObject
* obj0
= 0 ;
20389 char *kwnames
[] = {
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20395 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20396 if (arg2
) arg1
= PyList_Size(obj0
);
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20406 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
20419 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20420 PyObject
*resultobj
;
20421 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20422 PyObject
* obj0
= 0 ;
20423 char *kwnames
[] = {
20424 (char *) "self", NULL
20427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 Py_INCREF(Py_None
); resultobj
= Py_None
;
20443 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20445 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20447 PyObject
* obj0
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "self", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
20453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20468 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
20470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20471 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
20473 return Py_BuildValue((char *)"");
20475 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
20476 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
20481 static PyObject
*_wrap_NullAcceleratorTable_get() {
20484 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
20489 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxString
*arg1
= 0 ;
20492 wxAcceleratorEntry
*result
;
20493 bool temp1
= False
;
20494 PyObject
* obj0
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "label", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
20501 arg1
= wxString_in_helper(obj0
);
20502 if (arg1
== NULL
) SWIG_fail
;
20506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20507 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20512 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
20527 static int _wrap_PanelNameStr_set(PyObject
*) {
20528 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
20533 static PyObject
*_wrap_PanelNameStr_get() {
20538 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20540 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20547 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxWindow
*arg1
= (wxWindow
*) 0 ;
20551 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20552 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20553 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20554 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20555 long arg5
= (long) 0 ;
20556 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20557 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20561 bool temp6
= False
;
20562 PyObject
* obj0
= 0 ;
20563 PyObject
* obj1
= 0 ;
20564 PyObject
* obj2
= 0 ;
20565 PyObject
* obj3
= 0 ;
20566 PyObject
* obj4
= 0 ;
20567 PyObject
* obj5
= 0 ;
20568 char *kwnames
[] = {
20569 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20575 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20581 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20587 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20592 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20598 arg6
= wxString_in_helper(obj5
);
20599 if (arg6
== NULL
) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= wxPyMake_wxObject(result
);
20627 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20628 PyObject
*resultobj
;
20630 char *kwnames
[] = {
20634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 result
= (wxWindow
*)new wxWindow();
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20643 resultobj
= wxPyMake_wxObject(result
);
20651 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
;
20653 wxWindow
*arg1
= (wxWindow
*) 0 ;
20654 wxWindow
*arg2
= (wxWindow
*) 0 ;
20656 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20657 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20658 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20659 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20660 long arg6
= (long) 0 ;
20661 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20662 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20666 bool temp7
= False
;
20667 PyObject
* obj0
= 0 ;
20668 PyObject
* obj1
= 0 ;
20669 PyObject
* obj2
= 0 ;
20670 PyObject
* obj3
= 0 ;
20671 PyObject
* obj4
= 0 ;
20672 PyObject
* obj5
= 0 ;
20673 PyObject
* obj6
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20682 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20688 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20694 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20699 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20700 if (PyErr_Occurred()) SWIG_fail
;
20705 arg7
= wxString_in_helper(obj6
);
20706 if (arg7
== NULL
) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20732 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
;
20734 wxWindow
*arg1
= (wxWindow
*) 0 ;
20735 bool arg2
= (bool) False
;
20737 PyObject
* obj0
= 0 ;
20738 PyObject
* obj1
= 0 ;
20739 char *kwnames
[] = {
20740 (char *) "self",(char *) "force", NULL
20743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
20744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20747 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20753 result
= (bool)(arg1
)->Close(arg2
);
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20765 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20766 PyObject
*resultobj
;
20767 wxWindow
*arg1
= (wxWindow
*) 0 ;
20769 PyObject
* obj0
= 0 ;
20770 char *kwnames
[] = {
20771 (char *) "self", NULL
20774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
20775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20778 result
= (bool)(arg1
)->Destroy();
20780 wxPyEndAllowThreads(__tstate
);
20781 if (PyErr_Occurred()) SWIG_fail
;
20783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20790 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
;
20792 wxWindow
*arg1
= (wxWindow
*) 0 ;
20794 PyObject
* obj0
= 0 ;
20795 char *kwnames
[] = {
20796 (char *) "self", NULL
20799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
20800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= (bool)(arg1
)->DestroyChildren();
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20815 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20816 PyObject
*resultobj
;
20817 wxWindow
*arg1
= (wxWindow
*) 0 ;
20819 PyObject
* obj0
= 0 ;
20820 char *kwnames
[] = {
20821 (char *) "self", NULL
20824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
20825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20840 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxWindow
*arg1
= (wxWindow
*) 0 ;
20843 wxString
*arg2
= 0 ;
20844 bool temp2
= False
;
20845 PyObject
* obj0
= 0 ;
20846 PyObject
* obj1
= 0 ;
20847 char *kwnames
[] = {
20848 (char *) "self",(char *) "title", NULL
20851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
20852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20854 arg2
= wxString_in_helper(obj1
);
20855 if (arg2
== NULL
) SWIG_fail
;
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 (arg1
)->SetTitle((wxString
const &)*arg2
);
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 Py_INCREF(Py_None
); resultobj
= Py_None
;
20880 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
;
20882 wxWindow
*arg1
= (wxWindow
*) 0 ;
20884 PyObject
* obj0
= 0 ;
20885 char *kwnames
[] = {
20886 (char *) "self", NULL
20889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
20890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 result
= ((wxWindow
const *)arg1
)->GetTitle();
20895 wxPyEndAllowThreads(__tstate
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20911 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
;
20913 wxWindow
*arg1
= (wxWindow
*) 0 ;
20914 wxString
*arg2
= 0 ;
20915 bool temp2
= False
;
20916 PyObject
* obj0
= 0 ;
20917 PyObject
* obj1
= 0 ;
20918 char *kwnames
[] = {
20919 (char *) "self",(char *) "label", NULL
20922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20925 arg2
= wxString_in_helper(obj1
);
20926 if (arg2
== NULL
) SWIG_fail
;
20930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 (arg1
)->SetLabel((wxString
const &)*arg2
);
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20936 Py_INCREF(Py_None
); resultobj
= Py_None
;
20951 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20952 PyObject
*resultobj
;
20953 wxWindow
*arg1
= (wxWindow
*) 0 ;
20955 PyObject
* obj0
= 0 ;
20956 char *kwnames
[] = {
20957 (char *) "self", NULL
20960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
20961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 result
= ((wxWindow
const *)arg1
)->GetLabel();
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20982 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxWindow
*arg1
= (wxWindow
*) 0 ;
20985 wxString
*arg2
= 0 ;
20986 bool temp2
= False
;
20987 PyObject
* obj0
= 0 ;
20988 PyObject
* obj1
= 0 ;
20989 char *kwnames
[] = {
20990 (char *) "self",(char *) "name", NULL
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
20994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20996 arg2
= wxString_in_helper(obj1
);
20997 if (arg2
== NULL
) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 (arg1
)->SetName((wxString
const &)*arg2
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 Py_INCREF(Py_None
); resultobj
= Py_None
;
21022 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
;
21024 wxWindow
*arg1
= (wxWindow
*) 0 ;
21026 PyObject
* obj0
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21035 result
= ((wxWindow
const *)arg1
)->GetName();
21037 wxPyEndAllowThreads(__tstate
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21053 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21054 PyObject
*resultobj
;
21055 wxWindow
*arg1
= (wxWindow
*) 0 ;
21057 PyObject
* obj0
= 0 ;
21058 PyObject
* obj1
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self",(char *) "winid", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21066 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 (arg1
)->SetId(arg2
);
21073 wxPyEndAllowThreads(__tstate
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21076 Py_INCREF(Py_None
); resultobj
= Py_None
;
21083 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21084 PyObject
*resultobj
;
21085 wxWindow
*arg1
= (wxWindow
*) 0 ;
21087 PyObject
* obj0
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "self", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (int)((wxWindow
const *)arg1
)->GetId();
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= SWIG_PyObj_FromInt((int)result
);
21108 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21109 PyObject
*resultobj
;
21111 char *kwnames
[] = {
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 result
= (int)wxWindow::NewControlId();
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21123 resultobj
= SWIG_PyObj_FromInt((int)result
);
21130 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
;
21134 PyObject
* obj0
= 0 ;
21135 char *kwnames
[] = {
21136 (char *) "winid", NULL
21139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21141 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= (int)wxWindow::NextControlId(arg1
);
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= SWIG_PyObj_FromInt((int)result
);
21158 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
;
21162 PyObject
* obj0
= 0 ;
21163 char *kwnames
[] = {
21164 (char *) "winid", NULL
21167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
21169 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 result
= (int)wxWindow::PrevControlId(arg1
);
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= SWIG_PyObj_FromInt((int)result
);
21186 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
;
21188 wxWindow
*arg1
= (wxWindow
*) 0 ;
21191 PyObject
* obj0
= 0 ;
21192 PyObject
* obj1
= 0 ;
21193 char *kwnames
[] = {
21194 (char *) "self",(char *) "size", NULL
21197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21201 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 (arg1
)->SetSize((wxSize
const &)*arg2
);
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 Py_INCREF(Py_None
); resultobj
= Py_None
;
21217 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
;
21219 wxWindow
*arg1
= (wxWindow
*) 0 ;
21224 int arg6
= (int) wxSIZE_AUTO
;
21225 PyObject
* obj0
= 0 ;
21226 PyObject
* obj1
= 0 ;
21227 PyObject
* obj2
= 0 ;
21228 PyObject
* obj3
= 0 ;
21229 PyObject
* obj4
= 0 ;
21230 PyObject
* obj5
= 0 ;
21231 char *kwnames
[] = {
21232 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21238 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21242 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21246 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21250 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21255 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21266 Py_INCREF(Py_None
); resultobj
= Py_None
;
21273 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
;
21275 wxWindow
*arg1
= (wxWindow
*) 0 ;
21277 int arg3
= (int) wxSIZE_AUTO
;
21279 PyObject
* obj0
= 0 ;
21280 PyObject
* obj1
= 0 ;
21281 PyObject
* obj2
= 0 ;
21282 char *kwnames
[] = {
21283 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21290 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21294 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 Py_INCREF(Py_None
); resultobj
= Py_None
;
21312 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21314 wxWindow
*arg1
= (wxWindow
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 PyObject
* obj1
= 0 ;
21319 PyObject
* obj2
= 0 ;
21320 char *kwnames
[] = {
21321 (char *) "self",(char *) "width",(char *) "height", NULL
21324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21327 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21331 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 (arg1
)->SetSize(arg2
,arg3
);
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21341 Py_INCREF(Py_None
); resultobj
= Py_None
;
21348 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21349 PyObject
*resultobj
;
21350 wxWindow
*arg1
= (wxWindow
*) 0 ;
21351 wxPoint
*arg2
= 0 ;
21352 int arg3
= (int) wxSIZE_USE_EXISTING
;
21354 PyObject
* obj0
= 0 ;
21355 PyObject
* obj1
= 0 ;
21356 PyObject
* obj2
= 0 ;
21357 char *kwnames
[] = {
21358 (char *) "self",(char *) "pt",(char *) "flags", NULL
21361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21365 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21369 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 Py_INCREF(Py_None
); resultobj
= Py_None
;
21387 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21389 wxWindow
*arg1
= (wxWindow
*) 0 ;
21392 int arg4
= (int) wxSIZE_USE_EXISTING
;
21393 PyObject
* obj0
= 0 ;
21394 PyObject
* obj1
= 0 ;
21395 PyObject
* obj2
= 0 ;
21396 PyObject
* obj3
= 0 ;
21397 char *kwnames
[] = {
21398 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
21401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21404 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21408 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21413 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 (arg1
)->Move(arg2
,arg3
,arg4
);
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21424 Py_INCREF(Py_None
); resultobj
= Py_None
;
21431 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21432 PyObject
*resultobj
;
21433 wxWindow
*arg1
= (wxWindow
*) 0 ;
21434 PyObject
* obj0
= 0 ;
21435 char *kwnames
[] = {
21436 (char *) "self", NULL
21439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
21440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 Py_INCREF(Py_None
); resultobj
= Py_None
;
21455 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21457 wxWindow
*arg1
= (wxWindow
*) 0 ;
21458 PyObject
* obj0
= 0 ;
21459 char *kwnames
[] = {
21460 (char *) "self", NULL
21463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
21464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 Py_INCREF(Py_None
); resultobj
= Py_None
;
21479 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
;
21481 wxWindow
*arg1
= (wxWindow
*) 0 ;
21484 PyObject
* obj0
= 0 ;
21485 PyObject
* obj1
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self",(char *) "size", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21494 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 Py_INCREF(Py_None
); resultobj
= Py_None
;
21510 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21512 wxWindow
*arg1
= (wxWindow
*) 0 ;
21515 PyObject
* obj0
= 0 ;
21516 PyObject
* obj1
= 0 ;
21517 PyObject
* obj2
= 0 ;
21518 char *kwnames
[] = {
21519 (char *) "self",(char *) "width",(char *) "height", NULL
21522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21525 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21529 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21534 (arg1
)->SetClientSize(arg2
,arg3
);
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21539 Py_INCREF(Py_None
); resultobj
= Py_None
;
21546 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21547 PyObject
*resultobj
;
21548 wxWindow
*arg1
= (wxWindow
*) 0 ;
21551 PyObject
* obj0
= 0 ;
21552 PyObject
* obj1
= 0 ;
21553 char *kwnames
[] = {
21554 (char *) "self",(char *) "rect", NULL
21557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
21558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21561 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 Py_INCREF(Py_None
); resultobj
= Py_None
;
21577 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21578 PyObject
*resultobj
;
21579 wxWindow
*arg1
= (wxWindow
*) 0 ;
21581 PyObject
* obj0
= 0 ;
21582 char *kwnames
[] = {
21583 (char *) "self", NULL
21586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
21587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 result
= (arg1
)->GetPosition();
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21596 wxPoint
* resultptr
;
21597 resultptr
= new wxPoint((wxPoint
&) result
);
21598 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21606 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21607 PyObject
*resultobj
;
21608 wxWindow
*arg1
= (wxWindow
*) 0 ;
21609 int *arg2
= (int *) 0 ;
21610 int *arg3
= (int *) 0 ;
21613 PyObject
* obj0
= 0 ;
21614 char *kwnames
[] = {
21615 (char *) "self", NULL
21620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
21621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 (arg1
)->GetPosition(arg2
,arg3
);
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 Py_INCREF(Py_None
); resultobj
= Py_None
;
21631 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21632 resultobj
= t_output_helper(resultobj
,o
);
21635 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21636 resultobj
= t_output_helper(resultobj
,o
);
21644 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 wxWindow
*arg1
= (wxWindow
*) 0 ;
21648 PyObject
* obj0
= 0 ;
21649 char *kwnames
[] = {
21650 (char *) "self", NULL
21653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
21654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 result
= ((wxWindow
const *)arg1
)->GetSize();
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21663 wxSize
* resultptr
;
21664 resultptr
= new wxSize((wxSize
&) result
);
21665 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21673 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
;
21675 wxWindow
*arg1
= (wxWindow
*) 0 ;
21676 int *arg2
= (int *) 0 ;
21677 int *arg3
= (int *) 0 ;
21680 PyObject
* obj0
= 0 ;
21681 char *kwnames
[] = {
21682 (char *) "self", NULL
21687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
21688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21691 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
21693 wxPyEndAllowThreads(__tstate
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21696 Py_INCREF(Py_None
); resultobj
= Py_None
;
21698 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21699 resultobj
= t_output_helper(resultobj
,o
);
21702 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21703 resultobj
= t_output_helper(resultobj
,o
);
21711 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
;
21713 wxWindow
*arg1
= (wxWindow
*) 0 ;
21715 PyObject
* obj0
= 0 ;
21716 char *kwnames
[] = {
21717 (char *) "self", NULL
21720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
21721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 result
= ((wxWindow
const *)arg1
)->GetRect();
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21730 wxRect
* resultptr
;
21731 resultptr
= new wxRect((wxRect
&) result
);
21732 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
21740 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
;
21742 wxWindow
*arg1
= (wxWindow
*) 0 ;
21744 PyObject
* obj0
= 0 ;
21745 char *kwnames
[] = {
21746 (char *) "self", NULL
21749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
21750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 result
= ((wxWindow
const *)arg1
)->GetClientSize();
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21759 wxSize
* resultptr
;
21760 resultptr
= new wxSize((wxSize
&) result
);
21761 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21769 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
;
21771 wxWindow
*arg1
= (wxWindow
*) 0 ;
21772 int *arg2
= (int *) 0 ;
21773 int *arg3
= (int *) 0 ;
21776 PyObject
* obj0
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "self", NULL
21783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
21784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21792 Py_INCREF(Py_None
); resultobj
= Py_None
;
21794 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21795 resultobj
= t_output_helper(resultobj
,o
);
21798 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21799 resultobj
= t_output_helper(resultobj
,o
);
21807 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
;
21809 wxWindow
*arg1
= (wxWindow
*) 0 ;
21811 PyObject
* obj0
= 0 ;
21812 char *kwnames
[] = {
21813 (char *) "self", NULL
21816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
21817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21826 wxPoint
* resultptr
;
21827 resultptr
= new wxPoint((wxPoint
&) result
);
21828 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21836 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxWindow
*arg1
= (wxWindow
*) 0 ;
21840 PyObject
* obj0
= 0 ;
21841 char *kwnames
[] = {
21842 (char *) "self", NULL
21845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
21846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21849 result
= ((wxWindow
const *)arg1
)->GetClientRect();
21851 wxPyEndAllowThreads(__tstate
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21855 wxRect
* resultptr
;
21856 resultptr
= new wxRect((wxRect
&) result
);
21857 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
21865 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21866 PyObject
*resultobj
;
21867 wxWindow
*arg1
= (wxWindow
*) 0 ;
21869 PyObject
* obj0
= 0 ;
21870 char *kwnames
[] = {
21871 (char *) "self", NULL
21874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
21875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21878 result
= ((wxWindow
const *)arg1
)->GetBestSize();
21880 wxPyEndAllowThreads(__tstate
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21884 wxSize
* resultptr
;
21885 resultptr
= new wxSize((wxSize
&) result
);
21886 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21894 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21895 PyObject
*resultobj
;
21896 wxWindow
*arg1
= (wxWindow
*) 0 ;
21897 int *arg2
= (int *) 0 ;
21898 int *arg3
= (int *) 0 ;
21901 PyObject
* obj0
= 0 ;
21902 char *kwnames
[] = {
21903 (char *) "self", NULL
21908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
21909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21912 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21917 Py_INCREF(Py_None
); resultobj
= Py_None
;
21919 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21920 resultobj
= t_output_helper(resultobj
,o
);
21923 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21924 resultobj
= t_output_helper(resultobj
,o
);
21932 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxWindow
*arg1
= (wxWindow
*) 0 ;
21936 PyObject
* obj0
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
21942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21945 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21951 wxSize
* resultptr
;
21952 resultptr
= new wxSize((wxSize
&) result
);
21953 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21961 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
;
21963 wxWindow
*arg1
= (wxWindow
*) 0 ;
21964 int arg2
= (int) wxBOTH
;
21965 PyObject
* obj0
= 0 ;
21966 PyObject
* obj1
= 0 ;
21967 char *kwnames
[] = {
21968 (char *) "self",(char *) "direction", NULL
21971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
21972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21975 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 (arg1
)->Center(arg2
);
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 Py_INCREF(Py_None
); resultobj
= Py_None
;
21993 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxWindow
*arg1
= (wxWindow
*) 0 ;
21996 int arg2
= (int) wxBOTH
;
21997 PyObject
* obj0
= 0 ;
21998 PyObject
* obj1
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "self",(char *) "dir", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22007 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 (arg1
)->CenterOnScreen(arg2
);
22015 wxPyEndAllowThreads(__tstate
);
22016 if (PyErr_Occurred()) SWIG_fail
;
22018 Py_INCREF(Py_None
); resultobj
= Py_None
;
22025 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxWindow
*arg1
= (wxWindow
*) 0 ;
22028 int arg2
= (int) wxBOTH
;
22029 PyObject
* obj0
= 0 ;
22030 PyObject
* obj1
= 0 ;
22031 char *kwnames
[] = {
22032 (char *) "self",(char *) "dir", NULL
22035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22039 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 (arg1
)->CenterOnParent(arg2
);
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22050 Py_INCREF(Py_None
); resultobj
= Py_None
;
22057 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22058 PyObject
*resultobj
;
22059 wxWindow
*arg1
= (wxWindow
*) 0 ;
22060 PyObject
* obj0
= 0 ;
22061 char *kwnames
[] = {
22062 (char *) "self", NULL
22065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22074 Py_INCREF(Py_None
); resultobj
= Py_None
;
22081 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxWindow
*arg1
= (wxWindow
*) 0 ;
22084 PyObject
* obj0
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "self", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 (arg1
)->FitInside();
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 Py_INCREF(Py_None
); resultobj
= Py_None
;
22105 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxWindow
*arg1
= (wxWindow
*) 0 ;
22110 int arg4
= (int) -1 ;
22111 int arg5
= (int) -1 ;
22112 int arg6
= (int) -1 ;
22113 int arg7
= (int) -1 ;
22114 PyObject
* obj0
= 0 ;
22115 PyObject
* obj1
= 0 ;
22116 PyObject
* obj2
= 0 ;
22117 PyObject
* obj3
= 0 ;
22118 PyObject
* obj4
= 0 ;
22119 PyObject
* obj5
= 0 ;
22120 PyObject
* obj6
= 0 ;
22121 char *kwnames
[] = {
22122 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22128 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22132 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22137 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22143 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22149 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22155 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22161 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22166 Py_INCREF(Py_None
); resultobj
= Py_None
;
22173 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22175 wxWindow
*arg1
= (wxWindow
*) 0 ;
22178 int arg4
= (int) -1 ;
22179 int arg5
= (int) -1 ;
22180 PyObject
* obj0
= 0 ;
22181 PyObject
* obj1
= 0 ;
22182 PyObject
* obj2
= 0 ;
22183 PyObject
* obj3
= 0 ;
22184 PyObject
* obj4
= 0 ;
22185 char *kwnames
[] = {
22186 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22192 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22196 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22201 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22207 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22218 Py_INCREF(Py_None
); resultobj
= Py_None
;
22225 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22226 PyObject
*resultobj
;
22227 wxWindow
*arg1
= (wxWindow
*) 0 ;
22229 PyObject
* obj0
= 0 ;
22230 char *kwnames
[] = {
22231 (char *) "self", NULL
22234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
22235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= SWIG_PyObj_FromInt((int)result
);
22250 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22251 PyObject
*resultobj
;
22252 wxWindow
*arg1
= (wxWindow
*) 0 ;
22254 PyObject
* obj0
= 0 ;
22255 char *kwnames
[] = {
22256 (char *) "self", NULL
22259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
22260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22268 resultobj
= SWIG_PyObj_FromInt((int)result
);
22275 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
;
22277 wxWindow
*arg1
= (wxWindow
*) 0 ;
22279 PyObject
* obj0
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
22285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 resultobj
= SWIG_PyObj_FromInt((int)result
);
22300 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
;
22302 wxWindow
*arg1
= (wxWindow
*) 0 ;
22304 PyObject
* obj0
= 0 ;
22305 char *kwnames
[] = {
22306 (char *) "self", NULL
22309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
22310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= SWIG_PyObj_FromInt((int)result
);
22325 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22326 PyObject
*resultobj
;
22327 wxWindow
*arg1
= (wxWindow
*) 0 ;
22329 PyObject
* obj0
= 0 ;
22330 char *kwnames
[] = {
22331 (char *) "self", NULL
22334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
22335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22344 wxSize
* resultptr
;
22345 resultptr
= new wxSize((wxSize
&) result
);
22346 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22354 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22356 wxWindow
*arg1
= (wxWindow
*) 0 ;
22359 PyObject
* obj0
= 0 ;
22360 PyObject
* obj1
= 0 ;
22361 char *kwnames
[] = {
22362 (char *) "self",(char *) "size", NULL
22365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22369 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 Py_INCREF(Py_None
); resultobj
= Py_None
;
22385 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
;
22387 wxWindow
*arg1
= (wxWindow
*) 0 ;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 PyObject
* obj2
= 0 ;
22393 char *kwnames
[] = {
22394 (char *) "self",(char *) "w",(char *) "h", NULL
22397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22400 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22404 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 (arg1
)->SetVirtualSize(arg2
,arg3
);
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22414 Py_INCREF(Py_None
); resultobj
= Py_None
;
22421 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22422 PyObject
*resultobj
;
22423 wxWindow
*arg1
= (wxWindow
*) 0 ;
22425 PyObject
* obj0
= 0 ;
22426 char *kwnames
[] = {
22427 (char *) "self", NULL
22430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
22431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22440 wxSize
* resultptr
;
22441 resultptr
= new wxSize((wxSize
&) result
);
22442 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22450 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22451 PyObject
*resultobj
;
22452 wxWindow
*arg1
= (wxWindow
*) 0 ;
22453 int *arg2
= (int *) 0 ;
22454 int *arg3
= (int *) 0 ;
22457 PyObject
* obj0
= 0 ;
22458 char *kwnames
[] = {
22459 (char *) "self", NULL
22464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
22465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 Py_INCREF(Py_None
); resultobj
= Py_None
;
22475 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22476 resultobj
= t_output_helper(resultobj
,o
);
22479 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22480 resultobj
= t_output_helper(resultobj
,o
);
22488 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
;
22490 wxWindow
*arg1
= (wxWindow
*) 0 ;
22492 PyObject
* obj0
= 0 ;
22493 char *kwnames
[] = {
22494 (char *) "self", NULL
22497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
22498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22507 wxSize
* resultptr
;
22508 resultptr
= new wxSize((wxSize
&) result
);
22509 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22517 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
;
22519 wxWindow
*arg1
= (wxWindow
*) 0 ;
22520 bool arg2
= (bool) True
;
22522 PyObject
* obj0
= 0 ;
22523 PyObject
* obj1
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self",(char *) "show", NULL
22528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
22529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22532 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 result
= (bool)(arg1
)->Show(arg2
);
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22550 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
;
22552 wxWindow
*arg1
= (wxWindow
*) 0 ;
22554 PyObject
* obj0
= 0 ;
22555 char *kwnames
[] = {
22556 (char *) "self", NULL
22559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
22560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 result
= (bool)(arg1
)->Hide();
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22575 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
;
22577 wxWindow
*arg1
= (wxWindow
*) 0 ;
22578 bool arg2
= (bool) True
;
22580 PyObject
* obj0
= 0 ;
22581 PyObject
* obj1
= 0 ;
22582 char *kwnames
[] = {
22583 (char *) "self",(char *) "enable", NULL
22586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
22587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22590 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 result
= (bool)(arg1
)->Enable(arg2
);
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22608 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxWindow
*arg1
= (wxWindow
*) 0 ;
22612 PyObject
* obj0
= 0 ;
22613 char *kwnames
[] = {
22614 (char *) "self", NULL
22617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
22618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= (bool)(arg1
)->Disable();
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22633 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxWindow
*arg1
= (wxWindow
*) 0 ;
22637 PyObject
* obj0
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
22643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22646 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22658 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
;
22660 wxWindow
*arg1
= (wxWindow
*) 0 ;
22662 PyObject
* obj0
= 0 ;
22663 char *kwnames
[] = {
22664 (char *) "self", NULL
22667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
22668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
22673 wxPyEndAllowThreads(__tstate
);
22674 if (PyErr_Occurred()) SWIG_fail
;
22676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22683 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22684 PyObject
*resultobj
;
22685 wxWindow
*arg1
= (wxWindow
*) 0 ;
22687 PyObject
* obj0
= 0 ;
22688 PyObject
* obj1
= 0 ;
22689 char *kwnames
[] = {
22690 (char *) "self",(char *) "style", NULL
22693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22696 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22701 (arg1
)->SetWindowStyleFlag(arg2
);
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22706 Py_INCREF(Py_None
); resultobj
= Py_None
;
22713 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22714 PyObject
*resultobj
;
22715 wxWindow
*arg1
= (wxWindow
*) 0 ;
22717 PyObject
* obj0
= 0 ;
22718 char *kwnames
[] = {
22719 (char *) "self", NULL
22722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
22723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22731 resultobj
= SWIG_PyObj_FromLong((long)result
);
22738 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22739 PyObject
*resultobj
;
22740 wxWindow
*arg1
= (wxWindow
*) 0 ;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self",(char *) "style", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
22749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22751 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 (arg1
)->SetWindowStyle(arg2
);
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 Py_INCREF(Py_None
); resultobj
= Py_None
;
22768 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxWindow
*arg1
= (wxWindow
*) 0 ;
22772 PyObject
* obj0
= 0 ;
22773 char *kwnames
[] = {
22774 (char *) "self", NULL
22777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
22778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
22783 wxPyEndAllowThreads(__tstate
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22786 resultobj
= SWIG_PyObj_FromLong((long)result
);
22793 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22794 PyObject
*resultobj
;
22795 wxWindow
*arg1
= (wxWindow
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 char *kwnames
[] = {
22801 (char *) "self",(char *) "flag", NULL
22804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22807 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
22814 wxPyEndAllowThreads(__tstate
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22824 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22825 PyObject
*resultobj
;
22826 wxWindow
*arg1
= (wxWindow
*) 0 ;
22828 PyObject
* obj0
= 0 ;
22829 char *kwnames
[] = {
22830 (char *) "self", NULL
22833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
22834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
22839 wxPyEndAllowThreads(__tstate
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22849 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22851 wxWindow
*arg1
= (wxWindow
*) 0 ;
22853 PyObject
* obj0
= 0 ;
22854 PyObject
* obj1
= 0 ;
22855 char *kwnames
[] = {
22856 (char *) "self",(char *) "exStyle", NULL
22859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
22860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22862 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22867 (arg1
)->SetExtraStyle(arg2
);
22869 wxPyEndAllowThreads(__tstate
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22872 Py_INCREF(Py_None
); resultobj
= Py_None
;
22879 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22880 PyObject
*resultobj
;
22881 wxWindow
*arg1
= (wxWindow
*) 0 ;
22883 PyObject
* obj0
= 0 ;
22884 char *kwnames
[] = {
22885 (char *) "self", NULL
22888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
22889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 resultobj
= SWIG_PyObj_FromLong((long)result
);
22904 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22905 PyObject
*resultobj
;
22906 wxWindow
*arg1
= (wxWindow
*) 0 ;
22907 bool arg2
= (bool) True
;
22908 PyObject
* obj0
= 0 ;
22909 PyObject
* obj1
= 0 ;
22910 char *kwnames
[] = {
22911 (char *) "self",(char *) "modal", NULL
22914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
22915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22918 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22924 (arg1
)->MakeModal(arg2
);
22926 wxPyEndAllowThreads(__tstate
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22929 Py_INCREF(Py_None
); resultobj
= Py_None
;
22936 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22937 PyObject
*resultobj
;
22938 wxWindow
*arg1
= (wxWindow
*) 0 ;
22940 PyObject
* obj0
= 0 ;
22941 PyObject
* obj1
= 0 ;
22942 char *kwnames
[] = {
22943 (char *) "self",(char *) "enableTheme", NULL
22946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
22947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22949 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22954 (arg1
)->SetThemeEnabled(arg2
);
22956 wxPyEndAllowThreads(__tstate
);
22957 if (PyErr_Occurred()) SWIG_fail
;
22959 Py_INCREF(Py_None
); resultobj
= Py_None
;
22966 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22967 PyObject
*resultobj
;
22968 wxWindow
*arg1
= (wxWindow
*) 0 ;
22970 PyObject
* obj0
= 0 ;
22971 char *kwnames
[] = {
22972 (char *) "self", NULL
22975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
22976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22991 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22993 wxWindow
*arg1
= (wxWindow
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
23001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23016 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
;
23018 wxWindow
*arg1
= (wxWindow
*) 0 ;
23019 PyObject
* obj0
= 0 ;
23020 char *kwnames
[] = {
23021 (char *) "self", NULL
23024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
23025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23028 (arg1
)->SetFocus();
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 Py_INCREF(Py_None
); resultobj
= Py_None
;
23040 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23041 PyObject
*resultobj
;
23042 wxWindow
*arg1
= (wxWindow
*) 0 ;
23043 PyObject
* obj0
= 0 ;
23044 char *kwnames
[] = {
23045 (char *) "self", NULL
23048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
23049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 (arg1
)->SetFocusFromKbd();
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23057 Py_INCREF(Py_None
); resultobj
= Py_None
;
23064 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
;
23067 char *kwnames
[] = {
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 result
= (wxWindow
*)wxWindow::FindFocus();
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= wxPyMake_wxObject(result
);
23088 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxWindow
*arg1
= (wxWindow
*) 0 ;
23092 PyObject
* obj0
= 0 ;
23093 char *kwnames
[] = {
23094 (char *) "self", NULL
23097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
23098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23113 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23114 PyObject
*resultobj
;
23115 wxWindow
*arg1
= (wxWindow
*) 0 ;
23117 PyObject
* obj0
= 0 ;
23118 char *kwnames
[] = {
23119 (char *) "self", NULL
23122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
23123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23138 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
;
23140 wxWindow
*arg1
= (wxWindow
*) 0 ;
23142 PyObject
* obj0
= 0 ;
23143 char *kwnames
[] = {
23144 (char *) "self", NULL
23147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
23148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23157 resultobj
= wxPyMake_wxObject(result
);
23165 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 wxWindow
*arg1
= (wxWindow
*) 0 ;
23168 wxWindow
*arg2
= (wxWindow
*) 0 ;
23170 PyObject
* obj0
= 0 ;
23171 PyObject
* obj1
= 0 ;
23172 char *kwnames
[] = {
23173 (char *) "self",(char *) "child", NULL
23176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
23183 wxPyEndAllowThreads(__tstate
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23187 resultobj
= wxPyMake_wxObject(result
);
23195 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23196 PyObject
*resultobj
;
23197 wxWindow
*arg1
= (wxWindow
*) 0 ;
23198 wxWindow
*arg2
= (wxWindow
*) 0 ;
23199 PyObject
* obj0
= 0 ;
23200 PyObject
* obj1
= 0 ;
23201 char *kwnames
[] = {
23202 (char *) "self",(char *) "win", NULL
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23210 (arg1
)->SetTmpDefaultItem(arg2
);
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 Py_INCREF(Py_None
); resultobj
= Py_None
;
23222 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
;
23224 wxWindow
*arg1
= (wxWindow
*) 0 ;
23226 PyObject
* obj0
= 0 ;
23227 char *kwnames
[] = {
23228 (char *) "self", NULL
23231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
23232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
23237 wxPyEndAllowThreads(__tstate
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23240 resultobj
= result
;
23247 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23248 PyObject
*resultobj
;
23249 wxWindow
*arg1
= (wxWindow
*) 0 ;
23251 PyObject
* obj0
= 0 ;
23252 char *kwnames
[] = {
23253 (char *) "self", NULL
23256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
23257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= wxPyMake_wxObject(result
);
23274 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
;
23276 wxWindow
*arg1
= (wxWindow
*) 0 ;
23278 PyObject
* obj0
= 0 ;
23279 char *kwnames
[] = {
23280 (char *) "self", NULL
23283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
23284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= wxPyMake_wxObject(result
);
23301 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxWindow
*arg1
= (wxWindow
*) 0 ;
23305 PyObject
* obj0
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
23311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23326 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxWindow
*arg1
= (wxWindow
*) 0 ;
23329 wxWindow
*arg2
= (wxWindow
*) 0 ;
23331 PyObject
* obj0
= 0 ;
23332 PyObject
* obj1
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self",(char *) "newParent", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
23338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23339 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 result
= (bool)(arg1
)->Reparent(arg2
);
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23354 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
;
23356 wxWindow
*arg1
= (wxWindow
*) 0 ;
23357 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_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23366 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 (arg1
)->AddChild(arg2
);
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 Py_INCREF(Py_None
); resultobj
= Py_None
;
23381 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23383 wxWindow
*arg1
= (wxWindow
*) 0 ;
23384 wxWindow
*arg2
= (wxWindow
*) 0 ;
23385 PyObject
* obj0
= 0 ;
23386 PyObject
* obj1
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "self",(char *) "child", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 (arg1
)->RemoveChild(arg2
);
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 Py_INCREF(Py_None
); resultobj
= Py_None
;
23408 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23409 PyObject
*resultobj
;
23410 wxWindow
*arg1
= (wxWindow
*) 0 ;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 char *kwnames
[] = {
23416 (char *) "self",(char *) "winid", NULL
23419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
23420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23422 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= wxPyMake_wxObject(result
);
23441 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
;
23443 wxWindow
*arg1
= (wxWindow
*) 0 ;
23444 wxString
*arg2
= 0 ;
23446 bool temp2
= False
;
23447 PyObject
* obj0
= 0 ;
23448 PyObject
* obj1
= 0 ;
23449 char *kwnames
[] = {
23450 (char *) "self",(char *) "name", NULL
23453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
23454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23456 arg2
= wxString_in_helper(obj1
);
23457 if (arg2
== NULL
) SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= wxPyMake_wxObject(result
);
23484 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
;
23486 wxWindow
*arg1
= (wxWindow
*) 0 ;
23487 wxEvtHandler
*result
;
23488 PyObject
* obj0
= 0 ;
23489 char *kwnames
[] = {
23490 (char *) "self", NULL
23493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
23494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23503 resultobj
= wxPyMake_wxObject(result
);
23511 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
;
23513 wxWindow
*arg1
= (wxWindow
*) 0 ;
23514 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23515 PyObject
* obj0
= 0 ;
23516 PyObject
* obj1
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "self",(char *) "handler", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23523 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 (arg1
)->SetEventHandler(arg2
);
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23531 Py_INCREF(Py_None
); resultobj
= Py_None
;
23538 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23539 PyObject
*resultobj
;
23540 wxWindow
*arg1
= (wxWindow
*) 0 ;
23541 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23542 PyObject
* obj0
= 0 ;
23543 PyObject
* obj1
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self",(char *) "handler", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23550 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 (arg1
)->PushEventHandler(arg2
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 Py_INCREF(Py_None
); resultobj
= Py_None
;
23565 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
;
23567 wxWindow
*arg1
= (wxWindow
*) 0 ;
23568 bool arg2
= (bool) False
;
23569 wxEvtHandler
*result
;
23570 PyObject
* obj0
= 0 ;
23571 PyObject
* obj1
= 0 ;
23572 char *kwnames
[] = {
23573 (char *) "self",(char *) "deleteHandler", NULL
23576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23580 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23586 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23592 resultobj
= wxPyMake_wxObject(result
);
23600 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23601 PyObject
*resultobj
;
23602 wxWindow
*arg1
= (wxWindow
*) 0 ;
23603 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23605 PyObject
* obj0
= 0 ;
23606 PyObject
* obj1
= 0 ;
23607 char *kwnames
[] = {
23608 (char *) "self",(char *) "handler", NULL
23611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23613 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23628 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23629 PyObject
*resultobj
;
23630 wxWindow
*arg1
= (wxWindow
*) 0 ;
23631 wxValidator
*arg2
= 0 ;
23632 PyObject
* obj0
= 0 ;
23633 PyObject
* obj1
= 0 ;
23634 char *kwnames
[] = {
23635 (char *) "self",(char *) "validator", NULL
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
23639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23640 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23641 if (arg2
== NULL
) {
23642 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23651 Py_INCREF(Py_None
); resultobj
= Py_None
;
23658 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
;
23660 wxWindow
*arg1
= (wxWindow
*) 0 ;
23661 wxValidator
*result
;
23662 PyObject
* obj0
= 0 ;
23663 char *kwnames
[] = {
23664 (char *) "self", NULL
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
23668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 result
= (wxValidator
*)(arg1
)->GetValidator();
23673 wxPyEndAllowThreads(__tstate
);
23674 if (PyErr_Occurred()) SWIG_fail
;
23677 resultobj
= wxPyMake_wxObject(result
);
23685 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23686 PyObject
*resultobj
;
23687 wxWindow
*arg1
= (wxWindow
*) 0 ;
23688 wxAcceleratorTable
*arg2
= 0 ;
23689 PyObject
* obj0
= 0 ;
23690 PyObject
* obj1
= 0 ;
23691 char *kwnames
[] = {
23692 (char *) "self",(char *) "accel", NULL
23695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
23696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23697 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23698 if (arg2
== NULL
) {
23699 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 Py_INCREF(Py_None
); resultobj
= Py_None
;
23715 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxWindow
*arg1
= (wxWindow
*) 0 ;
23718 wxAcceleratorTable
*result
;
23719 PyObject
* obj0
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
23725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23728 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
23740 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
;
23742 wxWindow
*arg1
= (wxWindow
*) 0 ;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 PyObject
* obj2
= 0 ;
23750 PyObject
* obj3
= 0 ;
23751 char *kwnames
[] = {
23752 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
23755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23758 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23762 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23766 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23783 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
;
23785 wxWindow
*arg1
= (wxWindow
*) 0 ;
23788 PyObject
* obj0
= 0 ;
23789 PyObject
* obj1
= 0 ;
23790 char *kwnames
[] = {
23791 (char *) "self",(char *) "hotkeyId", NULL
23794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
23795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23797 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23814 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
;
23816 wxWindow
*arg1
= (wxWindow
*) 0 ;
23817 wxPoint
*arg2
= 0 ;
23820 PyObject
* obj0
= 0 ;
23821 PyObject
* obj1
= 0 ;
23822 char *kwnames
[] = {
23823 (char *) "self",(char *) "pt", NULL
23826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
23827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23840 wxPoint
* resultptr
;
23841 resultptr
= new wxPoint((wxPoint
&) result
);
23842 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23850 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23851 PyObject
*resultobj
;
23852 wxWindow
*arg1
= (wxWindow
*) 0 ;
23856 PyObject
* obj0
= 0 ;
23857 PyObject
* obj1
= 0 ;
23858 char *kwnames
[] = {
23859 (char *) "self",(char *) "sz", NULL
23862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
23863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23866 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23876 wxSize
* resultptr
;
23877 resultptr
= new wxSize((wxSize
&) result
);
23878 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
23886 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
;
23888 wxWindow
*arg1
= (wxWindow
*) 0 ;
23889 wxPoint
*arg2
= 0 ;
23892 PyObject
* obj0
= 0 ;
23893 PyObject
* obj1
= 0 ;
23894 char *kwnames
[] = {
23895 (char *) "self",(char *) "pt", NULL
23898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
23899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23902 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23912 wxPoint
* resultptr
;
23913 resultptr
= new wxPoint((wxPoint
&) result
);
23914 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23922 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
;
23924 wxWindow
*arg1
= (wxWindow
*) 0 ;
23928 PyObject
* obj0
= 0 ;
23929 PyObject
* obj1
= 0 ;
23930 char *kwnames
[] = {
23931 (char *) "self",(char *) "sz", NULL
23934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
23935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23938 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23948 wxSize
* resultptr
;
23949 resultptr
= new wxSize((wxSize
&) result
);
23950 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
23958 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
;
23960 wxWindow
*arg1
= (wxWindow
*) 0 ;
23961 wxPoint
*arg2
= 0 ;
23964 PyObject
* obj0
= 0 ;
23965 PyObject
* obj1
= 0 ;
23966 char *kwnames
[] = {
23967 (char *) "self",(char *) "pt", NULL
23970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23974 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23984 wxPoint
* resultptr
;
23985 resultptr
= new wxPoint((wxPoint
&) result
);
23986 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23994 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
;
23996 wxWindow
*arg1
= (wxWindow
*) 0 ;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 char *kwnames
[] = {
24003 (char *) "self",(char *) "sz", NULL
24006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24010 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24020 wxSize
* resultptr
;
24021 resultptr
= new wxSize((wxSize
&) result
);
24022 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24030 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24031 PyObject
*resultobj
;
24032 wxWindow
*arg1
= (wxWindow
*) 0 ;
24035 PyObject
* obj0
= 0 ;
24036 PyObject
* obj1
= 0 ;
24037 PyObject
* obj2
= 0 ;
24038 char *kwnames
[] = {
24039 (char *) "self",(char *) "x",(char *) "y", NULL
24042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24045 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24049 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 (arg1
)->WarpPointer(arg2
,arg3
);
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24059 Py_INCREF(Py_None
); resultobj
= Py_None
;
24066 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
;
24068 wxWindow
*arg1
= (wxWindow
*) 0 ;
24069 PyObject
* obj0
= 0 ;
24070 char *kwnames
[] = {
24071 (char *) "self", NULL
24074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
24075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 (arg1
)->CaptureMouse();
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24083 Py_INCREF(Py_None
); resultobj
= Py_None
;
24090 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24091 PyObject
*resultobj
;
24092 wxWindow
*arg1
= (wxWindow
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 char *kwnames
[] = {
24095 (char *) "self", NULL
24098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
24099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 (arg1
)->ReleaseMouse();
24104 wxPyEndAllowThreads(__tstate
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24107 Py_INCREF(Py_None
); resultobj
= Py_None
;
24114 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24115 PyObject
*resultobj
;
24117 char *kwnames
[] = {
24121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 result
= (wxWindow
*)wxWindow::GetCapture();
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24130 resultobj
= wxPyMake_wxObject(result
);
24138 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
;
24140 wxWindow
*arg1
= (wxWindow
*) 0 ;
24142 PyObject
* obj0
= 0 ;
24143 char *kwnames
[] = {
24144 (char *) "self", NULL
24147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
24148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24163 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxWindow
*arg1
= (wxWindow
*) 0 ;
24166 bool arg2
= (bool) True
;
24167 wxRect
*arg3
= (wxRect
*) NULL
;
24168 PyObject
* obj0
= 0 ;
24169 PyObject
* obj1
= 0 ;
24170 PyObject
* obj2
= 0 ;
24171 char *kwnames
[] = {
24172 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24179 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24184 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
24190 wxPyEndAllowThreads(__tstate
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24193 Py_INCREF(Py_None
); resultobj
= Py_None
;
24200 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24201 PyObject
*resultobj
;
24202 wxWindow
*arg1
= (wxWindow
*) 0 ;
24205 PyObject
* obj0
= 0 ;
24206 PyObject
* obj1
= 0 ;
24207 char *kwnames
[] = {
24208 (char *) "self",(char *) "rect", NULL
24211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24215 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24224 Py_INCREF(Py_None
); resultobj
= Py_None
;
24231 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24232 PyObject
*resultobj
;
24233 wxWindow
*arg1
= (wxWindow
*) 0 ;
24234 PyObject
* obj0
= 0 ;
24235 char *kwnames
[] = {
24236 (char *) "self", NULL
24239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
24240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 wxPyEndAllowThreads(__tstate
);
24246 if (PyErr_Occurred()) SWIG_fail
;
24248 Py_INCREF(Py_None
); resultobj
= Py_None
;
24255 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24256 PyObject
*resultobj
;
24257 wxWindow
*arg1
= (wxWindow
*) 0 ;
24258 PyObject
* obj0
= 0 ;
24259 char *kwnames
[] = {
24260 (char *) "self", NULL
24263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
24264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 (arg1
)->ClearBackground();
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 Py_INCREF(Py_None
); resultobj
= Py_None
;
24279 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
;
24281 wxWindow
*arg1
= (wxWindow
*) 0 ;
24282 PyObject
* obj0
= 0 ;
24283 char *kwnames
[] = {
24284 (char *) "self", NULL
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
24288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 Py_INCREF(Py_None
); resultobj
= Py_None
;
24303 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
;
24305 wxWindow
*arg1
= (wxWindow
*) 0 ;
24306 PyObject
* obj0
= 0 ;
24307 char *kwnames
[] = {
24308 (char *) "self", NULL
24311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
24312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24320 Py_INCREF(Py_None
); resultobj
= Py_None
;
24327 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24328 PyObject
*resultobj
;
24329 wxWindow
*arg1
= (wxWindow
*) 0 ;
24331 PyObject
* obj0
= 0 ;
24332 PyObject
* obj1
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self",(char *) "dc", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24339 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24340 if (arg2
== NULL
) {
24341 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 (arg1
)->PrepareDC(*arg2
);
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 Py_INCREF(Py_None
); resultobj
= Py_None
;
24357 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxWindow
*arg1
= (wxWindow
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 char *kwnames
[] = {
24363 (char *) "self", NULL
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
24367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24371 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
24372 result
= (wxRegion
*) &_result_ref
;
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24378 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
24385 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24386 PyObject
*resultobj
;
24387 wxWindow
*arg1
= (wxWindow
*) 0 ;
24389 PyObject
* obj0
= 0 ;
24390 char *kwnames
[] = {
24391 (char *) "self", NULL
24394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
24395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24398 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
24400 wxPyEndAllowThreads(__tstate
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24404 wxRect
* resultptr
;
24405 resultptr
= new wxRect((wxRect
&) result
);
24406 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
24414 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24416 wxWindow
*arg1
= (wxWindow
*) 0 ;
24419 int arg4
= (int) 1 ;
24420 int arg5
= (int) 1 ;
24422 PyObject
* obj0
= 0 ;
24423 PyObject
* obj1
= 0 ;
24424 PyObject
* obj2
= 0 ;
24425 PyObject
* obj3
= 0 ;
24426 PyObject
* obj4
= 0 ;
24427 char *kwnames
[] = {
24428 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24434 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24438 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24443 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24449 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24467 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
;
24469 wxWindow
*arg1
= (wxWindow
*) 0 ;
24470 wxPoint
*arg2
= 0 ;
24473 PyObject
* obj0
= 0 ;
24474 PyObject
* obj1
= 0 ;
24475 char *kwnames
[] = {
24476 (char *) "self",(char *) "pt", NULL
24479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24483 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24499 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 wxWindow
*arg1
= (wxWindow
*) 0 ;
24505 PyObject
* obj0
= 0 ;
24506 PyObject
* obj1
= 0 ;
24507 char *kwnames
[] = {
24508 (char *) "self",(char *) "rect", NULL
24511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24515 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
24521 wxPyEndAllowThreads(__tstate
);
24522 if (PyErr_Occurred()) SWIG_fail
;
24524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24531 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24532 PyObject
*resultobj
;
24533 wxWindow
*arg1
= (wxWindow
*) 0 ;
24534 wxColour
*arg2
= 0 ;
24537 PyObject
* obj0
= 0 ;
24538 PyObject
* obj1
= 0 ;
24539 char *kwnames
[] = {
24540 (char *) "self",(char *) "colour", NULL
24543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24547 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24563 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24564 PyObject
*resultobj
;
24565 wxWindow
*arg1
= (wxWindow
*) 0 ;
24566 wxColour
*arg2
= 0 ;
24569 PyObject
* obj0
= 0 ;
24570 PyObject
* obj1
= 0 ;
24571 char *kwnames
[] = {
24572 (char *) "self",(char *) "colour", NULL
24575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24579 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24585 wxPyEndAllowThreads(__tstate
);
24586 if (PyErr_Occurred()) SWIG_fail
;
24588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24595 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24596 PyObject
*resultobj
;
24597 wxWindow
*arg1
= (wxWindow
*) 0 ;
24599 PyObject
* obj0
= 0 ;
24600 char *kwnames
[] = {
24601 (char *) "self", NULL
24604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
24605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
24610 wxPyEndAllowThreads(__tstate
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24614 wxColour
* resultptr
;
24615 resultptr
= new wxColour((wxColour
&) result
);
24616 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24624 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24625 PyObject
*resultobj
;
24626 wxWindow
*arg1
= (wxWindow
*) 0 ;
24628 PyObject
* obj0
= 0 ;
24629 char *kwnames
[] = {
24630 (char *) "self", NULL
24633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
24634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24643 wxColour
* resultptr
;
24644 resultptr
= new wxColour((wxColour
&) result
);
24645 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24653 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24654 PyObject
*resultobj
;
24655 wxWindow
*arg1
= (wxWindow
*) 0 ;
24656 wxCursor
*arg2
= 0 ;
24658 PyObject
* obj0
= 0 ;
24659 PyObject
* obj1
= 0 ;
24660 char *kwnames
[] = {
24661 (char *) "self",(char *) "cursor", NULL
24664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
24665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24666 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24667 if (arg2
== NULL
) {
24668 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24684 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
;
24686 wxWindow
*arg1
= (wxWindow
*) 0 ;
24688 PyObject
* obj0
= 0 ;
24689 char *kwnames
[] = {
24690 (char *) "self", NULL
24693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
24694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24698 wxCursor
&_result_ref
= (arg1
)->GetCursor();
24699 result
= (wxCursor
*) &_result_ref
;
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24705 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
24712 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
;
24714 wxWindow
*arg1
= (wxWindow
*) 0 ;
24717 PyObject
* obj0
= 0 ;
24718 PyObject
* obj1
= 0 ;
24719 char *kwnames
[] = {
24720 (char *) "self",(char *) "font", NULL
24723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24725 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24726 if (arg2
== NULL
) {
24727 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24743 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24744 PyObject
*resultobj
;
24745 wxWindow
*arg1
= (wxWindow
*) 0 ;
24747 PyObject
* obj0
= 0 ;
24748 char *kwnames
[] = {
24749 (char *) "self", NULL
24752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
24753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 wxFont
&_result_ref
= (arg1
)->GetFont();
24758 result
= (wxFont
*) &_result_ref
;
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24764 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
24771 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24772 PyObject
*resultobj
;
24773 wxWindow
*arg1
= (wxWindow
*) 0 ;
24774 wxCaret
*arg2
= (wxCaret
*) 0 ;
24775 PyObject
* obj0
= 0 ;
24776 PyObject
* obj1
= 0 ;
24777 char *kwnames
[] = {
24778 (char *) "self",(char *) "caret", NULL
24781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
24782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24783 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 (arg1
)->SetCaret(arg2
);
24788 wxPyEndAllowThreads(__tstate
);
24789 if (PyErr_Occurred()) SWIG_fail
;
24791 Py_INCREF(Py_None
); resultobj
= Py_None
;
24798 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24799 PyObject
*resultobj
;
24800 wxWindow
*arg1
= (wxWindow
*) 0 ;
24802 PyObject
* obj0
= 0 ;
24803 char *kwnames
[] = {
24804 (char *) "self", NULL
24807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
24808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
24823 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
;
24825 wxWindow
*arg1
= (wxWindow
*) 0 ;
24827 PyObject
* obj0
= 0 ;
24828 char *kwnames
[] = {
24829 (char *) "self", NULL
24832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
24833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24836 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
24838 wxPyEndAllowThreads(__tstate
);
24839 if (PyErr_Occurred()) SWIG_fail
;
24841 resultobj
= SWIG_PyObj_FromInt((int)result
);
24848 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
;
24850 wxWindow
*arg1
= (wxWindow
*) 0 ;
24852 PyObject
* obj0
= 0 ;
24853 char *kwnames
[] = {
24854 (char *) "self", NULL
24857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
24858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24866 resultobj
= SWIG_PyObj_FromInt((int)result
);
24873 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
;
24875 wxWindow
*arg1
= (wxWindow
*) 0 ;
24876 wxString
*arg2
= 0 ;
24877 int *arg3
= (int *) 0 ;
24878 int *arg4
= (int *) 0 ;
24879 bool temp2
= False
;
24882 PyObject
* obj0
= 0 ;
24883 PyObject
* obj1
= 0 ;
24884 char *kwnames
[] = {
24885 (char *) "self",(char *) "string", NULL
24890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
24891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24893 arg2
= wxString_in_helper(obj1
);
24894 if (arg2
== NULL
) SWIG_fail
;
24898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24899 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
24901 wxPyEndAllowThreads(__tstate
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24904 Py_INCREF(Py_None
); resultobj
= Py_None
;
24906 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24907 resultobj
= t_output_helper(resultobj
,o
);
24910 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24911 resultobj
= t_output_helper(resultobj
,o
);
24927 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
;
24929 wxWindow
*arg1
= (wxWindow
*) 0 ;
24930 wxString
*arg2
= 0 ;
24931 int *arg3
= (int *) 0 ;
24932 int *arg4
= (int *) 0 ;
24933 int *arg5
= (int *) 0 ;
24934 int *arg6
= (int *) 0 ;
24935 wxFont
*arg7
= (wxFont
*) NULL
;
24936 bool temp2
= False
;
24941 PyObject
* obj0
= 0 ;
24942 PyObject
* obj1
= 0 ;
24943 PyObject
* obj2
= 0 ;
24944 char *kwnames
[] = {
24945 (char *) "self",(char *) "string",(char *) "font", NULL
24952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24955 arg2
= wxString_in_helper(obj1
);
24956 if (arg2
== NULL
) SWIG_fail
;
24960 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 Py_INCREF(Py_None
); resultobj
= Py_None
;
24971 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24972 resultobj
= t_output_helper(resultobj
,o
);
24975 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24976 resultobj
= t_output_helper(resultobj
,o
);
24979 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
24980 resultobj
= t_output_helper(resultobj
,o
);
24983 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
24984 resultobj
= t_output_helper(resultobj
,o
);
25000 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25001 PyObject
*resultobj
;
25002 wxWindow
*arg1
= (wxWindow
*) 0 ;
25003 int *arg2
= (int *) 0 ;
25004 int *arg3
= (int *) 0 ;
25007 PyObject
* obj0
= 0 ;
25008 PyObject
* obj1
= 0 ;
25009 PyObject
* obj2
= 0 ;
25010 char *kwnames
[] = {
25011 (char *) "self",(char *) "x",(char *) "y", NULL
25014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25017 temp2
= PyInt_AsLong(obj1
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25022 temp3
= PyInt_AsLong(obj2
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25033 Py_INCREF(Py_None
); resultobj
= Py_None
;
25035 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25036 resultobj
= t_output_helper(resultobj
,o
);
25039 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25040 resultobj
= t_output_helper(resultobj
,o
);
25048 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25049 PyObject
*resultobj
;
25050 wxWindow
*arg1
= (wxWindow
*) 0 ;
25051 int *arg2
= (int *) 0 ;
25052 int *arg3
= (int *) 0 ;
25055 PyObject
* obj0
= 0 ;
25056 PyObject
* obj1
= 0 ;
25057 PyObject
* obj2
= 0 ;
25058 char *kwnames
[] = {
25059 (char *) "self",(char *) "x",(char *) "y", NULL
25062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25065 temp2
= PyInt_AsLong(obj1
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25070 temp3
= PyInt_AsLong(obj2
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
25078 wxPyEndAllowThreads(__tstate
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25081 Py_INCREF(Py_None
); resultobj
= Py_None
;
25083 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25084 resultobj
= t_output_helper(resultobj
,o
);
25087 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25088 resultobj
= t_output_helper(resultobj
,o
);
25096 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25097 PyObject
*resultobj
;
25098 wxWindow
*arg1
= (wxWindow
*) 0 ;
25099 wxPoint
*arg2
= 0 ;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 char *kwnames
[] = {
25105 (char *) "self",(char *) "pt", NULL
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25112 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
25118 wxPyEndAllowThreads(__tstate
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25122 wxPoint
* resultptr
;
25123 resultptr
= new wxPoint((wxPoint
&) result
);
25124 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
25132 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
;
25134 wxWindow
*arg1
= (wxWindow
*) 0 ;
25135 wxPoint
*arg2
= 0 ;
25138 PyObject
* obj0
= 0 ;
25139 PyObject
* obj1
= 0 ;
25140 char *kwnames
[] = {
25141 (char *) "self",(char *) "pt", NULL
25144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
25145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25148 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25158 wxPoint
* resultptr
;
25159 resultptr
= new wxPoint((wxPoint
&) result
);
25160 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
25168 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
;
25170 wxWindow
*arg1
= (wxWindow
*) 0 ;
25174 PyObject
* obj0
= 0 ;
25175 PyObject
* obj1
= 0 ;
25176 PyObject
* obj2
= 0 ;
25177 char *kwnames
[] = {
25178 (char *) "self",(char *) "x",(char *) "y", NULL
25181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25184 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25188 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= SWIG_PyObj_FromInt((int)result
);
25205 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25206 PyObject
*resultobj
;
25207 wxWindow
*arg1
= (wxWindow
*) 0 ;
25208 wxPoint
*arg2
= 0 ;
25211 PyObject
* obj0
= 0 ;
25212 PyObject
* obj1
= 0 ;
25213 char *kwnames
[] = {
25214 (char *) "self",(char *) "pt", NULL
25217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25221 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25230 resultobj
= SWIG_PyObj_FromInt((int)result
);
25237 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
;
25239 wxWindow
*arg1
= (wxWindow
*) 0 ;
25242 PyObject
* obj0
= 0 ;
25243 PyObject
* obj1
= 0 ;
25244 char *kwnames
[] = {
25245 (char *) "self",(char *) "flags", NULL
25248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetBorderFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
25249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25251 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25261 resultobj
= SWIG_PyObj_FromInt((int)result
);
25268 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25269 PyObject
*resultobj
;
25270 wxWindow
*arg1
= (wxWindow
*) 0 ;
25272 PyObject
* obj0
= 0 ;
25273 char *kwnames
[] = {
25274 (char *) "self", NULL
25277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
25278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25286 resultobj
= SWIG_PyObj_FromInt((int)result
);
25293 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25294 PyObject
*resultobj
;
25295 wxWindow
*arg1
= (wxWindow
*) 0 ;
25296 long arg2
= (long) wxUPDATE_UI_NONE
;
25297 PyObject
* obj0
= 0 ;
25298 PyObject
* obj1
= 0 ;
25299 char *kwnames
[] = {
25300 (char *) "self",(char *) "flags", NULL
25303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
25304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25307 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 (arg1
)->UpdateWindowUI(arg2
);
25315 wxPyEndAllowThreads(__tstate
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 Py_INCREF(Py_None
); resultobj
= Py_None
;
25325 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25326 PyObject
*resultobj
;
25327 wxWindow
*arg1
= (wxWindow
*) 0 ;
25328 wxMenu
*arg2
= (wxMenu
*) 0 ;
25332 PyObject
* obj0
= 0 ;
25333 PyObject
* obj1
= 0 ;
25334 PyObject
* obj2
= 0 ;
25335 PyObject
* obj3
= 0 ;
25336 char *kwnames
[] = {
25337 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
25340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25342 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25344 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25348 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25365 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
;
25367 wxWindow
*arg1
= (wxWindow
*) 0 ;
25368 wxMenu
*arg2
= (wxMenu
*) 0 ;
25369 wxPoint
*arg3
= 0 ;
25372 PyObject
* obj0
= 0 ;
25373 PyObject
* obj1
= 0 ;
25374 PyObject
* obj2
= 0 ;
25375 char *kwnames
[] = {
25376 (char *) "self",(char *) "menu",(char *) "pos", NULL
25379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25381 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25384 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
25390 wxPyEndAllowThreads(__tstate
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25400 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25401 PyObject
*resultobj
;
25402 wxWindow
*arg1
= (wxWindow
*) 0 ;
25404 PyObject
* obj0
= 0 ;
25405 char *kwnames
[] = {
25406 (char *) "self", NULL
25409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
25410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25413 result
= (long)wxWindow_GetHandle(arg1
);
25415 wxPyEndAllowThreads(__tstate
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25418 resultobj
= SWIG_PyObj_FromLong((long)result
);
25425 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25426 PyObject
*resultobj
;
25427 wxWindow
*arg1
= (wxWindow
*) 0 ;
25430 PyObject
* obj0
= 0 ;
25431 PyObject
* obj1
= 0 ;
25432 char *kwnames
[] = {
25433 (char *) "self",(char *) "orient", NULL
25436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
25437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25439 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25456 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25457 PyObject
*resultobj
;
25458 wxWindow
*arg1
= (wxWindow
*) 0 ;
25463 bool arg6
= (bool) True
;
25464 PyObject
* obj0
= 0 ;
25465 PyObject
* obj1
= 0 ;
25466 PyObject
* obj2
= 0 ;
25467 PyObject
* obj3
= 0 ;
25468 PyObject
* obj4
= 0 ;
25469 PyObject
* obj5
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25477 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25481 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25485 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25486 if (PyErr_Occurred()) SWIG_fail
;
25489 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25494 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 Py_INCREF(Py_None
); resultobj
= Py_None
;
25512 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25513 PyObject
*resultobj
;
25514 wxWindow
*arg1
= (wxWindow
*) 0 ;
25517 bool arg4
= (bool) True
;
25518 PyObject
* obj0
= 0 ;
25519 PyObject
* obj1
= 0 ;
25520 PyObject
* obj2
= 0 ;
25521 PyObject
* obj3
= 0 ;
25522 char *kwnames
[] = {
25523 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
25526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25529 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25533 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25538 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 Py_INCREF(Py_None
); resultobj
= Py_None
;
25556 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
;
25558 wxWindow
*arg1
= (wxWindow
*) 0 ;
25561 PyObject
* obj0
= 0 ;
25562 PyObject
* obj1
= 0 ;
25563 char *kwnames
[] = {
25564 (char *) "self",(char *) "orient", NULL
25567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
25568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25570 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25575 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 resultobj
= SWIG_PyObj_FromInt((int)result
);
25587 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
;
25589 wxWindow
*arg1
= (wxWindow
*) 0 ;
25592 PyObject
* obj0
= 0 ;
25593 PyObject
* obj1
= 0 ;
25594 char *kwnames
[] = {
25595 (char *) "self",(char *) "orient", NULL
25598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
25599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25601 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25602 if (PyErr_Occurred()) SWIG_fail
;
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= SWIG_PyObj_FromInt((int)result
);
25618 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25619 PyObject
*resultobj
;
25620 wxWindow
*arg1
= (wxWindow
*) 0 ;
25623 PyObject
* obj0
= 0 ;
25624 PyObject
* obj1
= 0 ;
25625 char *kwnames
[] = {
25626 (char *) "self",(char *) "orient", NULL
25629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
25630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25632 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25637 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
25639 wxPyEndAllowThreads(__tstate
);
25640 if (PyErr_Occurred()) SWIG_fail
;
25642 resultobj
= SWIG_PyObj_FromInt((int)result
);
25649 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25650 PyObject
*resultobj
;
25651 wxWindow
*arg1
= (wxWindow
*) 0 ;
25654 wxRect
*arg4
= (wxRect
*) NULL
;
25655 PyObject
* obj0
= 0 ;
25656 PyObject
* obj1
= 0 ;
25657 PyObject
* obj2
= 0 ;
25658 PyObject
* obj3
= 0 ;
25659 char *kwnames
[] = {
25660 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
25663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25666 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25670 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25674 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25678 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
25680 wxPyEndAllowThreads(__tstate
);
25681 if (PyErr_Occurred()) SWIG_fail
;
25683 Py_INCREF(Py_None
); resultobj
= Py_None
;
25690 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25691 PyObject
*resultobj
;
25692 wxWindow
*arg1
= (wxWindow
*) 0 ;
25695 PyObject
* obj0
= 0 ;
25696 PyObject
* obj1
= 0 ;
25697 char *kwnames
[] = {
25698 (char *) "self",(char *) "lines", NULL
25701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
25702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25704 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25705 if (PyErr_Occurred()) SWIG_fail
;
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 result
= (bool)(arg1
)->ScrollLines(arg2
);
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25721 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
;
25723 wxWindow
*arg1
= (wxWindow
*) 0 ;
25726 PyObject
* obj0
= 0 ;
25727 PyObject
* obj1
= 0 ;
25728 char *kwnames
[] = {
25729 (char *) "self",(char *) "pages", NULL
25732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
25733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25735 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25740 result
= (bool)(arg1
)->ScrollPages(arg2
);
25742 wxPyEndAllowThreads(__tstate
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25752 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxWindow
*arg1
= (wxWindow
*) 0 ;
25756 PyObject
* obj0
= 0 ;
25757 char *kwnames
[] = {
25758 (char *) "self", NULL
25761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
25762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25765 result
= (bool)(arg1
)->LineUp();
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25777 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25778 PyObject
*resultobj
;
25779 wxWindow
*arg1
= (wxWindow
*) 0 ;
25781 PyObject
* obj0
= 0 ;
25782 char *kwnames
[] = {
25783 (char *) "self", NULL
25786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
25787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25790 result
= (bool)(arg1
)->LineDown();
25792 wxPyEndAllowThreads(__tstate
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25802 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25803 PyObject
*resultobj
;
25804 wxWindow
*arg1
= (wxWindow
*) 0 ;
25806 PyObject
* obj0
= 0 ;
25807 char *kwnames
[] = {
25808 (char *) "self", NULL
25811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
25812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 result
= (bool)(arg1
)->PageUp();
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25827 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
;
25829 wxWindow
*arg1
= (wxWindow
*) 0 ;
25831 PyObject
* obj0
= 0 ;
25832 char *kwnames
[] = {
25833 (char *) "self", NULL
25836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
25837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 result
= (bool)(arg1
)->PageDown();
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25852 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25853 PyObject
*resultobj
;
25854 wxWindow
*arg1
= (wxWindow
*) 0 ;
25855 wxString
*arg2
= 0 ;
25856 bool temp2
= False
;
25857 PyObject
* obj0
= 0 ;
25858 PyObject
* obj1
= 0 ;
25859 char *kwnames
[] = {
25860 (char *) "self",(char *) "text", NULL
25863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
25864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25866 arg2
= wxString_in_helper(obj1
);
25867 if (arg2
== NULL
) SWIG_fail
;
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 (arg1
)->SetHelpText((wxString
const &)*arg2
);
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25877 Py_INCREF(Py_None
); resultobj
= Py_None
;
25892 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25893 PyObject
*resultobj
;
25894 wxWindow
*arg1
= (wxWindow
*) 0 ;
25895 wxString
*arg2
= 0 ;
25896 bool temp2
= False
;
25897 PyObject
* obj0
= 0 ;
25898 PyObject
* obj1
= 0 ;
25899 char *kwnames
[] = {
25900 (char *) "self",(char *) "text", NULL
25903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
25904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25906 arg2
= wxString_in_helper(obj1
);
25907 if (arg2
== NULL
) SWIG_fail
;
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25917 Py_INCREF(Py_None
); resultobj
= Py_None
;
25932 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25933 PyObject
*resultobj
;
25934 wxWindow
*arg1
= (wxWindow
*) 0 ;
25936 PyObject
* obj0
= 0 ;
25937 char *kwnames
[] = {
25938 (char *) "self", NULL
25941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
25942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25945 result
= ((wxWindow
const *)arg1
)->GetHelpText();
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25963 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25964 PyObject
*resultobj
;
25965 wxWindow
*arg1
= (wxWindow
*) 0 ;
25966 wxString
*arg2
= 0 ;
25967 bool temp2
= False
;
25968 PyObject
* obj0
= 0 ;
25969 PyObject
* obj1
= 0 ;
25970 char *kwnames
[] = {
25971 (char *) "self",(char *) "tip", NULL
25974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
25975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25977 arg2
= wxString_in_helper(obj1
);
25978 if (arg2
== NULL
) SWIG_fail
;
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25983 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 Py_INCREF(Py_None
); resultobj
= Py_None
;
26003 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
;
26005 wxWindow
*arg1
= (wxWindow
*) 0 ;
26006 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
26007 PyObject
* obj0
= 0 ;
26008 PyObject
* obj1
= 0 ;
26009 char *kwnames
[] = {
26010 (char *) "self",(char *) "tip", NULL
26013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
26014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26015 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26018 (arg1
)->SetToolTip(arg2
);
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26023 Py_INCREF(Py_None
); resultobj
= Py_None
;
26030 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26031 PyObject
*resultobj
;
26032 wxWindow
*arg1
= (wxWindow
*) 0 ;
26034 PyObject
* obj0
= 0 ;
26035 char *kwnames
[] = {
26036 (char *) "self", NULL
26039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
26040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26043 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
26045 wxPyEndAllowThreads(__tstate
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26049 resultobj
= wxPyMake_wxObject(result
);
26057 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
;
26059 wxWindow
*arg1
= (wxWindow
*) 0 ;
26060 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
26061 PyObject
* obj0
= 0 ;
26062 PyObject
* obj1
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self",(char *) "dropTarget", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
26068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26069 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 (arg1
)->SetDropTarget(arg2
);
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 Py_INCREF(Py_None
); resultobj
= Py_None
;
26084 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
;
26086 wxWindow
*arg1
= (wxWindow
*) 0 ;
26087 wxPyDropTarget
*result
;
26088 PyObject
* obj0
= 0 ;
26089 char *kwnames
[] = {
26090 (char *) "self", NULL
26093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
26094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26097 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 0);
26109 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
;
26111 wxWindow
*arg1
= (wxWindow
*) 0 ;
26112 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
26113 PyObject
* obj0
= 0 ;
26114 PyObject
* obj1
= 0 ;
26115 char *kwnames
[] = {
26116 (char *) "self",(char *) "constraints", NULL
26119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
26120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26121 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 (arg1
)->SetConstraints(arg2
);
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 Py_INCREF(Py_None
); resultobj
= Py_None
;
26136 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
;
26138 wxWindow
*arg1
= (wxWindow
*) 0 ;
26139 wxLayoutConstraints
*result
;
26140 PyObject
* obj0
= 0 ;
26141 char *kwnames
[] = {
26142 (char *) "self", NULL
26145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
26146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26154 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
26161 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26162 PyObject
*resultobj
;
26163 wxWindow
*arg1
= (wxWindow
*) 0 ;
26165 PyObject
* obj0
= 0 ;
26166 PyObject
* obj1
= 0 ;
26167 char *kwnames
[] = {
26168 (char *) "self",(char *) "autoLayout", NULL
26171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
26172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26174 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 (arg1
)->SetAutoLayout(arg2
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 Py_INCREF(Py_None
); resultobj
= Py_None
;
26191 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26192 PyObject
*resultobj
;
26193 wxWindow
*arg1
= (wxWindow
*) 0 ;
26195 PyObject
* obj0
= 0 ;
26196 char *kwnames
[] = {
26197 (char *) "self", NULL
26200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
26201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26216 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxWindow
*arg1
= (wxWindow
*) 0 ;
26220 PyObject
* obj0
= 0 ;
26221 char *kwnames
[] = {
26222 (char *) "self", NULL
26225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
26226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26229 result
= (bool)(arg1
)->Layout();
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26241 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
;
26243 wxWindow
*arg1
= (wxWindow
*) 0 ;
26244 wxSizer
*arg2
= (wxSizer
*) 0 ;
26245 bool arg3
= (bool) True
;
26246 PyObject
* obj0
= 0 ;
26247 PyObject
* obj1
= 0 ;
26248 PyObject
* obj2
= 0 ;
26249 char *kwnames
[] = {
26250 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26258 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26264 (arg1
)->SetSizer(arg2
,arg3
);
26266 wxPyEndAllowThreads(__tstate
);
26267 if (PyErr_Occurred()) SWIG_fail
;
26269 Py_INCREF(Py_None
); resultobj
= Py_None
;
26276 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26277 PyObject
*resultobj
;
26278 wxWindow
*arg1
= (wxWindow
*) 0 ;
26279 wxSizer
*arg2
= (wxSizer
*) 0 ;
26280 bool arg3
= (bool) True
;
26281 PyObject
* obj0
= 0 ;
26282 PyObject
* obj1
= 0 ;
26283 PyObject
* obj2
= 0 ;
26284 char *kwnames
[] = {
26285 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26290 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26293 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26299 (arg1
)->SetSizerAndFit(arg2
,arg3
);
26301 wxPyEndAllowThreads(__tstate
);
26302 if (PyErr_Occurred()) SWIG_fail
;
26304 Py_INCREF(Py_None
); resultobj
= Py_None
;
26311 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26312 PyObject
*resultobj
;
26313 wxWindow
*arg1
= (wxWindow
*) 0 ;
26315 PyObject
* obj0
= 0 ;
26316 char *kwnames
[] = {
26317 (char *) "self", NULL
26320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
26321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26330 resultobj
= wxPyMake_wxSizer(result
);
26338 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
;
26340 wxWindow
*arg1
= (wxWindow
*) 0 ;
26341 wxSizer
*arg2
= (wxSizer
*) 0 ;
26342 PyObject
* obj0
= 0 ;
26343 PyObject
* obj1
= 0 ;
26344 char *kwnames
[] = {
26345 (char *) "self",(char *) "sizer", NULL
26348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
26349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26350 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 (arg1
)->SetContainingSizer(arg2
);
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26358 Py_INCREF(Py_None
); resultobj
= Py_None
;
26365 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26366 PyObject
*resultobj
;
26367 wxWindow
*arg1
= (wxWindow
*) 0 ;
26369 PyObject
* obj0
= 0 ;
26370 char *kwnames
[] = {
26371 (char *) "self", NULL
26374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
26375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26384 resultobj
= wxPyMake_wxSizer(result
);
26392 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
26394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26395 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
26397 return Py_BuildValue((char *)"");
26399 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26400 PyObject
*resultobj
;
26402 wxWindow
*arg2
= (wxWindow
*) NULL
;
26404 PyObject
* obj0
= 0 ;
26405 PyObject
* obj1
= 0 ;
26406 char *kwnames
[] = {
26407 (char *) "id",(char *) "parent", NULL
26410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
26412 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26416 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26420 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
26422 wxPyEndAllowThreads(__tstate
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26426 resultobj
= wxPyMake_wxObject(result
);
26434 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26435 PyObject
*resultobj
;
26436 wxString
*arg1
= 0 ;
26437 wxWindow
*arg2
= (wxWindow
*) NULL
;
26439 bool temp1
= False
;
26440 PyObject
* obj0
= 0 ;
26441 PyObject
* obj1
= 0 ;
26442 char *kwnames
[] = {
26443 (char *) "name",(char *) "parent", NULL
26446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
26448 arg1
= wxString_in_helper(obj0
);
26449 if (arg1
== NULL
) SWIG_fail
;
26453 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26457 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26459 wxPyEndAllowThreads(__tstate
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26463 resultobj
= wxPyMake_wxObject(result
);
26479 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
;
26481 wxString
*arg1
= 0 ;
26482 wxWindow
*arg2
= (wxWindow
*) NULL
;
26484 bool temp1
= False
;
26485 PyObject
* obj0
= 0 ;
26486 PyObject
* obj1
= 0 ;
26487 char *kwnames
[] = {
26488 (char *) "label",(char *) "parent", NULL
26491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26493 arg1
= wxString_in_helper(obj0
);
26494 if (arg1
== NULL
) SWIG_fail
;
26498 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26502 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26504 wxPyEndAllowThreads(__tstate
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26508 resultobj
= wxPyMake_wxObject(result
);
26524 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26525 PyObject
*resultobj
;
26526 unsigned long arg1
;
26528 PyObject
* obj0
= 0 ;
26529 char *kwnames
[] = {
26530 (char *) "hWnd", NULL
26533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
26535 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26540 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26546 resultobj
= wxPyMake_wxObject(result
);
26554 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26555 PyObject
*resultobj
;
26556 wxValidator
*result
;
26557 char *kwnames
[] = {
26561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
26563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26564 result
= (wxValidator
*)new wxValidator();
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26570 resultobj
= wxPyMake_wxObject(result
);
26578 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
;
26580 wxValidator
*arg1
= (wxValidator
*) 0 ;
26581 wxValidator
*result
;
26582 PyObject
* obj0
= 0 ;
26583 char *kwnames
[] = {
26584 (char *) "self", NULL
26587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
26588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 result
= (wxValidator
*)(arg1
)->Clone();
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26597 resultobj
= wxPyMake_wxObject(result
);
26605 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26606 PyObject
*resultobj
;
26607 wxValidator
*arg1
= (wxValidator
*) 0 ;
26608 wxWindow
*arg2
= (wxWindow
*) 0 ;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 char *kwnames
[] = {
26613 (char *) "self",(char *) "parent", NULL
26616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
26617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26621 result
= (bool)(arg1
)->Validate(arg2
);
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26633 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
;
26635 wxValidator
*arg1
= (wxValidator
*) 0 ;
26637 PyObject
* obj0
= 0 ;
26638 char *kwnames
[] = {
26639 (char *) "self", NULL
26642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
26643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 result
= (bool)(arg1
)->TransferToWindow();
26648 wxPyEndAllowThreads(__tstate
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26658 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26659 PyObject
*resultobj
;
26660 wxValidator
*arg1
= (wxValidator
*) 0 ;
26662 PyObject
* obj0
= 0 ;
26663 char *kwnames
[] = {
26664 (char *) "self", NULL
26667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
26668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 result
= (bool)(arg1
)->TransferFromWindow();
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26683 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
;
26685 wxValidator
*arg1
= (wxValidator
*) 0 ;
26687 PyObject
* obj0
= 0 ;
26688 char *kwnames
[] = {
26689 (char *) "self", NULL
26692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
26693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26696 result
= (wxWindow
*)(arg1
)->GetWindow();
26698 wxPyEndAllowThreads(__tstate
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26702 resultobj
= wxPyMake_wxObject(result
);
26710 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26711 PyObject
*resultobj
;
26712 wxValidator
*arg1
= (wxValidator
*) 0 ;
26713 wxWindow
*arg2
= (wxWindow
*) 0 ;
26714 PyObject
* obj0
= 0 ;
26715 PyObject
* obj1
= 0 ;
26716 char *kwnames
[] = {
26717 (char *) "self",(char *) "window", NULL
26720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
26721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 (arg1
)->SetWindow(arg2
);
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26730 Py_INCREF(Py_None
); resultobj
= Py_None
;
26737 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
;
26740 char *kwnames
[] = {
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
26746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26747 result
= (bool)wxValidator::IsSilent();
26749 wxPyEndAllowThreads(__tstate
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26759 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26760 PyObject
*resultobj
;
26761 int arg1
= (int) True
;
26762 PyObject
* obj0
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "doIt", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
26770 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 wxValidator::SetBellOnError(arg1
);
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26781 Py_INCREF(Py_None
); resultobj
= Py_None
;
26788 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
26790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26791 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
26793 return Py_BuildValue((char *)"");
26795 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
;
26797 wxPyValidator
*result
;
26798 char *kwnames
[] = {
26802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26805 result
= (wxPyValidator
*)new wxPyValidator();
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
26817 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
;
26819 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
26820 PyObject
*arg2
= (PyObject
*) 0 ;
26821 PyObject
*arg3
= (PyObject
*) 0 ;
26822 int arg4
= (int) True
;
26823 PyObject
* obj0
= 0 ;
26824 PyObject
* obj1
= 0 ;
26825 PyObject
* obj2
= 0 ;
26826 PyObject
* obj3
= 0 ;
26827 char *kwnames
[] = {
26828 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26837 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26843 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26848 Py_INCREF(Py_None
); resultobj
= Py_None
;
26855 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
26857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26858 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
26860 return Py_BuildValue((char *)"");
26862 static int _wrap_DefaultValidator_set(PyObject
*) {
26863 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
26868 static PyObject
*_wrap_DefaultValidator_get() {
26871 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
26876 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26877 PyObject
*resultobj
;
26878 wxString
const &arg1_defvalue
= wxPyEmptyString
;
26879 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
26880 long arg2
= (long) 0 ;
26882 bool temp1
= False
;
26883 PyObject
* obj0
= 0 ;
26884 PyObject
* obj1
= 0 ;
26885 char *kwnames
[] = {
26886 (char *) "title",(char *) "style", NULL
26889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
26892 arg1
= wxString_in_helper(obj0
);
26893 if (arg1
== NULL
) SWIG_fail
;
26899 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26905 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
26907 wxPyEndAllowThreads(__tstate
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26911 resultobj
= wxPyMake_wxObject(result
);
26927 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26928 PyObject
*resultobj
;
26929 wxMenu
*arg1
= (wxMenu
*) 0 ;
26931 wxString
*arg3
= 0 ;
26932 wxString
const &arg4_defvalue
= wxPyEmptyString
;
26933 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26934 int arg5
= (int) wxITEM_NORMAL
;
26935 wxMenuItem
*result
;
26936 bool temp3
= False
;
26937 bool temp4
= False
;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 PyObject
* obj2
= 0 ;
26941 PyObject
* obj3
= 0 ;
26942 PyObject
* obj4
= 0 ;
26943 char *kwnames
[] = {
26944 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
26947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26950 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26954 arg3
= wxString_in_helper(obj2
);
26955 if (arg3
== NULL
) SWIG_fail
;
26960 arg4
= wxString_in_helper(obj3
);
26961 if (arg4
== NULL
) SWIG_fail
;
26967 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26973 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26979 resultobj
= wxPyMake_wxObject(result
);
27003 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27004 PyObject
*resultobj
;
27005 wxMenu
*arg1
= (wxMenu
*) 0 ;
27006 wxMenuItem
*result
;
27007 PyObject
* obj0
= 0 ;
27008 char *kwnames
[] = {
27009 (char *) "self", NULL
27012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
27013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27016 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
27018 wxPyEndAllowThreads(__tstate
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27022 resultobj
= wxPyMake_wxObject(result
);
27030 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27031 PyObject
*resultobj
;
27032 wxMenu
*arg1
= (wxMenu
*) 0 ;
27034 wxString
*arg3
= 0 ;
27035 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27036 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27037 wxMenuItem
*result
;
27038 bool temp3
= False
;
27039 bool temp4
= False
;
27040 PyObject
* obj0
= 0 ;
27041 PyObject
* obj1
= 0 ;
27042 PyObject
* obj2
= 0 ;
27043 PyObject
* obj3
= 0 ;
27044 char *kwnames
[] = {
27045 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27051 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27055 arg3
= wxString_in_helper(obj2
);
27056 if (arg3
== NULL
) SWIG_fail
;
27061 arg4
= wxString_in_helper(obj3
);
27062 if (arg4
== NULL
) SWIG_fail
;
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27074 resultobj
= wxPyMake_wxObject(result
);
27098 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27099 PyObject
*resultobj
;
27100 wxMenu
*arg1
= (wxMenu
*) 0 ;
27102 wxString
*arg3
= 0 ;
27103 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27104 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27105 wxMenuItem
*result
;
27106 bool temp3
= False
;
27107 bool temp4
= False
;
27108 PyObject
* obj0
= 0 ;
27109 PyObject
* obj1
= 0 ;
27110 PyObject
* obj2
= 0 ;
27111 PyObject
* obj3
= 0 ;
27112 char *kwnames
[] = {
27113 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27119 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27123 arg3
= wxString_in_helper(obj2
);
27124 if (arg3
== NULL
) SWIG_fail
;
27129 arg4
= wxString_in_helper(obj3
);
27130 if (arg4
== NULL
) SWIG_fail
;
27135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27136 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27138 wxPyEndAllowThreads(__tstate
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27142 resultobj
= wxPyMake_wxObject(result
);
27166 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27167 PyObject
*resultobj
;
27168 wxMenu
*arg1
= (wxMenu
*) 0 ;
27170 wxString
*arg3
= 0 ;
27171 wxMenu
*arg4
= (wxMenu
*) 0 ;
27172 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27173 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27174 wxMenuItem
*result
;
27175 bool temp3
= False
;
27176 bool temp5
= False
;
27177 PyObject
* obj0
= 0 ;
27178 PyObject
* obj1
= 0 ;
27179 PyObject
* obj2
= 0 ;
27180 PyObject
* obj3
= 0 ;
27181 PyObject
* obj4
= 0 ;
27182 char *kwnames
[] = {
27183 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27189 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27193 arg3
= wxString_in_helper(obj2
);
27194 if (arg3
== NULL
) SWIG_fail
;
27197 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27200 arg5
= wxString_in_helper(obj4
);
27201 if (arg5
== NULL
) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27213 resultobj
= wxPyMake_wxObject(result
);
27237 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27238 PyObject
*resultobj
;
27239 wxMenu
*arg1
= (wxMenu
*) 0 ;
27240 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27241 wxMenuItem
*result
;
27242 PyObject
* obj0
= 0 ;
27243 PyObject
* obj1
= 0 ;
27244 char *kwnames
[] = {
27245 (char *) "self",(char *) "item", NULL
27248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27250 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
27255 wxPyEndAllowThreads(__tstate
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27259 resultobj
= wxPyMake_wxObject(result
);
27267 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27268 PyObject
*resultobj
;
27269 wxMenu
*arg1
= (wxMenu
*) 0 ;
27270 PyObject
* obj0
= 0 ;
27271 char *kwnames
[] = {
27272 (char *) "self", NULL
27275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
27276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27284 Py_INCREF(Py_None
); resultobj
= Py_None
;
27291 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27292 PyObject
*resultobj
;
27293 wxMenu
*arg1
= (wxMenu
*) 0 ;
27295 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
27296 wxMenuItem
*result
;
27297 PyObject
* obj0
= 0 ;
27298 PyObject
* obj1
= 0 ;
27299 PyObject
* obj2
= 0 ;
27300 char *kwnames
[] = {
27301 (char *) "self",(char *) "pos",(char *) "item", NULL
27304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27307 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27313 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
27315 wxPyEndAllowThreads(__tstate
);
27316 if (PyErr_Occurred()) SWIG_fail
;
27319 resultobj
= wxPyMake_wxObject(result
);
27327 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27328 PyObject
*resultobj
;
27329 wxMenu
*arg1
= (wxMenu
*) 0 ;
27332 wxString
*arg4
= 0 ;
27333 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27334 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27335 int arg6
= (int) wxITEM_NORMAL
;
27336 wxMenuItem
*result
;
27337 bool temp4
= False
;
27338 bool temp5
= False
;
27339 PyObject
* obj0
= 0 ;
27340 PyObject
* obj1
= 0 ;
27341 PyObject
* obj2
= 0 ;
27342 PyObject
* obj3
= 0 ;
27343 PyObject
* obj4
= 0 ;
27344 PyObject
* obj5
= 0 ;
27345 char *kwnames
[] = {
27346 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27352 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27356 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27360 arg4
= wxString_in_helper(obj3
);
27361 if (arg4
== NULL
) SWIG_fail
;
27366 arg5
= wxString_in_helper(obj4
);
27367 if (arg5
== NULL
) SWIG_fail
;
27373 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27379 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27385 resultobj
= wxPyMake_wxObject(result
);
27409 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27410 PyObject
*resultobj
;
27411 wxMenu
*arg1
= (wxMenu
*) 0 ;
27413 wxMenuItem
*result
;
27414 PyObject
* obj0
= 0 ;
27415 PyObject
* obj1
= 0 ;
27416 char *kwnames
[] = {
27417 (char *) "self",(char *) "pos", NULL
27420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
27421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27423 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27424 if (PyErr_Occurred()) SWIG_fail
;
27427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27428 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27434 resultobj
= wxPyMake_wxObject(result
);
27442 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27443 PyObject
*resultobj
;
27444 wxMenu
*arg1
= (wxMenu
*) 0 ;
27447 wxString
*arg4
= 0 ;
27448 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27449 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27450 wxMenuItem
*result
;
27451 bool temp4
= False
;
27452 bool temp5
= False
;
27453 PyObject
* obj0
= 0 ;
27454 PyObject
* obj1
= 0 ;
27455 PyObject
* obj2
= 0 ;
27456 PyObject
* obj3
= 0 ;
27457 PyObject
* obj4
= 0 ;
27458 char *kwnames
[] = {
27459 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27465 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27469 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27473 arg4
= wxString_in_helper(obj3
);
27474 if (arg4
== NULL
) SWIG_fail
;
27479 arg5
= wxString_in_helper(obj4
);
27480 if (arg5
== NULL
) SWIG_fail
;
27485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27486 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27488 wxPyEndAllowThreads(__tstate
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27492 resultobj
= wxPyMake_wxObject(result
);
27516 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
;
27518 wxMenu
*arg1
= (wxMenu
*) 0 ;
27521 wxString
*arg4
= 0 ;
27522 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27523 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27524 wxMenuItem
*result
;
27525 bool temp4
= False
;
27526 bool temp5
= False
;
27527 PyObject
* obj0
= 0 ;
27528 PyObject
* obj1
= 0 ;
27529 PyObject
* obj2
= 0 ;
27530 PyObject
* obj3
= 0 ;
27531 PyObject
* obj4
= 0 ;
27532 char *kwnames
[] = {
27533 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27539 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27543 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27544 if (PyErr_Occurred()) SWIG_fail
;
27547 arg4
= wxString_in_helper(obj3
);
27548 if (arg4
== NULL
) SWIG_fail
;
27553 arg5
= wxString_in_helper(obj4
);
27554 if (arg5
== NULL
) SWIG_fail
;
27559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27560 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27562 wxPyEndAllowThreads(__tstate
);
27563 if (PyErr_Occurred()) SWIG_fail
;
27566 resultobj
= wxPyMake_wxObject(result
);
27590 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27591 PyObject
*resultobj
;
27592 wxMenu
*arg1
= (wxMenu
*) 0 ;
27595 wxString
*arg4
= 0 ;
27596 wxMenu
*arg5
= (wxMenu
*) 0 ;
27597 wxString
const &arg6_defvalue
= wxPyEmptyString
;
27598 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
27599 wxMenuItem
*result
;
27600 bool temp4
= False
;
27601 bool temp6
= False
;
27602 PyObject
* obj0
= 0 ;
27603 PyObject
* obj1
= 0 ;
27604 PyObject
* obj2
= 0 ;
27605 PyObject
* obj3
= 0 ;
27606 PyObject
* obj4
= 0 ;
27607 PyObject
* obj5
= 0 ;
27608 char *kwnames
[] = {
27609 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27615 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27616 if (PyErr_Occurred()) SWIG_fail
;
27619 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27623 arg4
= wxString_in_helper(obj3
);
27624 if (arg4
== NULL
) SWIG_fail
;
27627 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27630 arg6
= wxString_in_helper(obj5
);
27631 if (arg6
== NULL
) SWIG_fail
;
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27643 resultobj
= wxPyMake_wxObject(result
);
27667 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27668 PyObject
*resultobj
;
27669 wxMenu
*arg1
= (wxMenu
*) 0 ;
27670 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27671 wxMenuItem
*result
;
27672 PyObject
* obj0
= 0 ;
27673 PyObject
* obj1
= 0 ;
27674 char *kwnames
[] = {
27675 (char *) "self",(char *) "item", NULL
27678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27683 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
27685 wxPyEndAllowThreads(__tstate
);
27686 if (PyErr_Occurred()) SWIG_fail
;
27689 resultobj
= wxPyMake_wxObject(result
);
27697 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
;
27699 wxMenu
*arg1
= (wxMenu
*) 0 ;
27701 wxString
*arg3
= 0 ;
27702 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27703 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27704 int arg5
= (int) wxITEM_NORMAL
;
27705 wxMenuItem
*result
;
27706 bool temp3
= False
;
27707 bool temp4
= False
;
27708 PyObject
* obj0
= 0 ;
27709 PyObject
* obj1
= 0 ;
27710 PyObject
* obj2
= 0 ;
27711 PyObject
* obj3
= 0 ;
27712 PyObject
* obj4
= 0 ;
27713 char *kwnames
[] = {
27714 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27720 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27724 arg3
= wxString_in_helper(obj2
);
27725 if (arg3
== NULL
) SWIG_fail
;
27730 arg4
= wxString_in_helper(obj3
);
27731 if (arg4
== NULL
) SWIG_fail
;
27737 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27743 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27745 wxPyEndAllowThreads(__tstate
);
27746 if (PyErr_Occurred()) SWIG_fail
;
27749 resultobj
= wxPyMake_wxObject(result
);
27773 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27774 PyObject
*resultobj
;
27775 wxMenu
*arg1
= (wxMenu
*) 0 ;
27776 wxMenuItem
*result
;
27777 PyObject
* obj0
= 0 ;
27778 char *kwnames
[] = {
27779 (char *) "self", NULL
27782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
27783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27786 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
27788 wxPyEndAllowThreads(__tstate
);
27789 if (PyErr_Occurred()) SWIG_fail
;
27792 resultobj
= wxPyMake_wxObject(result
);
27800 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
;
27802 wxMenu
*arg1
= (wxMenu
*) 0 ;
27804 wxString
*arg3
= 0 ;
27805 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27806 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27807 wxMenuItem
*result
;
27808 bool temp3
= False
;
27809 bool temp4
= False
;
27810 PyObject
* obj0
= 0 ;
27811 PyObject
* obj1
= 0 ;
27812 PyObject
* obj2
= 0 ;
27813 PyObject
* obj3
= 0 ;
27814 char *kwnames
[] = {
27815 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27821 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27825 arg3
= wxString_in_helper(obj2
);
27826 if (arg3
== NULL
) SWIG_fail
;
27831 arg4
= wxString_in_helper(obj3
);
27832 if (arg4
== NULL
) SWIG_fail
;
27837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27838 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27840 wxPyEndAllowThreads(__tstate
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27844 resultobj
= wxPyMake_wxObject(result
);
27868 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
;
27870 wxMenu
*arg1
= (wxMenu
*) 0 ;
27872 wxString
*arg3
= 0 ;
27873 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27874 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27875 wxMenuItem
*result
;
27876 bool temp3
= False
;
27877 bool temp4
= False
;
27878 PyObject
* obj0
= 0 ;
27879 PyObject
* obj1
= 0 ;
27880 PyObject
* obj2
= 0 ;
27881 PyObject
* obj3
= 0 ;
27882 char *kwnames
[] = {
27883 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27889 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27893 arg3
= wxString_in_helper(obj2
);
27894 if (arg3
== NULL
) SWIG_fail
;
27899 arg4
= wxString_in_helper(obj3
);
27900 if (arg4
== NULL
) SWIG_fail
;
27905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27906 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27912 resultobj
= wxPyMake_wxObject(result
);
27936 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27937 PyObject
*resultobj
;
27938 wxMenu
*arg1
= (wxMenu
*) 0 ;
27940 wxString
*arg3
= 0 ;
27941 wxMenu
*arg4
= (wxMenu
*) 0 ;
27942 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27943 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27944 wxMenuItem
*result
;
27945 bool temp3
= False
;
27946 bool temp5
= False
;
27947 PyObject
* obj0
= 0 ;
27948 PyObject
* obj1
= 0 ;
27949 PyObject
* obj2
= 0 ;
27950 PyObject
* obj3
= 0 ;
27951 PyObject
* obj4
= 0 ;
27952 char *kwnames
[] = {
27953 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27959 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27960 if (PyErr_Occurred()) SWIG_fail
;
27963 arg3
= wxString_in_helper(obj2
);
27964 if (arg3
== NULL
) SWIG_fail
;
27967 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27970 arg5
= wxString_in_helper(obj4
);
27971 if (arg5
== NULL
) SWIG_fail
;
27976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27977 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27979 wxPyEndAllowThreads(__tstate
);
27980 if (PyErr_Occurred()) SWIG_fail
;
27983 resultobj
= wxPyMake_wxObject(result
);
28007 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28008 PyObject
*resultobj
;
28009 wxMenu
*arg1
= (wxMenu
*) 0 ;
28011 wxMenuItem
*result
;
28012 PyObject
* obj0
= 0 ;
28013 PyObject
* obj1
= 0 ;
28014 char *kwnames
[] = {
28015 (char *) "self",(char *) "id", NULL
28018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
28019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28021 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28026 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28028 wxPyEndAllowThreads(__tstate
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28032 resultobj
= wxPyMake_wxObject(result
);
28040 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28041 PyObject
*resultobj
;
28042 wxMenu
*arg1
= (wxMenu
*) 0 ;
28043 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28044 wxMenuItem
*result
;
28045 PyObject
* obj0
= 0 ;
28046 PyObject
* obj1
= 0 ;
28047 char *kwnames
[] = {
28048 (char *) "self",(char *) "item", NULL
28051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28053 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28056 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28058 wxPyEndAllowThreads(__tstate
);
28059 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= wxPyMake_wxObject(result
);
28070 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
;
28072 wxMenu
*arg1
= (wxMenu
*) 0 ;
28075 PyObject
* obj0
= 0 ;
28076 PyObject
* obj1
= 0 ;
28077 char *kwnames
[] = {
28078 (char *) "self",(char *) "id", NULL
28081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
28082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28084 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28089 result
= (bool)(arg1
)->Delete(arg2
);
28091 wxPyEndAllowThreads(__tstate
);
28092 if (PyErr_Occurred()) SWIG_fail
;
28094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28101 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28102 PyObject
*resultobj
;
28103 wxMenu
*arg1
= (wxMenu
*) 0 ;
28104 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28106 PyObject
* obj0
= 0 ;
28107 PyObject
* obj1
= 0 ;
28108 char *kwnames
[] = {
28109 (char *) "self",(char *) "item", NULL
28112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28117 result
= (bool)(arg1
)->Delete(arg2
);
28119 wxPyEndAllowThreads(__tstate
);
28120 if (PyErr_Occurred()) SWIG_fail
;
28122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28129 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28130 PyObject
*resultobj
;
28131 wxMenu
*arg1
= (wxMenu
*) 0 ;
28132 PyObject
* obj0
= 0 ;
28133 char *kwnames
[] = {
28134 (char *) "self", NULL
28137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
28138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28141 wxMenu_Destroy(arg1
);
28143 wxPyEndAllowThreads(__tstate
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28146 Py_INCREF(Py_None
); resultobj
= Py_None
;
28153 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
;
28155 wxMenu
*arg1
= (wxMenu
*) 0 ;
28158 PyObject
* obj0
= 0 ;
28159 PyObject
* obj1
= 0 ;
28160 char *kwnames
[] = {
28161 (char *) "self",(char *) "id", NULL
28164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
28165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28167 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28172 result
= (bool)(arg1
)->Destroy(arg2
);
28174 wxPyEndAllowThreads(__tstate
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28184 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28185 PyObject
*resultobj
;
28186 wxMenu
*arg1
= (wxMenu
*) 0 ;
28187 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28189 PyObject
* obj0
= 0 ;
28190 PyObject
* obj1
= 0 ;
28191 char *kwnames
[] = {
28192 (char *) "self",(char *) "item", NULL
28195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28197 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28200 result
= (bool)(arg1
)->Destroy(arg2
);
28202 wxPyEndAllowThreads(__tstate
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28212 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28213 PyObject
*resultobj
;
28214 wxMenu
*arg1
= (wxMenu
*) 0 ;
28216 PyObject
* obj0
= 0 ;
28217 char *kwnames
[] = {
28218 (char *) "self", NULL
28221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
28222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28225 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
28227 wxPyEndAllowThreads(__tstate
);
28228 if (PyErr_Occurred()) SWIG_fail
;
28230 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
28237 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28238 PyObject
*resultobj
;
28239 wxMenu
*arg1
= (wxMenu
*) 0 ;
28241 PyObject
* obj0
= 0 ;
28242 char *kwnames
[] = {
28243 (char *) "self", NULL
28246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
28247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28250 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
28252 wxPyEndAllowThreads(__tstate
);
28253 if (PyErr_Occurred()) SWIG_fail
;
28255 resultobj
= result
;
28262 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
;
28264 wxMenu
*arg1
= (wxMenu
*) 0 ;
28265 wxString
*arg2
= 0 ;
28267 bool temp2
= False
;
28268 PyObject
* obj0
= 0 ;
28269 PyObject
* obj1
= 0 ;
28270 char *kwnames
[] = {
28271 (char *) "self",(char *) "item", NULL
28274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28277 arg2
= wxString_in_helper(obj1
);
28278 if (arg2
== NULL
) SWIG_fail
;
28282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28283 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
28285 wxPyEndAllowThreads(__tstate
);
28286 if (PyErr_Occurred()) SWIG_fail
;
28288 resultobj
= SWIG_PyObj_FromInt((int)result
);
28303 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28304 PyObject
*resultobj
;
28305 wxMenu
*arg1
= (wxMenu
*) 0 ;
28307 wxMenuItem
*result
;
28308 PyObject
* obj0
= 0 ;
28309 PyObject
* obj1
= 0 ;
28310 char *kwnames
[] = {
28311 (char *) "self",(char *) "id", NULL
28314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
28315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28317 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28318 if (PyErr_Occurred()) SWIG_fail
;
28321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28322 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
28324 wxPyEndAllowThreads(__tstate
);
28325 if (PyErr_Occurred()) SWIG_fail
;
28328 resultobj
= wxPyMake_wxObject(result
);
28336 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28337 PyObject
*resultobj
;
28338 wxMenu
*arg1
= (wxMenu
*) 0 ;
28340 wxMenuItem
*result
;
28341 PyObject
* obj0
= 0 ;
28342 PyObject
* obj1
= 0 ;
28343 char *kwnames
[] = {
28344 (char *) "self",(char *) "position", NULL
28347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28350 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
28351 if (PyErr_Occurred()) SWIG_fail
;
28354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28355 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
28357 wxPyEndAllowThreads(__tstate
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28361 resultobj
= wxPyMake_wxObject(result
);
28369 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28370 PyObject
*resultobj
;
28371 wxMenu
*arg1
= (wxMenu
*) 0 ;
28374 PyObject
* obj0
= 0 ;
28375 PyObject
* obj1
= 0 ;
28376 PyObject
* obj2
= 0 ;
28377 char *kwnames
[] = {
28378 (char *) "self",(char *) "id",(char *) "enable", NULL
28381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28384 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28388 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28393 (arg1
)->Enable(arg2
,arg3
);
28395 wxPyEndAllowThreads(__tstate
);
28396 if (PyErr_Occurred()) SWIG_fail
;
28398 Py_INCREF(Py_None
); resultobj
= Py_None
;
28405 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
;
28407 wxMenu
*arg1
= (wxMenu
*) 0 ;
28410 PyObject
* obj0
= 0 ;
28411 PyObject
* obj1
= 0 ;
28412 char *kwnames
[] = {
28413 (char *) "self",(char *) "id", NULL
28416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
28417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28419 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28436 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28437 PyObject
*resultobj
;
28438 wxMenu
*arg1
= (wxMenu
*) 0 ;
28441 PyObject
* obj0
= 0 ;
28442 PyObject
* obj1
= 0 ;
28443 PyObject
* obj2
= 0 ;
28444 char *kwnames
[] = {
28445 (char *) "self",(char *) "id",(char *) "check", NULL
28448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28451 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28455 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28460 (arg1
)->Check(arg2
,arg3
);
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28465 Py_INCREF(Py_None
); resultobj
= Py_None
;
28472 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28473 PyObject
*resultobj
;
28474 wxMenu
*arg1
= (wxMenu
*) 0 ;
28477 PyObject
* obj0
= 0 ;
28478 PyObject
* obj1
= 0 ;
28479 char *kwnames
[] = {
28480 (char *) "self",(char *) "id", NULL
28483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
28484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28486 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28491 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
28493 wxPyEndAllowThreads(__tstate
);
28494 if (PyErr_Occurred()) SWIG_fail
;
28496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28503 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28504 PyObject
*resultobj
;
28505 wxMenu
*arg1
= (wxMenu
*) 0 ;
28507 wxString
*arg3
= 0 ;
28508 bool temp3
= False
;
28509 PyObject
* obj0
= 0 ;
28510 PyObject
* obj1
= 0 ;
28511 PyObject
* obj2
= 0 ;
28512 char *kwnames
[] = {
28513 (char *) "self",(char *) "id",(char *) "label", NULL
28516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28519 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28520 if (PyErr_Occurred()) SWIG_fail
;
28523 arg3
= wxString_in_helper(obj2
);
28524 if (arg3
== NULL
) SWIG_fail
;
28528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28529 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
28531 wxPyEndAllowThreads(__tstate
);
28532 if (PyErr_Occurred()) SWIG_fail
;
28534 Py_INCREF(Py_None
); resultobj
= Py_None
;
28549 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28550 PyObject
*resultobj
;
28551 wxMenu
*arg1
= (wxMenu
*) 0 ;
28554 PyObject
* obj0
= 0 ;
28555 PyObject
* obj1
= 0 ;
28556 char *kwnames
[] = {
28557 (char *) "self",(char *) "id", NULL
28560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28563 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28568 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
28570 wxPyEndAllowThreads(__tstate
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28586 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28587 PyObject
*resultobj
;
28588 wxMenu
*arg1
= (wxMenu
*) 0 ;
28590 wxString
*arg3
= 0 ;
28591 bool temp3
= False
;
28592 PyObject
* obj0
= 0 ;
28593 PyObject
* obj1
= 0 ;
28594 PyObject
* obj2
= 0 ;
28595 char *kwnames
[] = {
28596 (char *) "self",(char *) "id",(char *) "helpString", NULL
28599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28602 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28606 arg3
= wxString_in_helper(obj2
);
28607 if (arg3
== NULL
) SWIG_fail
;
28611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28612 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
28614 wxPyEndAllowThreads(__tstate
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28617 Py_INCREF(Py_None
); resultobj
= Py_None
;
28632 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28633 PyObject
*resultobj
;
28634 wxMenu
*arg1
= (wxMenu
*) 0 ;
28637 PyObject
* obj0
= 0 ;
28638 PyObject
* obj1
= 0 ;
28639 char *kwnames
[] = {
28640 (char *) "self",(char *) "id", NULL
28643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
28644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28646 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
28653 wxPyEndAllowThreads(__tstate
);
28654 if (PyErr_Occurred()) SWIG_fail
;
28658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28669 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28670 PyObject
*resultobj
;
28671 wxMenu
*arg1
= (wxMenu
*) 0 ;
28672 wxString
*arg2
= 0 ;
28673 bool temp2
= False
;
28674 PyObject
* obj0
= 0 ;
28675 PyObject
* obj1
= 0 ;
28676 char *kwnames
[] = {
28677 (char *) "self",(char *) "title", NULL
28680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
28681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28683 arg2
= wxString_in_helper(obj1
);
28684 if (arg2
== NULL
) SWIG_fail
;
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 (arg1
)->SetTitle((wxString
const &)*arg2
);
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28694 Py_INCREF(Py_None
); resultobj
= Py_None
;
28709 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28710 PyObject
*resultobj
;
28711 wxMenu
*arg1
= (wxMenu
*) 0 ;
28713 PyObject
* obj0
= 0 ;
28714 char *kwnames
[] = {
28715 (char *) "self", NULL
28718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
28719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28722 result
= ((wxMenu
const *)arg1
)->GetTitle();
28724 wxPyEndAllowThreads(__tstate
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28740 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
;
28742 wxMenu
*arg1
= (wxMenu
*) 0 ;
28743 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28744 PyObject
* obj0
= 0 ;
28745 PyObject
* obj1
= 0 ;
28746 char *kwnames
[] = {
28747 (char *) "self",(char *) "handler", NULL
28750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28752 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 (arg1
)->SetEventHandler(arg2
);
28757 wxPyEndAllowThreads(__tstate
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28760 Py_INCREF(Py_None
); resultobj
= Py_None
;
28767 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28768 PyObject
*resultobj
;
28769 wxMenu
*arg1
= (wxMenu
*) 0 ;
28770 wxEvtHandler
*result
;
28771 PyObject
* obj0
= 0 ;
28772 char *kwnames
[] = {
28773 (char *) "self", NULL
28776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28780 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28786 resultobj
= wxPyMake_wxObject(result
);
28794 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
;
28796 wxMenu
*arg1
= (wxMenu
*) 0 ;
28797 wxWindow
*arg2
= (wxWindow
*) 0 ;
28798 PyObject
* obj0
= 0 ;
28799 PyObject
* obj1
= 0 ;
28800 char *kwnames
[] = {
28801 (char *) "self",(char *) "win", NULL
28804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28806 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 (arg1
)->SetInvokingWindow(arg2
);
28811 wxPyEndAllowThreads(__tstate
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28814 Py_INCREF(Py_None
); resultobj
= Py_None
;
28821 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28822 PyObject
*resultobj
;
28823 wxMenu
*arg1
= (wxMenu
*) 0 ;
28825 PyObject
* obj0
= 0 ;
28826 char *kwnames
[] = {
28827 (char *) "self", NULL
28830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
28831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
28836 wxPyEndAllowThreads(__tstate
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28840 resultobj
= wxPyMake_wxObject(result
);
28848 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28849 PyObject
*resultobj
;
28850 wxMenu
*arg1
= (wxMenu
*) 0 ;
28852 PyObject
* obj0
= 0 ;
28853 char *kwnames
[] = {
28854 (char *) "self", NULL
28857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
28858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28861 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
28863 wxPyEndAllowThreads(__tstate
);
28864 if (PyErr_Occurred()) SWIG_fail
;
28866 resultobj
= SWIG_PyObj_FromLong((long)result
);
28873 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28874 PyObject
*resultobj
;
28875 wxMenu
*arg1
= (wxMenu
*) 0 ;
28876 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
28877 PyObject
* obj0
= 0 ;
28878 PyObject
* obj1
= 0 ;
28879 char *kwnames
[] = {
28880 (char *) "self",(char *) "source", NULL
28883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
28884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28886 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 (arg1
)->UpdateUI(arg2
);
28892 wxPyEndAllowThreads(__tstate
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28895 Py_INCREF(Py_None
); resultobj
= Py_None
;
28902 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28903 PyObject
*resultobj
;
28904 wxMenu
*arg1
= (wxMenu
*) 0 ;
28906 PyObject
* obj0
= 0 ;
28907 char *kwnames
[] = {
28908 (char *) "self", NULL
28911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
28912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28921 resultobj
= wxPyMake_wxObject(result
);
28929 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28930 PyObject
*resultobj
;
28931 wxMenu
*arg1
= (wxMenu
*) 0 ;
28932 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
28933 PyObject
* obj0
= 0 ;
28934 PyObject
* obj1
= 0 ;
28935 char *kwnames
[] = {
28936 (char *) "self",(char *) "menubar", NULL
28939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
28940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28941 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28944 (arg1
)->Attach(arg2
);
28946 wxPyEndAllowThreads(__tstate
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28949 Py_INCREF(Py_None
); resultobj
= Py_None
;
28956 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28957 PyObject
*resultobj
;
28958 wxMenu
*arg1
= (wxMenu
*) 0 ;
28959 PyObject
* obj0
= 0 ;
28960 char *kwnames
[] = {
28961 (char *) "self", NULL
28964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
28965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28970 wxPyEndAllowThreads(__tstate
);
28971 if (PyErr_Occurred()) SWIG_fail
;
28973 Py_INCREF(Py_None
); resultobj
= Py_None
;
28980 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28981 PyObject
*resultobj
;
28982 wxMenu
*arg1
= (wxMenu
*) 0 ;
28984 PyObject
* obj0
= 0 ;
28985 char *kwnames
[] = {
28986 (char *) "self", NULL
28989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
28990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28993 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
28995 wxPyEndAllowThreads(__tstate
);
28996 if (PyErr_Occurred()) SWIG_fail
;
28998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29005 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29006 PyObject
*resultobj
;
29007 wxMenu
*arg1
= (wxMenu
*) 0 ;
29008 wxMenu
*arg2
= (wxMenu
*) 0 ;
29009 PyObject
* obj0
= 0 ;
29010 PyObject
* obj1
= 0 ;
29011 char *kwnames
[] = {
29012 (char *) "self",(char *) "parent", NULL
29015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29017 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29020 (arg1
)->SetParent(arg2
);
29022 wxPyEndAllowThreads(__tstate
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29025 Py_INCREF(Py_None
); resultobj
= Py_None
;
29032 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29033 PyObject
*resultobj
;
29034 wxMenu
*arg1
= (wxMenu
*) 0 ;
29036 PyObject
* obj0
= 0 ;
29037 char *kwnames
[] = {
29038 (char *) "self", NULL
29041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
29042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29045 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
29047 wxPyEndAllowThreads(__tstate
);
29048 if (PyErr_Occurred()) SWIG_fail
;
29051 resultobj
= wxPyMake_wxObject(result
);
29059 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
29061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29062 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
29064 return Py_BuildValue((char *)"");
29066 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29067 PyObject
*resultobj
;
29068 long arg1
= (long) 0 ;
29070 PyObject
* obj0
= 0 ;
29071 char *kwnames
[] = {
29072 (char *) "style", NULL
29075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
29078 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29084 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
29086 wxPyEndAllowThreads(__tstate
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29090 resultobj
= wxPyMake_wxObject(result
);
29098 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29099 PyObject
*resultobj
;
29100 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29101 wxMenu
*arg2
= (wxMenu
*) 0 ;
29102 wxString
*arg3
= 0 ;
29104 bool temp3
= False
;
29105 PyObject
* obj0
= 0 ;
29106 PyObject
* obj1
= 0 ;
29107 PyObject
* obj2
= 0 ;
29108 char *kwnames
[] = {
29109 (char *) "self",(char *) "menu",(char *) "title", NULL
29112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29116 arg3
= wxString_in_helper(obj2
);
29117 if (arg3
== NULL
) SWIG_fail
;
29121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29122 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
29124 wxPyEndAllowThreads(__tstate
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29142 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29143 PyObject
*resultobj
;
29144 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29146 wxMenu
*arg3
= (wxMenu
*) 0 ;
29147 wxString
*arg4
= 0 ;
29149 bool temp4
= False
;
29150 PyObject
* obj0
= 0 ;
29151 PyObject
* obj1
= 0 ;
29152 PyObject
* obj2
= 0 ;
29153 PyObject
* obj3
= 0 ;
29154 char *kwnames
[] = {
29155 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29161 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29164 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29166 arg4
= wxString_in_helper(obj3
);
29167 if (arg4
== NULL
) SWIG_fail
;
29171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29172 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
29174 wxPyEndAllowThreads(__tstate
);
29175 if (PyErr_Occurred()) SWIG_fail
;
29177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29192 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29193 PyObject
*resultobj
;
29194 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29196 PyObject
* obj0
= 0 ;
29197 char *kwnames
[] = {
29198 (char *) "self", NULL
29201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
29202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29205 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
29207 wxPyEndAllowThreads(__tstate
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29210 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
29217 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29218 PyObject
*resultobj
;
29219 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29222 PyObject
* obj0
= 0 ;
29223 PyObject
* obj1
= 0 ;
29224 char *kwnames
[] = {
29225 (char *) "self",(char *) "pos", NULL
29228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29231 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29236 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
29238 wxPyEndAllowThreads(__tstate
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29242 resultobj
= wxPyMake_wxObject(result
);
29250 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29251 PyObject
*resultobj
;
29252 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29254 wxMenu
*arg3
= (wxMenu
*) 0 ;
29255 wxString
*arg4
= 0 ;
29257 bool temp4
= False
;
29258 PyObject
* obj0
= 0 ;
29259 PyObject
* obj1
= 0 ;
29260 PyObject
* obj2
= 0 ;
29261 PyObject
* obj3
= 0 ;
29262 char *kwnames
[] = {
29263 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29269 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29272 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29274 arg4
= wxString_in_helper(obj3
);
29275 if (arg4
== NULL
) SWIG_fail
;
29279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29280 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
29282 wxPyEndAllowThreads(__tstate
);
29283 if (PyErr_Occurred()) SWIG_fail
;
29286 resultobj
= wxPyMake_wxObject(result
);
29302 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29303 PyObject
*resultobj
;
29304 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29307 PyObject
* obj0
= 0 ;
29308 PyObject
* obj1
= 0 ;
29309 char *kwnames
[] = {
29310 (char *) "self",(char *) "pos", NULL
29313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29316 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29317 if (PyErr_Occurred()) SWIG_fail
;
29320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29321 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
29323 wxPyEndAllowThreads(__tstate
);
29324 if (PyErr_Occurred()) SWIG_fail
;
29327 resultobj
= wxPyMake_wxObject(result
);
29335 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29336 PyObject
*resultobj
;
29337 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29340 PyObject
* obj0
= 0 ;
29341 PyObject
* obj1
= 0 ;
29342 PyObject
* obj2
= 0 ;
29343 char *kwnames
[] = {
29344 (char *) "self",(char *) "pos",(char *) "enable", NULL
29347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29350 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29354 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29355 if (PyErr_Occurred()) SWIG_fail
;
29358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29359 (arg1
)->EnableTop(arg2
,arg3
);
29361 wxPyEndAllowThreads(__tstate
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29364 Py_INCREF(Py_None
); resultobj
= Py_None
;
29371 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29372 PyObject
*resultobj
;
29373 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29376 PyObject
* obj0
= 0 ;
29377 PyObject
* obj1
= 0 ;
29378 char *kwnames
[] = {
29379 (char *) "self",(char *) "pos", NULL
29382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29385 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29386 if (PyErr_Occurred()) SWIG_fail
;
29389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29390 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29402 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
;
29404 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29406 wxString
*arg3
= 0 ;
29407 bool temp3
= False
;
29408 PyObject
* obj0
= 0 ;
29409 PyObject
* obj1
= 0 ;
29410 PyObject
* obj2
= 0 ;
29411 char *kwnames
[] = {
29412 (char *) "self",(char *) "pos",(char *) "label", NULL
29415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29418 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29422 arg3
= wxString_in_helper(obj2
);
29423 if (arg3
== NULL
) SWIG_fail
;
29427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29428 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
29430 wxPyEndAllowThreads(__tstate
);
29431 if (PyErr_Occurred()) SWIG_fail
;
29433 Py_INCREF(Py_None
); resultobj
= Py_None
;
29448 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29449 PyObject
*resultobj
;
29450 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29453 PyObject
* obj0
= 0 ;
29454 PyObject
* obj1
= 0 ;
29455 char *kwnames
[] = {
29456 (char *) "self",(char *) "pos", NULL
29459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29462 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29467 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
29469 wxPyEndAllowThreads(__tstate
);
29470 if (PyErr_Occurred()) SWIG_fail
;
29474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29485 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29486 PyObject
*resultobj
;
29487 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29488 wxString
*arg2
= 0 ;
29489 wxString
*arg3
= 0 ;
29491 bool temp2
= False
;
29492 bool temp3
= False
;
29493 PyObject
* obj0
= 0 ;
29494 PyObject
* obj1
= 0 ;
29495 PyObject
* obj2
= 0 ;
29496 char *kwnames
[] = {
29497 (char *) "self",(char *) "menu",(char *) "item", NULL
29500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29503 arg2
= wxString_in_helper(obj1
);
29504 if (arg2
== NULL
) SWIG_fail
;
29508 arg3
= wxString_in_helper(obj2
);
29509 if (arg3
== NULL
) SWIG_fail
;
29513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29514 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
29516 wxPyEndAllowThreads(__tstate
);
29517 if (PyErr_Occurred()) SWIG_fail
;
29519 resultobj
= SWIG_PyObj_FromInt((int)result
);
29542 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29543 PyObject
*resultobj
;
29544 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29546 wxMenuItem
*result
;
29547 PyObject
* obj0
= 0 ;
29548 PyObject
* obj1
= 0 ;
29549 char *kwnames
[] = {
29550 (char *) "self",(char *) "id", NULL
29553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29556 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
29563 wxPyEndAllowThreads(__tstate
);
29564 if (PyErr_Occurred()) SWIG_fail
;
29567 resultobj
= wxPyMake_wxObject(result
);
29575 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
;
29577 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29578 wxString
*arg2
= 0 ;
29580 bool temp2
= False
;
29581 PyObject
* obj0
= 0 ;
29582 PyObject
* obj1
= 0 ;
29583 char *kwnames
[] = {
29584 (char *) "self",(char *) "title", NULL
29587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29590 arg2
= wxString_in_helper(obj1
);
29591 if (arg2
== NULL
) SWIG_fail
;
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29601 resultobj
= SWIG_PyObj_FromInt((int)result
);
29616 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29617 PyObject
*resultobj
;
29618 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29621 PyObject
* obj0
= 0 ;
29622 PyObject
* obj1
= 0 ;
29623 PyObject
* obj2
= 0 ;
29624 char *kwnames
[] = {
29625 (char *) "self",(char *) "id",(char *) "enable", NULL
29628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29631 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29632 if (PyErr_Occurred()) SWIG_fail
;
29635 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29636 if (PyErr_Occurred()) SWIG_fail
;
29639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29640 (arg1
)->Enable(arg2
,arg3
);
29642 wxPyEndAllowThreads(__tstate
);
29643 if (PyErr_Occurred()) SWIG_fail
;
29645 Py_INCREF(Py_None
); resultobj
= Py_None
;
29652 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29653 PyObject
*resultobj
;
29654 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29657 PyObject
* obj0
= 0 ;
29658 PyObject
* obj1
= 0 ;
29659 PyObject
* obj2
= 0 ;
29660 char *kwnames
[] = {
29661 (char *) "self",(char *) "id",(char *) "check", NULL
29664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29667 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29671 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 (arg1
)->Check(arg2
,arg3
);
29678 wxPyEndAllowThreads(__tstate
);
29679 if (PyErr_Occurred()) SWIG_fail
;
29681 Py_INCREF(Py_None
); resultobj
= Py_None
;
29688 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
;
29690 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29693 PyObject
* obj0
= 0 ;
29694 PyObject
* obj1
= 0 ;
29695 char *kwnames
[] = {
29696 (char *) "self",(char *) "id", NULL
29699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
29700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29702 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29703 if (PyErr_Occurred()) SWIG_fail
;
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29719 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29720 PyObject
*resultobj
;
29721 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29724 PyObject
* obj0
= 0 ;
29725 PyObject
* obj1
= 0 ;
29726 char *kwnames
[] = {
29727 (char *) "self",(char *) "id", NULL
29730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29733 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
29740 wxPyEndAllowThreads(__tstate
);
29741 if (PyErr_Occurred()) SWIG_fail
;
29743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29750 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29751 PyObject
*resultobj
;
29752 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29754 wxString
*arg3
= 0 ;
29755 bool temp3
= False
;
29756 PyObject
* obj0
= 0 ;
29757 PyObject
* obj1
= 0 ;
29758 PyObject
* obj2
= 0 ;
29759 char *kwnames
[] = {
29760 (char *) "self",(char *) "id",(char *) "label", NULL
29763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29766 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29767 if (PyErr_Occurred()) SWIG_fail
;
29770 arg3
= wxString_in_helper(obj2
);
29771 if (arg3
== NULL
) SWIG_fail
;
29775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29776 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
29778 wxPyEndAllowThreads(__tstate
);
29779 if (PyErr_Occurred()) SWIG_fail
;
29781 Py_INCREF(Py_None
); resultobj
= Py_None
;
29796 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29797 PyObject
*resultobj
;
29798 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29801 PyObject
* obj0
= 0 ;
29802 PyObject
* obj1
= 0 ;
29803 char *kwnames
[] = {
29804 (char *) "self",(char *) "id", NULL
29807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29810 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29811 if (PyErr_Occurred()) SWIG_fail
;
29814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29815 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
29817 wxPyEndAllowThreads(__tstate
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29833 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
;
29835 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29837 wxString
*arg3
= 0 ;
29838 bool temp3
= False
;
29839 PyObject
* obj0
= 0 ;
29840 PyObject
* obj1
= 0 ;
29841 PyObject
* obj2
= 0 ;
29842 char *kwnames
[] = {
29843 (char *) "self",(char *) "id",(char *) "helpString", NULL
29846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29849 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29853 arg3
= wxString_in_helper(obj2
);
29854 if (arg3
== NULL
) SWIG_fail
;
29858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29859 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
29861 wxPyEndAllowThreads(__tstate
);
29862 if (PyErr_Occurred()) SWIG_fail
;
29864 Py_INCREF(Py_None
); resultobj
= Py_None
;
29879 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29880 PyObject
*resultobj
;
29881 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29884 PyObject
* obj0
= 0 ;
29885 PyObject
* obj1
= 0 ;
29886 char *kwnames
[] = {
29887 (char *) "self",(char *) "id", NULL
29890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
29891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29893 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29894 if (PyErr_Occurred()) SWIG_fail
;
29897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29898 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
29900 wxPyEndAllowThreads(__tstate
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29916 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29917 PyObject
*resultobj
;
29918 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29920 PyObject
* obj0
= 0 ;
29921 char *kwnames
[] = {
29922 (char *) "self", NULL
29925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
29926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29929 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
29931 wxPyEndAllowThreads(__tstate
);
29932 if (PyErr_Occurred()) SWIG_fail
;
29935 resultobj
= wxPyMake_wxObject(result
);
29943 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29944 PyObject
*resultobj
;
29945 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29947 PyObject
* obj0
= 0 ;
29948 char *kwnames
[] = {
29949 (char *) "self", NULL
29952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
29953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
29958 wxPyEndAllowThreads(__tstate
);
29959 if (PyErr_Occurred()) SWIG_fail
;
29961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29968 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29969 PyObject
*resultobj
;
29970 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29971 wxFrame
*arg2
= (wxFrame
*) 0 ;
29972 PyObject
* obj0
= 0 ;
29973 PyObject
* obj1
= 0 ;
29974 char *kwnames
[] = {
29975 (char *) "self",(char *) "frame", NULL
29978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
29979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29980 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29983 (arg1
)->Attach(arg2
);
29985 wxPyEndAllowThreads(__tstate
);
29986 if (PyErr_Occurred()) SWIG_fail
;
29988 Py_INCREF(Py_None
); resultobj
= Py_None
;
29995 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
;
29997 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29998 PyObject
* obj0
= 0 ;
29999 char *kwnames
[] = {
30000 (char *) "self", NULL
30003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
30004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30009 wxPyEndAllowThreads(__tstate
);
30010 if (PyErr_Occurred()) SWIG_fail
;
30012 Py_INCREF(Py_None
); resultobj
= Py_None
;
30019 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
30021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30022 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
30024 return Py_BuildValue((char *)"");
30026 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30027 PyObject
*resultobj
;
30028 wxMenu
*arg1
= (wxMenu
*) NULL
;
30029 int arg2
= (int) wxID_SEPARATOR
;
30030 wxString
const &arg3_defvalue
= wxPyEmptyString
;
30031 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30032 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30033 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30034 int arg5
= (int) wxITEM_NORMAL
;
30035 wxMenu
*arg6
= (wxMenu
*) NULL
;
30036 wxMenuItem
*result
;
30037 bool temp3
= False
;
30038 bool temp4
= False
;
30039 PyObject
* obj0
= 0 ;
30040 PyObject
* obj1
= 0 ;
30041 PyObject
* obj2
= 0 ;
30042 PyObject
* obj3
= 0 ;
30043 PyObject
* obj4
= 0 ;
30044 PyObject
* obj5
= 0 ;
30045 char *kwnames
[] = {
30046 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30055 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
30056 if (PyErr_Occurred()) SWIG_fail
;
30061 arg3
= wxString_in_helper(obj2
);
30062 if (arg3
== NULL
) SWIG_fail
;
30068 arg4
= wxString_in_helper(obj3
);
30069 if (arg4
== NULL
) SWIG_fail
;
30075 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30080 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30084 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
30086 wxPyEndAllowThreads(__tstate
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30090 resultobj
= wxPyMake_wxObject(result
);
30114 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30115 PyObject
*resultobj
;
30116 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30118 PyObject
* obj0
= 0 ;
30119 char *kwnames
[] = {
30120 (char *) "self", NULL
30123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
30124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30133 resultobj
= wxPyMake_wxObject(result
);
30141 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30142 PyObject
*resultobj
;
30143 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30144 wxMenu
*arg2
= (wxMenu
*) 0 ;
30145 PyObject
* obj0
= 0 ;
30146 PyObject
* obj1
= 0 ;
30147 char *kwnames
[] = {
30148 (char *) "self",(char *) "menu", NULL
30151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30153 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30156 (arg1
)->SetMenu(arg2
);
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30161 Py_INCREF(Py_None
); resultobj
= Py_None
;
30168 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30169 PyObject
*resultobj
;
30170 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30172 PyObject
* obj0
= 0 ;
30173 PyObject
* obj1
= 0 ;
30174 char *kwnames
[] = {
30175 (char *) "self",(char *) "id", NULL
30178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
30179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30181 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30186 (arg1
)->SetId(arg2
);
30188 wxPyEndAllowThreads(__tstate
);
30189 if (PyErr_Occurred()) SWIG_fail
;
30191 Py_INCREF(Py_None
); resultobj
= Py_None
;
30198 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30199 PyObject
*resultobj
;
30200 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30202 PyObject
* obj0
= 0 ;
30203 char *kwnames
[] = {
30204 (char *) "self", NULL
30207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
30208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30211 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
30213 wxPyEndAllowThreads(__tstate
);
30214 if (PyErr_Occurred()) SWIG_fail
;
30216 resultobj
= SWIG_PyObj_FromInt((int)result
);
30223 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30224 PyObject
*resultobj
;
30225 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30227 PyObject
* obj0
= 0 ;
30228 char *kwnames
[] = {
30229 (char *) "self", NULL
30232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
30233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30236 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30248 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30249 PyObject
*resultobj
;
30250 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30251 wxString
*arg2
= 0 ;
30252 bool temp2
= False
;
30253 PyObject
* obj0
= 0 ;
30254 PyObject
* obj1
= 0 ;
30255 char *kwnames
[] = {
30256 (char *) "self",(char *) "str", NULL
30259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
30260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30262 arg2
= wxString_in_helper(obj1
);
30263 if (arg2
== NULL
) SWIG_fail
;
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 (arg1
)->SetText((wxString
const &)*arg2
);
30270 wxPyEndAllowThreads(__tstate
);
30271 if (PyErr_Occurred()) SWIG_fail
;
30273 Py_INCREF(Py_None
); resultobj
= Py_None
;
30288 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30289 PyObject
*resultobj
;
30290 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30292 PyObject
* obj0
= 0 ;
30293 char *kwnames
[] = {
30294 (char *) "self", NULL
30297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
30298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
30303 wxPyEndAllowThreads(__tstate
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30319 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30320 PyObject
*resultobj
;
30321 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30323 PyObject
* obj0
= 0 ;
30324 char *kwnames
[] = {
30325 (char *) "self", NULL
30328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
30329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30333 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
30334 result
= (wxString
*) &_result_ref
;
30337 wxPyEndAllowThreads(__tstate
);
30338 if (PyErr_Occurred()) SWIG_fail
;
30342 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30344 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30353 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
;
30355 wxString
*arg1
= 0 ;
30357 bool temp1
= False
;
30358 PyObject
* obj0
= 0 ;
30359 char *kwnames
[] = {
30360 (char *) "text", NULL
30363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
30365 arg1
= wxString_in_helper(obj0
);
30366 if (arg1
== NULL
) SWIG_fail
;
30370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30371 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
30373 wxPyEndAllowThreads(__tstate
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30397 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30398 PyObject
*resultobj
;
30399 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30401 PyObject
* obj0
= 0 ;
30402 char *kwnames
[] = {
30403 (char *) "self", NULL
30406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
30407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= SWIG_PyObj_FromInt((int)result
);
30422 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
;
30424 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30426 PyObject
* obj0
= 0 ;
30427 PyObject
* obj1
= 0 ;
30428 char *kwnames
[] = {
30429 (char *) "self",(char *) "checkable", NULL
30432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
30433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30435 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30436 if (PyErr_Occurred()) SWIG_fail
;
30439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30440 (arg1
)->SetCheckable(arg2
);
30442 wxPyEndAllowThreads(__tstate
);
30443 if (PyErr_Occurred()) SWIG_fail
;
30445 Py_INCREF(Py_None
); resultobj
= Py_None
;
30452 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30453 PyObject
*resultobj
;
30454 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30456 PyObject
* obj0
= 0 ;
30457 char *kwnames
[] = {
30458 (char *) "self", NULL
30461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
30462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
30467 wxPyEndAllowThreads(__tstate
);
30468 if (PyErr_Occurred()) SWIG_fail
;
30470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30477 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30478 PyObject
*resultobj
;
30479 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30481 PyObject
* obj0
= 0 ;
30482 char *kwnames
[] = {
30483 (char *) "self", NULL
30486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
30487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30490 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
30492 wxPyEndAllowThreads(__tstate
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30502 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30503 PyObject
*resultobj
;
30504 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30505 wxMenu
*arg2
= (wxMenu
*) 0 ;
30506 PyObject
* obj0
= 0 ;
30507 PyObject
* obj1
= 0 ;
30508 char *kwnames
[] = {
30509 (char *) "self",(char *) "menu", NULL
30512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30514 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30517 (arg1
)->SetSubMenu(arg2
);
30519 wxPyEndAllowThreads(__tstate
);
30520 if (PyErr_Occurred()) SWIG_fail
;
30522 Py_INCREF(Py_None
); resultobj
= Py_None
;
30529 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30530 PyObject
*resultobj
;
30531 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30533 PyObject
* obj0
= 0 ;
30534 char *kwnames
[] = {
30535 (char *) "self", NULL
30538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
30539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= wxPyMake_wxObject(result
);
30556 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30557 PyObject
*resultobj
;
30558 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30559 bool arg2
= (bool) True
;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 char *kwnames
[] = {
30563 (char *) "self",(char *) "enable", NULL
30566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
30567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30570 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30576 (arg1
)->Enable(arg2
);
30578 wxPyEndAllowThreads(__tstate
);
30579 if (PyErr_Occurred()) SWIG_fail
;
30581 Py_INCREF(Py_None
); resultobj
= Py_None
;
30588 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30589 PyObject
*resultobj
;
30590 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30592 PyObject
* obj0
= 0 ;
30593 char *kwnames
[] = {
30594 (char *) "self", NULL
30597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
30598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30601 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
30603 wxPyEndAllowThreads(__tstate
);
30604 if (PyErr_Occurred()) SWIG_fail
;
30606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30613 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30614 PyObject
*resultobj
;
30615 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30616 bool arg2
= (bool) True
;
30617 PyObject
* obj0
= 0 ;
30618 PyObject
* obj1
= 0 ;
30619 char *kwnames
[] = {
30620 (char *) "self",(char *) "check", NULL
30623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
30624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30627 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30628 if (PyErr_Occurred()) SWIG_fail
;
30632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30633 (arg1
)->Check(arg2
);
30635 wxPyEndAllowThreads(__tstate
);
30636 if (PyErr_Occurred()) SWIG_fail
;
30638 Py_INCREF(Py_None
); resultobj
= Py_None
;
30645 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30646 PyObject
*resultobj
;
30647 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30649 PyObject
* obj0
= 0 ;
30650 char *kwnames
[] = {
30651 (char *) "self", NULL
30654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
30655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30658 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
30660 wxPyEndAllowThreads(__tstate
);
30661 if (PyErr_Occurred()) SWIG_fail
;
30663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30670 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30671 PyObject
*resultobj
;
30672 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30673 PyObject
* obj0
= 0 ;
30674 char *kwnames
[] = {
30675 (char *) "self", NULL
30678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
30679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30684 wxPyEndAllowThreads(__tstate
);
30685 if (PyErr_Occurred()) SWIG_fail
;
30687 Py_INCREF(Py_None
); resultobj
= Py_None
;
30694 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30695 PyObject
*resultobj
;
30696 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30697 wxString
*arg2
= 0 ;
30698 bool temp2
= False
;
30699 PyObject
* obj0
= 0 ;
30700 PyObject
* obj1
= 0 ;
30701 char *kwnames
[] = {
30702 (char *) "self",(char *) "str", NULL
30705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30708 arg2
= wxString_in_helper(obj1
);
30709 if (arg2
== NULL
) SWIG_fail
;
30713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30714 (arg1
)->SetHelp((wxString
const &)*arg2
);
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 Py_INCREF(Py_None
); resultobj
= Py_None
;
30734 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30735 PyObject
*resultobj
;
30736 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30738 PyObject
* obj0
= 0 ;
30739 char *kwnames
[] = {
30740 (char *) "self", NULL
30743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
30744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30748 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
30749 result
= (wxString
*) &_result_ref
;
30752 wxPyEndAllowThreads(__tstate
);
30753 if (PyErr_Occurred()) SWIG_fail
;
30757 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30759 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30768 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30769 PyObject
*resultobj
;
30770 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30771 wxAcceleratorEntry
*result
;
30772 PyObject
* obj0
= 0 ;
30773 char *kwnames
[] = {
30774 (char *) "self", NULL
30777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
30778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30781 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
30783 wxPyEndAllowThreads(__tstate
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30786 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
30793 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30794 PyObject
*resultobj
;
30795 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30796 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
30797 PyObject
* obj0
= 0 ;
30798 PyObject
* obj1
= 0 ;
30799 char *kwnames
[] = {
30800 (char *) "self",(char *) "accel", NULL
30803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
30804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30805 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 (arg1
)->SetAccel(arg2
);
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30813 Py_INCREF(Py_None
); resultobj
= Py_None
;
30820 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30821 PyObject
*resultobj
;
30823 char *kwnames
[] = {
30827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
30829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30830 result
= (int)MenuItem_GetDefaultMarginWidth();
30832 wxPyEndAllowThreads(__tstate
);
30833 if (PyErr_Occurred()) SWIG_fail
;
30835 resultobj
= SWIG_PyObj_FromInt((int)result
);
30842 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30843 PyObject
*resultobj
;
30844 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30845 wxBitmap
*arg2
= 0 ;
30846 PyObject
* obj0
= 0 ;
30847 PyObject
* obj1
= 0 ;
30848 char *kwnames
[] = {
30849 (char *) "self",(char *) "bitmap", NULL
30852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30854 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30855 if (arg2
== NULL
) {
30856 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30860 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
30862 wxPyEndAllowThreads(__tstate
);
30863 if (PyErr_Occurred()) SWIG_fail
;
30865 Py_INCREF(Py_None
); resultobj
= Py_None
;
30872 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30873 PyObject
*resultobj
;
30874 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30876 PyObject
* obj0
= 0 ;
30877 char *kwnames
[] = {
30878 (char *) "self", NULL
30881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
30882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30886 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
30887 result
= (wxBitmap
*) &_result_ref
;
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
30900 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
30902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30903 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
30905 return Py_BuildValue((char *)"");
30907 static int _wrap_ControlNameStr_set(PyObject
*) {
30908 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
30913 static PyObject
*_wrap_ControlNameStr_get() {
30918 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
30920 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
30927 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30928 PyObject
*resultobj
;
30929 wxWindow
*arg1
= (wxWindow
*) 0 ;
30931 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30932 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30933 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30934 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30935 long arg5
= (long) 0 ;
30936 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
30937 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
30938 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
30939 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30943 bool temp7
= False
;
30944 PyObject
* obj0
= 0 ;
30945 PyObject
* obj1
= 0 ;
30946 PyObject
* obj2
= 0 ;
30947 PyObject
* obj3
= 0 ;
30948 PyObject
* obj4
= 0 ;
30949 PyObject
* obj5
= 0 ;
30950 PyObject
* obj6
= 0 ;
30951 char *kwnames
[] = {
30952 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
30955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30958 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
30959 if (PyErr_Occurred()) SWIG_fail
;
30964 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30970 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30975 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30980 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30981 if (arg6
== NULL
) {
30982 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30987 arg7
= wxString_in_helper(obj6
);
30988 if (arg7
== NULL
) SWIG_fail
;
30993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30994 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
30996 wxPyEndAllowThreads(__tstate
);
30997 if (PyErr_Occurred()) SWIG_fail
;
31000 resultobj
= wxPyMake_wxObject(result
);
31016 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
;
31019 char *kwnames
[] = {
31023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
31025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31026 result
= (wxControl
*)new wxControl();
31028 wxPyEndAllowThreads(__tstate
);
31029 if (PyErr_Occurred()) SWIG_fail
;
31032 resultobj
= wxPyMake_wxObject(result
);
31040 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31041 PyObject
*resultobj
;
31042 wxControl
*arg1
= (wxControl
*) 0 ;
31043 wxWindow
*arg2
= (wxWindow
*) 0 ;
31045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31049 long arg6
= (long) 0 ;
31050 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31051 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31052 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
31053 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31057 bool temp8
= False
;
31058 PyObject
* obj0
= 0 ;
31059 PyObject
* obj1
= 0 ;
31060 PyObject
* obj2
= 0 ;
31061 PyObject
* obj3
= 0 ;
31062 PyObject
* obj4
= 0 ;
31063 PyObject
* obj5
= 0 ;
31064 PyObject
* obj6
= 0 ;
31065 PyObject
* obj7
= 0 ;
31066 char *kwnames
[] = {
31067 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
31071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31074 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31080 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31086 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31091 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
31092 if (PyErr_Occurred()) SWIG_fail
;
31096 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31097 if (arg7
== NULL
) {
31098 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31103 arg8
= wxString_in_helper(obj7
);
31104 if (arg8
== NULL
) SWIG_fail
;
31109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31110 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31112 wxPyEndAllowThreads(__tstate
);
31113 if (PyErr_Occurred()) SWIG_fail
;
31115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31130 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31131 PyObject
*resultobj
;
31132 wxControl
*arg1
= (wxControl
*) 0 ;
31133 wxCommandEvent
*arg2
= 0 ;
31134 PyObject
* obj0
= 0 ;
31135 PyObject
* obj1
= 0 ;
31136 char *kwnames
[] = {
31137 (char *) "self",(char *) "event", NULL
31140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
31141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31143 if (arg2
== NULL
) {
31144 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31148 (arg1
)->Command(*arg2
);
31150 wxPyEndAllowThreads(__tstate
);
31151 if (PyErr_Occurred()) SWIG_fail
;
31153 Py_INCREF(Py_None
); resultobj
= Py_None
;
31160 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31161 PyObject
*resultobj
;
31162 wxControl
*arg1
= (wxControl
*) 0 ;
31164 PyObject
* obj0
= 0 ;
31165 char *kwnames
[] = {
31166 (char *) "self", NULL
31169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
31170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31173 result
= (arg1
)->GetLabel();
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31191 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31192 PyObject
*resultobj
;
31193 wxControl
*arg1
= (wxControl
*) 0 ;
31194 wxString
*arg2
= 0 ;
31195 bool temp2
= False
;
31196 PyObject
* obj0
= 0 ;
31197 PyObject
* obj1
= 0 ;
31198 char *kwnames
[] = {
31199 (char *) "self",(char *) "label", NULL
31202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31205 arg2
= wxString_in_helper(obj1
);
31206 if (arg2
== NULL
) SWIG_fail
;
31210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31211 (arg1
)->SetLabel((wxString
const &)*arg2
);
31213 wxPyEndAllowThreads(__tstate
);
31214 if (PyErr_Occurred()) SWIG_fail
;
31216 Py_INCREF(Py_None
); resultobj
= Py_None
;
31231 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
31233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31234 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
31236 return Py_BuildValue((char *)"");
31238 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31239 PyObject
*resultobj
;
31240 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31241 wxString
*arg2
= 0 ;
31242 PyObject
*arg3
= (PyObject
*) NULL
;
31244 bool temp2
= False
;
31245 PyObject
* obj0
= 0 ;
31246 PyObject
* obj1
= 0 ;
31247 PyObject
* obj2
= 0 ;
31248 char *kwnames
[] = {
31249 (char *) "self",(char *) "item",(char *) "clientData", NULL
31252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31255 arg2
= wxString_in_helper(obj1
);
31256 if (arg2
== NULL
) SWIG_fail
;
31263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31264 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
31266 wxPyEndAllowThreads(__tstate
);
31267 if (PyErr_Occurred()) SWIG_fail
;
31269 resultobj
= SWIG_PyObj_FromInt((int)result
);
31284 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31285 PyObject
*resultobj
;
31286 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31287 wxArrayString
*arg2
= 0 ;
31288 bool temp2
= False
;
31289 PyObject
* obj0
= 0 ;
31290 PyObject
* obj1
= 0 ;
31291 char *kwnames
[] = {
31292 (char *) "self",(char *) "strings", NULL
31295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31298 if (! PySequence_Check(obj1
)) {
31299 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
31302 arg2
= new wxArrayString
;
31304 int i
, len
=PySequence_Length(obj1
);
31305 for (i
=0; i
<len
; i
++) {
31306 PyObject
* item
= PySequence_GetItem(obj1
, i
);
31308 PyObject
* str
= PyObject_Unicode(item
);
31310 PyObject
* str
= PyObject_Str(item
);
31312 arg2
->Add(Py2wxString(str
));
31318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31319 (arg1
)->Append((wxArrayString
const &)*arg2
);
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 Py_INCREF(Py_None
); resultobj
= Py_None
;
31326 if (temp2
) delete arg2
;
31331 if (temp2
) delete arg2
;
31337 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31338 PyObject
*resultobj
;
31339 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31340 wxString
*arg2
= 0 ;
31342 PyObject
*arg4
= (PyObject
*) NULL
;
31344 bool temp2
= False
;
31345 PyObject
* obj0
= 0 ;
31346 PyObject
* obj1
= 0 ;
31347 PyObject
* obj2
= 0 ;
31348 PyObject
* obj3
= 0 ;
31349 char *kwnames
[] = {
31350 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
31353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31356 arg2
= wxString_in_helper(obj1
);
31357 if (arg2
== NULL
) SWIG_fail
;
31361 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31369 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
31371 wxPyEndAllowThreads(__tstate
);
31372 if (PyErr_Occurred()) SWIG_fail
;
31374 resultobj
= SWIG_PyObj_FromInt((int)result
);
31389 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31390 PyObject
*resultobj
;
31391 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31392 PyObject
* obj0
= 0 ;
31393 char *kwnames
[] = {
31394 (char *) "self", NULL
31397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
31398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31403 wxPyEndAllowThreads(__tstate
);
31404 if (PyErr_Occurred()) SWIG_fail
;
31406 Py_INCREF(Py_None
); resultobj
= Py_None
;
31413 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31414 PyObject
*resultobj
;
31415 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31417 PyObject
* obj0
= 0 ;
31418 PyObject
* obj1
= 0 ;
31419 char *kwnames
[] = {
31420 (char *) "self",(char *) "n", NULL
31423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
31424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31426 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31427 if (PyErr_Occurred()) SWIG_fail
;
31430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31431 (arg1
)->Delete(arg2
);
31433 wxPyEndAllowThreads(__tstate
);
31434 if (PyErr_Occurred()) SWIG_fail
;
31436 Py_INCREF(Py_None
); resultobj
= Py_None
;
31443 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31444 PyObject
*resultobj
;
31445 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31447 PyObject
* obj0
= 0 ;
31448 char *kwnames
[] = {
31449 (char *) "self", NULL
31452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
31453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
31458 wxPyEndAllowThreads(__tstate
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31461 resultobj
= SWIG_PyObj_FromInt((int)result
);
31468 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31469 PyObject
*resultobj
;
31470 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31472 PyObject
* obj0
= 0 ;
31473 char *kwnames
[] = {
31474 (char *) "self", NULL
31477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
31478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31481 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
31483 wxPyEndAllowThreads(__tstate
);
31484 if (PyErr_Occurred()) SWIG_fail
;
31486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31493 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31494 PyObject
*resultobj
;
31495 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31498 PyObject
* obj0
= 0 ;
31499 PyObject
* obj1
= 0 ;
31500 char *kwnames
[] = {
31501 (char *) "self",(char *) "n", NULL
31504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
31505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31507 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31512 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
31514 wxPyEndAllowThreads(__tstate
);
31515 if (PyErr_Occurred()) SWIG_fail
;
31519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31530 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31531 PyObject
*resultobj
;
31532 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31533 wxArrayString result
;
31534 PyObject
* obj0
= 0 ;
31535 char *kwnames
[] = {
31536 (char *) "self", NULL
31539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
31540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31543 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
31545 wxPyEndAllowThreads(__tstate
);
31546 if (PyErr_Occurred()) SWIG_fail
;
31549 resultobj
= wxArrayString2PyList_helper(result
);
31557 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31558 PyObject
*resultobj
;
31559 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31561 wxString
*arg3
= 0 ;
31562 bool temp3
= False
;
31563 PyObject
* obj0
= 0 ;
31564 PyObject
* obj1
= 0 ;
31565 PyObject
* obj2
= 0 ;
31566 char *kwnames
[] = {
31567 (char *) "self",(char *) "n",(char *) "s", NULL
31570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31573 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31574 if (PyErr_Occurred()) SWIG_fail
;
31577 arg3
= wxString_in_helper(obj2
);
31578 if (arg3
== NULL
) SWIG_fail
;
31582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31583 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
31585 wxPyEndAllowThreads(__tstate
);
31586 if (PyErr_Occurred()) SWIG_fail
;
31588 Py_INCREF(Py_None
); resultobj
= Py_None
;
31603 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31604 PyObject
*resultobj
;
31605 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31606 wxString
*arg2
= 0 ;
31608 bool temp2
= False
;
31609 PyObject
* obj0
= 0 ;
31610 PyObject
* obj1
= 0 ;
31611 char *kwnames
[] = {
31612 (char *) "self",(char *) "s", NULL
31615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
31616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31618 arg2
= wxString_in_helper(obj1
);
31619 if (arg2
== NULL
) SWIG_fail
;
31623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31624 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
31626 wxPyEndAllowThreads(__tstate
);
31627 if (PyErr_Occurred()) SWIG_fail
;
31629 resultobj
= SWIG_PyObj_FromInt((int)result
);
31644 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31645 PyObject
*resultobj
;
31646 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31648 PyObject
* obj0
= 0 ;
31649 PyObject
* obj1
= 0 ;
31650 char *kwnames
[] = {
31651 (char *) "self",(char *) "n", NULL
31654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
31655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31657 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31662 (arg1
)->Select(arg2
);
31664 wxPyEndAllowThreads(__tstate
);
31665 if (PyErr_Occurred()) SWIG_fail
;
31667 Py_INCREF(Py_None
); resultobj
= Py_None
;
31674 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31675 PyObject
*resultobj
;
31676 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31678 PyObject
* obj0
= 0 ;
31679 char *kwnames
[] = {
31680 (char *) "self", NULL
31683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
31684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31687 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
31689 wxPyEndAllowThreads(__tstate
);
31690 if (PyErr_Occurred()) SWIG_fail
;
31692 resultobj
= SWIG_PyObj_FromInt((int)result
);
31699 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31700 PyObject
*resultobj
;
31701 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31703 PyObject
* obj0
= 0 ;
31704 char *kwnames
[] = {
31705 (char *) "self", NULL
31708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
31709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31712 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
31714 wxPyEndAllowThreads(__tstate
);
31715 if (PyErr_Occurred()) SWIG_fail
;
31719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31730 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31731 PyObject
*resultobj
;
31732 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31735 PyObject
* obj0
= 0 ;
31736 PyObject
* obj1
= 0 ;
31737 char *kwnames
[] = {
31738 (char *) "self",(char *) "n", NULL
31741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
31742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31744 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31745 if (PyErr_Occurred()) SWIG_fail
;
31748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31749 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
31751 wxPyEndAllowThreads(__tstate
);
31752 if (PyErr_Occurred()) SWIG_fail
;
31754 resultobj
= result
;
31761 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31762 PyObject
*resultobj
;
31763 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31765 PyObject
*arg3
= (PyObject
*) 0 ;
31766 PyObject
* obj0
= 0 ;
31767 PyObject
* obj1
= 0 ;
31768 PyObject
* obj2
= 0 ;
31769 char *kwnames
[] = {
31770 (char *) "self",(char *) "n",(char *) "clientData", NULL
31773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31776 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31777 if (PyErr_Occurred()) SWIG_fail
;
31781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31782 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
31784 wxPyEndAllowThreads(__tstate
);
31785 if (PyErr_Occurred()) SWIG_fail
;
31787 Py_INCREF(Py_None
); resultobj
= Py_None
;
31794 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
31796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31797 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
31799 return Py_BuildValue((char *)"");
31801 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
31803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31804 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
31806 return Py_BuildValue((char *)"");
31808 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31809 PyObject
*resultobj
;
31810 wxSizerItem
*result
;
31811 char *kwnames
[] = {
31815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
31817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31818 result
= (wxSizerItem
*)new wxSizerItem();
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31823 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
31830 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31831 PyObject
*resultobj
;
31837 wxObject
*arg6
= (wxObject
*) 0 ;
31838 wxSizerItem
*result
;
31839 PyObject
* obj0
= 0 ;
31840 PyObject
* obj1
= 0 ;
31841 PyObject
* obj2
= 0 ;
31842 PyObject
* obj3
= 0 ;
31843 PyObject
* obj4
= 0 ;
31844 PyObject
* obj5
= 0 ;
31845 char *kwnames
[] = {
31846 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
31849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31851 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31855 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31856 if (PyErr_Occurred()) SWIG_fail
;
31859 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31863 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31867 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31870 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31873 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31875 wxPyEndAllowThreads(__tstate
);
31876 if (PyErr_Occurred()) SWIG_fail
;
31878 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
31885 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31886 PyObject
*resultobj
;
31887 wxWindow
*arg1
= (wxWindow
*) 0 ;
31891 wxObject
*arg5
= (wxObject
*) 0 ;
31892 wxSizerItem
*result
;
31893 PyObject
* obj0
= 0 ;
31894 PyObject
* obj1
= 0 ;
31895 PyObject
* obj2
= 0 ;
31896 PyObject
* obj3
= 0 ;
31897 PyObject
* obj4
= 0 ;
31898 char *kwnames
[] = {
31899 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
31902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31905 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31906 if (PyErr_Occurred()) SWIG_fail
;
31909 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31913 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31914 if (PyErr_Occurred()) SWIG_fail
;
31916 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31919 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
31921 wxPyEndAllowThreads(__tstate
);
31922 if (PyErr_Occurred()) SWIG_fail
;
31924 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
31931 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31932 PyObject
*resultobj
;
31933 wxSizer
*arg1
= (wxSizer
*) 0 ;
31937 wxObject
*arg5
= (wxObject
*) 0 ;
31938 wxSizerItem
*result
;
31939 PyObject
* obj0
= 0 ;
31940 PyObject
* obj1
= 0 ;
31941 PyObject
* obj2
= 0 ;
31942 PyObject
* obj3
= 0 ;
31943 PyObject
* obj4
= 0 ;
31944 char *kwnames
[] = {
31945 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
31948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31951 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31952 if (PyErr_Occurred()) SWIG_fail
;
31955 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31956 if (PyErr_Occurred()) SWIG_fail
;
31959 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31960 if (PyErr_Occurred()) SWIG_fail
;
31962 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31965 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
31967 wxPyEndAllowThreads(__tstate
);
31968 if (PyErr_Occurred()) SWIG_fail
;
31970 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
31977 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31978 PyObject
*resultobj
;
31979 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
31980 PyObject
* obj0
= 0 ;
31981 char *kwnames
[] = {
31982 (char *) "self", NULL
31985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
31986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31989 (arg1
)->DeleteWindows();
31991 wxPyEndAllowThreads(__tstate
);
31992 if (PyErr_Occurred()) SWIG_fail
;
31994 Py_INCREF(Py_None
); resultobj
= Py_None
;
32001 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32002 PyObject
*resultobj
;
32003 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32004 PyObject
* obj0
= 0 ;
32005 char *kwnames
[] = {
32006 (char *) "self", NULL
32009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
32010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32013 (arg1
)->DetachSizer();
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32018 Py_INCREF(Py_None
); resultobj
= Py_None
;
32025 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32026 PyObject
*resultobj
;
32027 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32029 PyObject
* obj0
= 0 ;
32030 char *kwnames
[] = {
32031 (char *) "self", NULL
32034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
32035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32038 result
= (arg1
)->GetSize();
32040 wxPyEndAllowThreads(__tstate
);
32041 if (PyErr_Occurred()) SWIG_fail
;
32044 wxSize
* resultptr
;
32045 resultptr
= new wxSize((wxSize
&) result
);
32046 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32054 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32055 PyObject
*resultobj
;
32056 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32058 PyObject
* obj0
= 0 ;
32059 char *kwnames
[] = {
32060 (char *) "self", NULL
32063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
32064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32067 result
= (arg1
)->CalcMin();
32069 wxPyEndAllowThreads(__tstate
);
32070 if (PyErr_Occurred()) SWIG_fail
;
32073 wxSize
* resultptr
;
32074 resultptr
= new wxSize((wxSize
&) result
);
32075 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32083 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32084 PyObject
*resultobj
;
32085 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32090 PyObject
* obj0
= 0 ;
32091 PyObject
* obj1
= 0 ;
32092 PyObject
* obj2
= 0 ;
32093 char *kwnames
[] = {
32094 (char *) "self",(char *) "pos",(char *) "size", NULL
32097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32099 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32101 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32105 (arg1
)->SetDimension(arg2
,arg3
);
32107 wxPyEndAllowThreads(__tstate
);
32108 if (PyErr_Occurred()) SWIG_fail
;
32110 Py_INCREF(Py_None
); resultobj
= Py_None
;
32117 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32118 PyObject
*resultobj
;
32119 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32121 PyObject
* obj0
= 0 ;
32122 char *kwnames
[] = {
32123 (char *) "self", NULL
32126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
32127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32130 result
= (arg1
)->GetMinSize();
32132 wxPyEndAllowThreads(__tstate
);
32133 if (PyErr_Occurred()) SWIG_fail
;
32136 wxSize
* resultptr
;
32137 resultptr
= new wxSize((wxSize
&) result
);
32138 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32146 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32147 PyObject
*resultobj
;
32148 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32151 PyObject
* obj0
= 0 ;
32152 PyObject
* obj1
= 0 ;
32153 PyObject
* obj2
= 0 ;
32154 char *kwnames
[] = {
32155 (char *) "self",(char *) "x",(char *) "y", NULL
32158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32161 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32162 if (PyErr_Occurred()) SWIG_fail
;
32165 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32166 if (PyErr_Occurred()) SWIG_fail
;
32169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32170 (arg1
)->SetInitSize(arg2
,arg3
);
32172 wxPyEndAllowThreads(__tstate
);
32173 if (PyErr_Occurred()) SWIG_fail
;
32175 Py_INCREF(Py_None
); resultobj
= Py_None
;
32182 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32183 PyObject
*resultobj
;
32184 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32187 PyObject
* obj0
= 0 ;
32188 PyObject
* obj1
= 0 ;
32189 PyObject
* obj2
= 0 ;
32190 char *kwnames
[] = {
32191 (char *) "self",(char *) "width",(char *) "height", NULL
32194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32197 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32198 if (PyErr_Occurred()) SWIG_fail
;
32201 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32206 (arg1
)->SetRatio(arg2
,arg3
);
32208 wxPyEndAllowThreads(__tstate
);
32209 if (PyErr_Occurred()) SWIG_fail
;
32211 Py_INCREF(Py_None
); resultobj
= Py_None
;
32218 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32219 PyObject
*resultobj
;
32220 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32223 PyObject
* obj0
= 0 ;
32224 PyObject
* obj1
= 0 ;
32225 char *kwnames
[] = {
32226 (char *) "self",(char *) "size", NULL
32229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32231 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32235 (arg1
)->SetRatio(arg2
);
32237 wxPyEndAllowThreads(__tstate
);
32238 if (PyErr_Occurred()) SWIG_fail
;
32240 Py_INCREF(Py_None
); resultobj
= Py_None
;
32247 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32248 PyObject
*resultobj
;
32249 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32251 PyObject
* obj0
= 0 ;
32252 PyObject
* obj1
= 0 ;
32253 char *kwnames
[] = {
32254 (char *) "self",(char *) "ratio", NULL
32257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
32258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32260 arg2
= (float) SWIG_PyObj_AsFloat(obj1
);
32261 if (PyErr_Occurred()) SWIG_fail
;
32264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32265 (arg1
)->SetRatio(arg2
);
32267 wxPyEndAllowThreads(__tstate
);
32268 if (PyErr_Occurred()) SWIG_fail
;
32270 Py_INCREF(Py_None
); resultobj
= Py_None
;
32277 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32278 PyObject
*resultobj
;
32279 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32281 PyObject
* obj0
= 0 ;
32282 char *kwnames
[] = {
32283 (char *) "self", NULL
32286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
32287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32290 result
= (float)(arg1
)->GetRatio();
32292 wxPyEndAllowThreads(__tstate
);
32293 if (PyErr_Occurred()) SWIG_fail
;
32295 resultobj
= SWIG_PyObj_FromFloat((float)result
);
32302 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32303 PyObject
*resultobj
;
32304 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32306 PyObject
* obj0
= 0 ;
32307 char *kwnames
[] = {
32308 (char *) "self", NULL
32311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
32312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32315 result
= (bool)(arg1
)->IsWindow();
32317 wxPyEndAllowThreads(__tstate
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32327 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32328 PyObject
*resultobj
;
32329 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32331 PyObject
* obj0
= 0 ;
32332 char *kwnames
[] = {
32333 (char *) "self", NULL
32336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
32337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32340 result
= (bool)(arg1
)->IsSizer();
32342 wxPyEndAllowThreads(__tstate
);
32343 if (PyErr_Occurred()) SWIG_fail
;
32345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32352 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32353 PyObject
*resultobj
;
32354 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32356 PyObject
* obj0
= 0 ;
32357 char *kwnames
[] = {
32358 (char *) "self", NULL
32361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
32362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32365 result
= (bool)(arg1
)->IsSpacer();
32367 wxPyEndAllowThreads(__tstate
);
32368 if (PyErr_Occurred()) SWIG_fail
;
32370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32377 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32378 PyObject
*resultobj
;
32379 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32381 PyObject
* obj0
= 0 ;
32382 PyObject
* obj1
= 0 ;
32383 char *kwnames
[] = {
32384 (char *) "self",(char *) "proportion", NULL
32387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
32388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32390 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32391 if (PyErr_Occurred()) SWIG_fail
;
32394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32395 (arg1
)->SetProportion(arg2
);
32397 wxPyEndAllowThreads(__tstate
);
32398 if (PyErr_Occurred()) SWIG_fail
;
32400 Py_INCREF(Py_None
); resultobj
= Py_None
;
32407 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32408 PyObject
*resultobj
;
32409 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32411 PyObject
* obj0
= 0 ;
32412 char *kwnames
[] = {
32413 (char *) "self", NULL
32416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
32417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32420 result
= (int)(arg1
)->GetProportion();
32422 wxPyEndAllowThreads(__tstate
);
32423 if (PyErr_Occurred()) SWIG_fail
;
32425 resultobj
= SWIG_PyObj_FromInt((int)result
);
32432 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32433 PyObject
*resultobj
;
32434 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32436 PyObject
* obj0
= 0 ;
32437 PyObject
* obj1
= 0 ;
32438 char *kwnames
[] = {
32439 (char *) "self",(char *) "flag", NULL
32442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
32443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32445 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32446 if (PyErr_Occurred()) SWIG_fail
;
32449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32450 (arg1
)->SetFlag(arg2
);
32452 wxPyEndAllowThreads(__tstate
);
32453 if (PyErr_Occurred()) SWIG_fail
;
32455 Py_INCREF(Py_None
); resultobj
= Py_None
;
32462 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32463 PyObject
*resultobj
;
32464 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32466 PyObject
* obj0
= 0 ;
32467 char *kwnames
[] = {
32468 (char *) "self", NULL
32471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
32472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32475 result
= (int)(arg1
)->GetFlag();
32477 wxPyEndAllowThreads(__tstate
);
32478 if (PyErr_Occurred()) SWIG_fail
;
32480 resultobj
= SWIG_PyObj_FromInt((int)result
);
32487 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32488 PyObject
*resultobj
;
32489 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32491 PyObject
* obj0
= 0 ;
32492 PyObject
* obj1
= 0 ;
32493 char *kwnames
[] = {
32494 (char *) "self",(char *) "border", NULL
32497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
32498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32500 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32501 if (PyErr_Occurred()) SWIG_fail
;
32504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32505 (arg1
)->SetBorder(arg2
);
32507 wxPyEndAllowThreads(__tstate
);
32508 if (PyErr_Occurred()) SWIG_fail
;
32510 Py_INCREF(Py_None
); resultobj
= Py_None
;
32517 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32518 PyObject
*resultobj
;
32519 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32521 PyObject
* obj0
= 0 ;
32522 char *kwnames
[] = {
32523 (char *) "self", NULL
32526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
32527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32530 result
= (int)(arg1
)->GetBorder();
32532 wxPyEndAllowThreads(__tstate
);
32533 if (PyErr_Occurred()) SWIG_fail
;
32535 resultobj
= SWIG_PyObj_FromInt((int)result
);
32542 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32543 PyObject
*resultobj
;
32544 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32546 PyObject
* obj0
= 0 ;
32547 char *kwnames
[] = {
32548 (char *) "self", NULL
32551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
32552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32555 result
= (wxWindow
*)(arg1
)->GetWindow();
32557 wxPyEndAllowThreads(__tstate
);
32558 if (PyErr_Occurred()) SWIG_fail
;
32561 resultobj
= wxPyMake_wxObject(result
);
32569 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32570 PyObject
*resultobj
;
32571 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32572 wxWindow
*arg2
= (wxWindow
*) 0 ;
32573 PyObject
* obj0
= 0 ;
32574 PyObject
* obj1
= 0 ;
32575 char *kwnames
[] = {
32576 (char *) "self",(char *) "window", NULL
32579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 (arg1
)->SetWindow(arg2
);
32586 wxPyEndAllowThreads(__tstate
);
32587 if (PyErr_Occurred()) SWIG_fail
;
32589 Py_INCREF(Py_None
); resultobj
= Py_None
;
32596 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32597 PyObject
*resultobj
;
32598 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32600 PyObject
* obj0
= 0 ;
32601 char *kwnames
[] = {
32602 (char *) "self", NULL
32605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
32606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32609 result
= (wxSizer
*)(arg1
)->GetSizer();
32611 wxPyEndAllowThreads(__tstate
);
32612 if (PyErr_Occurred()) SWIG_fail
;
32615 resultobj
= wxPyMake_wxSizer(result
);
32623 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32624 PyObject
*resultobj
;
32625 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32626 wxSizer
*arg2
= (wxSizer
*) 0 ;
32627 PyObject
* obj0
= 0 ;
32628 PyObject
* obj1
= 0 ;
32629 char *kwnames
[] = {
32630 (char *) "self",(char *) "sizer", NULL
32633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32635 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32638 (arg1
)->SetSizer(arg2
);
32640 wxPyEndAllowThreads(__tstate
);
32641 if (PyErr_Occurred()) SWIG_fail
;
32643 Py_INCREF(Py_None
); resultobj
= Py_None
;
32650 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32651 PyObject
*resultobj
;
32652 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32654 PyObject
* obj0
= 0 ;
32655 char *kwnames
[] = {
32656 (char *) "self", NULL
32659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
32660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32664 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
32665 result
= (wxSize
*) &_result_ref
;
32668 wxPyEndAllowThreads(__tstate
);
32669 if (PyErr_Occurred()) SWIG_fail
;
32671 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
32678 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32679 PyObject
*resultobj
;
32680 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32683 PyObject
* obj0
= 0 ;
32684 PyObject
* obj1
= 0 ;
32685 char *kwnames
[] = {
32686 (char *) "self",(char *) "size", NULL
32689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
32690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32693 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32697 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
32699 wxPyEndAllowThreads(__tstate
);
32700 if (PyErr_Occurred()) SWIG_fail
;
32702 Py_INCREF(Py_None
); resultobj
= Py_None
;
32709 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32710 PyObject
*resultobj
;
32711 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32713 PyObject
* obj0
= 0 ;
32714 PyObject
* obj1
= 0 ;
32715 char *kwnames
[] = {
32716 (char *) "self",(char *) "show", NULL
32719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
32720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32722 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
32723 if (PyErr_Occurred()) SWIG_fail
;
32726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32727 (arg1
)->Show(arg2
);
32729 wxPyEndAllowThreads(__tstate
);
32730 if (PyErr_Occurred()) SWIG_fail
;
32732 Py_INCREF(Py_None
); resultobj
= Py_None
;
32739 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32740 PyObject
*resultobj
;
32741 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32743 PyObject
* obj0
= 0 ;
32744 char *kwnames
[] = {
32745 (char *) "self", NULL
32748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
32749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32752 result
= (bool)(arg1
)->IsShown();
32754 wxPyEndAllowThreads(__tstate
);
32755 if (PyErr_Occurred()) SWIG_fail
;
32757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32764 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32765 PyObject
*resultobj
;
32766 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32768 PyObject
* obj0
= 0 ;
32769 char *kwnames
[] = {
32770 (char *) "self", NULL
32773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
32774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32777 result
= (arg1
)->GetPosition();
32779 wxPyEndAllowThreads(__tstate
);
32780 if (PyErr_Occurred()) SWIG_fail
;
32783 wxPoint
* resultptr
;
32784 resultptr
= new wxPoint((wxPoint
&) result
);
32785 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
32793 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32794 PyObject
*resultobj
;
32795 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32797 PyObject
* obj0
= 0 ;
32798 char *kwnames
[] = {
32799 (char *) "self", NULL
32802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
32803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32806 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
32808 wxPyEndAllowThreads(__tstate
);
32809 if (PyErr_Occurred()) SWIG_fail
;
32811 resultobj
= result
;
32818 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
32820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32821 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
32823 return Py_BuildValue((char *)"");
32825 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32826 PyObject
*resultobj
;
32827 wxSizer
*arg1
= (wxSizer
*) 0 ;
32828 PyObject
*arg2
= (PyObject
*) 0 ;
32829 PyObject
* obj0
= 0 ;
32830 PyObject
* obj1
= 0 ;
32831 char *kwnames
[] = {
32832 (char *) "self",(char *) "_self", NULL
32835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
32836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32840 wxSizer__setOORInfo(arg1
,arg2
);
32842 wxPyEndAllowThreads(__tstate
);
32843 if (PyErr_Occurred()) SWIG_fail
;
32845 Py_INCREF(Py_None
); resultobj
= Py_None
;
32852 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32853 PyObject
*resultobj
;
32854 wxSizer
*arg1
= (wxSizer
*) 0 ;
32855 PyObject
*arg2
= (PyObject
*) 0 ;
32856 int arg3
= (int) 0 ;
32857 int arg4
= (int) 0 ;
32858 int arg5
= (int) 0 ;
32859 PyObject
*arg6
= (PyObject
*) NULL
;
32860 PyObject
* obj0
= 0 ;
32861 PyObject
* obj1
= 0 ;
32862 PyObject
* obj2
= 0 ;
32863 PyObject
* obj3
= 0 ;
32864 PyObject
* obj4
= 0 ;
32865 PyObject
* obj5
= 0 ;
32866 char *kwnames
[] = {
32867 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32875 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32876 if (PyErr_Occurred()) SWIG_fail
;
32881 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32882 if (PyErr_Occurred()) SWIG_fail
;
32887 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
32888 if (PyErr_Occurred()) SWIG_fail
;
32895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32896 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
32898 wxPyEndAllowThreads(__tstate
);
32899 if (PyErr_Occurred()) SWIG_fail
;
32901 Py_INCREF(Py_None
); resultobj
= Py_None
;
32908 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32909 PyObject
*resultobj
;
32910 wxSizer
*arg1
= (wxSizer
*) 0 ;
32912 PyObject
*arg3
= (PyObject
*) 0 ;
32913 int arg4
= (int) 0 ;
32914 int arg5
= (int) 0 ;
32915 int arg6
= (int) 0 ;
32916 PyObject
*arg7
= (PyObject
*) NULL
;
32917 PyObject
* obj0
= 0 ;
32918 PyObject
* obj1
= 0 ;
32919 PyObject
* obj2
= 0 ;
32920 PyObject
* obj3
= 0 ;
32921 PyObject
* obj4
= 0 ;
32922 PyObject
* obj5
= 0 ;
32923 PyObject
* obj6
= 0 ;
32924 char *kwnames
[] = {
32925 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32931 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32932 if (PyErr_Occurred()) SWIG_fail
;
32937 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32938 if (PyErr_Occurred()) SWIG_fail
;
32943 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
32944 if (PyErr_Occurred()) SWIG_fail
;
32949 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
32950 if (PyErr_Occurred()) SWIG_fail
;
32957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32958 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32960 wxPyEndAllowThreads(__tstate
);
32961 if (PyErr_Occurred()) SWIG_fail
;
32963 Py_INCREF(Py_None
); resultobj
= Py_None
;
32970 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32971 PyObject
*resultobj
;
32972 wxSizer
*arg1
= (wxSizer
*) 0 ;
32973 PyObject
*arg2
= (PyObject
*) 0 ;
32974 int arg3
= (int) 0 ;
32975 int arg4
= (int) 0 ;
32976 int arg5
= (int) 0 ;
32977 PyObject
*arg6
= (PyObject
*) NULL
;
32978 PyObject
* obj0
= 0 ;
32979 PyObject
* obj1
= 0 ;
32980 PyObject
* obj2
= 0 ;
32981 PyObject
* obj3
= 0 ;
32982 PyObject
* obj4
= 0 ;
32983 PyObject
* obj5
= 0 ;
32984 char *kwnames
[] = {
32985 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32993 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32994 if (PyErr_Occurred()) SWIG_fail
;
32999 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33000 if (PyErr_Occurred()) SWIG_fail
;
33005 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33006 if (PyErr_Occurred()) SWIG_fail
;
33013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33014 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33016 wxPyEndAllowThreads(__tstate
);
33017 if (PyErr_Occurred()) SWIG_fail
;
33019 Py_INCREF(Py_None
); resultobj
= Py_None
;
33026 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33027 PyObject
*resultobj
;
33028 wxSizer
*arg1
= (wxSizer
*) 0 ;
33029 PyObject
*arg2
= (PyObject
*) 0 ;
33031 PyObject
* obj0
= 0 ;
33032 PyObject
* obj1
= 0 ;
33033 char *kwnames
[] = {
33034 (char *) "self",(char *) "item", NULL
33037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 result
= (bool)wxSizer_Remove(arg1
,arg2
);
33044 wxPyEndAllowThreads(__tstate
);
33045 if (PyErr_Occurred()) SWIG_fail
;
33047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33054 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33055 PyObject
*resultobj
;
33056 wxSizer
*arg1
= (wxSizer
*) 0 ;
33057 PyObject
*arg2
= (PyObject
*) 0 ;
33060 PyObject
* obj0
= 0 ;
33061 PyObject
* obj1
= 0 ;
33062 PyObject
* obj2
= 0 ;
33063 char *kwnames
[] = {
33064 (char *) "self",(char *) "item",(char *) "size", NULL
33067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33072 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33076 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
33078 wxPyEndAllowThreads(__tstate
);
33079 if (PyErr_Occurred()) SWIG_fail
;
33081 Py_INCREF(Py_None
); resultobj
= Py_None
;
33088 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33089 PyObject
*resultobj
;
33090 wxSizer
*arg1
= (wxSizer
*) 0 ;
33091 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33092 PyObject
* obj0
= 0 ;
33093 PyObject
* obj1
= 0 ;
33094 char *kwnames
[] = {
33095 (char *) "self",(char *) "item", NULL
33098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33100 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33105 wxPyEndAllowThreads(__tstate
);
33106 if (PyErr_Occurred()) SWIG_fail
;
33108 Py_INCREF(Py_None
); resultobj
= Py_None
;
33115 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33116 PyObject
*resultobj
;
33117 wxSizer
*arg1
= (wxSizer
*) 0 ;
33119 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
33120 PyObject
* obj0
= 0 ;
33121 PyObject
* obj1
= 0 ;
33122 PyObject
* obj2
= 0 ;
33123 char *kwnames
[] = {
33124 (char *) "self",(char *) "index",(char *) "item", NULL
33127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33130 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33133 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33136 (arg1
)->Insert(arg2
,arg3
);
33138 wxPyEndAllowThreads(__tstate
);
33139 if (PyErr_Occurred()) SWIG_fail
;
33141 Py_INCREF(Py_None
); resultobj
= Py_None
;
33148 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33149 PyObject
*resultobj
;
33150 wxSizer
*arg1
= (wxSizer
*) 0 ;
33151 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33152 PyObject
* obj0
= 0 ;
33153 PyObject
* obj1
= 0 ;
33154 char *kwnames
[] = {
33155 (char *) "self",(char *) "item", NULL
33158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33160 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33163 (arg1
)->Prepend(arg2
);
33165 wxPyEndAllowThreads(__tstate
);
33166 if (PyErr_Occurred()) SWIG_fail
;
33168 Py_INCREF(Py_None
); resultobj
= Py_None
;
33175 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33176 PyObject
*resultobj
;
33177 wxSizer
*arg1
= (wxSizer
*) 0 ;
33182 PyObject
* obj0
= 0 ;
33183 PyObject
* obj1
= 0 ;
33184 PyObject
* obj2
= 0 ;
33185 PyObject
* obj3
= 0 ;
33186 PyObject
* obj4
= 0 ;
33187 char *kwnames
[] = {
33188 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33194 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
33195 if (PyErr_Occurred()) SWIG_fail
;
33198 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
33199 if (PyErr_Occurred()) SWIG_fail
;
33202 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33203 if (PyErr_Occurred()) SWIG_fail
;
33206 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33207 if (PyErr_Occurred()) SWIG_fail
;
33210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33211 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
33213 wxPyEndAllowThreads(__tstate
);
33214 if (PyErr_Occurred()) SWIG_fail
;
33216 Py_INCREF(Py_None
); resultobj
= Py_None
;
33223 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33224 PyObject
*resultobj
;
33225 wxSizer
*arg1
= (wxSizer
*) 0 ;
33228 PyObject
* obj0
= 0 ;
33229 PyObject
* obj1
= 0 ;
33230 char *kwnames
[] = {
33231 (char *) "self",(char *) "size", NULL
33234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33238 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33242 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
33244 wxPyEndAllowThreads(__tstate
);
33245 if (PyErr_Occurred()) SWIG_fail
;
33247 Py_INCREF(Py_None
); resultobj
= Py_None
;
33254 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33255 PyObject
*resultobj
;
33256 wxSizer
*arg1
= (wxSizer
*) 0 ;
33258 PyObject
* obj0
= 0 ;
33259 char *kwnames
[] = {
33260 (char *) "self", NULL
33263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
33264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33267 result
= (arg1
)->GetSize();
33269 wxPyEndAllowThreads(__tstate
);
33270 if (PyErr_Occurred()) SWIG_fail
;
33273 wxSize
* resultptr
;
33274 resultptr
= new wxSize((wxSize
&) result
);
33275 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33283 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33284 PyObject
*resultobj
;
33285 wxSizer
*arg1
= (wxSizer
*) 0 ;
33287 PyObject
* obj0
= 0 ;
33288 char *kwnames
[] = {
33289 (char *) "self", NULL
33292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
33293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33296 result
= (arg1
)->GetPosition();
33298 wxPyEndAllowThreads(__tstate
);
33299 if (PyErr_Occurred()) SWIG_fail
;
33302 wxPoint
* resultptr
;
33303 resultptr
= new wxPoint((wxPoint
&) result
);
33304 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
33312 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33313 PyObject
*resultobj
;
33314 wxSizer
*arg1
= (wxSizer
*) 0 ;
33316 PyObject
* obj0
= 0 ;
33317 char *kwnames
[] = {
33318 (char *) "self", NULL
33321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
33322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33325 result
= (arg1
)->GetMinSize();
33327 wxPyEndAllowThreads(__tstate
);
33328 if (PyErr_Occurred()) SWIG_fail
;
33331 wxSize
* resultptr
;
33332 resultptr
= new wxSize((wxSize
&) result
);
33333 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33341 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33342 PyObject
*resultobj
;
33343 wxSizer
*arg1
= (wxSizer
*) 0 ;
33344 PyObject
* obj0
= 0 ;
33345 char *kwnames
[] = {
33346 (char *) "self", NULL
33349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
33350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33353 (arg1
)->RecalcSizes();
33355 wxPyEndAllowThreads(__tstate
);
33356 if (PyErr_Occurred()) SWIG_fail
;
33358 Py_INCREF(Py_None
); resultobj
= Py_None
;
33365 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33366 PyObject
*resultobj
;
33367 wxSizer
*arg1
= (wxSizer
*) 0 ;
33369 PyObject
* obj0
= 0 ;
33370 char *kwnames
[] = {
33371 (char *) "self", NULL
33374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
33375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33378 result
= (arg1
)->CalcMin();
33380 wxPyEndAllowThreads(__tstate
);
33381 if (PyErr_Occurred()) SWIG_fail
;
33384 wxSize
* resultptr
;
33385 resultptr
= new wxSize((wxSize
&) result
);
33386 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33394 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33395 PyObject
*resultobj
;
33396 wxSizer
*arg1
= (wxSizer
*) 0 ;
33397 PyObject
* obj0
= 0 ;
33398 char *kwnames
[] = {
33399 (char *) "self", NULL
33402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
33403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33408 wxPyEndAllowThreads(__tstate
);
33409 if (PyErr_Occurred()) SWIG_fail
;
33411 Py_INCREF(Py_None
); resultobj
= Py_None
;
33418 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33419 PyObject
*resultobj
;
33420 wxSizer
*arg1
= (wxSizer
*) 0 ;
33421 wxWindow
*arg2
= (wxWindow
*) 0 ;
33423 PyObject
* obj0
= 0 ;
33424 PyObject
* obj1
= 0 ;
33425 char *kwnames
[] = {
33426 (char *) "self",(char *) "window", NULL
33429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
33430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33431 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33434 result
= (arg1
)->Fit(arg2
);
33436 wxPyEndAllowThreads(__tstate
);
33437 if (PyErr_Occurred()) SWIG_fail
;
33440 wxSize
* resultptr
;
33441 resultptr
= new wxSize((wxSize
&) result
);
33442 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33450 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33451 PyObject
*resultobj
;
33452 wxSizer
*arg1
= (wxSizer
*) 0 ;
33453 wxWindow
*arg2
= (wxWindow
*) 0 ;
33454 PyObject
* obj0
= 0 ;
33455 PyObject
* obj1
= 0 ;
33456 char *kwnames
[] = {
33457 (char *) "self",(char *) "window", NULL
33460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
33461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33462 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33465 (arg1
)->FitInside(arg2
);
33467 wxPyEndAllowThreads(__tstate
);
33468 if (PyErr_Occurred()) SWIG_fail
;
33470 Py_INCREF(Py_None
); resultobj
= Py_None
;
33477 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33478 PyObject
*resultobj
;
33479 wxSizer
*arg1
= (wxSizer
*) 0 ;
33480 wxWindow
*arg2
= (wxWindow
*) 0 ;
33481 PyObject
* obj0
= 0 ;
33482 PyObject
* obj1
= 0 ;
33483 char *kwnames
[] = {
33484 (char *) "self",(char *) "window", NULL
33487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33489 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33492 (arg1
)->SetSizeHints(arg2
);
33494 wxPyEndAllowThreads(__tstate
);
33495 if (PyErr_Occurred()) SWIG_fail
;
33497 Py_INCREF(Py_None
); resultobj
= Py_None
;
33504 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33505 PyObject
*resultobj
;
33506 wxSizer
*arg1
= (wxSizer
*) 0 ;
33507 wxWindow
*arg2
= (wxWindow
*) 0 ;
33508 PyObject
* obj0
= 0 ;
33509 PyObject
* obj1
= 0 ;
33510 char *kwnames
[] = {
33511 (char *) "self",(char *) "window", NULL
33514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33516 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33519 (arg1
)->SetVirtualSizeHints(arg2
);
33521 wxPyEndAllowThreads(__tstate
);
33522 if (PyErr_Occurred()) SWIG_fail
;
33524 Py_INCREF(Py_None
); resultobj
= Py_None
;
33531 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33532 PyObject
*resultobj
;
33533 wxSizer
*arg1
= (wxSizer
*) 0 ;
33534 bool arg2
= (bool) False
;
33535 PyObject
* obj0
= 0 ;
33536 PyObject
* obj1
= 0 ;
33537 char *kwnames
[] = {
33538 (char *) "self",(char *) "delete_windows", NULL
33541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
33542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33545 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
33546 if (PyErr_Occurred()) SWIG_fail
;
33550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33551 (arg1
)->Clear(arg2
);
33553 wxPyEndAllowThreads(__tstate
);
33554 if (PyErr_Occurred()) SWIG_fail
;
33556 Py_INCREF(Py_None
); resultobj
= Py_None
;
33563 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33564 PyObject
*resultobj
;
33565 wxSizer
*arg1
= (wxSizer
*) 0 ;
33566 PyObject
* obj0
= 0 ;
33567 char *kwnames
[] = {
33568 (char *) "self", NULL
33571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33575 (arg1
)->DeleteWindows();
33577 wxPyEndAllowThreads(__tstate
);
33578 if (PyErr_Occurred()) SWIG_fail
;
33580 Py_INCREF(Py_None
); resultobj
= Py_None
;
33587 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33588 PyObject
*resultobj
;
33589 wxSizer
*arg1
= (wxSizer
*) 0 ;
33591 PyObject
* obj0
= 0 ;
33592 char *kwnames
[] = {
33593 (char *) "self", NULL
33596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
33597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33600 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
33602 wxPyEndAllowThreads(__tstate
);
33603 if (PyErr_Occurred()) SWIG_fail
;
33605 resultobj
= result
;
33612 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33613 PyObject
*resultobj
;
33614 wxSizer
*arg1
= (wxSizer
*) 0 ;
33615 PyObject
*arg2
= (PyObject
*) 0 ;
33616 bool arg3
= (bool) True
;
33617 PyObject
* obj0
= 0 ;
33618 PyObject
* obj1
= 0 ;
33619 PyObject
* obj2
= 0 ;
33620 char *kwnames
[] = {
33621 (char *) "self",(char *) "item",(char *) "show", NULL
33624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33629 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
33630 if (PyErr_Occurred()) SWIG_fail
;
33634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33635 wxSizer_Show(arg1
,arg2
,arg3
);
33637 wxPyEndAllowThreads(__tstate
);
33638 if (PyErr_Occurred()) SWIG_fail
;
33640 Py_INCREF(Py_None
); resultobj
= Py_None
;
33647 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33648 PyObject
*resultobj
;
33649 wxSizer
*arg1
= (wxSizer
*) 0 ;
33650 PyObject
*arg2
= (PyObject
*) 0 ;
33651 PyObject
* obj0
= 0 ;
33652 PyObject
* obj1
= 0 ;
33653 char *kwnames
[] = {
33654 (char *) "self",(char *) "item", NULL
33657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
33658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33662 wxSizer_Hide(arg1
,arg2
);
33664 wxPyEndAllowThreads(__tstate
);
33665 if (PyErr_Occurred()) SWIG_fail
;
33667 Py_INCREF(Py_None
); resultobj
= Py_None
;
33674 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33675 PyObject
*resultobj
;
33676 wxSizer
*arg1
= (wxSizer
*) 0 ;
33677 PyObject
*arg2
= (PyObject
*) 0 ;
33679 PyObject
* obj0
= 0 ;
33680 PyObject
* obj1
= 0 ;
33681 char *kwnames
[] = {
33682 (char *) "self",(char *) "item", NULL
33685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
33686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33690 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
33692 wxPyEndAllowThreads(__tstate
);
33693 if (PyErr_Occurred()) SWIG_fail
;
33695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33702 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33703 PyObject
*resultobj
;
33704 wxSizer
*arg1
= (wxSizer
*) 0 ;
33706 PyObject
* obj0
= 0 ;
33707 PyObject
* obj1
= 0 ;
33708 char *kwnames
[] = {
33709 (char *) "self",(char *) "show", NULL
33712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33715 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
33716 if (PyErr_Occurred()) SWIG_fail
;
33719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33720 (arg1
)->ShowItems(arg2
);
33722 wxPyEndAllowThreads(__tstate
);
33723 if (PyErr_Occurred()) SWIG_fail
;
33725 Py_INCREF(Py_None
); resultobj
= Py_None
;
33732 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
33734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33735 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
33737 return Py_BuildValue((char *)"");
33739 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33740 PyObject
*resultobj
;
33742 char *kwnames
[] = {
33746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
33748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33749 result
= (wxPySizer
*)new wxPySizer();
33751 wxPyEndAllowThreads(__tstate
);
33752 if (PyErr_Occurred()) SWIG_fail
;
33754 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
33761 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33762 PyObject
*resultobj
;
33763 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
33764 PyObject
*arg2
= (PyObject
*) 0 ;
33765 PyObject
*arg3
= (PyObject
*) 0 ;
33766 PyObject
* obj0
= 0 ;
33767 PyObject
* obj1
= 0 ;
33768 PyObject
* obj2
= 0 ;
33769 char *kwnames
[] = {
33770 (char *) "self",(char *) "self",(char *) "_class", NULL
33773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33779 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33781 wxPyEndAllowThreads(__tstate
);
33782 if (PyErr_Occurred()) SWIG_fail
;
33784 Py_INCREF(Py_None
); resultobj
= Py_None
;
33791 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
33793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33794 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
33796 return Py_BuildValue((char *)"");
33798 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33799 PyObject
*resultobj
;
33800 int arg1
= (int) wxHORIZONTAL
;
33801 wxBoxSizer
*result
;
33802 PyObject
* obj0
= 0 ;
33803 char *kwnames
[] = {
33804 (char *) "orient", NULL
33807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
33810 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
33811 if (PyErr_Occurred()) SWIG_fail
;
33815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33816 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
33818 wxPyEndAllowThreads(__tstate
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33821 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
33828 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33829 PyObject
*resultobj
;
33830 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
33832 PyObject
* obj0
= 0 ;
33833 char *kwnames
[] = {
33834 (char *) "self", NULL
33837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
33838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33841 result
= (int)(arg1
)->GetOrientation();
33843 wxPyEndAllowThreads(__tstate
);
33844 if (PyErr_Occurred()) SWIG_fail
;
33846 resultobj
= SWIG_PyObj_FromInt((int)result
);
33853 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33854 PyObject
*resultobj
;
33855 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
33857 PyObject
* obj0
= 0 ;
33858 PyObject
* obj1
= 0 ;
33859 char *kwnames
[] = {
33860 (char *) "self",(char *) "orient", NULL
33863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
33864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33866 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
33867 if (PyErr_Occurred()) SWIG_fail
;
33870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33871 (arg1
)->SetOrientation(arg2
);
33873 wxPyEndAllowThreads(__tstate
);
33874 if (PyErr_Occurred()) SWIG_fail
;
33876 Py_INCREF(Py_None
); resultobj
= Py_None
;
33883 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33884 PyObject
*resultobj
;
33885 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
33886 PyObject
* obj0
= 0 ;
33887 char *kwnames
[] = {
33888 (char *) "self", NULL
33891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
33892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33895 (arg1
)->RecalcSizes();
33897 wxPyEndAllowThreads(__tstate
);
33898 if (PyErr_Occurred()) SWIG_fail
;
33900 Py_INCREF(Py_None
); resultobj
= Py_None
;
33907 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33908 PyObject
*resultobj
;
33909 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
33911 PyObject
* obj0
= 0 ;
33912 char *kwnames
[] = {
33913 (char *) "self", NULL
33916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
33917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33920 result
= (arg1
)->CalcMin();
33922 wxPyEndAllowThreads(__tstate
);
33923 if (PyErr_Occurred()) SWIG_fail
;
33926 wxSize
* resultptr
;
33927 resultptr
= new wxSize((wxSize
&) result
);
33928 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33936 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
33938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33939 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
33941 return Py_BuildValue((char *)"");
33943 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33944 PyObject
*resultobj
;
33945 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
33946 int arg2
= (int) wxHORIZONTAL
;
33947 wxStaticBoxSizer
*result
;
33948 PyObject
* obj0
= 0 ;
33949 PyObject
* obj1
= 0 ;
33950 char *kwnames
[] = {
33951 (char *) "box",(char *) "orient", NULL
33954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33958 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
33959 if (PyErr_Occurred()) SWIG_fail
;
33963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33964 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
33966 wxPyEndAllowThreads(__tstate
);
33967 if (PyErr_Occurred()) SWIG_fail
;
33969 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
33976 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33977 PyObject
*resultobj
;
33978 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
33979 wxStaticBox
*result
;
33980 PyObject
* obj0
= 0 ;
33981 char *kwnames
[] = {
33982 (char *) "self", NULL
33985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
33986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33989 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
33991 wxPyEndAllowThreads(__tstate
);
33992 if (PyErr_Occurred()) SWIG_fail
;
33995 resultobj
= wxPyMake_wxObject(result
);
34003 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34004 PyObject
*resultobj
;
34005 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34006 PyObject
* obj0
= 0 ;
34007 char *kwnames
[] = {
34008 (char *) "self", NULL
34011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34015 (arg1
)->RecalcSizes();
34017 wxPyEndAllowThreads(__tstate
);
34018 if (PyErr_Occurred()) SWIG_fail
;
34020 Py_INCREF(Py_None
); resultobj
= Py_None
;
34027 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34028 PyObject
*resultobj
;
34029 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34031 PyObject
* obj0
= 0 ;
34032 char *kwnames
[] = {
34033 (char *) "self", NULL
34036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34040 result
= (arg1
)->CalcMin();
34042 wxPyEndAllowThreads(__tstate
);
34043 if (PyErr_Occurred()) SWIG_fail
;
34046 wxSize
* resultptr
;
34047 resultptr
= new wxSize((wxSize
&) result
);
34048 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34056 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34059 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
34061 return Py_BuildValue((char *)"");
34063 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34064 PyObject
*resultobj
;
34065 int arg1
= (int) 1 ;
34066 int arg2
= (int) 0 ;
34067 int arg3
= (int) 0 ;
34068 int arg4
= (int) 0 ;
34069 wxGridSizer
*result
;
34070 PyObject
* obj0
= 0 ;
34071 PyObject
* obj1
= 0 ;
34072 PyObject
* obj2
= 0 ;
34073 PyObject
* obj3
= 0 ;
34074 char *kwnames
[] = {
34075 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34081 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34082 if (PyErr_Occurred()) SWIG_fail
;
34087 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34088 if (PyErr_Occurred()) SWIG_fail
;
34093 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34094 if (PyErr_Occurred()) SWIG_fail
;
34099 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
34100 if (PyErr_Occurred()) SWIG_fail
;
34104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34105 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
34107 wxPyEndAllowThreads(__tstate
);
34108 if (PyErr_Occurred()) SWIG_fail
;
34110 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
34117 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34118 PyObject
*resultobj
;
34119 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34120 PyObject
* obj0
= 0 ;
34121 char *kwnames
[] = {
34122 (char *) "self", NULL
34125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34129 (arg1
)->RecalcSizes();
34131 wxPyEndAllowThreads(__tstate
);
34132 if (PyErr_Occurred()) SWIG_fail
;
34134 Py_INCREF(Py_None
); resultobj
= Py_None
;
34141 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34142 PyObject
*resultobj
;
34143 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34145 PyObject
* obj0
= 0 ;
34146 char *kwnames
[] = {
34147 (char *) "self", NULL
34150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34154 result
= (arg1
)->CalcMin();
34156 wxPyEndAllowThreads(__tstate
);
34157 if (PyErr_Occurred()) SWIG_fail
;
34160 wxSize
* resultptr
;
34161 resultptr
= new wxSize((wxSize
&) result
);
34162 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34170 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34171 PyObject
*resultobj
;
34172 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34174 PyObject
* obj0
= 0 ;
34175 PyObject
* obj1
= 0 ;
34176 char *kwnames
[] = {
34177 (char *) "self",(char *) "cols", NULL
34180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
34181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34183 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34184 if (PyErr_Occurred()) SWIG_fail
;
34187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34188 (arg1
)->SetCols(arg2
);
34190 wxPyEndAllowThreads(__tstate
);
34191 if (PyErr_Occurred()) SWIG_fail
;
34193 Py_INCREF(Py_None
); resultobj
= Py_None
;
34200 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34201 PyObject
*resultobj
;
34202 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34204 PyObject
* obj0
= 0 ;
34205 PyObject
* obj1
= 0 ;
34206 char *kwnames
[] = {
34207 (char *) "self",(char *) "rows", NULL
34210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
34211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34213 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34214 if (PyErr_Occurred()) SWIG_fail
;
34217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34218 (arg1
)->SetRows(arg2
);
34220 wxPyEndAllowThreads(__tstate
);
34221 if (PyErr_Occurred()) SWIG_fail
;
34223 Py_INCREF(Py_None
); resultobj
= Py_None
;
34230 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34231 PyObject
*resultobj
;
34232 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34234 PyObject
* obj0
= 0 ;
34235 PyObject
* obj1
= 0 ;
34236 char *kwnames
[] = {
34237 (char *) "self",(char *) "gap", NULL
34240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34243 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34248 (arg1
)->SetVGap(arg2
);
34250 wxPyEndAllowThreads(__tstate
);
34251 if (PyErr_Occurred()) SWIG_fail
;
34253 Py_INCREF(Py_None
); resultobj
= Py_None
;
34260 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34261 PyObject
*resultobj
;
34262 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34264 PyObject
* obj0
= 0 ;
34265 PyObject
* obj1
= 0 ;
34266 char *kwnames
[] = {
34267 (char *) "self",(char *) "gap", NULL
34270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34273 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34274 if (PyErr_Occurred()) SWIG_fail
;
34277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34278 (arg1
)->SetHGap(arg2
);
34280 wxPyEndAllowThreads(__tstate
);
34281 if (PyErr_Occurred()) SWIG_fail
;
34283 Py_INCREF(Py_None
); resultobj
= Py_None
;
34290 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34291 PyObject
*resultobj
;
34292 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34294 PyObject
* obj0
= 0 ;
34295 char *kwnames
[] = {
34296 (char *) "self", NULL
34299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
34300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34303 result
= (int)(arg1
)->GetCols();
34305 wxPyEndAllowThreads(__tstate
);
34306 if (PyErr_Occurred()) SWIG_fail
;
34308 resultobj
= SWIG_PyObj_FromInt((int)result
);
34315 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34316 PyObject
*resultobj
;
34317 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34319 PyObject
* obj0
= 0 ;
34320 char *kwnames
[] = {
34321 (char *) "self", NULL
34324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
34325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34328 result
= (int)(arg1
)->GetRows();
34330 wxPyEndAllowThreads(__tstate
);
34331 if (PyErr_Occurred()) SWIG_fail
;
34333 resultobj
= SWIG_PyObj_FromInt((int)result
);
34340 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34341 PyObject
*resultobj
;
34342 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34344 PyObject
* obj0
= 0 ;
34345 char *kwnames
[] = {
34346 (char *) "self", NULL
34349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
34350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34353 result
= (int)(arg1
)->GetVGap();
34355 wxPyEndAllowThreads(__tstate
);
34356 if (PyErr_Occurred()) SWIG_fail
;
34358 resultobj
= SWIG_PyObj_FromInt((int)result
);
34365 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34366 PyObject
*resultobj
;
34367 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34369 PyObject
* obj0
= 0 ;
34370 char *kwnames
[] = {
34371 (char *) "self", NULL
34374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
34375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34378 result
= (int)(arg1
)->GetHGap();
34380 wxPyEndAllowThreads(__tstate
);
34381 if (PyErr_Occurred()) SWIG_fail
;
34383 resultobj
= SWIG_PyObj_FromInt((int)result
);
34390 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34393 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
34395 return Py_BuildValue((char *)"");
34397 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34398 PyObject
*resultobj
;
34399 int arg1
= (int) 1 ;
34400 int arg2
= (int) 0 ;
34401 int arg3
= (int) 0 ;
34402 int arg4
= (int) 0 ;
34403 wxFlexGridSizer
*result
;
34404 PyObject
* obj0
= 0 ;
34405 PyObject
* obj1
= 0 ;
34406 PyObject
* obj2
= 0 ;
34407 PyObject
* obj3
= 0 ;
34408 char *kwnames
[] = {
34409 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34415 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34416 if (PyErr_Occurred()) SWIG_fail
;
34421 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34422 if (PyErr_Occurred()) SWIG_fail
;
34427 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34428 if (PyErr_Occurred()) SWIG_fail
;
34433 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
34434 if (PyErr_Occurred()) SWIG_fail
;
34438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34439 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
34441 wxPyEndAllowThreads(__tstate
);
34442 if (PyErr_Occurred()) SWIG_fail
;
34444 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
34451 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34452 PyObject
*resultobj
;
34453 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34454 PyObject
* obj0
= 0 ;
34455 char *kwnames
[] = {
34456 (char *) "self", NULL
34459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34463 (arg1
)->RecalcSizes();
34465 wxPyEndAllowThreads(__tstate
);
34466 if (PyErr_Occurred()) SWIG_fail
;
34468 Py_INCREF(Py_None
); resultobj
= Py_None
;
34475 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34476 PyObject
*resultobj
;
34477 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34479 PyObject
* obj0
= 0 ;
34480 char *kwnames
[] = {
34481 (char *) "self", NULL
34484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34488 result
= (arg1
)->CalcMin();
34490 wxPyEndAllowThreads(__tstate
);
34491 if (PyErr_Occurred()) SWIG_fail
;
34494 wxSize
* resultptr
;
34495 resultptr
= new wxSize((wxSize
&) result
);
34496 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34504 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34505 PyObject
*resultobj
;
34506 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34508 int arg3
= (int) 0 ;
34509 PyObject
* obj0
= 0 ;
34510 PyObject
* obj1
= 0 ;
34511 PyObject
* obj2
= 0 ;
34512 char *kwnames
[] = {
34513 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34519 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
34520 if (PyErr_Occurred()) SWIG_fail
;
34524 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34525 if (PyErr_Occurred()) SWIG_fail
;
34529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34530 (arg1
)->AddGrowableRow(arg2
,arg3
);
34532 wxPyEndAllowThreads(__tstate
);
34533 if (PyErr_Occurred()) SWIG_fail
;
34535 Py_INCREF(Py_None
); resultobj
= Py_None
;
34542 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34543 PyObject
*resultobj
;
34544 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34546 PyObject
* obj0
= 0 ;
34547 PyObject
* obj1
= 0 ;
34548 char *kwnames
[] = {
34549 (char *) "self",(char *) "idx", NULL
34552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
34553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34555 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
34556 if (PyErr_Occurred()) SWIG_fail
;
34559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34560 (arg1
)->RemoveGrowableRow(arg2
);
34562 wxPyEndAllowThreads(__tstate
);
34563 if (PyErr_Occurred()) SWIG_fail
;
34565 Py_INCREF(Py_None
); resultobj
= Py_None
;
34572 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34573 PyObject
*resultobj
;
34574 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34576 int arg3
= (int) 0 ;
34577 PyObject
* obj0
= 0 ;
34578 PyObject
* obj1
= 0 ;
34579 PyObject
* obj2
= 0 ;
34580 char *kwnames
[] = {
34581 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34587 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
34588 if (PyErr_Occurred()) SWIG_fail
;
34592 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34593 if (PyErr_Occurred()) SWIG_fail
;
34597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34598 (arg1
)->AddGrowableCol(arg2
,arg3
);
34600 wxPyEndAllowThreads(__tstate
);
34601 if (PyErr_Occurred()) SWIG_fail
;
34603 Py_INCREF(Py_None
); resultobj
= Py_None
;
34610 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34611 PyObject
*resultobj
;
34612 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34614 PyObject
* obj0
= 0 ;
34615 PyObject
* obj1
= 0 ;
34616 char *kwnames
[] = {
34617 (char *) "self",(char *) "idx", NULL
34620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
34621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34623 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
34624 if (PyErr_Occurred()) SWIG_fail
;
34627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34628 (arg1
)->RemoveGrowableCol(arg2
);
34630 wxPyEndAllowThreads(__tstate
);
34631 if (PyErr_Occurred()) SWIG_fail
;
34633 Py_INCREF(Py_None
); resultobj
= Py_None
;
34640 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34641 PyObject
*resultobj
;
34642 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34644 PyObject
* obj0
= 0 ;
34645 PyObject
* obj1
= 0 ;
34646 char *kwnames
[] = {
34647 (char *) "self",(char *) "direction", NULL
34650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
34651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34653 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34654 if (PyErr_Occurred()) SWIG_fail
;
34657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34658 (arg1
)->SetFlexibleDirection(arg2
);
34660 wxPyEndAllowThreads(__tstate
);
34661 if (PyErr_Occurred()) SWIG_fail
;
34663 Py_INCREF(Py_None
); resultobj
= Py_None
;
34670 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34671 PyObject
*resultobj
;
34672 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34674 PyObject
* obj0
= 0 ;
34675 char *kwnames
[] = {
34676 (char *) "self", NULL
34679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
34680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34683 result
= (int)(arg1
)->GetFlexibleDirection();
34685 wxPyEndAllowThreads(__tstate
);
34686 if (PyErr_Occurred()) SWIG_fail
;
34688 resultobj
= SWIG_PyObj_FromInt((int)result
);
34695 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34696 PyObject
*resultobj
;
34697 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34699 PyObject
* obj0
= 0 ;
34700 PyObject
* obj1
= 0 ;
34701 char *kwnames
[] = {
34702 (char *) "self",(char *) "mode", NULL
34705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
34706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34708 arg2
= (wxFlexSizerGrowMode
) SWIG_PyObj_AsInt(obj1
);
34709 if (PyErr_Occurred()) SWIG_fail
;
34712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34713 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
34715 wxPyEndAllowThreads(__tstate
);
34716 if (PyErr_Occurred()) SWIG_fail
;
34718 Py_INCREF(Py_None
); resultobj
= Py_None
;
34725 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34726 PyObject
*resultobj
;
34727 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34729 PyObject
* obj0
= 0 ;
34730 char *kwnames
[] = {
34731 (char *) "self", NULL
34734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
34735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34738 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
34740 wxPyEndAllowThreads(__tstate
);
34741 if (PyErr_Occurred()) SWIG_fail
;
34743 resultobj
= SWIG_PyObj_FromInt((int)result
);
34750 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34751 PyObject
*resultobj
;
34752 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34753 wxArrayInt
*result
;
34754 PyObject
* obj0
= 0 ;
34755 char *kwnames
[] = {
34756 (char *) "self", NULL
34759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
34760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34764 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
34765 result
= (wxArrayInt
*) &_result_ref
;
34768 wxPyEndAllowThreads(__tstate
);
34769 if (PyErr_Occurred()) SWIG_fail
;
34772 resultobj
= PyList_New(0);
34774 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
34775 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
34776 PyList_Append(resultobj
, val
);
34786 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34787 PyObject
*resultobj
;
34788 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34789 wxArrayInt
*result
;
34790 PyObject
* obj0
= 0 ;
34791 char *kwnames
[] = {
34792 (char *) "self", NULL
34795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
34796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34800 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
34801 result
= (wxArrayInt
*) &_result_ref
;
34804 wxPyEndAllowThreads(__tstate
);
34805 if (PyErr_Occurred()) SWIG_fail
;
34808 resultobj
= PyList_New(0);
34810 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
34811 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
34812 PyList_Append(resultobj
, val
);
34822 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34825 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
34827 return Py_BuildValue((char *)"");
34829 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34830 PyObject
*resultobj
;
34831 int arg1
= (int) 0 ;
34832 int arg2
= (int) 0 ;
34833 wxGBPosition
*result
;
34834 PyObject
* obj0
= 0 ;
34835 PyObject
* obj1
= 0 ;
34836 char *kwnames
[] = {
34837 (char *) "row",(char *) "col", NULL
34840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34843 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34844 if (PyErr_Occurred()) SWIG_fail
;
34849 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34850 if (PyErr_Occurred()) SWIG_fail
;
34854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34855 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
34857 wxPyEndAllowThreads(__tstate
);
34858 if (PyErr_Occurred()) SWIG_fail
;
34860 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
34867 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34868 PyObject
*resultobj
;
34869 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
34871 PyObject
* obj0
= 0 ;
34872 char *kwnames
[] = {
34873 (char *) "self", NULL
34876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
34877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34880 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
34882 wxPyEndAllowThreads(__tstate
);
34883 if (PyErr_Occurred()) SWIG_fail
;
34885 resultobj
= SWIG_PyObj_FromInt((int)result
);
34892 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34893 PyObject
*resultobj
;
34894 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
34896 PyObject
* obj0
= 0 ;
34897 char *kwnames
[] = {
34898 (char *) "self", NULL
34901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
34902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34905 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
34907 wxPyEndAllowThreads(__tstate
);
34908 if (PyErr_Occurred()) SWIG_fail
;
34910 resultobj
= SWIG_PyObj_FromInt((int)result
);
34917 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34918 PyObject
*resultobj
;
34919 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
34921 PyObject
* obj0
= 0 ;
34922 PyObject
* obj1
= 0 ;
34923 char *kwnames
[] = {
34924 (char *) "self",(char *) "row", NULL
34927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
34928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34930 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34931 if (PyErr_Occurred()) SWIG_fail
;
34934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34935 (arg1
)->SetRow(arg2
);
34937 wxPyEndAllowThreads(__tstate
);
34938 if (PyErr_Occurred()) SWIG_fail
;
34940 Py_INCREF(Py_None
); resultobj
= Py_None
;
34947 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34948 PyObject
*resultobj
;
34949 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
34951 PyObject
* obj0
= 0 ;
34952 PyObject
* obj1
= 0 ;
34953 char *kwnames
[] = {
34954 (char *) "self",(char *) "col", NULL
34957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
34958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34960 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34961 if (PyErr_Occurred()) SWIG_fail
;
34964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34965 (arg1
)->SetCol(arg2
);
34967 wxPyEndAllowThreads(__tstate
);
34968 if (PyErr_Occurred()) SWIG_fail
;
34970 Py_INCREF(Py_None
); resultobj
= Py_None
;
34977 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34978 PyObject
*resultobj
;
34979 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
34980 wxGBPosition
*arg2
= (wxGBPosition
*) 0 ;
34982 PyObject
* obj0
= 0 ;
34983 PyObject
* obj1
= 0 ;
34984 char *kwnames
[] = {
34985 (char *) "self",(char *) "other", NULL
34988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
34989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34990 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34993 result
= (bool)wxGBPosition___eq__(arg1
,(wxGBPosition
const *)arg2
);
34995 wxPyEndAllowThreads(__tstate
);
34996 if (PyErr_Occurred()) SWIG_fail
;
34998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35005 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35006 PyObject
*resultobj
;
35007 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35008 wxGBPosition
*arg2
= (wxGBPosition
*) 0 ;
35010 PyObject
* obj0
= 0 ;
35011 PyObject
* obj1
= 0 ;
35012 char *kwnames
[] = {
35013 (char *) "self",(char *) "other", NULL
35016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35018 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35021 result
= (bool)wxGBPosition___ne__(arg1
,(wxGBPosition
const *)arg2
);
35023 wxPyEndAllowThreads(__tstate
);
35024 if (PyErr_Occurred()) SWIG_fail
;
35026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35033 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35034 PyObject
*resultobj
;
35035 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35036 int arg2
= (int) 0 ;
35037 int arg3
= (int) 0 ;
35038 PyObject
* obj0
= 0 ;
35039 PyObject
* obj1
= 0 ;
35040 PyObject
* obj2
= 0 ;
35041 char *kwnames
[] = {
35042 (char *) "self",(char *) "row",(char *) "col", NULL
35045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35049 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35050 if (PyErr_Occurred()) SWIG_fail
;
35055 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
35056 if (PyErr_Occurred()) SWIG_fail
;
35060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35061 wxGBPosition_Set(arg1
,arg2
,arg3
);
35063 wxPyEndAllowThreads(__tstate
);
35064 if (PyErr_Occurred()) SWIG_fail
;
35066 Py_INCREF(Py_None
); resultobj
= Py_None
;
35073 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35074 PyObject
*resultobj
;
35075 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35077 PyObject
* obj0
= 0 ;
35078 char *kwnames
[] = {
35079 (char *) "self", NULL
35082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
35083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35086 result
= (PyObject
*)wxGBPosition_Get(arg1
);
35088 wxPyEndAllowThreads(__tstate
);
35089 if (PyErr_Occurred()) SWIG_fail
;
35091 resultobj
= result
;
35098 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
35100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35101 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
35103 return Py_BuildValue((char *)"");
35105 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35106 PyObject
*resultobj
;
35107 int arg1
= (int) 1 ;
35108 int arg2
= (int) 1 ;
35110 PyObject
* obj0
= 0 ;
35111 PyObject
* obj1
= 0 ;
35112 char *kwnames
[] = {
35113 (char *) "rowspan",(char *) "colspan", NULL
35116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35119 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
35120 if (PyErr_Occurred()) SWIG_fail
;
35125 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35126 if (PyErr_Occurred()) SWIG_fail
;
35130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35131 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
35133 wxPyEndAllowThreads(__tstate
);
35134 if (PyErr_Occurred()) SWIG_fail
;
35136 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
35143 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35144 PyObject
*resultobj
;
35145 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35147 PyObject
* obj0
= 0 ;
35148 char *kwnames
[] = {
35149 (char *) "self", NULL
35152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
35153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35156 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
35158 wxPyEndAllowThreads(__tstate
);
35159 if (PyErr_Occurred()) SWIG_fail
;
35161 resultobj
= SWIG_PyObj_FromInt((int)result
);
35168 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35169 PyObject
*resultobj
;
35170 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35172 PyObject
* obj0
= 0 ;
35173 char *kwnames
[] = {
35174 (char *) "self", NULL
35177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
35178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35181 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
35183 wxPyEndAllowThreads(__tstate
);
35184 if (PyErr_Occurred()) SWIG_fail
;
35186 resultobj
= SWIG_PyObj_FromInt((int)result
);
35193 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35194 PyObject
*resultobj
;
35195 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35197 PyObject
* obj0
= 0 ;
35198 PyObject
* obj1
= 0 ;
35199 char *kwnames
[] = {
35200 (char *) "self",(char *) "rowspan", NULL
35203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35206 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35207 if (PyErr_Occurred()) SWIG_fail
;
35210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35211 (arg1
)->SetRowspan(arg2
);
35213 wxPyEndAllowThreads(__tstate
);
35214 if (PyErr_Occurred()) SWIG_fail
;
35216 Py_INCREF(Py_None
); resultobj
= Py_None
;
35223 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35224 PyObject
*resultobj
;
35225 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35227 PyObject
* obj0
= 0 ;
35228 PyObject
* obj1
= 0 ;
35229 char *kwnames
[] = {
35230 (char *) "self",(char *) "colspan", NULL
35233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35236 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35237 if (PyErr_Occurred()) SWIG_fail
;
35240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35241 (arg1
)->SetColspan(arg2
);
35243 wxPyEndAllowThreads(__tstate
);
35244 if (PyErr_Occurred()) SWIG_fail
;
35246 Py_INCREF(Py_None
); resultobj
= Py_None
;
35253 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35254 PyObject
*resultobj
;
35255 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35256 wxGBSpan
*arg2
= (wxGBSpan
*) 0 ;
35258 PyObject
* obj0
= 0 ;
35259 PyObject
* obj1
= 0 ;
35260 char *kwnames
[] = {
35261 (char *) "self",(char *) "other", NULL
35264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35266 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35269 result
= (bool)wxGBSpan___eq__(arg1
,(wxGBSpan
const *)arg2
);
35271 wxPyEndAllowThreads(__tstate
);
35272 if (PyErr_Occurred()) SWIG_fail
;
35274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35281 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35282 PyObject
*resultobj
;
35283 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35284 wxGBSpan
*arg2
= (wxGBSpan
*) 0 ;
35286 PyObject
* obj0
= 0 ;
35287 PyObject
* obj1
= 0 ;
35288 char *kwnames
[] = {
35289 (char *) "self",(char *) "other", NULL
35292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35294 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35297 result
= (bool)wxGBSpan___ne__(arg1
,(wxGBSpan
const *)arg2
);
35299 wxPyEndAllowThreads(__tstate
);
35300 if (PyErr_Occurred()) SWIG_fail
;
35302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35309 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35310 PyObject
*resultobj
;
35311 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35312 int arg2
= (int) 1 ;
35313 int arg3
= (int) 1 ;
35314 PyObject
* obj0
= 0 ;
35315 PyObject
* obj1
= 0 ;
35316 PyObject
* obj2
= 0 ;
35317 char *kwnames
[] = {
35318 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
35321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35325 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35326 if (PyErr_Occurred()) SWIG_fail
;
35331 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
35332 if (PyErr_Occurred()) SWIG_fail
;
35336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35337 wxGBSpan_Set(arg1
,arg2
,arg3
);
35339 wxPyEndAllowThreads(__tstate
);
35340 if (PyErr_Occurred()) SWIG_fail
;
35342 Py_INCREF(Py_None
); resultobj
= Py_None
;
35349 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35350 PyObject
*resultobj
;
35351 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35353 PyObject
* obj0
= 0 ;
35354 char *kwnames
[] = {
35355 (char *) "self", NULL
35358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
35359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35362 result
= (PyObject
*)wxGBSpan_Get(arg1
);
35364 wxPyEndAllowThreads(__tstate
);
35365 if (PyErr_Occurred()) SWIG_fail
;
35367 resultobj
= result
;
35374 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
35376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35377 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
35379 return Py_BuildValue((char *)"");
35381 static int _wrap_DefaultSpan_set(PyObject
*) {
35382 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
35387 static PyObject
*_wrap_DefaultSpan_get() {
35390 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
35395 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35396 PyObject
*resultobj
;
35397 wxGBSizerItem
*result
;
35398 char *kwnames
[] = {
35402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
35404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35405 result
= (wxGBSizerItem
*)new wxGBSizerItem();
35407 wxPyEndAllowThreads(__tstate
);
35408 if (PyErr_Occurred()) SWIG_fail
;
35410 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35417 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35418 PyObject
*resultobj
;
35419 wxWindow
*arg1
= (wxWindow
*) 0 ;
35420 wxGBPosition
*arg2
= 0 ;
35421 wxGBSpan
*arg3
= 0 ;
35424 wxObject
*arg6
= (wxObject
*) 0 ;
35425 wxGBSizerItem
*result
;
35426 wxGBPosition temp2
;
35428 PyObject
* obj0
= 0 ;
35429 PyObject
* obj1
= 0 ;
35430 PyObject
* obj2
= 0 ;
35431 PyObject
* obj3
= 0 ;
35432 PyObject
* obj4
= 0 ;
35433 PyObject
* obj5
= 0 ;
35434 char *kwnames
[] = {
35435 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35442 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35446 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35449 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
35450 if (PyErr_Occurred()) SWIG_fail
;
35453 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
35454 if (PyErr_Occurred()) SWIG_fail
;
35456 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35459 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
35461 wxPyEndAllowThreads(__tstate
);
35462 if (PyErr_Occurred()) SWIG_fail
;
35464 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35471 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35472 PyObject
*resultobj
;
35473 wxSizer
*arg1
= (wxSizer
*) 0 ;
35474 wxGBPosition
*arg2
= 0 ;
35475 wxGBSpan
*arg3
= 0 ;
35478 wxObject
*arg6
= (wxObject
*) 0 ;
35479 wxGBSizerItem
*result
;
35480 wxGBPosition temp2
;
35482 PyObject
* obj0
= 0 ;
35483 PyObject
* obj1
= 0 ;
35484 PyObject
* obj2
= 0 ;
35485 PyObject
* obj3
= 0 ;
35486 PyObject
* obj4
= 0 ;
35487 PyObject
* obj5
= 0 ;
35488 char *kwnames
[] = {
35489 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35496 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35500 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35503 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
35504 if (PyErr_Occurred()) SWIG_fail
;
35507 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
35508 if (PyErr_Occurred()) SWIG_fail
;
35510 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35513 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
35515 wxPyEndAllowThreads(__tstate
);
35516 if (PyErr_Occurred()) SWIG_fail
;
35518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35525 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35526 PyObject
*resultobj
;
35529 wxGBPosition
*arg3
= 0 ;
35530 wxGBSpan
*arg4
= 0 ;
35533 wxObject
*arg7
= (wxObject
*) 0 ;
35534 wxGBSizerItem
*result
;
35535 wxGBPosition temp3
;
35537 PyObject
* obj0
= 0 ;
35538 PyObject
* obj1
= 0 ;
35539 PyObject
* obj2
= 0 ;
35540 PyObject
* obj3
= 0 ;
35541 PyObject
* obj4
= 0 ;
35542 PyObject
* obj5
= 0 ;
35543 PyObject
* obj6
= 0 ;
35544 char *kwnames
[] = {
35545 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35550 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
35551 if (PyErr_Occurred()) SWIG_fail
;
35554 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35555 if (PyErr_Occurred()) SWIG_fail
;
35559 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
35563 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
35566 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
35567 if (PyErr_Occurred()) SWIG_fail
;
35570 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
35571 if (PyErr_Occurred()) SWIG_fail
;
35573 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35576 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
35578 wxPyEndAllowThreads(__tstate
);
35579 if (PyErr_Occurred()) SWIG_fail
;
35581 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35588 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35589 PyObject
*resultobj
;
35590 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35591 wxGBPosition result
;
35592 PyObject
* obj0
= 0 ;
35593 char *kwnames
[] = {
35594 (char *) "self", NULL
35597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
35598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35601 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
35603 wxPyEndAllowThreads(__tstate
);
35604 if (PyErr_Occurred()) SWIG_fail
;
35607 wxGBPosition
* resultptr
;
35608 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
35609 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
35617 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35618 PyObject
*resultobj
;
35619 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35621 PyObject
* obj0
= 0 ;
35622 char *kwnames
[] = {
35623 (char *) "self", NULL
35626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
35627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35630 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
35632 wxPyEndAllowThreads(__tstate
);
35633 if (PyErr_Occurred()) SWIG_fail
;
35636 wxGBSpan
* resultptr
;
35637 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
35638 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
35646 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35647 PyObject
*resultobj
;
35648 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35649 wxGBPosition
*arg2
= 0 ;
35651 wxGBPosition temp2
;
35652 PyObject
* obj0
= 0 ;
35653 PyObject
* obj1
= 0 ;
35654 char *kwnames
[] = {
35655 (char *) "self",(char *) "pos", NULL
35658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
35659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35662 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35666 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
35668 wxPyEndAllowThreads(__tstate
);
35669 if (PyErr_Occurred()) SWIG_fail
;
35671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35678 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35679 PyObject
*resultobj
;
35680 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35681 wxGBSpan
*arg2
= 0 ;
35684 PyObject
* obj0
= 0 ;
35685 PyObject
* obj1
= 0 ;
35686 char *kwnames
[] = {
35687 (char *) "self",(char *) "span", NULL
35690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35694 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
35697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35698 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
35700 wxPyEndAllowThreads(__tstate
);
35701 if (PyErr_Occurred()) SWIG_fail
;
35703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35710 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
35711 PyObject
*resultobj
;
35712 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35713 wxGBSizerItem
*arg2
= 0 ;
35715 PyObject
* obj0
= 0 ;
35716 PyObject
* obj1
= 0 ;
35718 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
35719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35720 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35721 if (arg2
== NULL
) {
35722 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
35725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35726 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
35728 wxPyEndAllowThreads(__tstate
);
35729 if (PyErr_Occurred()) SWIG_fail
;
35731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35738 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
35739 PyObject
*resultobj
;
35740 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35741 wxGBPosition
*arg2
= 0 ;
35742 wxGBSpan
*arg3
= 0 ;
35744 wxGBPosition temp2
;
35746 PyObject
* obj0
= 0 ;
35747 PyObject
* obj1
= 0 ;
35748 PyObject
* obj2
= 0 ;
35750 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
35751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35754 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35758 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35762 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
35764 wxPyEndAllowThreads(__tstate
);
35765 if (PyErr_Occurred()) SWIG_fail
;
35767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35774 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
35779 argc
= PyObject_Length(args
);
35780 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
35781 argv
[ii
] = PyTuple_GetItem(args
,ii
);
35787 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
35797 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
35805 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
35813 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
35822 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
35826 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
35829 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
35835 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
35840 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35841 PyObject
*resultobj
;
35842 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35845 PyObject
* obj0
= 0 ;
35846 PyObject
* obj1
= 0 ;
35847 PyObject
* obj2
= 0 ;
35848 char *kwnames
[] = {
35849 (char *) "self",(char *) "row",(char *) "col", NULL
35852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35854 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35855 if (arg2
== NULL
) {
35856 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
35858 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35859 if (arg3
== NULL
) {
35860 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
35863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35864 (arg1
)->GetEndPos(*arg2
,*arg3
);
35866 wxPyEndAllowThreads(__tstate
);
35867 if (PyErr_Occurred()) SWIG_fail
;
35869 Py_INCREF(Py_None
); resultobj
= Py_None
;
35876 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35877 PyObject
*resultobj
;
35878 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35879 wxGridBagSizer
*result
;
35880 PyObject
* obj0
= 0 ;
35881 char *kwnames
[] = {
35882 (char *) "self", NULL
35885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
35886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35889 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
35891 wxPyEndAllowThreads(__tstate
);
35892 if (PyErr_Occurred()) SWIG_fail
;
35894 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
35901 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35902 PyObject
*resultobj
;
35903 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35904 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
35905 PyObject
* obj0
= 0 ;
35906 PyObject
* obj1
= 0 ;
35907 char *kwnames
[] = {
35908 (char *) "self",(char *) "sizer", NULL
35911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35913 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35916 (arg1
)->SetGBSizer(arg2
);
35918 wxPyEndAllowThreads(__tstate
);
35919 if (PyErr_Occurred()) SWIG_fail
;
35921 Py_INCREF(Py_None
); resultobj
= Py_None
;
35928 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
35930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35931 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
35933 return Py_BuildValue((char *)"");
35935 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35936 PyObject
*resultobj
;
35937 int arg1
= (int) 0 ;
35938 int arg2
= (int) 0 ;
35939 wxGridBagSizer
*result
;
35940 PyObject
* obj0
= 0 ;
35941 PyObject
* obj1
= 0 ;
35942 char *kwnames
[] = {
35943 (char *) "vgap",(char *) "hgap", NULL
35946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35949 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
35950 if (PyErr_Occurred()) SWIG_fail
;
35955 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35956 if (PyErr_Occurred()) SWIG_fail
;
35960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35961 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
35963 wxPyEndAllowThreads(__tstate
);
35964 if (PyErr_Occurred()) SWIG_fail
;
35966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
35973 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35974 PyObject
*resultobj
;
35975 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
35976 PyObject
*arg2
= (PyObject
*) 0 ;
35977 wxGBPosition
*arg3
= 0 ;
35978 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
35979 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
35980 int arg5
= (int) 0 ;
35981 int arg6
= (int) 0 ;
35982 PyObject
*arg7
= (PyObject
*) NULL
;
35984 wxGBPosition temp3
;
35986 PyObject
* obj0
= 0 ;
35987 PyObject
* obj1
= 0 ;
35988 PyObject
* obj2
= 0 ;
35989 PyObject
* obj3
= 0 ;
35990 PyObject
* obj4
= 0 ;
35991 PyObject
* obj5
= 0 ;
35992 PyObject
* obj6
= 0 ;
35993 char *kwnames
[] = {
35994 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36002 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36007 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36012 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
36013 if (PyErr_Occurred()) SWIG_fail
;
36018 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
36019 if (PyErr_Occurred()) SWIG_fail
;
36026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36027 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36029 wxPyEndAllowThreads(__tstate
);
36030 if (PyErr_Occurred()) SWIG_fail
;
36032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36039 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36040 PyObject
*resultobj
;
36041 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36042 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
36044 PyObject
* obj0
= 0 ;
36045 PyObject
* obj1
= 0 ;
36046 char *kwnames
[] = {
36047 (char *) "self",(char *) "item", NULL
36050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36055 result
= (bool)(arg1
)->Add(arg2
);
36057 wxPyEndAllowThreads(__tstate
);
36058 if (PyErr_Occurred()) SWIG_fail
;
36060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36067 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36068 PyObject
*resultobj
;
36069 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36071 PyObject
* obj0
= 0 ;
36072 char *kwnames
[] = {
36073 (char *) "self", NULL
36076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
36077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36080 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
36082 wxPyEndAllowThreads(__tstate
);
36083 if (PyErr_Occurred()) SWIG_fail
;
36086 wxSize
* resultptr
;
36087 resultptr
= new wxSize((wxSize
&) result
);
36088 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
36096 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36097 PyObject
*resultobj
;
36098 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36101 PyObject
* obj0
= 0 ;
36102 PyObject
* obj1
= 0 ;
36103 char *kwnames
[] = {
36104 (char *) "self",(char *) "sz", NULL
36107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36111 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36115 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
36117 wxPyEndAllowThreads(__tstate
);
36118 if (PyErr_Occurred()) SWIG_fail
;
36120 Py_INCREF(Py_None
); resultobj
= Py_None
;
36127 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
36128 PyObject
*resultobj
;
36129 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36130 wxWindow
*arg2
= (wxWindow
*) 0 ;
36131 wxGBPosition result
;
36132 PyObject
* obj0
= 0 ;
36133 PyObject
* obj1
= 0 ;
36135 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36137 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36140 result
= (arg1
)->GetItemPosition(arg2
);
36142 wxPyEndAllowThreads(__tstate
);
36143 if (PyErr_Occurred()) SWIG_fail
;
36146 wxGBPosition
* resultptr
;
36147 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36148 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36156 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
36157 PyObject
*resultobj
;
36158 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36159 wxSizer
*arg2
= (wxSizer
*) 0 ;
36160 wxGBPosition result
;
36161 PyObject
* obj0
= 0 ;
36162 PyObject
* obj1
= 0 ;
36164 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36166 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36169 result
= (arg1
)->GetItemPosition(arg2
);
36171 wxPyEndAllowThreads(__tstate
);
36172 if (PyErr_Occurred()) SWIG_fail
;
36175 wxGBPosition
* resultptr
;
36176 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36177 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36185 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
36186 PyObject
*resultobj
;
36187 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36189 wxGBPosition result
;
36190 PyObject
* obj0
= 0 ;
36191 PyObject
* obj1
= 0 ;
36193 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36196 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36197 if (PyErr_Occurred()) SWIG_fail
;
36200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36201 result
= (arg1
)->GetItemPosition(arg2
);
36203 wxPyEndAllowThreads(__tstate
);
36204 if (PyErr_Occurred()) SWIG_fail
;
36207 wxGBPosition
* resultptr
;
36208 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36209 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36217 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
36222 argc
= PyObject_Length(args
);
36223 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36224 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36230 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36240 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36248 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
36256 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36266 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36274 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
36282 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36291 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36292 if (PyErr_Occurred()) {
36300 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
36305 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
36310 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
36311 PyObject
*resultobj
;
36312 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36313 wxWindow
*arg2
= (wxWindow
*) 0 ;
36314 wxGBPosition
*arg3
= 0 ;
36316 wxGBPosition temp3
;
36317 PyObject
* obj0
= 0 ;
36318 PyObject
* obj1
= 0 ;
36319 PyObject
* obj2
= 0 ;
36321 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36323 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36326 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36330 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36332 wxPyEndAllowThreads(__tstate
);
36333 if (PyErr_Occurred()) SWIG_fail
;
36335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36342 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
36343 PyObject
*resultobj
;
36344 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36345 wxSizer
*arg2
= (wxSizer
*) 0 ;
36346 wxGBPosition
*arg3
= 0 ;
36348 wxGBPosition temp3
;
36349 PyObject
* obj0
= 0 ;
36350 PyObject
* obj1
= 0 ;
36351 PyObject
* obj2
= 0 ;
36353 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36355 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36358 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36362 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36364 wxPyEndAllowThreads(__tstate
);
36365 if (PyErr_Occurred()) SWIG_fail
;
36367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36374 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
36375 PyObject
*resultobj
;
36376 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36378 wxGBPosition
*arg3
= 0 ;
36380 wxGBPosition temp3
;
36381 PyObject
* obj0
= 0 ;
36382 PyObject
* obj1
= 0 ;
36383 PyObject
* obj2
= 0 ;
36385 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36388 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36389 if (PyErr_Occurred()) SWIG_fail
;
36393 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36397 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36399 wxPyEndAllowThreads(__tstate
);
36400 if (PyErr_Occurred()) SWIG_fail
;
36402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36409 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
36414 argc
= PyObject_Length(args
);
36415 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36416 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36422 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36432 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36441 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36444 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
36453 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36463 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36472 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36475 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
36484 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36493 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36494 if (PyErr_Occurred()) {
36503 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36506 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
36512 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
36517 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
36518 PyObject
*resultobj
;
36519 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36520 wxWindow
*arg2
= (wxWindow
*) 0 ;
36522 PyObject
* obj0
= 0 ;
36523 PyObject
* obj1
= 0 ;
36525 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36527 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36530 result
= (arg1
)->GetItemSpan(arg2
);
36532 wxPyEndAllowThreads(__tstate
);
36533 if (PyErr_Occurred()) SWIG_fail
;
36536 wxGBSpan
* resultptr
;
36537 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36538 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
36546 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
36547 PyObject
*resultobj
;
36548 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36549 wxSizer
*arg2
= (wxSizer
*) 0 ;
36551 PyObject
* obj0
= 0 ;
36552 PyObject
* obj1
= 0 ;
36554 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36556 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36559 result
= (arg1
)->GetItemSpan(arg2
);
36561 wxPyEndAllowThreads(__tstate
);
36562 if (PyErr_Occurred()) SWIG_fail
;
36565 wxGBSpan
* resultptr
;
36566 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36567 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
36575 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
36576 PyObject
*resultobj
;
36577 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36580 PyObject
* obj0
= 0 ;
36581 PyObject
* obj1
= 0 ;
36583 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36586 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36587 if (PyErr_Occurred()) SWIG_fail
;
36590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36591 result
= (arg1
)->GetItemSpan(arg2
);
36593 wxPyEndAllowThreads(__tstate
);
36594 if (PyErr_Occurred()) SWIG_fail
;
36597 wxGBSpan
* resultptr
;
36598 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36599 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
36607 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
36612 argc
= PyObject_Length(args
);
36613 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36614 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36620 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36630 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36638 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
36646 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36656 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36664 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
36672 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36681 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36682 if (PyErr_Occurred()) {
36690 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
36695 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
36700 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
36701 PyObject
*resultobj
;
36702 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36703 wxWindow
*arg2
= (wxWindow
*) 0 ;
36704 wxGBSpan
*arg3
= 0 ;
36707 PyObject
* obj0
= 0 ;
36708 PyObject
* obj1
= 0 ;
36709 PyObject
* obj2
= 0 ;
36711 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
36712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36713 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36716 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36720 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
36722 wxPyEndAllowThreads(__tstate
);
36723 if (PyErr_Occurred()) SWIG_fail
;
36725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36732 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
36733 PyObject
*resultobj
;
36734 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36735 wxSizer
*arg2
= (wxSizer
*) 0 ;
36736 wxGBSpan
*arg3
= 0 ;
36739 PyObject
* obj0
= 0 ;
36740 PyObject
* obj1
= 0 ;
36741 PyObject
* obj2
= 0 ;
36743 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
36744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36745 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36748 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36752 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
36754 wxPyEndAllowThreads(__tstate
);
36755 if (PyErr_Occurred()) SWIG_fail
;
36757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36764 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
36765 PyObject
*resultobj
;
36766 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36768 wxGBSpan
*arg3
= 0 ;
36771 PyObject
* obj0
= 0 ;
36772 PyObject
* obj1
= 0 ;
36773 PyObject
* obj2
= 0 ;
36775 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
36776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36778 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36779 if (PyErr_Occurred()) SWIG_fail
;
36783 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36787 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
36789 wxPyEndAllowThreads(__tstate
);
36790 if (PyErr_Occurred()) SWIG_fail
;
36792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36799 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
36804 argc
= PyObject_Length(args
);
36805 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36806 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36812 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36822 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36831 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36834 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
36843 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36853 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36862 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36865 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
36874 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36883 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36884 if (PyErr_Occurred()) {
36893 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36896 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
36902 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
36907 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
36908 PyObject
*resultobj
;
36909 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36910 wxWindow
*arg2
= (wxWindow
*) 0 ;
36911 wxGBSizerItem
*result
;
36912 PyObject
* obj0
= 0 ;
36913 PyObject
* obj1
= 0 ;
36915 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
36916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36917 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36920 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
36922 wxPyEndAllowThreads(__tstate
);
36923 if (PyErr_Occurred()) SWIG_fail
;
36925 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
36932 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
36933 PyObject
*resultobj
;
36934 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36935 wxSizer
*arg2
= (wxSizer
*) 0 ;
36936 wxGBSizerItem
*result
;
36937 PyObject
* obj0
= 0 ;
36938 PyObject
* obj1
= 0 ;
36940 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
36941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36942 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36945 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
36947 wxPyEndAllowThreads(__tstate
);
36948 if (PyErr_Occurred()) SWIG_fail
;
36950 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
36957 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
36962 argc
= PyObject_Length(args
);
36963 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36964 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36970 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36980 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36988 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
36996 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37006 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37014 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
37019 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
37024 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37025 PyObject
*resultobj
;
37026 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37027 wxGBPosition
*arg2
= 0 ;
37028 wxGBSizerItem
*result
;
37029 wxGBPosition temp2
;
37030 PyObject
* obj0
= 0 ;
37031 PyObject
* obj1
= 0 ;
37032 char *kwnames
[] = {
37033 (char *) "self",(char *) "pos", NULL
37036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37040 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37044 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
37046 wxPyEndAllowThreads(__tstate
);
37047 if (PyErr_Occurred()) SWIG_fail
;
37049 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37056 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37057 PyObject
*resultobj
;
37058 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37059 wxPoint
*arg2
= 0 ;
37060 wxGBSizerItem
*result
;
37062 PyObject
* obj0
= 0 ;
37063 PyObject
* obj1
= 0 ;
37064 char *kwnames
[] = {
37065 (char *) "self",(char *) "pt", NULL
37068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
37069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37076 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
37078 wxPyEndAllowThreads(__tstate
);
37079 if (PyErr_Occurred()) SWIG_fail
;
37081 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37088 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37089 PyObject
*resultobj
;
37090 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37091 wxObject
*arg2
= (wxObject
*) 0 ;
37092 wxGBSizerItem
*result
;
37093 PyObject
* obj0
= 0 ;
37094 PyObject
* obj1
= 0 ;
37095 char *kwnames
[] = {
37096 (char *) "self",(char *) "userData", NULL
37099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
37100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37101 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37104 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
37106 wxPyEndAllowThreads(__tstate
);
37107 if (PyErr_Occurred()) SWIG_fail
;
37109 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37116 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37117 PyObject
*resultobj
;
37118 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37119 PyObject
* obj0
= 0 ;
37120 char *kwnames
[] = {
37121 (char *) "self", NULL
37124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
37125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37128 (arg1
)->RecalcSizes();
37130 wxPyEndAllowThreads(__tstate
);
37131 if (PyErr_Occurred()) SWIG_fail
;
37133 Py_INCREF(Py_None
); resultobj
= Py_None
;
37140 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37141 PyObject
*resultobj
;
37142 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37144 PyObject
* obj0
= 0 ;
37145 char *kwnames
[] = {
37146 (char *) "self", NULL
37149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
37150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37153 result
= (arg1
)->CalcMin();
37155 wxPyEndAllowThreads(__tstate
);
37156 if (PyErr_Occurred()) SWIG_fail
;
37159 wxSize
* resultptr
;
37160 resultptr
= new wxSize((wxSize
&) result
);
37161 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
37169 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
37170 PyObject
*resultobj
;
37171 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37172 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37173 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
37175 PyObject
* obj0
= 0 ;
37176 PyObject
* obj1
= 0 ;
37177 PyObject
* obj2
= 0 ;
37179 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
37180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37181 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37183 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37187 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
37189 wxPyEndAllowThreads(__tstate
);
37190 if (PyErr_Occurred()) SWIG_fail
;
37192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37199 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
37200 PyObject
*resultobj
;
37201 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37202 wxGBPosition
*arg2
= 0 ;
37203 wxGBSpan
*arg3
= 0 ;
37204 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
37206 wxGBPosition temp2
;
37208 PyObject
* obj0
= 0 ;
37209 PyObject
* obj1
= 0 ;
37210 PyObject
* obj2
= 0 ;
37211 PyObject
* obj3
= 0 ;
37213 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37217 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37221 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37224 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37228 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
37230 wxPyEndAllowThreads(__tstate
);
37231 if (PyErr_Occurred()) SWIG_fail
;
37233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37240 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
37245 argc
= PyObject_Length(args
);
37246 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
37247 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37249 if ((argc
>= 2) && (argc
<= 3)) {
37253 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37263 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37272 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37276 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37284 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37289 if ((argc
>= 3) && (argc
<= 4)) {
37293 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37302 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37306 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37310 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37314 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37322 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37329 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
37334 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37337 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
37339 return Py_BuildValue((char *)"");
37341 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37342 PyObject
*resultobj
;
37343 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37345 wxWindow
*arg3
= (wxWindow
*) 0 ;
37347 int arg5
= (int) 0 ;
37348 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
37349 PyObject
* obj0
= 0 ;
37350 PyObject
* obj1
= 0 ;
37351 PyObject
* obj2
= 0 ;
37352 PyObject
* obj3
= 0 ;
37353 PyObject
* obj4
= 0 ;
37354 PyObject
* obj5
= 0 ;
37355 char *kwnames
[] = {
37356 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
37359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37362 arg2
= (wxRelationship
) SWIG_PyObj_AsInt(obj1
);
37363 if (PyErr_Occurred()) SWIG_fail
;
37365 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37367 arg4
= (wxEdge
) SWIG_PyObj_AsInt(obj3
);
37368 if (PyErr_Occurred()) SWIG_fail
;
37372 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
37373 if (PyErr_Occurred()) SWIG_fail
;
37378 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
37379 if (PyErr_Occurred()) SWIG_fail
;
37383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37384 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
37386 wxPyEndAllowThreads(__tstate
);
37387 if (PyErr_Occurred()) SWIG_fail
;
37389 Py_INCREF(Py_None
); resultobj
= Py_None
;
37396 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37397 PyObject
*resultobj
;
37398 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37399 wxWindow
*arg2
= (wxWindow
*) 0 ;
37400 int arg3
= (int) 0 ;
37401 PyObject
* obj0
= 0 ;
37402 PyObject
* obj1
= 0 ;
37403 PyObject
* obj2
= 0 ;
37404 char *kwnames
[] = {
37405 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37413 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37414 if (PyErr_Occurred()) SWIG_fail
;
37418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37419 (arg1
)->LeftOf(arg2
,arg3
);
37421 wxPyEndAllowThreads(__tstate
);
37422 if (PyErr_Occurred()) SWIG_fail
;
37424 Py_INCREF(Py_None
); resultobj
= Py_None
;
37431 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37432 PyObject
*resultobj
;
37433 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37434 wxWindow
*arg2
= (wxWindow
*) 0 ;
37435 int arg3
= (int) 0 ;
37436 PyObject
* obj0
= 0 ;
37437 PyObject
* obj1
= 0 ;
37438 PyObject
* obj2
= 0 ;
37439 char *kwnames
[] = {
37440 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37445 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37448 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37449 if (PyErr_Occurred()) SWIG_fail
;
37453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37454 (arg1
)->RightOf(arg2
,arg3
);
37456 wxPyEndAllowThreads(__tstate
);
37457 if (PyErr_Occurred()) SWIG_fail
;
37459 Py_INCREF(Py_None
); resultobj
= Py_None
;
37466 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37467 PyObject
*resultobj
;
37468 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37469 wxWindow
*arg2
= (wxWindow
*) 0 ;
37470 int arg3
= (int) 0 ;
37471 PyObject
* obj0
= 0 ;
37472 PyObject
* obj1
= 0 ;
37473 PyObject
* obj2
= 0 ;
37474 char *kwnames
[] = {
37475 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37480 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37483 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37484 if (PyErr_Occurred()) SWIG_fail
;
37488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37489 (arg1
)->Above(arg2
,arg3
);
37491 wxPyEndAllowThreads(__tstate
);
37492 if (PyErr_Occurred()) SWIG_fail
;
37494 Py_INCREF(Py_None
); resultobj
= Py_None
;
37501 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37502 PyObject
*resultobj
;
37503 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37504 wxWindow
*arg2
= (wxWindow
*) 0 ;
37505 int arg3
= (int) 0 ;
37506 PyObject
* obj0
= 0 ;
37507 PyObject
* obj1
= 0 ;
37508 PyObject
* obj2
= 0 ;
37509 char *kwnames
[] = {
37510 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37515 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37518 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37519 if (PyErr_Occurred()) SWIG_fail
;
37523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37524 (arg1
)->Below(arg2
,arg3
);
37526 wxPyEndAllowThreads(__tstate
);
37527 if (PyErr_Occurred()) SWIG_fail
;
37529 Py_INCREF(Py_None
); resultobj
= Py_None
;
37536 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37537 PyObject
*resultobj
;
37538 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37539 wxWindow
*arg2
= (wxWindow
*) 0 ;
37541 int arg4
= (int) 0 ;
37542 PyObject
* obj0
= 0 ;
37543 PyObject
* obj1
= 0 ;
37544 PyObject
* obj2
= 0 ;
37545 PyObject
* obj3
= 0 ;
37546 char *kwnames
[] = {
37547 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
37550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37552 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37554 arg3
= (wxEdge
) SWIG_PyObj_AsInt(obj2
);
37555 if (PyErr_Occurred()) SWIG_fail
;
37559 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
37560 if (PyErr_Occurred()) SWIG_fail
;
37564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37565 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
37567 wxPyEndAllowThreads(__tstate
);
37568 if (PyErr_Occurred()) SWIG_fail
;
37570 Py_INCREF(Py_None
); resultobj
= Py_None
;
37577 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37578 PyObject
*resultobj
;
37579 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37580 wxWindow
*arg2
= (wxWindow
*) 0 ;
37583 PyObject
* obj0
= 0 ;
37584 PyObject
* obj1
= 0 ;
37585 PyObject
* obj2
= 0 ;
37586 PyObject
* obj3
= 0 ;
37587 char *kwnames
[] = {
37588 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
37591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37593 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37595 arg3
= (wxEdge
) SWIG_PyObj_AsInt(obj2
);
37596 if (PyErr_Occurred()) SWIG_fail
;
37599 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
37600 if (PyErr_Occurred()) SWIG_fail
;
37603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37604 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
37606 wxPyEndAllowThreads(__tstate
);
37607 if (PyErr_Occurred()) SWIG_fail
;
37609 Py_INCREF(Py_None
); resultobj
= Py_None
;
37616 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37617 PyObject
*resultobj
;
37618 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37620 PyObject
* obj0
= 0 ;
37621 PyObject
* obj1
= 0 ;
37622 char *kwnames
[] = {
37623 (char *) "self",(char *) "val", NULL
37626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
37627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37629 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
37630 if (PyErr_Occurred()) SWIG_fail
;
37633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37634 (arg1
)->Absolute(arg2
);
37636 wxPyEndAllowThreads(__tstate
);
37637 if (PyErr_Occurred()) SWIG_fail
;
37639 Py_INCREF(Py_None
); resultobj
= Py_None
;
37646 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37647 PyObject
*resultobj
;
37648 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37649 PyObject
* obj0
= 0 ;
37650 char *kwnames
[] = {
37651 (char *) "self", NULL
37654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
37655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37658 (arg1
)->Unconstrained();
37660 wxPyEndAllowThreads(__tstate
);
37661 if (PyErr_Occurred()) SWIG_fail
;
37663 Py_INCREF(Py_None
); resultobj
= Py_None
;
37670 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37671 PyObject
*resultobj
;
37672 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37673 PyObject
* obj0
= 0 ;
37674 char *kwnames
[] = {
37675 (char *) "self", NULL
37678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
37679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37684 wxPyEndAllowThreads(__tstate
);
37685 if (PyErr_Occurred()) SWIG_fail
;
37687 Py_INCREF(Py_None
); resultobj
= Py_None
;
37694 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37695 PyObject
*resultobj
;
37696 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37698 PyObject
* obj0
= 0 ;
37699 char *kwnames
[] = {
37700 (char *) "self", NULL
37703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
37704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37707 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
37709 wxPyEndAllowThreads(__tstate
);
37710 if (PyErr_Occurred()) SWIG_fail
;
37713 resultobj
= wxPyMake_wxObject(result
);
37721 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37722 PyObject
*resultobj
;
37723 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37725 PyObject
* obj0
= 0 ;
37726 char *kwnames
[] = {
37727 (char *) "self", NULL
37730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
37731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37734 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
37736 wxPyEndAllowThreads(__tstate
);
37737 if (PyErr_Occurred()) SWIG_fail
;
37739 resultobj
= SWIG_PyObj_FromInt((int)result
);
37746 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37747 PyObject
*resultobj
;
37748 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37750 PyObject
* obj0
= 0 ;
37751 PyObject
* obj1
= 0 ;
37752 char *kwnames
[] = {
37753 (char *) "self",(char *) "which", NULL
37756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
37757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37759 arg2
= (wxEdge
) SWIG_PyObj_AsInt(obj1
);
37760 if (PyErr_Occurred()) SWIG_fail
;
37763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37764 (arg1
)->SetEdge((wxEdge
)arg2
);
37766 wxPyEndAllowThreads(__tstate
);
37767 if (PyErr_Occurred()) SWIG_fail
;
37769 Py_INCREF(Py_None
); resultobj
= Py_None
;
37776 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37777 PyObject
*resultobj
;
37778 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37780 PyObject
* obj0
= 0 ;
37781 PyObject
* obj1
= 0 ;
37782 char *kwnames
[] = {
37783 (char *) "self",(char *) "v", NULL
37786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
37787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37789 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
37790 if (PyErr_Occurred()) SWIG_fail
;
37793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37794 (arg1
)->SetValue(arg2
);
37796 wxPyEndAllowThreads(__tstate
);
37797 if (PyErr_Occurred()) SWIG_fail
;
37799 Py_INCREF(Py_None
); resultobj
= Py_None
;
37806 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37807 PyObject
*resultobj
;
37808 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37810 PyObject
* obj0
= 0 ;
37811 char *kwnames
[] = {
37812 (char *) "self", NULL
37815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
37816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37819 result
= (int)(arg1
)->GetMargin();
37821 wxPyEndAllowThreads(__tstate
);
37822 if (PyErr_Occurred()) SWIG_fail
;
37824 resultobj
= SWIG_PyObj_FromInt((int)result
);
37831 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37832 PyObject
*resultobj
;
37833 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37835 PyObject
* obj0
= 0 ;
37836 PyObject
* obj1
= 0 ;
37837 char *kwnames
[] = {
37838 (char *) "self",(char *) "m", NULL
37841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
37842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37844 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
37845 if (PyErr_Occurred()) SWIG_fail
;
37848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37849 (arg1
)->SetMargin(arg2
);
37851 wxPyEndAllowThreads(__tstate
);
37852 if (PyErr_Occurred()) SWIG_fail
;
37854 Py_INCREF(Py_None
); resultobj
= Py_None
;
37861 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37862 PyObject
*resultobj
;
37863 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37865 PyObject
* obj0
= 0 ;
37866 char *kwnames
[] = {
37867 (char *) "self", NULL
37870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
37871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37874 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
37876 wxPyEndAllowThreads(__tstate
);
37877 if (PyErr_Occurred()) SWIG_fail
;
37879 resultobj
= SWIG_PyObj_FromInt((int)result
);
37886 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37887 PyObject
*resultobj
;
37888 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37890 PyObject
* obj0
= 0 ;
37891 char *kwnames
[] = {
37892 (char *) "self", NULL
37895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
37896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37899 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
37901 wxPyEndAllowThreads(__tstate
);
37902 if (PyErr_Occurred()) SWIG_fail
;
37904 resultobj
= SWIG_PyObj_FromInt((int)result
);
37911 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37912 PyObject
*resultobj
;
37913 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37915 PyObject
* obj0
= 0 ;
37916 char *kwnames
[] = {
37917 (char *) "self", NULL
37920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
37921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37924 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
37926 wxPyEndAllowThreads(__tstate
);
37927 if (PyErr_Occurred()) SWIG_fail
;
37929 resultobj
= SWIG_PyObj_FromInt((int)result
);
37936 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37937 PyObject
*resultobj
;
37938 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37940 PyObject
* obj0
= 0 ;
37941 char *kwnames
[] = {
37942 (char *) "self", NULL
37945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
37946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37949 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
37951 wxPyEndAllowThreads(__tstate
);
37952 if (PyErr_Occurred()) SWIG_fail
;
37954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37961 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37962 PyObject
*resultobj
;
37963 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37965 PyObject
* obj0
= 0 ;
37966 PyObject
* obj1
= 0 ;
37967 char *kwnames
[] = {
37968 (char *) "self",(char *) "d", NULL
37971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
37972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37974 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
37975 if (PyErr_Occurred()) SWIG_fail
;
37978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37979 (arg1
)->SetDone(arg2
);
37981 wxPyEndAllowThreads(__tstate
);
37982 if (PyErr_Occurred()) SWIG_fail
;
37984 Py_INCREF(Py_None
); resultobj
= Py_None
;
37991 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37992 PyObject
*resultobj
;
37993 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37995 PyObject
* obj0
= 0 ;
37996 char *kwnames
[] = {
37997 (char *) "self", NULL
38000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
38001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38004 result
= (int)(arg1
)->GetRelationship();
38006 wxPyEndAllowThreads(__tstate
);
38007 if (PyErr_Occurred()) SWIG_fail
;
38009 resultobj
= SWIG_PyObj_FromInt((int)result
);
38016 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38017 PyObject
*resultobj
;
38018 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38020 PyObject
* obj0
= 0 ;
38021 PyObject
* obj1
= 0 ;
38022 char *kwnames
[] = {
38023 (char *) "self",(char *) "r", NULL
38026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
38027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38029 arg2
= (wxRelationship
) SWIG_PyObj_AsInt(obj1
);
38030 if (PyErr_Occurred()) SWIG_fail
;
38033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38034 (arg1
)->SetRelationship((wxRelationship
)arg2
);
38036 wxPyEndAllowThreads(__tstate
);
38037 if (PyErr_Occurred()) SWIG_fail
;
38039 Py_INCREF(Py_None
); resultobj
= Py_None
;
38046 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38047 PyObject
*resultobj
;
38048 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38049 wxWindow
*arg2
= (wxWindow
*) 0 ;
38051 PyObject
* obj0
= 0 ;
38052 PyObject
* obj1
= 0 ;
38053 char *kwnames
[] = {
38054 (char *) "self",(char *) "otherW", NULL
38057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
38058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38059 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38062 result
= (bool)(arg1
)->ResetIfWin(arg2
);
38064 wxPyEndAllowThreads(__tstate
);
38065 if (PyErr_Occurred()) SWIG_fail
;
38067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38074 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38075 PyObject
*resultobj
;
38076 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38077 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
38078 wxWindow
*arg3
= (wxWindow
*) 0 ;
38080 PyObject
* obj0
= 0 ;
38081 PyObject
* obj1
= 0 ;
38082 PyObject
* obj2
= 0 ;
38083 char *kwnames
[] = {
38084 (char *) "self",(char *) "constraints",(char *) "win", NULL
38087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38089 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38090 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38093 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
38095 wxPyEndAllowThreads(__tstate
);
38096 if (PyErr_Occurred()) SWIG_fail
;
38098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38105 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38106 PyObject
*resultobj
;
38107 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38109 wxWindow
*arg3
= (wxWindow
*) 0 ;
38110 wxWindow
*arg4
= (wxWindow
*) 0 ;
38112 PyObject
* obj0
= 0 ;
38113 PyObject
* obj1
= 0 ;
38114 PyObject
* obj2
= 0 ;
38115 PyObject
* obj3
= 0 ;
38116 char *kwnames
[] = {
38117 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38123 arg2
= (wxEdge
) SWIG_PyObj_AsInt(obj1
);
38124 if (PyErr_Occurred()) SWIG_fail
;
38126 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38127 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38130 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
38132 wxPyEndAllowThreads(__tstate
);
38133 if (PyErr_Occurred()) SWIG_fail
;
38135 resultobj
= SWIG_PyObj_FromInt((int)result
);
38142 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
38144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38145 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
38147 return Py_BuildValue((char *)"");
38149 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38150 PyObject
*resultobj
;
38151 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38152 wxIndividualLayoutConstraint
*result
;
38153 PyObject
* obj0
= 0 ;
38154 char *kwnames
[] = {
38155 (char *) "self", NULL
38158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
38159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38160 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
38162 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38169 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38170 PyObject
*resultobj
;
38171 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38172 wxIndividualLayoutConstraint
*result
;
38173 PyObject
* obj0
= 0 ;
38174 char *kwnames
[] = {
38175 (char *) "self", NULL
38178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
38179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38180 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
38182 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38189 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38190 PyObject
*resultobj
;
38191 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38192 wxIndividualLayoutConstraint
*result
;
38193 PyObject
* obj0
= 0 ;
38194 char *kwnames
[] = {
38195 (char *) "self", NULL
38198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
38199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38200 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
38202 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38209 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38210 PyObject
*resultobj
;
38211 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38212 wxIndividualLayoutConstraint
*result
;
38213 PyObject
* obj0
= 0 ;
38214 char *kwnames
[] = {
38215 (char *) "self", NULL
38218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
38219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38220 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
38222 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38229 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38230 PyObject
*resultobj
;
38231 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38232 wxIndividualLayoutConstraint
*result
;
38233 PyObject
* obj0
= 0 ;
38234 char *kwnames
[] = {
38235 (char *) "self", NULL
38238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
38239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38240 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
38242 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38249 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38250 PyObject
*resultobj
;
38251 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38252 wxIndividualLayoutConstraint
*result
;
38253 PyObject
* obj0
= 0 ;
38254 char *kwnames
[] = {
38255 (char *) "self", NULL
38258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
38259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38260 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
38262 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38269 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38270 PyObject
*resultobj
;
38271 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38272 wxIndividualLayoutConstraint
*result
;
38273 PyObject
* obj0
= 0 ;
38274 char *kwnames
[] = {
38275 (char *) "self", NULL
38278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
38279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38280 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
38282 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38289 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38290 PyObject
*resultobj
;
38291 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38292 wxIndividualLayoutConstraint
*result
;
38293 PyObject
* obj0
= 0 ;
38294 char *kwnames
[] = {
38295 (char *) "self", NULL
38298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
38299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38300 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
38302 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38309 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38310 PyObject
*resultobj
;
38311 wxLayoutConstraints
*result
;
38312 char *kwnames
[] = {
38316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
38318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38319 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
38321 wxPyEndAllowThreads(__tstate
);
38322 if (PyErr_Occurred()) SWIG_fail
;
38324 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
38331 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38332 PyObject
*resultobj
;
38333 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38334 wxWindow
*arg2
= (wxWindow
*) 0 ;
38335 int *arg3
= (int *) 0 ;
38338 PyObject
* obj0
= 0 ;
38339 PyObject
* obj1
= 0 ;
38340 char *kwnames
[] = {
38341 (char *) "self",(char *) "win", NULL
38345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
38346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38347 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38350 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
38352 wxPyEndAllowThreads(__tstate
);
38353 if (PyErr_Occurred()) SWIG_fail
;
38355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38357 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
38358 resultobj
= t_output_helper(resultobj
,o
);
38366 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38367 PyObject
*resultobj
;
38368 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38370 PyObject
* obj0
= 0 ;
38371 char *kwnames
[] = {
38372 (char *) "self", NULL
38375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
38376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38379 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
38381 wxPyEndAllowThreads(__tstate
);
38382 if (PyErr_Occurred()) SWIG_fail
;
38384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38391 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
38393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38394 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
38396 return Py_BuildValue((char *)"");
38398 static PyMethodDef SwigMethods
[] = {
38399 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
38400 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
38401 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
38402 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
38403 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
38404 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
38405 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
38406 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
38407 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
38408 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
38409 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
38410 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38411 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38412 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
38413 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38414 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
38415 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
38416 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
38417 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38418 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38419 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38420 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38421 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
38422 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
38423 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38424 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38425 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38426 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38427 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
38428 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
38429 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38430 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38431 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
38432 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38433 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
38434 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
38435 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
38436 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38437 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38438 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38439 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38440 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
38441 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
38442 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38443 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38444 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
38445 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38446 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38447 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
38448 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
38449 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
38450 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
38451 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
38452 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
38453 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
38454 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
38455 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38456 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
38457 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38458 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
38459 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38460 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38461 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38462 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38463 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38464 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38465 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
38466 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
38467 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
38468 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
38469 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
38470 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
38471 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
38472 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
38473 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
38474 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
38475 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
38476 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
38477 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
38478 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
38479 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
38480 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
38481 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
38482 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
38483 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
38484 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
38485 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38486 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38487 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38488 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
38489 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
38490 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
38491 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38492 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38493 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38494 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38495 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
38496 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
38497 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
38498 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
38499 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
38500 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
38501 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
38502 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
38503 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
38504 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
38505 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
38506 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
38507 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
38508 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
38509 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
38510 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
38511 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
38512 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
38513 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
38514 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
38515 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
38516 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
38517 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38518 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
38519 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
38520 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
38521 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38522 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38523 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38524 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38525 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38526 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38527 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
38528 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
38529 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
38530 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
38531 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
38532 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
38533 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
38534 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
38535 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
38536 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
38537 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
38538 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
38539 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
38540 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
38541 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
38542 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
38543 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
38544 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
38545 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
38546 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
38547 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
38548 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
38549 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
38550 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
38551 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
38552 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
38553 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
38554 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
38555 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
38556 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
38557 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
38558 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
38559 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
38560 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
38561 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38562 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38563 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38564 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38565 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
38566 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
38567 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
38568 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
38569 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
38570 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
38571 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
38572 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
38573 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
38574 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
38575 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38576 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38577 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38578 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
38579 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
38580 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
38581 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
38582 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
38583 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
38584 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38585 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38586 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
38587 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
38588 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38589 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38590 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38591 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38592 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
38593 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
38594 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
38595 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
38596 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
38597 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
38598 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38599 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38600 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38601 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38602 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
38603 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
38604 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
38605 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
38606 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
38607 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
38608 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
38609 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
38610 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
38611 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
38612 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
38613 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
38614 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
38615 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
38616 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
38617 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
38618 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
38619 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
38620 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
38621 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
38622 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
38623 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
38624 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
38625 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
38626 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
38627 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
38628 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
38629 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
38630 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
38631 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
38632 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
38633 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
38634 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
38635 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
38636 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
38637 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
38638 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
38639 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
38640 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
38641 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
38642 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
38643 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
38644 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
38645 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
38646 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
38647 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
38648 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
38649 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38650 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38651 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
38652 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
38653 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
38654 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
38655 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
38656 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
38657 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
38658 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
38659 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
38660 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
38661 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
38662 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
38663 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
38664 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
38665 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
38666 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
38667 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
38668 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
38669 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
38670 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
38671 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
38672 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
38673 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
38674 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
38675 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
38676 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
38677 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
38678 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
38679 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
38680 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
38681 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
38682 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
38683 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
38684 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
38685 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
38686 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
38687 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
38688 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
38689 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
38690 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
38691 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
38692 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
38693 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
38694 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
38695 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
38696 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
38697 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
38698 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
38699 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
38700 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
38701 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
38702 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
38703 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
38704 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
38705 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
38706 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
38707 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
38708 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
38709 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
38710 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
38711 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
38712 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
38713 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
38714 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
38715 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
38716 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
38717 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
38718 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
38719 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
38720 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
38721 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
38722 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
38723 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
38724 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
38725 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
38726 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
38727 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
38728 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
38729 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
38730 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
38731 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
38732 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
38733 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
38734 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
38735 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
38736 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
38737 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
38738 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
38739 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
38740 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
38741 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
38742 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
38743 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
38744 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
38745 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
38746 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
38747 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
38748 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
38749 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
38750 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
38751 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
38752 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
38753 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
38754 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
38755 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
38756 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
38757 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
38758 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
38759 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
38760 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
38761 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
38762 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
38763 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
38764 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
38765 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
38766 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
38767 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38768 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
38769 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38770 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
38771 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
38772 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
38773 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38774 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
38775 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38776 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
38777 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
38778 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
38779 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
38780 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
38781 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
38782 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
38783 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
38784 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
38785 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
38786 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
38787 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
38788 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
38789 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
38790 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
38791 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
38792 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
38793 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
38794 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
38795 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
38796 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
38797 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
38798 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
38799 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
38800 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
38801 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
38802 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
38803 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
38804 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
38805 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38806 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
38807 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
38808 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38809 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38810 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
38811 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
38812 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
38813 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
38814 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38815 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38816 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38817 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38818 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38819 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38820 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38821 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38822 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38823 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38824 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38825 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38826 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38827 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38828 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38829 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38830 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38831 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38832 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
38833 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
38834 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
38835 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
38836 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
38837 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
38838 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
38839 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
38840 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38841 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38842 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
38843 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
38844 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
38845 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
38846 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
38847 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
38848 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
38849 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
38850 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
38851 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
38852 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
38853 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
38854 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
38855 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
38856 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38857 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
38858 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38859 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38860 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38861 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38862 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38863 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38864 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
38865 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
38866 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38867 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38868 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38869 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38870 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38871 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38872 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38873 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38874 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
38875 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
38876 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
38877 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
38878 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
38879 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
38880 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
38881 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
38882 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
38883 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
38884 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
38885 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
38886 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
38887 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
38888 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
38889 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
38890 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
38891 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
38892 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38893 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
38894 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
38895 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38896 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
38897 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
38898 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
38899 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
38900 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
38901 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
38902 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
38903 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
38904 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
38905 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
38906 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
38907 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
38908 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
38909 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
38910 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
38911 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
38912 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
38913 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
38914 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
38915 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
38916 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
38917 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
38918 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
38919 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
38920 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
38921 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
38922 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
38923 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
38924 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
38925 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
38926 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
38927 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
38928 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
38929 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
38930 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
38931 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
38932 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
38933 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
38934 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
38935 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
38936 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
38937 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
38938 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
38939 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
38940 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
38941 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
38942 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38943 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
38944 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
38945 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
38946 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
38947 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
38948 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
38949 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
38950 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
38951 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
38952 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
38953 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
38954 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
38955 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
38956 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
38957 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
38958 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
38959 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
38960 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
38961 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
38962 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
38963 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
38964 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
38965 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
38966 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
38967 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
38968 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
38969 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
38970 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
38971 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
38972 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
38973 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
38974 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
38975 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
38976 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
38977 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
38978 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
38979 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
38980 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
38981 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
38982 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
38983 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
38984 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
38985 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
38986 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
38987 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
38988 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
38989 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
38990 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
38991 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
38992 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
38993 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38994 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38995 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
38996 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
38997 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
38998 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
38999 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
39000 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
39001 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
39002 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
39003 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39004 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39005 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39006 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39007 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
39008 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39009 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39010 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39011 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39012 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
39013 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39014 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39015 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39016 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39017 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39018 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39019 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39020 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39021 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39022 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
39023 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
39024 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39025 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39026 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39027 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39028 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39029 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
39030 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
39031 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
39032 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
39033 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
39034 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39035 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39036 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39037 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39038 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39039 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39040 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39041 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39042 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39043 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39044 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39045 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39046 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39047 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39048 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39049 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39050 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39051 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39052 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39053 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39054 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
39055 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
39056 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
39057 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39058 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39059 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
39060 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
39061 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39062 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
39063 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
39064 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
39065 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39066 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39067 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
39068 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39069 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39070 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
39071 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39072 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
39073 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
39074 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39075 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39076 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39077 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
39078 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
39079 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
39080 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
39081 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
39082 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
39083 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39084 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
39085 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
39086 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39087 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39088 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39089 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39090 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39091 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39092 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39093 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39094 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
39095 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
39096 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
39097 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39098 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
39099 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39100 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39101 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
39102 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
39103 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
39104 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
39105 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39106 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39107 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39108 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39109 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39110 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39111 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39112 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39113 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39114 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39115 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
39116 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39117 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39118 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39119 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39120 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
39121 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
39122 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
39123 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
39124 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
39125 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39126 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39127 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
39128 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
39129 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
39130 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
39131 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
39132 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39133 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39134 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39135 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39136 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39137 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
39138 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
39139 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39140 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
39141 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39142 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39143 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39144 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39145 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
39146 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
39147 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
39148 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
39149 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39150 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39151 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
39152 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39153 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39154 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
39155 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
39156 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
39157 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
39158 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
39159 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
39160 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39161 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39162 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39163 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
39164 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
39165 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
39166 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
39167 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
39168 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
39169 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
39170 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
39171 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
39172 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39173 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39174 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39175 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39176 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39177 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39178 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39179 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39180 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39181 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39182 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39183 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39184 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39185 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
39186 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
39187 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39188 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39189 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
39190 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
39191 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
39192 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
39193 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
39194 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
39195 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
39196 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
39197 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
39198 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
39199 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
39200 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
39201 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
39202 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39203 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
39204 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
39205 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
39206 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39207 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39208 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39209 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39210 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39211 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39212 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
39213 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
39214 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
39215 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
39216 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
39217 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
39218 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
39219 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
39220 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
39221 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
39222 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
39223 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
39224 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
39225 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
39226 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
39227 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39228 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
39229 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
39230 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
39231 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
39232 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
39233 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
39234 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
39235 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
39236 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
39237 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
39238 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
39239 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
39240 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
39241 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
39242 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
39243 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
39244 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
39245 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
39246 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
39247 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
39248 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
39249 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
39250 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
39251 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
39252 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
39253 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39254 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39255 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
39256 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
39257 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
39258 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39259 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
39260 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39261 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
39262 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
39263 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
39264 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
39265 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
39266 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
39267 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
39268 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
39269 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39270 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
39271 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
39272 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
39273 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39274 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39275 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
39276 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
39277 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
39278 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
39279 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39280 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
39281 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
39282 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
39283 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39284 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39285 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39286 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
39287 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
39288 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
39289 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
39290 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39291 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39292 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39293 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39294 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
39295 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
39296 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
39297 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39298 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39299 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39300 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
39301 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39302 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
39303 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
39304 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
39305 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39306 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
39307 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
39308 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
39309 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
39310 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
39311 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
39312 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
39313 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39314 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39315 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
39316 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39317 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39318 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39319 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39320 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39321 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39322 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39323 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39324 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39325 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
39326 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
39327 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
39328 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
39329 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
39330 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
39331 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
39332 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
39333 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
39334 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
39335 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
39336 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
39337 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
39338 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39339 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
39340 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39341 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
39342 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39343 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
39344 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
39345 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
39346 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
39347 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39348 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
39349 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
39350 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39351 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
39352 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39353 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39354 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39355 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39356 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39357 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39358 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
39359 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
39360 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
39361 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
39362 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
39363 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39364 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39365 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39366 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39367 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39368 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39369 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
39370 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39371 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
39372 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
39373 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
39374 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
39375 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
39376 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39377 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39378 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39379 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39380 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39381 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
39382 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39383 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
39384 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
39385 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
39386 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
39387 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
39388 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
39389 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39390 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39391 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
39392 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
39393 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
39394 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
39395 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
39396 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39397 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39398 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
39399 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
39400 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
39401 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39402 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
39403 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
39404 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
39405 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
39406 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
39407 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
39408 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
39409 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
39410 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
39411 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
39412 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
39413 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
39414 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
39415 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
39416 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
39417 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
39418 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39419 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
39420 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
39421 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
39422 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
39423 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39424 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39425 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
39426 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39427 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
39428 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
39429 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
39430 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
39431 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
39432 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
39433 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
39434 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39435 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
39436 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
39437 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
39438 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
39439 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39440 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39441 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39442 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39443 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39444 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39445 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39446 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39447 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
39448 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39449 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39450 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
39451 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
39452 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
39453 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
39454 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39455 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
39456 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39457 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39458 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
39459 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
39460 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
39461 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
39462 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39463 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39464 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39465 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39466 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39467 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39468 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
39469 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
39470 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
39471 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39472 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39473 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
39474 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
39475 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
39476 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
39477 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
39478 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39479 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
39480 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
39481 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
39482 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39483 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
39484 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
39485 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39486 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39487 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39488 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39489 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
39490 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
39491 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
39492 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39493 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39494 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
39495 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
39496 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39497 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39498 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
39499 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
39500 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
39501 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
39502 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
39503 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
39504 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
39505 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
39506 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
39507 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
39508 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39509 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39510 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
39511 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
39512 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
39513 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
39514 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
39515 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
39516 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
39517 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
39518 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
39519 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
39520 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
39521 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
39522 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
39523 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
39524 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
39525 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
39526 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39527 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39528 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
39529 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
39530 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
39531 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
39532 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
39533 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
39534 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
39535 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
39536 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39537 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39538 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
39539 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
39540 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
39541 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
39542 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
39543 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
39544 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39545 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
39546 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
39547 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
39548 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
39549 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
39550 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
39551 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
39552 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
39553 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
39554 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
39555 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
39556 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
39557 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
39558 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
39559 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
39560 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
39561 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
39562 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
39563 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
39564 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
39565 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
39566 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
39567 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39568 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39569 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
39570 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
39571 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
39572 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
39573 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
39574 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
39575 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
39576 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
39577 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
39578 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
39579 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
39580 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
39581 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
39582 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
39583 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
39584 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
39585 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
39586 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
39587 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
39588 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
39589 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
39590 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
39591 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
39592 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
39593 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
39594 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
39595 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
39596 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
39597 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
39598 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
39599 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
39600 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
39601 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
39602 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
39603 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
39604 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
39605 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
39606 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39607 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39608 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
39609 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
39614 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39616 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
39617 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
39619 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
39620 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
39622 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
39623 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39625 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
39626 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39628 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
39629 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
39631 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
39632 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39634 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
39635 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
39637 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
39638 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39640 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
39641 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39643 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
39644 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
39646 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
39647 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
39649 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
39650 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
39652 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
39653 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
39655 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
39656 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
39658 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
39659 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
39661 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
39662 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
39664 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
39665 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
39667 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
39668 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39670 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
39671 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
39673 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
39674 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39676 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
39677 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39679 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
39680 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
39682 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
39683 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
39685 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
39686 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
39688 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
39689 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
39691 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
39692 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
39694 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
39695 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
39697 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
39698 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
39700 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
39701 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39703 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
39704 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39706 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
39707 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39709 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
39710 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39712 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
39713 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39715 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
39716 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
39718 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
39719 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
39721 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
39722 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39724 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
39725 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
39727 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
39728 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
39730 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
39731 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39733 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
39734 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39736 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
39737 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39739 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
39740 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
39742 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
39743 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
39745 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
39746 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39748 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
39749 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39751 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
39752 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39754 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
39755 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
39757 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
39758 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
39760 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
39761 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
39763 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
39764 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
39766 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
39767 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39769 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
39770 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
39772 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
39773 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
39775 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
39776 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
39778 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
39779 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
39781 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
39782 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
39784 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
39785 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
39787 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
39788 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
39790 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
39791 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
39793 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
39794 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
39796 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
39797 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
39799 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
39800 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39802 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
39803 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
39805 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
39806 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
39808 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
39809 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39811 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
39812 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39814 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
39815 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
39817 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
39818 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
39820 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
39821 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
39823 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
39824 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
39826 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
39827 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
39829 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
39830 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
39832 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
39833 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
39835 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
39836 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
39838 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
39839 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
39841 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
39842 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
39844 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
39845 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
39847 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39848 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39850 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39851 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39853 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39856 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39857 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39859 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39860 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39862 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39863 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39865 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39866 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39868 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39871 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39874 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39875 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39877 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39878 return (void *)((wxObject
*) ((wxSizer
*) x
));
39880 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39881 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39883 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39884 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39886 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39887 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39889 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39890 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39892 static void *_p_wxImageTo_p_wxObject(void *x
) {
39893 return (void *)((wxObject
*) ((wxImage
*) x
));
39895 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39896 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39898 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39899 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39901 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39902 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39904 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39905 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39907 static void *_p_wxControlTo_p_wxObject(void *x
) {
39908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39910 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39911 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39913 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39914 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39916 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39917 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39919 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39920 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39922 static void *_p_wxEventTo_p_wxObject(void *x
) {
39923 return (void *)((wxObject
*) ((wxEvent
*) x
));
39925 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39926 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39928 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39929 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39931 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39932 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39934 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39935 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39937 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39938 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39940 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39941 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39943 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39944 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39946 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39947 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39949 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39950 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39952 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39953 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39955 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39956 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39958 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39959 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39961 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39962 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39964 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39965 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39967 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39968 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39970 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39971 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39973 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39974 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39976 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39977 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39979 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39980 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39982 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39983 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39985 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39986 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39988 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39989 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39991 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39992 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39994 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39995 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39997 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39998 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40000 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40001 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40003 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40004 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40006 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40007 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40009 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40010 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40012 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40013 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40015 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40016 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40018 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40019 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40021 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40022 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40024 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40025 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40027 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40028 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40030 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40031 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40033 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40034 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40036 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40037 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40039 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40040 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40042 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40043 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40045 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40046 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40048 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40049 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40051 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40052 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40054 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40055 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40057 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40058 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40060 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40061 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40063 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40064 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40066 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40067 return (void *)((wxWindow
*) ((wxControl
*) x
));
40069 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40070 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40072 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40073 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40075 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
40076 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40078 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
40079 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
40081 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
40082 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40084 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
40085 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40087 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
40088 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40090 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
40091 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40093 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
40094 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40096 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
40097 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40099 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
40100 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
40102 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
40103 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
40104 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
40105 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
40106 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
40107 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
40108 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0},{"_p_wxSizer"},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
},{0}};
40109 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
40110 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
40111 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
40112 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
40113 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
40114 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
40115 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{0}};
40116 static swig_type_info _swigt__p_wxGridSizer
[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer
},{"_p_wxGridSizer"},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer
},{0}};
40117 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
40118 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
40119 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
40120 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
40121 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
40122 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
40123 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
40124 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
40125 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
40126 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
40127 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
40128 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
40129 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
40130 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
40131 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
40132 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
40133 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
40134 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
40135 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
40136 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
40137 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
40138 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
40139 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
40140 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
40141 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
40142 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
40143 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
40144 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
40145 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
40146 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
40147 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
40148 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
40149 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
40150 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
40151 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
40152 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
40153 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
40154 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
40155 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
40156 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
40157 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
40158 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
40159 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
40160 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
40161 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
40162 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
40163 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
40164 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
40165 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{0}};
40166 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
40167 static swig_type_info _swigt__p_wxICOHandler
[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0},{"_p_wxICOHandler"},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler
},{0}};
40168 static swig_type_info _swigt__p_wxBMPHandler
[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0},{"_p_wxBMPHandler"},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler
},{0}};
40169 static swig_type_info _swigt__p_wxImageHandler
[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0},{"_p_wxImageHandler"},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler
},{0}};
40170 static swig_type_info _swigt__p_wxFileSystemHandler
[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0},{"_p_wxFileSystemHandler"},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler
},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler
},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler
},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler
},{0}};
40171 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
40172 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
40173 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
40174 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
40175 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
40176 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
40177 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
40178 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
40179 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
40180 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
40181 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
40182 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
40183 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
40184 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
40185 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
40186 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
40187 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{0}};
40188 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
40189 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
40190 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
40191 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
40192 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
40193 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
40194 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
40195 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{0}};
40196 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
40197 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
40198 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
40199 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
40200 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
40201 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
40202 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
40203 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
40204 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
40205 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
40206 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
},{0}};
40207 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
40208 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
40209 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
40210 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
40211 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
40212 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
40213 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
40214 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
40215 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
40217 static swig_type_info
*swig_types_initial
[] = {
40218 _swigt__p_wxLayoutConstraints
,
40219 _swigt__p_wxRealPoint
,
40220 _swigt__p_wxSizerItem
,
40221 _swigt__p_wxGBSizerItem
,
40222 _swigt__p_wxScrollEvent
,
40223 _swigt__p_wxIndividualLayoutConstraint
,
40225 _swigt__p_wxBoxSizer
,
40226 _swigt__p_wxStaticBoxSizer
,
40227 _swigt__p_wxGridBagSizer
,
40228 _swigt__p_wxAcceleratorEntry
,
40229 _swigt__p_wxUpdateUIEvent
,
40232 _swigt__p_wxGridSizer
,
40233 _swigt__p_wxFlexGridSizer
,
40234 _swigt__p_wxInitDialogEvent
,
40235 _swigt__p_wxItemContainer
,
40236 _swigt__p_wxNcPaintEvent
,
40237 _swigt__p_wxPaintEvent
,
40238 _swigt__p_wxSysColourChangedEvent
,
40239 _swigt__p_wxMouseCaptureChangedEvent
,
40240 _swigt__p_wxDisplayChangedEvent
,
40241 _swigt__p_wxPaletteChangedEvent
,
40242 _swigt__p_wxControl
,
40244 _swigt__p_wxMenuBarBase
,
40245 _swigt__p_wxSetCursorEvent
,
40246 _swigt__p_wxFSFile
,
40248 _swigt__p_wxRegion
,
40249 _swigt__p_wxPoint2D
,
40253 _swigt__p_wxPySizer
,
40254 _swigt__p_wxNotifyEvent
,
40255 _swigt__p_wxPyEvent
,
40256 _swigt__p_wxPropagationDisabler
,
40257 _swigt__p_wxAppTraits
,
40258 _swigt__p_wxArrayString
,
40259 _swigt__p_wxShowEvent
,
40260 _swigt__p_wxToolTip
,
40261 _swigt__p_wxMaximizeEvent
,
40262 _swigt__p_wxIconizeEvent
,
40263 _swigt__p_wxActivateEvent
,
40264 _swigt__p_wxMoveEvent
,
40265 _swigt__p_wxSizeEvent
,
40266 _swigt__p_wxQueryNewPaletteEvent
,
40267 _swigt__p_wxWindowCreateEvent
,
40268 _swigt__p_wxIdleEvent
,
40269 _swigt__p_wxMenuItem
,
40270 _swigt__p_wxStaticBox
,
40272 _swigt__p_wxTIFFHandler
,
40273 _swigt__p_wxXPMHandler
,
40274 _swigt__p_wxPNMHandler
,
40275 _swigt__p_wxJPEGHandler
,
40276 _swigt__p_wxPCXHandler
,
40277 _swigt__p_wxGIFHandler
,
40278 _swigt__p_wxPNGHandler
,
40279 _swigt__p_wxANIHandler
,
40280 _swigt__p_wxMemoryFSHandler
,
40281 _swigt__p_wxEvtHandler
,
40282 _swigt__p_wxCURHandler
,
40283 _swigt__p_wxICOHandler
,
40284 _swigt__p_wxBMPHandler
,
40285 _swigt__p_wxImageHandler
,
40286 _swigt__p_wxFileSystemHandler
,
40287 _swigt__p_wxPyFileSystemHandler
,
40288 _swigt__p_wxInternetFSHandler
,
40289 _swigt__p_wxZipFSHandler
,
40291 _swigt__p_wxGBSpan
,
40292 _swigt__p_wxPropagateOnce
,
40293 _swigt__p_wxAcceleratorTable
,
40295 _swigt__p_wxGBPosition
,
40298 _swigt__p_wxScrollWinEvent
,
40299 _swigt__p_wxImageHistogram
,
40302 _swigt__p_wxCursor
,
40303 _swigt__p_wxObject
,
40304 _swigt__p_wxPyInputStream
,
40305 _swigt__p_wxOutputStream
,
40306 _swigt__p_wxInputStream
,
40307 _swigt__p_wxDateTime
,
40308 _swigt__p_wxKeyEvent
,
40309 _swigt__p_wxNavigationKeyEvent
,
40310 _swigt__p_wxWindowDestroyEvent
,
40311 _swigt__p_wxWindow
,
40312 _swigt__p_wxMenuBar
,
40313 _swigt__p_wxFileSystem
,
40314 _swigt__p_wxBitmap
,
40315 _swigt__p_wxMenuEvent
,
40316 _swigt__p_wxContextMenuEvent
,
40317 _swigt__p_unsigned_char
,
40318 _swigt__p_wxCloseEvent
,
40319 _swigt__p_wxEraseEvent
,
40320 _swigt__p_wxMouseEvent
,
40322 _swigt__p_wxCommandEvent
,
40323 _swigt__p_wxPyCommandEvent
,
40324 _swigt__p_wxPyDropTarget
,
40325 _swigt__p_wxChildFocusEvent
,
40326 _swigt__p_wxFocusEvent
,
40327 _swigt__p_wxDropFilesEvent
,
40328 _swigt__p_wxControlWithItems
,
40329 _swigt__p_wxColour
,
40330 _swigt__p_wxValidator
,
40331 _swigt__p_wxPyValidator
,
40336 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40338 static swig_const_info swig_const_table
[] = {
40348 SWIGEXPORT(void) SWIG_init(void) {
40349 static PyObject
*SWIG_globals
= 0;
40350 static int typeinit
= 0;
40353 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
40354 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40355 d
= PyModule_GetDict(m
);
40358 for (i
= 0; swig_types_initial
[i
]; i
++) {
40359 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
40363 SWIG_InstallConstants(d
,swig_const_table
);
40366 #ifndef wxPyUSE_EXPORT
40367 // Make our API structure a CObject so other modules can import it
40368 // from this module.
40369 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
40370 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
40374 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_PyObj_FromInt((int)wxNOT_FOUND
));
40375 PyDict_SetItemString(d
,"VSCROLL", SWIG_PyObj_FromInt((int)wxVSCROLL
));
40376 PyDict_SetItemString(d
,"HSCROLL", SWIG_PyObj_FromInt((int)wxHSCROLL
));
40377 PyDict_SetItemString(d
,"CAPTION", SWIG_PyObj_FromInt((int)wxCAPTION
));
40378 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_PyObj_FromInt((int)wxDOUBLE_BORDER
));
40379 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_PyObj_FromInt((int)wxSUNKEN_BORDER
));
40380 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_PyObj_FromInt((int)wxRAISED_BORDER
));
40381 PyDict_SetItemString(d
,"BORDER", SWIG_PyObj_FromInt((int)wxBORDER
));
40382 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_PyObj_FromInt((int)wxSIMPLE_BORDER
));
40383 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_PyObj_FromInt((int)wxSTATIC_BORDER
));
40384 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_PyObj_FromInt((int)wxTRANSPARENT_WINDOW
));
40385 PyDict_SetItemString(d
,"NO_BORDER", SWIG_PyObj_FromInt((int)wxNO_BORDER
));
40386 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_PyObj_FromInt((int)wxUSER_COLOURS
));
40387 PyDict_SetItemString(d
,"NO_3D", SWIG_PyObj_FromInt((int)wxNO_3D
));
40388 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_PyObj_FromInt((int)wxTAB_TRAVERSAL
));
40389 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_PyObj_FromInt((int)wxWANTS_CHARS
));
40390 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_PyObj_FromInt((int)wxPOPUP_WINDOW
));
40391 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_PyObj_FromInt((int)wxCENTER_FRAME
));
40392 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxCENTRE_ON_SCREEN
));
40393 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_PyObj_FromInt((int)wxCENTER_ON_SCREEN
));
40394 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_PyObj_FromInt((int)wxSTAY_ON_TOP
));
40395 PyDict_SetItemString(d
,"ICONIZE", SWIG_PyObj_FromInt((int)wxICONIZE
));
40396 PyDict_SetItemString(d
,"MINIMIZE", SWIG_PyObj_FromInt((int)wxMINIMIZE
));
40397 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_PyObj_FromInt((int)wxMAXIMIZE
));
40398 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_PyObj_FromInt((int)wxCLOSE_BOX
));
40399 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_PyObj_FromInt((int)wxTHICK_FRAME
));
40400 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_PyObj_FromInt((int)wxSYSTEM_MENU
));
40401 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_PyObj_FromInt((int)wxMINIMIZE_BOX
));
40402 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_PyObj_FromInt((int)wxMAXIMIZE_BOX
));
40403 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_PyObj_FromInt((int)wxTINY_CAPTION_HORIZ
));
40404 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_PyObj_FromInt((int)wxTINY_CAPTION_VERT
));
40405 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_PyObj_FromInt((int)wxRESIZE_BOX
));
40406 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_PyObj_FromInt((int)wxRESIZE_BORDER
));
40407 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_PyObj_FromInt((int)wxDIALOG_MODAL
));
40408 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_PyObj_FromInt((int)wxDIALOG_MODELESS
));
40409 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_PyObj_FromInt((int)wxDIALOG_NO_PARENT
));
40410 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_PyObj_FromInt((int)wxDEFAULT_FRAME_STYLE
));
40411 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_PyObj_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
40412 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_PyObj_FromInt((int)wxFRAME_TOOL_WINDOW
));
40413 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_PyObj_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
40414 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_PyObj_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
40415 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_PyObj_FromInt((int)wxFRAME_NO_TASKBAR
));
40416 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_PyObj_FromInt((int)wxFRAME_SHAPED
));
40417 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_PyObj_FromInt((int)wxED_CLIENT_MARGIN
));
40418 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_PyObj_FromInt((int)wxED_BUTTONS_BOTTOM
));
40419 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_PyObj_FromInt((int)wxED_BUTTONS_RIGHT
));
40420 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_PyObj_FromInt((int)wxED_STATIC_LINE
));
40421 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_PyObj_FromInt((int)wxEXT_DIALOG_STYLE
));
40422 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_PyObj_FromInt((int)wxCLIP_CHILDREN
));
40423 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_PyObj_FromInt((int)wxCLIP_SIBLINGS
));
40424 PyDict_SetItemString(d
,"RETAINED", SWIG_PyObj_FromInt((int)wxRETAINED
));
40425 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_PyObj_FromInt((int)wxBACKINGSTORE
));
40426 PyDict_SetItemString(d
,"COLOURED", SWIG_PyObj_FromInt((int)wxCOLOURED
));
40427 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_PyObj_FromInt((int)wxFIXED_LENGTH
));
40428 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_PyObj_FromInt((int)wxLB_NEEDED_SB
));
40429 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_PyObj_FromInt((int)wxLB_ALWAYS_SB
));
40430 PyDict_SetItemString(d
,"LB_SORT", SWIG_PyObj_FromInt((int)wxLB_SORT
));
40431 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_PyObj_FromInt((int)wxLB_SINGLE
));
40432 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_PyObj_FromInt((int)wxLB_MULTIPLE
));
40433 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_PyObj_FromInt((int)wxLB_EXTENDED
));
40434 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_PyObj_FromInt((int)wxLB_OWNERDRAW
));
40435 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_PyObj_FromInt((int)wxLB_HSCROLL
));
40436 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxPROCESS_ENTER
));
40437 PyDict_SetItemString(d
,"PASSWORD", SWIG_PyObj_FromInt((int)wxPASSWORD
));
40438 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_PyObj_FromInt((int)wxCB_SIMPLE
));
40439 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_PyObj_FromInt((int)wxCB_DROPDOWN
));
40440 PyDict_SetItemString(d
,"CB_SORT", SWIG_PyObj_FromInt((int)wxCB_SORT
));
40441 PyDict_SetItemString(d
,"CB_READONLY", SWIG_PyObj_FromInt((int)wxCB_READONLY
));
40442 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxRA_HORIZONTAL
));
40443 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_PyObj_FromInt((int)wxRA_VERTICAL
));
40444 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_PyObj_FromInt((int)wxRA_SPECIFY_ROWS
));
40445 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_PyObj_FromInt((int)wxRA_SPECIFY_COLS
));
40446 PyDict_SetItemString(d
,"RB_GROUP", SWIG_PyObj_FromInt((int)wxRB_GROUP
));
40447 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_PyObj_FromInt((int)wxRB_SINGLE
));
40448 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSL_HORIZONTAL
));
40449 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_PyObj_FromInt((int)wxSL_VERTICAL
));
40450 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_PyObj_FromInt((int)wxSL_AUTOTICKS
));
40451 PyDict_SetItemString(d
,"SL_LABELS", SWIG_PyObj_FromInt((int)wxSL_LABELS
));
40452 PyDict_SetItemString(d
,"SL_LEFT", SWIG_PyObj_FromInt((int)wxSL_LEFT
));
40453 PyDict_SetItemString(d
,"SL_TOP", SWIG_PyObj_FromInt((int)wxSL_TOP
));
40454 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_PyObj_FromInt((int)wxSL_RIGHT
));
40455 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_PyObj_FromInt((int)wxSL_BOTTOM
));
40456 PyDict_SetItemString(d
,"SL_BOTH", SWIG_PyObj_FromInt((int)wxSL_BOTH
));
40457 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_PyObj_FromInt((int)wxSL_SELRANGE
));
40458 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSB_HORIZONTAL
));
40459 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_PyObj_FromInt((int)wxSB_VERTICAL
));
40460 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_PyObj_FromInt((int)wxST_SIZEGRIP
));
40461 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_PyObj_FromInt((int)wxST_NO_AUTORESIZE
));
40462 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_PyObj_FromInt((int)wxFLOOD_SURFACE
));
40463 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_PyObj_FromInt((int)wxFLOOD_BORDER
));
40464 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_PyObj_FromInt((int)wxODDEVEN_RULE
));
40465 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_PyObj_FromInt((int)wxWINDING_RULE
));
40466 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_PyObj_FromInt((int)wxTOOL_TOP
));
40467 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_PyObj_FromInt((int)wxTOOL_BOTTOM
));
40468 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_PyObj_FromInt((int)wxTOOL_LEFT
));
40469 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_PyObj_FromInt((int)wxTOOL_RIGHT
));
40470 PyDict_SetItemString(d
,"OK", SWIG_PyObj_FromInt((int)wxOK
));
40471 PyDict_SetItemString(d
,"YES_NO", SWIG_PyObj_FromInt((int)wxYES_NO
));
40472 PyDict_SetItemString(d
,"CANCEL", SWIG_PyObj_FromInt((int)wxCANCEL
));
40473 PyDict_SetItemString(d
,"YES", SWIG_PyObj_FromInt((int)wxYES
));
40474 PyDict_SetItemString(d
,"NO", SWIG_PyObj_FromInt((int)wxNO
));
40475 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_PyObj_FromInt((int)wxNO_DEFAULT
));
40476 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_PyObj_FromInt((int)wxYES_DEFAULT
));
40477 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_PyObj_FromInt((int)wxICON_EXCLAMATION
));
40478 PyDict_SetItemString(d
,"ICON_HAND", SWIG_PyObj_FromInt((int)wxICON_HAND
));
40479 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_PyObj_FromInt((int)wxICON_QUESTION
));
40480 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_PyObj_FromInt((int)wxICON_INFORMATION
));
40481 PyDict_SetItemString(d
,"ICON_STOP", SWIG_PyObj_FromInt((int)wxICON_STOP
));
40482 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_PyObj_FromInt((int)wxICON_ASTERISK
));
40483 PyDict_SetItemString(d
,"ICON_MASK", SWIG_PyObj_FromInt((int)wxICON_MASK
));
40484 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_PyObj_FromInt((int)wxICON_WARNING
));
40485 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_PyObj_FromInt((int)wxICON_ERROR
));
40486 PyDict_SetItemString(d
,"FORWARD", SWIG_PyObj_FromInt((int)wxFORWARD
));
40487 PyDict_SetItemString(d
,"BACKWARD", SWIG_PyObj_FromInt((int)wxBACKWARD
));
40488 PyDict_SetItemString(d
,"RESET", SWIG_PyObj_FromInt((int)wxRESET
));
40489 PyDict_SetItemString(d
,"HELP", SWIG_PyObj_FromInt((int)wxHELP
));
40490 PyDict_SetItemString(d
,"MORE", SWIG_PyObj_FromInt((int)wxMORE
));
40491 PyDict_SetItemString(d
,"SETUP", SWIG_PyObj_FromInt((int)wxSETUP
));
40492 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_PyObj_FromInt((int)wxSIZE_AUTO_WIDTH
));
40493 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_PyObj_FromInt((int)wxSIZE_AUTO_HEIGHT
));
40494 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_PyObj_FromInt((int)wxSIZE_AUTO
));
40495 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_PyObj_FromInt((int)wxSIZE_USE_EXISTING
));
40496 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_PyObj_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
40497 PyDict_SetItemString(d
,"PORTRAIT", SWIG_PyObj_FromInt((int)wxPORTRAIT
));
40498 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_PyObj_FromInt((int)wxLANDSCAPE
));
40499 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_HIGH
));
40500 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
40501 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_LOW
));
40502 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_DRAFT
));
40503 PyDict_SetItemString(d
,"ID_ANY", SWIG_PyObj_FromInt((int)wxID_ANY
));
40504 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_PyObj_FromInt((int)wxID_SEPARATOR
));
40505 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_PyObj_FromInt((int)wxID_LOWEST
));
40506 PyDict_SetItemString(d
,"ID_OPEN", SWIG_PyObj_FromInt((int)wxID_OPEN
));
40507 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_PyObj_FromInt((int)wxID_CLOSE
));
40508 PyDict_SetItemString(d
,"ID_NEW", SWIG_PyObj_FromInt((int)wxID_NEW
));
40509 PyDict_SetItemString(d
,"ID_SAVE", SWIG_PyObj_FromInt((int)wxID_SAVE
));
40510 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_PyObj_FromInt((int)wxID_SAVEAS
));
40511 PyDict_SetItemString(d
,"ID_REVERT", SWIG_PyObj_FromInt((int)wxID_REVERT
));
40512 PyDict_SetItemString(d
,"ID_EXIT", SWIG_PyObj_FromInt((int)wxID_EXIT
));
40513 PyDict_SetItemString(d
,"ID_UNDO", SWIG_PyObj_FromInt((int)wxID_UNDO
));
40514 PyDict_SetItemString(d
,"ID_REDO", SWIG_PyObj_FromInt((int)wxID_REDO
));
40515 PyDict_SetItemString(d
,"ID_HELP", SWIG_PyObj_FromInt((int)wxID_HELP
));
40516 PyDict_SetItemString(d
,"ID_PRINT", SWIG_PyObj_FromInt((int)wxID_PRINT
));
40517 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_PyObj_FromInt((int)wxID_PRINT_SETUP
));
40518 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_PyObj_FromInt((int)wxID_PREVIEW
));
40519 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_PyObj_FromInt((int)wxID_ABOUT
));
40520 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_PyObj_FromInt((int)wxID_HELP_CONTENTS
));
40521 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_PyObj_FromInt((int)wxID_HELP_COMMANDS
));
40522 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_PyObj_FromInt((int)wxID_HELP_PROCEDURES
));
40523 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_PyObj_FromInt((int)wxID_HELP_CONTEXT
));
40524 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_PyObj_FromInt((int)wxID_CLOSE_ALL
));
40525 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_PyObj_FromInt((int)wxID_PREFERENCES
));
40526 PyDict_SetItemString(d
,"ID_CUT", SWIG_PyObj_FromInt((int)wxID_CUT
));
40527 PyDict_SetItemString(d
,"ID_COPY", SWIG_PyObj_FromInt((int)wxID_COPY
));
40528 PyDict_SetItemString(d
,"ID_PASTE", SWIG_PyObj_FromInt((int)wxID_PASTE
));
40529 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_PyObj_FromInt((int)wxID_CLEAR
));
40530 PyDict_SetItemString(d
,"ID_FIND", SWIG_PyObj_FromInt((int)wxID_FIND
));
40531 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_PyObj_FromInt((int)wxID_DUPLICATE
));
40532 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_PyObj_FromInt((int)wxID_SELECTALL
));
40533 PyDict_SetItemString(d
,"ID_DELETE", SWIG_PyObj_FromInt((int)wxID_DELETE
));
40534 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_PyObj_FromInt((int)wxID_REPLACE
));
40535 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_PyObj_FromInt((int)wxID_REPLACE_ALL
));
40536 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_PyObj_FromInt((int)wxID_PROPERTIES
));
40537 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_PyObj_FromInt((int)wxID_VIEW_DETAILS
));
40538 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_PyObj_FromInt((int)wxID_VIEW_LARGEICONS
));
40539 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_PyObj_FromInt((int)wxID_VIEW_SMALLICONS
));
40540 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_PyObj_FromInt((int)wxID_VIEW_LIST
));
40541 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTDATE
));
40542 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTNAME
));
40543 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTSIZE
));
40544 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTTYPE
));
40545 PyDict_SetItemString(d
,"ID_FILE1", SWIG_PyObj_FromInt((int)wxID_FILE1
));
40546 PyDict_SetItemString(d
,"ID_FILE2", SWIG_PyObj_FromInt((int)wxID_FILE2
));
40547 PyDict_SetItemString(d
,"ID_FILE3", SWIG_PyObj_FromInt((int)wxID_FILE3
));
40548 PyDict_SetItemString(d
,"ID_FILE4", SWIG_PyObj_FromInt((int)wxID_FILE4
));
40549 PyDict_SetItemString(d
,"ID_FILE5", SWIG_PyObj_FromInt((int)wxID_FILE5
));
40550 PyDict_SetItemString(d
,"ID_FILE6", SWIG_PyObj_FromInt((int)wxID_FILE6
));
40551 PyDict_SetItemString(d
,"ID_FILE7", SWIG_PyObj_FromInt((int)wxID_FILE7
));
40552 PyDict_SetItemString(d
,"ID_FILE8", SWIG_PyObj_FromInt((int)wxID_FILE8
));
40553 PyDict_SetItemString(d
,"ID_FILE9", SWIG_PyObj_FromInt((int)wxID_FILE9
));
40554 PyDict_SetItemString(d
,"ID_OK", SWIG_PyObj_FromInt((int)wxID_OK
));
40555 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_PyObj_FromInt((int)wxID_CANCEL
));
40556 PyDict_SetItemString(d
,"ID_APPLY", SWIG_PyObj_FromInt((int)wxID_APPLY
));
40557 PyDict_SetItemString(d
,"ID_YES", SWIG_PyObj_FromInt((int)wxID_YES
));
40558 PyDict_SetItemString(d
,"ID_NO", SWIG_PyObj_FromInt((int)wxID_NO
));
40559 PyDict_SetItemString(d
,"ID_STATIC", SWIG_PyObj_FromInt((int)wxID_STATIC
));
40560 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_PyObj_FromInt((int)wxID_FORWARD
));
40561 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_PyObj_FromInt((int)wxID_BACKWARD
));
40562 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_PyObj_FromInt((int)wxID_DEFAULT
));
40563 PyDict_SetItemString(d
,"ID_MORE", SWIG_PyObj_FromInt((int)wxID_MORE
));
40564 PyDict_SetItemString(d
,"ID_SETUP", SWIG_PyObj_FromInt((int)wxID_SETUP
));
40565 PyDict_SetItemString(d
,"ID_RESET", SWIG_PyObj_FromInt((int)wxID_RESET
));
40566 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_PyObj_FromInt((int)wxID_CONTEXT_HELP
));
40567 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_PyObj_FromInt((int)wxID_YESTOALL
));
40568 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_PyObj_FromInt((int)wxID_NOTOALL
));
40569 PyDict_SetItemString(d
,"ID_ABORT", SWIG_PyObj_FromInt((int)wxID_ABORT
));
40570 PyDict_SetItemString(d
,"ID_RETRY", SWIG_PyObj_FromInt((int)wxID_RETRY
));
40571 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_PyObj_FromInt((int)wxID_IGNORE
));
40572 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_PyObj_FromInt((int)wxID_HIGHEST
));
40573 PyDict_SetItemString(d
,"OPEN", SWIG_PyObj_FromInt((int)wxOPEN
));
40574 PyDict_SetItemString(d
,"SAVE", SWIG_PyObj_FromInt((int)wxSAVE
));
40575 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_PyObj_FromInt((int)wxHIDE_READONLY
));
40576 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_PyObj_FromInt((int)wxOVERWRITE_PROMPT
));
40577 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_PyObj_FromInt((int)wxFILE_MUST_EXIST
));
40578 PyDict_SetItemString(d
,"MULTIPLE", SWIG_PyObj_FromInt((int)wxMULTIPLE
));
40579 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_PyObj_FromInt((int)wxCHANGE_DIR
));
40580 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_PyObj_FromInt((int)wxACCEL_ALT
));
40581 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_PyObj_FromInt((int)wxACCEL_CTRL
));
40582 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_PyObj_FromInt((int)wxACCEL_SHIFT
));
40583 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_PyObj_FromInt((int)wxACCEL_NORMAL
));
40584 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_PyObj_FromInt((int)wxPD_AUTO_HIDE
));
40585 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_PyObj_FromInt((int)wxPD_APP_MODAL
));
40586 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_PyObj_FromInt((int)wxPD_CAN_ABORT
));
40587 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_PyObj_FromInt((int)wxPD_ELAPSED_TIME
));
40588 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_PyObj_FromInt((int)wxPD_ESTIMATED_TIME
));
40589 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_PyObj_FromInt((int)wxPD_REMAINING_TIME
));
40590 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_PyObj_FromInt((int)wxDD_NEW_DIR_BUTTON
));
40591 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxDD_DEFAULT_STYLE
));
40592 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_PyObj_FromInt((int)wxMENU_TEAROFF
));
40593 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_PyObj_FromInt((int)wxMB_DOCKABLE
));
40594 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_PyObj_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
40595 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_PyObj_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
40596 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLI_HORIZONTAL
));
40597 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_PyObj_FromInt((int)wxLI_VERTICAL
));
40598 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_PyObj_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
40599 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_PyObj_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
40600 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_PyObj_FromInt((int)wxWS_EX_TRANSIENT
));
40601 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_PyObj_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
40602 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_PyObj_FromInt((int)wxWS_EX_PROCESS_IDLE
));
40603 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_PyObj_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
40604 PyDict_SetItemString(d
,"MM_TEXT", SWIG_PyObj_FromInt((int)wxMM_TEXT
));
40605 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_PyObj_FromInt((int)wxMM_LOMETRIC
));
40606 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_PyObj_FromInt((int)wxMM_HIMETRIC
));
40607 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_PyObj_FromInt((int)wxMM_LOENGLISH
));
40608 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_PyObj_FromInt((int)wxMM_HIENGLISH
));
40609 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_PyObj_FromInt((int)wxMM_TWIPS
));
40610 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_PyObj_FromInt((int)wxMM_ISOTROPIC
));
40611 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_PyObj_FromInt((int)wxMM_ANISOTROPIC
));
40612 PyDict_SetItemString(d
,"MM_POINTS", SWIG_PyObj_FromInt((int)wxMM_POINTS
));
40613 PyDict_SetItemString(d
,"MM_METRIC", SWIG_PyObj_FromInt((int)wxMM_METRIC
));
40614 PyDict_SetItemString(d
,"CENTRE", SWIG_PyObj_FromInt((int)wxCENTRE
));
40615 PyDict_SetItemString(d
,"CENTER", SWIG_PyObj_FromInt((int)wxCENTER
));
40616 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_PyObj_FromInt((int)wxHORIZONTAL
));
40617 PyDict_SetItemString(d
,"VERTICAL", SWIG_PyObj_FromInt((int)wxVERTICAL
));
40618 PyDict_SetItemString(d
,"BOTH", SWIG_PyObj_FromInt((int)wxBOTH
));
40619 PyDict_SetItemString(d
,"LEFT", SWIG_PyObj_FromInt((int)wxLEFT
));
40620 PyDict_SetItemString(d
,"RIGHT", SWIG_PyObj_FromInt((int)wxRIGHT
));
40621 PyDict_SetItemString(d
,"UP", SWIG_PyObj_FromInt((int)wxUP
));
40622 PyDict_SetItemString(d
,"DOWN", SWIG_PyObj_FromInt((int)wxDOWN
));
40623 PyDict_SetItemString(d
,"TOP", SWIG_PyObj_FromInt((int)wxTOP
));
40624 PyDict_SetItemString(d
,"BOTTOM", SWIG_PyObj_FromInt((int)wxBOTTOM
));
40625 PyDict_SetItemString(d
,"NORTH", SWIG_PyObj_FromInt((int)wxNORTH
));
40626 PyDict_SetItemString(d
,"SOUTH", SWIG_PyObj_FromInt((int)wxSOUTH
));
40627 PyDict_SetItemString(d
,"WEST", SWIG_PyObj_FromInt((int)wxWEST
));
40628 PyDict_SetItemString(d
,"EAST", SWIG_PyObj_FromInt((int)wxEAST
));
40629 PyDict_SetItemString(d
,"ALL", SWIG_PyObj_FromInt((int)wxALL
));
40630 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_PyObj_FromInt((int)wxALIGN_NOT
));
40631 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
40632 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
40633 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxALIGN_LEFT
));
40634 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_PyObj_FromInt((int)wxALIGN_TOP
));
40635 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_PyObj_FromInt((int)wxALIGN_RIGHT
));
40636 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_PyObj_FromInt((int)wxALIGN_BOTTOM
));
40637 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTER_VERTICAL
));
40638 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
40639 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_PyObj_FromInt((int)wxALIGN_CENTER
));
40640 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE
));
40641 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_PyObj_FromInt((int)wxALIGN_MASK
));
40642 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_PyObj_FromInt((int)wxSTRETCH_NOT
));
40643 PyDict_SetItemString(d
,"SHRINK", SWIG_PyObj_FromInt((int)wxSHRINK
));
40644 PyDict_SetItemString(d
,"GROW", SWIG_PyObj_FromInt((int)wxGROW
));
40645 PyDict_SetItemString(d
,"EXPAND", SWIG_PyObj_FromInt((int)wxEXPAND
));
40646 PyDict_SetItemString(d
,"SHAPED", SWIG_PyObj_FromInt((int)wxSHAPED
));
40647 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_PyObj_FromInt((int)wxADJUST_MINSIZE
));
40648 PyDict_SetItemString(d
,"TILE", SWIG_PyObj_FromInt((int)wxTILE
));
40649 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_PyObj_FromInt((int)wxBORDER_DEFAULT
));
40650 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_PyObj_FromInt((int)wxBORDER_NONE
));
40651 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_PyObj_FromInt((int)wxBORDER_STATIC
));
40652 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_PyObj_FromInt((int)wxBORDER_SIMPLE
));
40653 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_PyObj_FromInt((int)wxBORDER_RAISED
));
40654 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_PyObj_FromInt((int)wxBORDER_SUNKEN
));
40655 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_PyObj_FromInt((int)wxBORDER_DOUBLE
));
40656 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_PyObj_FromInt((int)wxBORDER_MASK
));
40657 PyDict_SetItemString(d
,"DEFAULT", SWIG_PyObj_FromInt((int)wxDEFAULT
));
40658 PyDict_SetItemString(d
,"DECORATIVE", SWIG_PyObj_FromInt((int)wxDECORATIVE
));
40659 PyDict_SetItemString(d
,"ROMAN", SWIG_PyObj_FromInt((int)wxROMAN
));
40660 PyDict_SetItemString(d
,"SCRIPT", SWIG_PyObj_FromInt((int)wxSCRIPT
));
40661 PyDict_SetItemString(d
,"SWISS", SWIG_PyObj_FromInt((int)wxSWISS
));
40662 PyDict_SetItemString(d
,"MODERN", SWIG_PyObj_FromInt((int)wxMODERN
));
40663 PyDict_SetItemString(d
,"TELETYPE", SWIG_PyObj_FromInt((int)wxTELETYPE
));
40664 PyDict_SetItemString(d
,"VARIABLE", SWIG_PyObj_FromInt((int)wxVARIABLE
));
40665 PyDict_SetItemString(d
,"FIXED", SWIG_PyObj_FromInt((int)wxFIXED
));
40666 PyDict_SetItemString(d
,"NORMAL", SWIG_PyObj_FromInt((int)wxNORMAL
));
40667 PyDict_SetItemString(d
,"LIGHT", SWIG_PyObj_FromInt((int)wxLIGHT
));
40668 PyDict_SetItemString(d
,"BOLD", SWIG_PyObj_FromInt((int)wxBOLD
));
40669 PyDict_SetItemString(d
,"ITALIC", SWIG_PyObj_FromInt((int)wxITALIC
));
40670 PyDict_SetItemString(d
,"SLANT", SWIG_PyObj_FromInt((int)wxSLANT
));
40671 PyDict_SetItemString(d
,"SOLID", SWIG_PyObj_FromInt((int)wxSOLID
));
40672 PyDict_SetItemString(d
,"DOT", SWIG_PyObj_FromInt((int)wxDOT
));
40673 PyDict_SetItemString(d
,"LONG_DASH", SWIG_PyObj_FromInt((int)wxLONG_DASH
));
40674 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_PyObj_FromInt((int)wxSHORT_DASH
));
40675 PyDict_SetItemString(d
,"DOT_DASH", SWIG_PyObj_FromInt((int)wxDOT_DASH
));
40676 PyDict_SetItemString(d
,"USER_DASH", SWIG_PyObj_FromInt((int)wxUSER_DASH
));
40677 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_PyObj_FromInt((int)wxTRANSPARENT
));
40678 PyDict_SetItemString(d
,"STIPPLE", SWIG_PyObj_FromInt((int)wxSTIPPLE
));
40679 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_PyObj_FromInt((int)wxBDIAGONAL_HATCH
));
40680 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_PyObj_FromInt((int)wxCROSSDIAG_HATCH
));
40681 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_PyObj_FromInt((int)wxFDIAGONAL_HATCH
));
40682 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_PyObj_FromInt((int)wxCROSS_HATCH
));
40683 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_PyObj_FromInt((int)wxHORIZONTAL_HATCH
));
40684 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_PyObj_FromInt((int)wxVERTICAL_HATCH
));
40685 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_PyObj_FromInt((int)wxJOIN_BEVEL
));
40686 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_PyObj_FromInt((int)wxJOIN_MITER
));
40687 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_PyObj_FromInt((int)wxJOIN_ROUND
));
40688 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_PyObj_FromInt((int)wxCAP_ROUND
));
40689 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_PyObj_FromInt((int)wxCAP_PROJECTING
));
40690 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_PyObj_FromInt((int)wxCAP_BUTT
));
40691 PyDict_SetItemString(d
,"CLEAR", SWIG_PyObj_FromInt((int)wxCLEAR
));
40692 PyDict_SetItemString(d
,"XOR", SWIG_PyObj_FromInt((int)wxXOR
));
40693 PyDict_SetItemString(d
,"INVERT", SWIG_PyObj_FromInt((int)wxINVERT
));
40694 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_PyObj_FromInt((int)wxOR_REVERSE
));
40695 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_PyObj_FromInt((int)wxAND_REVERSE
));
40696 PyDict_SetItemString(d
,"COPY", SWIG_PyObj_FromInt((int)wxCOPY
));
40697 PyDict_SetItemString(d
,"AND", SWIG_PyObj_FromInt((int)wxAND
));
40698 PyDict_SetItemString(d
,"AND_INVERT", SWIG_PyObj_FromInt((int)wxAND_INVERT
));
40699 PyDict_SetItemString(d
,"NO_OP", SWIG_PyObj_FromInt((int)wxNO_OP
));
40700 PyDict_SetItemString(d
,"NOR", SWIG_PyObj_FromInt((int)wxNOR
));
40701 PyDict_SetItemString(d
,"EQUIV", SWIG_PyObj_FromInt((int)wxEQUIV
));
40702 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_PyObj_FromInt((int)wxSRC_INVERT
));
40703 PyDict_SetItemString(d
,"OR_INVERT", SWIG_PyObj_FromInt((int)wxOR_INVERT
));
40704 PyDict_SetItemString(d
,"NAND", SWIG_PyObj_FromInt((int)wxNAND
));
40705 PyDict_SetItemString(d
,"OR", SWIG_PyObj_FromInt((int)wxOR
));
40706 PyDict_SetItemString(d
,"SET", SWIG_PyObj_FromInt((int)wxSET
));
40707 PyDict_SetItemString(d
,"WXK_BACK", SWIG_PyObj_FromInt((int)WXK_BACK
));
40708 PyDict_SetItemString(d
,"WXK_TAB", SWIG_PyObj_FromInt((int)WXK_TAB
));
40709 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_PyObj_FromInt((int)WXK_RETURN
));
40710 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_PyObj_FromInt((int)WXK_ESCAPE
));
40711 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_PyObj_FromInt((int)WXK_SPACE
));
40712 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_PyObj_FromInt((int)WXK_DELETE
));
40713 PyDict_SetItemString(d
,"WXK_START", SWIG_PyObj_FromInt((int)WXK_START
));
40714 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_PyObj_FromInt((int)WXK_LBUTTON
));
40715 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_PyObj_FromInt((int)WXK_RBUTTON
));
40716 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_PyObj_FromInt((int)WXK_CANCEL
));
40717 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_PyObj_FromInt((int)WXK_MBUTTON
));
40718 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_PyObj_FromInt((int)WXK_CLEAR
));
40719 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_PyObj_FromInt((int)WXK_SHIFT
));
40720 PyDict_SetItemString(d
,"WXK_ALT", SWIG_PyObj_FromInt((int)WXK_ALT
));
40721 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_PyObj_FromInt((int)WXK_CONTROL
));
40722 PyDict_SetItemString(d
,"WXK_MENU", SWIG_PyObj_FromInt((int)WXK_MENU
));
40723 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_PyObj_FromInt((int)WXK_PAUSE
));
40724 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_PyObj_FromInt((int)WXK_CAPITAL
));
40725 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_PyObj_FromInt((int)WXK_PRIOR
));
40726 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_PyObj_FromInt((int)WXK_NEXT
));
40727 PyDict_SetItemString(d
,"WXK_END", SWIG_PyObj_FromInt((int)WXK_END
));
40728 PyDict_SetItemString(d
,"WXK_HOME", SWIG_PyObj_FromInt((int)WXK_HOME
));
40729 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_PyObj_FromInt((int)WXK_LEFT
));
40730 PyDict_SetItemString(d
,"WXK_UP", SWIG_PyObj_FromInt((int)WXK_UP
));
40731 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_PyObj_FromInt((int)WXK_RIGHT
));
40732 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_PyObj_FromInt((int)WXK_DOWN
));
40733 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_PyObj_FromInt((int)WXK_SELECT
));
40734 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_PyObj_FromInt((int)WXK_PRINT
));
40735 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_PyObj_FromInt((int)WXK_EXECUTE
));
40736 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_PyObj_FromInt((int)WXK_SNAPSHOT
));
40737 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_PyObj_FromInt((int)WXK_INSERT
));
40738 PyDict_SetItemString(d
,"WXK_HELP", SWIG_PyObj_FromInt((int)WXK_HELP
));
40739 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_PyObj_FromInt((int)WXK_NUMPAD0
));
40740 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_PyObj_FromInt((int)WXK_NUMPAD1
));
40741 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_PyObj_FromInt((int)WXK_NUMPAD2
));
40742 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_PyObj_FromInt((int)WXK_NUMPAD3
));
40743 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_PyObj_FromInt((int)WXK_NUMPAD4
));
40744 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_PyObj_FromInt((int)WXK_NUMPAD5
));
40745 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_PyObj_FromInt((int)WXK_NUMPAD6
));
40746 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_PyObj_FromInt((int)WXK_NUMPAD7
));
40747 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_PyObj_FromInt((int)WXK_NUMPAD8
));
40748 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_PyObj_FromInt((int)WXK_NUMPAD9
));
40749 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_PyObj_FromInt((int)WXK_MULTIPLY
));
40750 PyDict_SetItemString(d
,"WXK_ADD", SWIG_PyObj_FromInt((int)WXK_ADD
));
40751 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_PyObj_FromInt((int)WXK_SEPARATOR
));
40752 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_PyObj_FromInt((int)WXK_SUBTRACT
));
40753 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_PyObj_FromInt((int)WXK_DECIMAL
));
40754 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_PyObj_FromInt((int)WXK_DIVIDE
));
40755 PyDict_SetItemString(d
,"WXK_F1", SWIG_PyObj_FromInt((int)WXK_F1
));
40756 PyDict_SetItemString(d
,"WXK_F2", SWIG_PyObj_FromInt((int)WXK_F2
));
40757 PyDict_SetItemString(d
,"WXK_F3", SWIG_PyObj_FromInt((int)WXK_F3
));
40758 PyDict_SetItemString(d
,"WXK_F4", SWIG_PyObj_FromInt((int)WXK_F4
));
40759 PyDict_SetItemString(d
,"WXK_F5", SWIG_PyObj_FromInt((int)WXK_F5
));
40760 PyDict_SetItemString(d
,"WXK_F6", SWIG_PyObj_FromInt((int)WXK_F6
));
40761 PyDict_SetItemString(d
,"WXK_F7", SWIG_PyObj_FromInt((int)WXK_F7
));
40762 PyDict_SetItemString(d
,"WXK_F8", SWIG_PyObj_FromInt((int)WXK_F8
));
40763 PyDict_SetItemString(d
,"WXK_F9", SWIG_PyObj_FromInt((int)WXK_F9
));
40764 PyDict_SetItemString(d
,"WXK_F10", SWIG_PyObj_FromInt((int)WXK_F10
));
40765 PyDict_SetItemString(d
,"WXK_F11", SWIG_PyObj_FromInt((int)WXK_F11
));
40766 PyDict_SetItemString(d
,"WXK_F12", SWIG_PyObj_FromInt((int)WXK_F12
));
40767 PyDict_SetItemString(d
,"WXK_F13", SWIG_PyObj_FromInt((int)WXK_F13
));
40768 PyDict_SetItemString(d
,"WXK_F14", SWIG_PyObj_FromInt((int)WXK_F14
));
40769 PyDict_SetItemString(d
,"WXK_F15", SWIG_PyObj_FromInt((int)WXK_F15
));
40770 PyDict_SetItemString(d
,"WXK_F16", SWIG_PyObj_FromInt((int)WXK_F16
));
40771 PyDict_SetItemString(d
,"WXK_F17", SWIG_PyObj_FromInt((int)WXK_F17
));
40772 PyDict_SetItemString(d
,"WXK_F18", SWIG_PyObj_FromInt((int)WXK_F18
));
40773 PyDict_SetItemString(d
,"WXK_F19", SWIG_PyObj_FromInt((int)WXK_F19
));
40774 PyDict_SetItemString(d
,"WXK_F20", SWIG_PyObj_FromInt((int)WXK_F20
));
40775 PyDict_SetItemString(d
,"WXK_F21", SWIG_PyObj_FromInt((int)WXK_F21
));
40776 PyDict_SetItemString(d
,"WXK_F22", SWIG_PyObj_FromInt((int)WXK_F22
));
40777 PyDict_SetItemString(d
,"WXK_F23", SWIG_PyObj_FromInt((int)WXK_F23
));
40778 PyDict_SetItemString(d
,"WXK_F24", SWIG_PyObj_FromInt((int)WXK_F24
));
40779 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_PyObj_FromInt((int)WXK_NUMLOCK
));
40780 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_PyObj_FromInt((int)WXK_SCROLL
));
40781 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_PyObj_FromInt((int)WXK_PAGEUP
));
40782 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_PyObj_FromInt((int)WXK_PAGEDOWN
));
40783 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SPACE
));
40784 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_PyObj_FromInt((int)WXK_NUMPAD_TAB
));
40785 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_PyObj_FromInt((int)WXK_NUMPAD_ENTER
));
40786 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F1
));
40787 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F2
));
40788 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F3
));
40789 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F4
));
40790 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_PyObj_FromInt((int)WXK_NUMPAD_HOME
));
40791 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_LEFT
));
40792 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_PyObj_FromInt((int)WXK_NUMPAD_UP
));
40793 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_RIGHT
));
40794 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DOWN
));
40795 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PRIOR
));
40796 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PAGEUP
));
40797 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_NEXT
));
40798 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
40799 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_PyObj_FromInt((int)WXK_NUMPAD_END
));
40800 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_BEGIN
));
40801 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_INSERT
));
40802 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DELETE
));
40803 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_PyObj_FromInt((int)WXK_NUMPAD_EQUAL
));
40804 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_PyObj_FromInt((int)WXK_NUMPAD_MULTIPLY
));
40805 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_PyObj_FromInt((int)WXK_NUMPAD_ADD
));
40806 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SEPARATOR
));
40807 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SUBTRACT
));
40808 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DECIMAL
));
40809 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DIVIDE
));
40810 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_PyObj_FromInt((int)WXK_WINDOWS_LEFT
));
40811 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_PyObj_FromInt((int)WXK_WINDOWS_RIGHT
));
40812 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_PyObj_FromInt((int)WXK_WINDOWS_MENU
));
40813 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_PyObj_FromInt((int)wxPAPER_NONE
));
40814 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_PyObj_FromInt((int)wxPAPER_LETTER
));
40815 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_PyObj_FromInt((int)wxPAPER_LEGAL
));
40816 PyDict_SetItemString(d
,"PAPER_A4", SWIG_PyObj_FromInt((int)wxPAPER_A4
));
40817 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_PyObj_FromInt((int)wxPAPER_CSHEET
));
40818 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_PyObj_FromInt((int)wxPAPER_DSHEET
));
40819 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_PyObj_FromInt((int)wxPAPER_ESHEET
));
40820 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_PyObj_FromInt((int)wxPAPER_LETTERSMALL
));
40821 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_PyObj_FromInt((int)wxPAPER_TABLOID
));
40822 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_PyObj_FromInt((int)wxPAPER_LEDGER
));
40823 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_PyObj_FromInt((int)wxPAPER_STATEMENT
));
40824 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_PyObj_FromInt((int)wxPAPER_EXECUTIVE
));
40825 PyDict_SetItemString(d
,"PAPER_A3", SWIG_PyObj_FromInt((int)wxPAPER_A3
));
40826 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_PyObj_FromInt((int)wxPAPER_A4SMALL
));
40827 PyDict_SetItemString(d
,"PAPER_A5", SWIG_PyObj_FromInt((int)wxPAPER_A5
));
40828 PyDict_SetItemString(d
,"PAPER_B4", SWIG_PyObj_FromInt((int)wxPAPER_B4
));
40829 PyDict_SetItemString(d
,"PAPER_B5", SWIG_PyObj_FromInt((int)wxPAPER_B5
));
40830 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_PyObj_FromInt((int)wxPAPER_FOLIO
));
40831 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_PyObj_FromInt((int)wxPAPER_QUARTO
));
40832 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_PyObj_FromInt((int)wxPAPER_10X14
));
40833 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_PyObj_FromInt((int)wxPAPER_11X17
));
40834 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_PyObj_FromInt((int)wxPAPER_NOTE
));
40835 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_PyObj_FromInt((int)wxPAPER_ENV_9
));
40836 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_PyObj_FromInt((int)wxPAPER_ENV_10
));
40837 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_PyObj_FromInt((int)wxPAPER_ENV_11
));
40838 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_PyObj_FromInt((int)wxPAPER_ENV_12
));
40839 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_PyObj_FromInt((int)wxPAPER_ENV_14
));
40840 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_PyObj_FromInt((int)wxPAPER_ENV_DL
));
40841 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C5
));
40842 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C3
));
40843 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C4
));
40844 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C6
));
40845 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C65
));
40846 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B4
));
40847 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B5
));
40848 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B6
));
40849 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_PyObj_FromInt((int)wxPAPER_ENV_ITALY
));
40850 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_PyObj_FromInt((int)wxPAPER_ENV_MONARCH
));
40851 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_PyObj_FromInt((int)wxPAPER_ENV_PERSONAL
));
40852 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_US
));
40853 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
40854 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
40855 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_PyObj_FromInt((int)wxPAPER_ISO_B4
));
40856 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_PyObj_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
40857 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_PyObj_FromInt((int)wxPAPER_9X11
));
40858 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_PyObj_FromInt((int)wxPAPER_10X11
));
40859 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_PyObj_FromInt((int)wxPAPER_15X11
));
40860 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_PyObj_FromInt((int)wxPAPER_ENV_INVITE
));
40861 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_EXTRA
));
40862 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_LEGAL_EXTRA
));
40863 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_TABLOID_EXTRA
));
40864 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A4_EXTRA
));
40865 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
40866 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A4_TRANSVERSE
));
40867 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
40868 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_A_PLUS
));
40869 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_B_PLUS
));
40870 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_PLUS
));
40871 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_A4_PLUS
));
40872 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A5_TRANSVERSE
));
40873 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_B5_TRANSVERSE
));
40874 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A3_EXTRA
));
40875 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A5_EXTRA
));
40876 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_B5_EXTRA
));
40877 PyDict_SetItemString(d
,"PAPER_A2", SWIG_PyObj_FromInt((int)wxPAPER_A2
));
40878 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A3_TRANSVERSE
));
40879 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
40880 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_PyObj_FromInt((int)wxDUPLEX_SIMPLEX
));
40881 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_PyObj_FromInt((int)wxDUPLEX_HORIZONTAL
));
40882 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_PyObj_FromInt((int)wxDUPLEX_VERTICAL
));
40883 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_PyObj_FromInt((int)wxITEM_SEPARATOR
));
40884 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_PyObj_FromInt((int)wxITEM_NORMAL
));
40885 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_PyObj_FromInt((int)wxITEM_CHECK
));
40886 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_PyObj_FromInt((int)wxITEM_RADIO
));
40887 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_PyObj_FromInt((int)wxITEM_MAX
));
40888 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_PyObj_FromInt((int)wxHT_NOWHERE
));
40889 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_FIRST
));
40890 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
40891 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
40892 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
40893 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
40894 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_THUMB
));
40895 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
40896 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
40897 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_LAST
));
40898 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_PyObj_FromInt((int)wxHT_WINDOW_OUTSIDE
));
40899 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_PyObj_FromInt((int)wxHT_WINDOW_INSIDE
));
40900 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_PyObj_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
40901 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_PyObj_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
40902 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_PyObj_FromInt((int)wxHT_WINDOW_CORNER
));
40903 PyDict_SetItemString(d
,"HT_MAX", SWIG_PyObj_FromInt((int)wxHT_MAX
));
40904 PyDict_SetItemString(d
,"MOD_NONE", SWIG_PyObj_FromInt((int)wxMOD_NONE
));
40905 PyDict_SetItemString(d
,"MOD_ALT", SWIG_PyObj_FromInt((int)wxMOD_ALT
));
40906 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_PyObj_FromInt((int)wxMOD_CONTROL
));
40907 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_PyObj_FromInt((int)wxMOD_SHIFT
));
40908 PyDict_SetItemString(d
,"MOD_WIN", SWIG_PyObj_FromInt((int)wxMOD_WIN
));
40909 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_NONE
));
40910 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_RECURSE
));
40911 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_FROMIDLE
));
40912 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
40913 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
40914 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_INVALID
));
40915 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_BMP
));
40916 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ICO
));
40917 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_CUR
));
40918 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XBM
));
40919 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
40920 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XPM
));
40921 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
40922 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_TIF
));
40923 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_GIF
));
40924 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PNG
));
40925 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_JPEG
));
40926 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PNM
));
40927 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PCX
));
40928 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PICT
));
40929 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ICON
));
40930 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ANI
));
40931 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_IFF
));
40932 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
40933 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ANY
));
40934 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_PyObj_FromInt((int)wxCURSOR_NONE
));
40935 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_ARROW
));
40936 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_RIGHT_ARROW
));
40937 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_PyObj_FromInt((int)wxCURSOR_BULLSEYE
));
40938 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_PyObj_FromInt((int)wxCURSOR_CHAR
));
40939 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_PyObj_FromInt((int)wxCURSOR_CROSS
));
40940 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_PyObj_FromInt((int)wxCURSOR_HAND
));
40941 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_PyObj_FromInt((int)wxCURSOR_IBEAM
));
40942 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_LEFT_BUTTON
));
40943 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_PyObj_FromInt((int)wxCURSOR_MAGNIFIER
));
40944 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
40945 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_PyObj_FromInt((int)wxCURSOR_NO_ENTRY
));
40946 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_PyObj_FromInt((int)wxCURSOR_PAINT_BRUSH
));
40947 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_PyObj_FromInt((int)wxCURSOR_PENCIL
));
40948 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_PyObj_FromInt((int)wxCURSOR_POINT_LEFT
));
40949 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_PyObj_FromInt((int)wxCURSOR_POINT_RIGHT
));
40950 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_QUESTION_ARROW
));
40951 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
40952 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENESW
));
40953 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENS
));
40954 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENWSE
));
40955 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_PyObj_FromInt((int)wxCURSOR_SIZEWE
));
40956 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_PyObj_FromInt((int)wxCURSOR_SIZING
));
40957 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_PyObj_FromInt((int)wxCURSOR_SPRAYCAN
));
40958 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_PyObj_FromInt((int)wxCURSOR_WAIT
));
40959 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_PyObj_FromInt((int)wxCURSOR_WATCH
));
40960 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_PyObj_FromInt((int)wxCURSOR_BLANK
));
40961 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_PyObj_FromInt((int)wxCURSOR_DEFAULT
));
40962 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_COPY_ARROW
));
40963 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_PyObj_FromInt((int)wxCURSOR_ARROWWAIT
));
40964 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_PyObj_FromInt((int)wxCURSOR_MAX
));
40965 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
40966 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
40967 PyDict_SetItemString(d
,"FromStart", SWIG_PyObj_FromInt((int)wxFromStart
));
40968 PyDict_SetItemString(d
,"FromCurrent", SWIG_PyObj_FromInt((int)wxFromCurrent
));
40969 PyDict_SetItemString(d
,"FromEnd", SWIG_PyObj_FromInt((int)wxFromEnd
));
40971 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
40974 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
40976 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
40977 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
40978 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
40979 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
40980 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
40981 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
40982 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_PyObj_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
40983 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_PyObj_FromInt((int)wxIMAGE_RESOLUTION_CM
));
40984 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_PyObj_FromInt((int)wxBMP_24BPP
));
40985 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_PyObj_FromInt((int)wxBMP_8BPP
));
40986 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_PyObj_FromInt((int)wxBMP_8BPP_GREY
));
40987 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_PyObj_FromInt((int)wxBMP_8BPP_GRAY
));
40988 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_PyObj_FromInt((int)wxBMP_8BPP_RED
));
40989 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_PyObj_FromInt((int)wxBMP_8BPP_PALETTE
));
40990 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_PyObj_FromInt((int)wxBMP_4BPP
));
40991 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_PyObj_FromInt((int)wxBMP_1BPP
));
40992 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_PyObj_FromInt((int)wxBMP_1BPP_BW
));
40993 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_PyObj_FromInt((int)wxEVENT_PROPAGATE_NONE
));
40994 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_PyObj_FromInt((int)wxEVENT_PROPAGATE_MAX
));
40995 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
40996 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
40997 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
40998 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
40999 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
41000 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
41001 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
41002 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
41003 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
41004 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
41005 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
41006 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
41007 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
41008 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
41009 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
41010 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
41011 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
41012 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
41013 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
41014 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
41015 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
41016 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
41017 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
41018 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
41019 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
41020 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
41021 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
41022 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
41023 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
41024 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
41025 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
41026 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
41027 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
41028 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
41029 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
41030 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
41031 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
41032 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
41033 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
41034 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
41035 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
41036 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
41037 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
41038 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
41039 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
41040 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
41041 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
41042 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
41043 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
41044 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
41045 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
41046 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
41047 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
41048 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
41049 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
41050 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
41051 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
41052 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
41053 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
41054 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
41055 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
41056 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
41057 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
41058 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
41059 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
41060 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
41061 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
41062 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
41063 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
41064 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
41065 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
41066 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
41067 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
41068 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
41069 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
41070 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
41071 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
41072 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
41073 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
41074 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
41075 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
41076 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
41077 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
41078 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
41079 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
41080 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
41081 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
41082 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
41083 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
41084 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
41085 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
41086 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
41087 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
41088 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
41089 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
41090 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
41091 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
41092 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
41093 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
41094 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
41095 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
41096 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
41097 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
41098 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
41099 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
41100 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
41101 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
41102 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
41103 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
41104 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
41105 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
41106 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
41107 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
41108 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
41109 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_ANY
));
41110 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_NONE
));
41111 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_LEFT
));
41112 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_MIDDLE
));
41113 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_RIGHT
));
41114 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_PyObj_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
41115 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_PyObj_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
41116 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_PyObj_FromInt((int)wxIDLE_PROCESS_ALL
));
41117 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_PyObj_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
41118 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
41119 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
41120 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
41121 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_LOG
));
41122 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_PyObj_FromInt((int)wxPRINT_WINDOWS
));
41123 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_PyObj_FromInt((int)wxPRINT_POSTSCRIPT
));
41124 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
41125 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
41126 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
41127 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
41128 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_NONE
));
41129 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
41130 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_ALL
));
41131 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
41132 PyDict_SetItemString(d
,"Left", SWIG_PyObj_FromInt((int)wxLeft
));
41133 PyDict_SetItemString(d
,"Top", SWIG_PyObj_FromInt((int)wxTop
));
41134 PyDict_SetItemString(d
,"Right", SWIG_PyObj_FromInt((int)wxRight
));
41135 PyDict_SetItemString(d
,"Bottom", SWIG_PyObj_FromInt((int)wxBottom
));
41136 PyDict_SetItemString(d
,"Width", SWIG_PyObj_FromInt((int)wxWidth
));
41137 PyDict_SetItemString(d
,"Height", SWIG_PyObj_FromInt((int)wxHeight
));
41138 PyDict_SetItemString(d
,"Centre", SWIG_PyObj_FromInt((int)wxCentre
));
41139 PyDict_SetItemString(d
,"Center", SWIG_PyObj_FromInt((int)wxCenter
));
41140 PyDict_SetItemString(d
,"CentreX", SWIG_PyObj_FromInt((int)wxCentreX
));
41141 PyDict_SetItemString(d
,"CentreY", SWIG_PyObj_FromInt((int)wxCentreY
));
41142 PyDict_SetItemString(d
,"Unconstrained", SWIG_PyObj_FromInt((int)wxUnconstrained
));
41143 PyDict_SetItemString(d
,"AsIs", SWIG_PyObj_FromInt((int)wxAsIs
));
41144 PyDict_SetItemString(d
,"PercentOf", SWIG_PyObj_FromInt((int)wxPercentOf
));
41145 PyDict_SetItemString(d
,"Above", SWIG_PyObj_FromInt((int)wxAbove
));
41146 PyDict_SetItemString(d
,"Below", SWIG_PyObj_FromInt((int)wxBelow
));
41147 PyDict_SetItemString(d
,"LeftOf", SWIG_PyObj_FromInt((int)wxLeftOf
));
41148 PyDict_SetItemString(d
,"RightOf", SWIG_PyObj_FromInt((int)wxRightOf
));
41149 PyDict_SetItemString(d
,"SameAs", SWIG_PyObj_FromInt((int)wxSameAs
));
41150 PyDict_SetItemString(d
,"Absolute", SWIG_PyObj_FromInt((int)wxAbsolute
));
41152 // Initialize threading, some globals and such
41156 // Although these are defined in __version__ they need to be here too so
41157 // that an assert can be done to ensure that the wxPython and the wxWindows
41159 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
41160 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
41161 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));