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();
1119 void wxApp_CleanUp() {
1124 wxPyApp
* wxGetApp() {
1125 return (wxPyApp
*)wxTheApp
;
1130 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1131 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1132 wxWindowList
& list
= self
->GetChildren();
1133 return wxPy_ConvertList(&list
);
1135 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1142 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1149 long wxWindow_GetHandle(wxWindow
*self
){
1150 return wxPyGetWinHandle(self
);
1153 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1154 return wxWindow::FindWindowById(id
, parent
);
1157 wxWindow
* wxFindWindowByName( const wxString
& name
,
1158 const wxWindow
*parent
= NULL
) {
1159 return wxWindow::FindWindowByName(name
, parent
);
1162 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1163 const wxWindow
*parent
= NULL
) {
1164 return wxWindow::FindWindowByLabel(label
, parent
);
1168 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1170 wxWindow
* win
= new wxWindow
;
1172 win
->SubclassWin(hWnd
);
1175 wxPyRaiseNotImplemented();
1181 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1182 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1183 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1185 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1187 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1188 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1189 wxMenuItemList
& list
= self
->GetMenuItems();
1190 return wxPy_ConvertList(&list
);
1192 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1193 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1195 wxPyClientData
* data
= new wxPyClientData(clientData
);
1196 return self
->Append(item
, data
);
1198 return self
->Append(item
);
1200 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1202 wxPyClientData
* data
= new wxPyClientData(clientData
);
1203 return self
->Insert(item
, pos
, data
);
1205 return self
->Insert(item
, pos
);
1207 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1208 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1210 Py_INCREF(data
->m_obj
);
1217 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1218 wxPyClientData
* data
= new wxPyClientData(clientData
);
1219 self
->SetClientObject(n
, data
);
1225 SWIG_PyObj_AsFloat(PyObject
*obj
)
1227 return SWIG_PyObj_AsFloatConv(obj
, SWIG_PyObj_AsDouble
);
1230 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1231 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1233 Py_INCREF(data
->m_obj
);
1241 // Figure out the type of the sizer item
1243 struct wxPySizerItemInfo
{
1245 : window(NULL
), sizer(NULL
), gotSize(False
),
1246 size(wxDefaultSize
), gotPos(False
), pos(-1)
1257 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1259 wxPySizerItemInfo info
;
1261 wxSize
* sizePtr
= &size
;
1263 // Find out what the type of the item is
1265 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1270 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1274 // try wxSize or (w,h)
1275 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1276 info
.size
= *sizePtr
;
1277 info
.gotSize
= True
;
1281 if (checkIdx
&& PyInt_Check(item
)) {
1282 info
.pos
= PyInt_AsLong(item
);
1288 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1289 // no expected type, figure out what kind of error message to generate
1290 if ( !checkSize
&& !checkIdx
)
1291 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1292 else if ( checkSize
&& !checkIdx
)
1293 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1294 else if ( !checkSize
&& checkIdx
)
1295 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1297 // can this one happen?
1298 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1304 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1305 self
->SetClientObject(new wxPyOORClientData(_self
));
1307 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1309 wxPyUserData
* data
= NULL
;
1310 wxPyBeginBlockThreads();
1311 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1312 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1313 data
= new wxPyUserData(userData
);
1314 wxPyEndBlockThreads();
1316 // Now call the real Add method if a valid item type was found
1318 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1319 else if ( info
.sizer
)
1320 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1321 else if (info
.gotSize
)
1322 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1323 proportion
, flag
, border
, data
);
1325 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1327 wxPyUserData
* data
= NULL
;
1328 wxPyBeginBlockThreads();
1329 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1330 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1331 data
= new wxPyUserData(userData
);
1332 wxPyEndBlockThreads();
1334 // Now call the real Insert method if a valid item type was found
1336 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1337 else if ( info
.sizer
)
1338 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1339 else if (info
.gotSize
)
1340 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1341 proportion
, flag
, border
, data
);
1343 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1345 wxPyUserData
* data
= NULL
;
1346 wxPyBeginBlockThreads();
1347 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1348 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1349 data
= new wxPyUserData(userData
);
1350 wxPyEndBlockThreads();
1352 // Now call the real Prepend method if a valid item type was found
1354 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1355 else if ( info
.sizer
)
1356 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1357 else if (info
.gotSize
)
1358 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1359 proportion
, flag
, border
, data
);
1361 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1362 wxPyBeginBlockThreads();
1363 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1364 wxPyEndBlockThreads();
1366 return self
->Remove(info
.window
);
1367 else if ( info
.sizer
)
1368 return self
->Remove(info
.sizer
);
1369 else if ( info
.gotPos
)
1370 return self
->Remove(info
.pos
);
1374 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1375 wxPyBeginBlockThreads();
1376 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1377 wxPyEndBlockThreads();
1379 self
->SetItemMinSize(info
.window
, size
);
1380 else if ( info
.sizer
)
1381 self
->SetItemMinSize(info
.sizer
, size
);
1382 else if ( info
.gotPos
)
1383 self
->SetItemMinSize(info
.pos
, size
);
1385 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1386 wxSizerItemList
& list
= self
->GetChildren();
1387 return wxPy_ConvertList(&list
);
1389 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1390 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1392 self
->Show(info
.window
, show
);
1393 else if ( info
.sizer
)
1394 self
->Show(info
.sizer
, show
);
1396 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1397 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1399 self
->Hide(info
.window
);
1400 else if ( info
.sizer
)
1401 self
->Hide(info
.sizer
);
1403 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1404 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1406 return self
->IsShown(info
.window
);
1407 else if ( info
.sizer
)
1408 return self
->IsShown(info
.sizer
);
1414 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1415 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1416 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1421 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1423 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1426 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1428 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1432 bool wxGBPosition___eq__(wxGBPosition
*self
,wxGBPosition
const *other
){ return other
? (*self
== *other
) : False
; }
1433 bool wxGBPosition___ne__(wxGBPosition
*self
,wxGBPosition
const *other
){ return other
? (*self
!= *other
) : True
; }
1434 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1438 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1439 wxPyBeginBlockThreads();
1440 PyObject
* tup
= PyTuple_New(2);
1441 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1442 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1443 wxPyEndBlockThreads();
1446 bool wxGBSpan___eq__(wxGBSpan
*self
,wxGBSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1447 bool wxGBSpan___ne__(wxGBSpan
*self
,wxGBSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1448 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1449 self
->SetRowspan(rowspan
);
1450 self
->SetColspan(colspan
);
1452 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1453 wxPyBeginBlockThreads();
1454 PyObject
* tup
= PyTuple_New(2);
1455 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1456 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1457 wxPyEndBlockThreads();
1460 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1462 wxPyUserData
* data
= NULL
;
1463 wxPyBeginBlockThreads();
1464 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1465 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1466 data
= new wxPyUserData(userData
);
1467 wxPyEndBlockThreads();
1469 // Now call the real Add method if a valid item type was found
1471 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1472 else if ( info
.sizer
)
1473 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1474 else if (info
.gotSize
)
1475 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1476 pos
, span
, flag
, border
, data
);
1484 static int _wrap_EmptyString_set(PyObject
*) {
1485 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1490 static PyObject
*_wrap_EmptyString_get() {
1495 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1497 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1504 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
*resultobj
;
1506 wxObject
*arg1
= (wxObject
*) 0 ;
1508 PyObject
* obj0
= 0 ;
1510 (char *) "self", NULL
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1517 result
= wxObject_GetClassName(arg1
);
1519 wxPyEndAllowThreads(__tstate
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1535 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
*resultobj
;
1537 wxObject
*arg1
= (wxObject
*) 0 ;
1538 PyObject
* obj0
= 0 ;
1540 (char *) "self", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1547 wxObject_Destroy(arg1
);
1549 wxPyEndAllowThreads(__tstate
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1552 Py_INCREF(Py_None
); resultobj
= Py_None
;
1559 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1562 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1564 return Py_BuildValue((char *)"");
1566 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1567 PyObject
*resultobj
;
1568 wxSize
*arg1
= (wxSize
*) 0 ;
1570 PyObject
* obj0
= 0 ;
1571 PyObject
* obj1
= 0 ;
1573 (char *) "self",(char *) "x", NULL
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1579 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1580 if (PyErr_Occurred()) SWIG_fail
;
1582 if (arg1
) (arg1
)->x
= arg2
;
1584 Py_INCREF(Py_None
); resultobj
= Py_None
;
1591 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
*resultobj
;
1593 wxSize
*arg1
= (wxSize
*) 0 ;
1595 PyObject
* obj0
= 0 ;
1597 (char *) "self", NULL
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1602 result
= (int) ((arg1
)->x
);
1604 resultobj
= SWIG_PyObj_FromInt((int)result
);
1611 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
*resultobj
;
1613 wxSize
*arg1
= (wxSize
*) 0 ;
1615 PyObject
* obj0
= 0 ;
1616 PyObject
* obj1
= 0 ;
1618 (char *) "self",(char *) "y", NULL
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1624 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1625 if (PyErr_Occurred()) SWIG_fail
;
1627 if (arg1
) (arg1
)->y
= arg2
;
1629 Py_INCREF(Py_None
); resultobj
= Py_None
;
1636 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
*resultobj
;
1638 wxSize
*arg1
= (wxSize
*) 0 ;
1640 PyObject
* obj0
= 0 ;
1642 (char *) "self", NULL
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1647 result
= (int) ((arg1
)->y
);
1649 resultobj
= SWIG_PyObj_FromInt((int)result
);
1656 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
*resultobj
;
1658 int arg1
= (int) 0 ;
1659 int arg2
= (int) 0 ;
1661 PyObject
* obj0
= 0 ;
1662 PyObject
* obj1
= 0 ;
1664 (char *) "w",(char *) "h", NULL
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1670 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1676 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1677 if (PyErr_Occurred()) SWIG_fail
;
1681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1682 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1684 wxPyEndAllowThreads(__tstate
);
1685 if (PyErr_Occurred()) SWIG_fail
;
1687 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1694 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
*resultobj
;
1696 wxSize
*arg1
= (wxSize
*) 0 ;
1697 PyObject
* obj0
= 0 ;
1699 (char *) "self", NULL
1702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1708 wxPyEndAllowThreads(__tstate
);
1709 if (PyErr_Occurred()) SWIG_fail
;
1711 Py_INCREF(Py_None
); resultobj
= Py_None
;
1718 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1719 PyObject
*resultobj
;
1720 wxSize
*arg1
= (wxSize
*) 0 ;
1724 PyObject
* obj0
= 0 ;
1725 PyObject
* obj1
= 0 ;
1727 (char *) "self",(char *) "sz", NULL
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1734 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1740 wxPyEndAllowThreads(__tstate
);
1741 if (PyErr_Occurred()) SWIG_fail
;
1743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1750 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
*resultobj
;
1752 wxSize
*arg1
= (wxSize
*) 0 ;
1756 PyObject
* obj0
= 0 ;
1757 PyObject
* obj1
= 0 ;
1759 (char *) "self",(char *) "sz", NULL
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1766 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1770 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
1772 wxPyEndAllowThreads(__tstate
);
1773 if (PyErr_Occurred()) SWIG_fail
;
1775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1782 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
*resultobj
;
1784 wxSize
*arg1
= (wxSize
*) 0 ;
1788 PyObject
* obj0
= 0 ;
1789 PyObject
* obj1
= 0 ;
1791 (char *) "self",(char *) "sz", NULL
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1798 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1809 resultptr
= new wxSize((wxSize
&) result
);
1810 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1818 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
*resultobj
;
1820 wxSize
*arg1
= (wxSize
*) 0 ;
1824 PyObject
* obj0
= 0 ;
1825 PyObject
* obj1
= 0 ;
1827 (char *) "self",(char *) "sz", NULL
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1834 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) SWIG_fail
;
1845 resultptr
= new wxSize((wxSize
&) result
);
1846 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1854 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
*resultobj
;
1856 wxSize
*arg1
= (wxSize
*) 0 ;
1859 PyObject
* obj0
= 0 ;
1860 PyObject
* obj1
= 0 ;
1862 (char *) "self",(char *) "sz", NULL
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1869 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1873 (arg1
)->IncTo((wxSize
const &)*arg2
);
1875 wxPyEndAllowThreads(__tstate
);
1876 if (PyErr_Occurred()) SWIG_fail
;
1878 Py_INCREF(Py_None
); resultobj
= Py_None
;
1885 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
*resultobj
;
1887 wxSize
*arg1
= (wxSize
*) 0 ;
1890 PyObject
* obj0
= 0 ;
1891 PyObject
* obj1
= 0 ;
1893 (char *) "self",(char *) "sz", NULL
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1900 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1904 (arg1
)->DecTo((wxSize
const &)*arg2
);
1906 wxPyEndAllowThreads(__tstate
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1909 Py_INCREF(Py_None
); resultobj
= Py_None
;
1916 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
*resultobj
;
1918 wxSize
*arg1
= (wxSize
*) 0 ;
1921 PyObject
* obj0
= 0 ;
1922 PyObject
* obj1
= 0 ;
1923 PyObject
* obj2
= 0 ;
1925 (char *) "self",(char *) "w",(char *) "h", NULL
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1931 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1932 if (PyErr_Occurred()) SWIG_fail
;
1935 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 (arg1
)->Set(arg2
,arg3
);
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1945 Py_INCREF(Py_None
); resultobj
= Py_None
;
1952 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
*resultobj
;
1954 wxSize
*arg1
= (wxSize
*) 0 ;
1956 PyObject
* obj0
= 0 ;
1957 PyObject
* obj1
= 0 ;
1959 (char *) "self",(char *) "w", NULL
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1965 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1966 if (PyErr_Occurred()) SWIG_fail
;
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 (arg1
)->SetWidth(arg2
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1975 Py_INCREF(Py_None
); resultobj
= Py_None
;
1982 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
*resultobj
;
1984 wxSize
*arg1
= (wxSize
*) 0 ;
1986 PyObject
* obj0
= 0 ;
1987 PyObject
* obj1
= 0 ;
1989 (char *) "self",(char *) "h", NULL
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
1993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1995 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1996 if (PyErr_Occurred()) SWIG_fail
;
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 (arg1
)->SetHeight(arg2
);
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2005 Py_INCREF(Py_None
); resultobj
= Py_None
;
2012 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2014 wxSize
*arg1
= (wxSize
*) 0 ;
2016 PyObject
* obj0
= 0 ;
2018 (char *) "self", NULL
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2025 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2027 wxPyEndAllowThreads(__tstate
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2030 resultobj
= SWIG_PyObj_FromInt((int)result
);
2037 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2038 PyObject
*resultobj
;
2039 wxSize
*arg1
= (wxSize
*) 0 ;
2041 PyObject
* obj0
= 0 ;
2043 (char *) "self", NULL
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2055 resultobj
= SWIG_PyObj_FromInt((int)result
);
2062 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 wxSize
*arg1
= (wxSize
*) 0 ;
2066 PyObject
* obj0
= 0 ;
2068 (char *) "self", NULL
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 result
= (PyObject
*)wxSize_Get(arg1
);
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) SWIG_fail
;
2087 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2090 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2092 return Py_BuildValue((char *)"");
2094 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
*resultobj
;
2096 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2098 PyObject
* obj0
= 0 ;
2099 PyObject
* obj1
= 0 ;
2101 (char *) "self",(char *) "x", NULL
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2107 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2110 if (arg1
) (arg1
)->x
= arg2
;
2112 Py_INCREF(Py_None
); resultobj
= Py_None
;
2119 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2121 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2123 PyObject
* obj0
= 0 ;
2125 (char *) "self", NULL
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2130 result
= (double) ((arg1
)->x
);
2132 resultobj
= SWIG_PyObj_FromDouble((double)result
);
2139 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
*resultobj
;
2141 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2143 PyObject
* obj0
= 0 ;
2144 PyObject
* obj1
= 0 ;
2146 (char *) "self",(char *) "y", NULL
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2152 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2153 if (PyErr_Occurred()) SWIG_fail
;
2155 if (arg1
) (arg1
)->y
= arg2
;
2157 Py_INCREF(Py_None
); resultobj
= Py_None
;
2164 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
*resultobj
;
2166 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2168 PyObject
* obj0
= 0 ;
2170 (char *) "self", NULL
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2175 result
= (double) ((arg1
)->y
);
2177 resultobj
= SWIG_PyObj_FromDouble((double)result
);
2184 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
*resultobj
;
2186 double arg1
= (double) 0.0 ;
2187 double arg2
= (double) 0.0 ;
2188 wxRealPoint
*result
;
2189 PyObject
* obj0
= 0 ;
2190 PyObject
* obj1
= 0 ;
2192 (char *) "x",(char *) "y", NULL
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2198 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2204 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2215 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
2222 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2224 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2225 PyObject
* obj0
= 0 ;
2227 (char *) "self", NULL
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) SWIG_fail
;
2239 Py_INCREF(Py_None
); resultobj
= Py_None
;
2246 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2247 PyObject
*resultobj
;
2248 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2249 wxRealPoint
*arg2
= 0 ;
2252 PyObject
* obj0
= 0 ;
2253 PyObject
* obj1
= 0 ;
2255 (char *) "self",(char *) "pt", NULL
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2262 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) SWIG_fail
;
2271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2278 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
*resultobj
;
2280 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2281 wxRealPoint
*arg2
= 0 ;
2284 PyObject
* obj0
= 0 ;
2285 PyObject
* obj1
= 0 ;
2287 (char *) "self",(char *) "pt", NULL
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2294 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2298 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2300 wxPyEndAllowThreads(__tstate
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2310 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
*resultobj
;
2312 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2313 wxRealPoint
*arg2
= 0 ;
2316 PyObject
* obj0
= 0 ;
2317 PyObject
* obj1
= 0 ;
2319 (char *) "self",(char *) "pt", NULL
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2326 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) SWIG_fail
;
2336 wxRealPoint
* resultptr
;
2337 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2338 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2346 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
*resultobj
;
2348 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2349 wxRealPoint
*arg2
= 0 ;
2352 PyObject
* obj0
= 0 ;
2353 PyObject
* obj1
= 0 ;
2355 (char *) "self",(char *) "pt", NULL
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2362 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2366 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) SWIG_fail
;
2372 wxRealPoint
* resultptr
;
2373 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2374 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2382 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
*resultobj
;
2384 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2387 PyObject
* obj0
= 0 ;
2388 PyObject
* obj1
= 0 ;
2389 PyObject
* obj2
= 0 ;
2391 (char *) "self",(char *) "x",(char *) "y", NULL
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2397 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2398 if (PyErr_Occurred()) SWIG_fail
;
2401 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2402 if (PyErr_Occurred()) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 wxRealPoint_Set(arg1
,arg2
,arg3
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2411 Py_INCREF(Py_None
); resultobj
= Py_None
;
2418 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2422 PyObject
* obj0
= 0 ;
2424 (char *) "self", NULL
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2443 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2446 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2448 return Py_BuildValue((char *)"");
2450 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
*resultobj
;
2452 wxPoint
*arg1
= (wxPoint
*) 0 ;
2454 PyObject
* obj0
= 0 ;
2455 PyObject
* obj1
= 0 ;
2457 (char *) "self",(char *) "x", NULL
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2463 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2464 if (PyErr_Occurred()) SWIG_fail
;
2466 if (arg1
) (arg1
)->x
= arg2
;
2468 Py_INCREF(Py_None
); resultobj
= Py_None
;
2475 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
*resultobj
;
2477 wxPoint
*arg1
= (wxPoint
*) 0 ;
2479 PyObject
* obj0
= 0 ;
2481 (char *) "self", NULL
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2486 result
= (int) ((arg1
)->x
);
2488 resultobj
= SWIG_PyObj_FromInt((int)result
);
2495 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
*resultobj
;
2497 wxPoint
*arg1
= (wxPoint
*) 0 ;
2499 PyObject
* obj0
= 0 ;
2500 PyObject
* obj1
= 0 ;
2502 (char *) "self",(char *) "y", NULL
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2508 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2509 if (PyErr_Occurred()) SWIG_fail
;
2511 if (arg1
) (arg1
)->y
= arg2
;
2513 Py_INCREF(Py_None
); resultobj
= Py_None
;
2520 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
*resultobj
;
2522 wxPoint
*arg1
= (wxPoint
*) 0 ;
2524 PyObject
* obj0
= 0 ;
2526 (char *) "self", NULL
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2531 result
= (int) ((arg1
)->y
);
2533 resultobj
= SWIG_PyObj_FromInt((int)result
);
2540 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
*resultobj
;
2542 int arg1
= (int) 0 ;
2543 int arg2
= (int) 0 ;
2545 PyObject
* obj0
= 0 ;
2546 PyObject
* obj1
= 0 ;
2548 (char *) "x",(char *) "y", NULL
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2554 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2555 if (PyErr_Occurred()) SWIG_fail
;
2560 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) SWIG_fail
;
2571 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2578 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
*resultobj
;
2580 wxPoint
*arg1
= (wxPoint
*) 0 ;
2581 PyObject
* obj0
= 0 ;
2583 (char *) "self", NULL
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2595 Py_INCREF(Py_None
); resultobj
= Py_None
;
2602 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2604 wxPoint
*arg1
= (wxPoint
*) 0 ;
2608 PyObject
* obj0
= 0 ;
2609 PyObject
* obj1
= 0 ;
2611 (char *) "self",(char *) "pt", NULL
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2618 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2624 wxPyEndAllowThreads(__tstate
);
2625 if (PyErr_Occurred()) SWIG_fail
;
2627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2634 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
*resultobj
;
2636 wxPoint
*arg1
= (wxPoint
*) 0 ;
2640 PyObject
* obj0
= 0 ;
2641 PyObject
* obj1
= 0 ;
2643 (char *) "self",(char *) "pt", NULL
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2650 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2666 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2668 wxPoint
*arg1
= (wxPoint
*) 0 ;
2672 PyObject
* obj0
= 0 ;
2673 PyObject
* obj1
= 0 ;
2675 (char *) "self",(char *) "pt", NULL
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2682 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2692 wxPoint
* resultptr
;
2693 resultptr
= new wxPoint((wxPoint
&) result
);
2694 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2702 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
*resultobj
;
2704 wxPoint
*arg1
= (wxPoint
*) 0 ;
2708 PyObject
* obj0
= 0 ;
2709 PyObject
* obj1
= 0 ;
2711 (char *) "self",(char *) "pt", NULL
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2718 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) SWIG_fail
;
2728 wxPoint
* resultptr
;
2729 resultptr
= new wxPoint((wxPoint
&) result
);
2730 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2738 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
*resultobj
;
2740 wxPoint
*arg1
= (wxPoint
*) 0 ;
2744 PyObject
* obj0
= 0 ;
2745 PyObject
* obj1
= 0 ;
2747 (char *) "self",(char *) "pt", NULL
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2754 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2760 result
= (wxPoint
*) &_result_ref
;
2763 wxPyEndAllowThreads(__tstate
);
2764 if (PyErr_Occurred()) SWIG_fail
;
2766 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2773 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
*resultobj
;
2775 wxPoint
*arg1
= (wxPoint
*) 0 ;
2779 PyObject
* obj0
= 0 ;
2780 PyObject
* obj1
= 0 ;
2782 (char *) "self",(char *) "pt", NULL
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2789 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2794 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2795 result
= (wxPoint
*) &_result_ref
;
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2801 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2808 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 wxPoint
*arg1
= (wxPoint
*) 0 ;
2813 PyObject
* obj0
= 0 ;
2814 PyObject
* obj1
= 0 ;
2815 PyObject
* obj2
= 0 ;
2817 (char *) "self",(char *) "x",(char *) "y", NULL
2820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2823 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2827 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2828 if (PyErr_Occurred()) SWIG_fail
;
2831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2832 wxPoint_Set(arg1
,arg2
,arg3
);
2834 wxPyEndAllowThreads(__tstate
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2837 Py_INCREF(Py_None
); resultobj
= Py_None
;
2844 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
*resultobj
;
2846 wxPoint
*arg1
= (wxPoint
*) 0 ;
2848 PyObject
* obj0
= 0 ;
2850 (char *) "self", NULL
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
2854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 result
= (PyObject
*)wxPoint_Get(arg1
);
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2869 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2872 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2874 return Py_BuildValue((char *)"");
2876 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
*resultobj
;
2878 int arg1
= (int) 0 ;
2879 int arg2
= (int) 0 ;
2880 int arg3
= (int) 0 ;
2881 int arg4
= (int) 0 ;
2883 PyObject
* obj0
= 0 ;
2884 PyObject
* obj1
= 0 ;
2885 PyObject
* obj2
= 0 ;
2886 PyObject
* obj3
= 0 ;
2888 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2894 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2900 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2901 if (PyErr_Occurred()) SWIG_fail
;
2906 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2912 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2923 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2930 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
*resultobj
;
2937 PyObject
* obj0
= 0 ;
2938 PyObject
* obj1
= 0 ;
2940 (char *) "topLeft",(char *) "bottomRight", NULL
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2946 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2950 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2959 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2966 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
;
2973 PyObject
* obj0
= 0 ;
2974 PyObject
* obj1
= 0 ;
2976 (char *) "pos",(char *) "size", NULL
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2982 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2986 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2990 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
2992 wxPyEndAllowThreads(__tstate
);
2993 if (PyErr_Occurred()) SWIG_fail
;
2995 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
3002 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
*resultobj
;
3004 wxRect
*arg1
= (wxRect
*) 0 ;
3005 PyObject
* obj0
= 0 ;
3007 (char *) "self", NULL
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3019 Py_INCREF(Py_None
); resultobj
= Py_None
;
3026 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
*resultobj
;
3028 wxRect
*arg1
= (wxRect
*) 0 ;
3030 PyObject
* obj0
= 0 ;
3032 (char *) "self", NULL
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 result
= (int)((wxRect
const *)arg1
)->GetX();
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3044 resultobj
= SWIG_PyObj_FromInt((int)result
);
3051 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
;
3053 wxRect
*arg1
= (wxRect
*) 0 ;
3055 PyObject
* obj0
= 0 ;
3056 PyObject
* obj1
= 0 ;
3058 (char *) "self",(char *) "x", NULL
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3064 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 wxPyEndAllowThreads(__tstate
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3074 Py_INCREF(Py_None
); resultobj
= Py_None
;
3081 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3083 wxRect
*arg1
= (wxRect
*) 0 ;
3085 PyObject
* obj0
= 0 ;
3087 (char *) "self", NULL
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 result
= (int)(arg1
)->GetY();
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3099 resultobj
= SWIG_PyObj_FromInt((int)result
);
3106 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
*resultobj
;
3108 wxRect
*arg1
= (wxRect
*) 0 ;
3110 PyObject
* obj0
= 0 ;
3111 PyObject
* obj1
= 0 ;
3113 (char *) "self",(char *) "y", NULL
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3119 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) SWIG_fail
;
3129 Py_INCREF(Py_None
); resultobj
= Py_None
;
3136 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
*resultobj
;
3138 wxRect
*arg1
= (wxRect
*) 0 ;
3140 PyObject
* obj0
= 0 ;
3142 (char *) "self", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3154 resultobj
= SWIG_PyObj_FromInt((int)result
);
3161 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
*resultobj
;
3163 wxRect
*arg1
= (wxRect
*) 0 ;
3165 PyObject
* obj0
= 0 ;
3166 PyObject
* obj1
= 0 ;
3168 (char *) "self",(char *) "w", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3174 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 (arg1
)->SetWidth(arg2
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3184 Py_INCREF(Py_None
); resultobj
= Py_None
;
3191 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
;
3193 wxRect
*arg1
= (wxRect
*) 0 ;
3195 PyObject
* obj0
= 0 ;
3197 (char *) "self", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3209 resultobj
= SWIG_PyObj_FromInt((int)result
);
3216 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
*resultobj
;
3218 wxRect
*arg1
= (wxRect
*) 0 ;
3220 PyObject
* obj0
= 0 ;
3221 PyObject
* obj1
= 0 ;
3223 (char *) "self",(char *) "h", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3229 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3234 (arg1
)->SetHeight(arg2
);
3236 wxPyEndAllowThreads(__tstate
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3239 Py_INCREF(Py_None
); resultobj
= Py_None
;
3246 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
*resultobj
;
3248 wxRect
*arg1
= (wxRect
*) 0 ;
3250 PyObject
* obj0
= 0 ;
3252 (char *) "self", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3259 result
= ((wxRect
const *)arg1
)->GetPosition();
3261 wxPyEndAllowThreads(__tstate
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3265 wxPoint
* resultptr
;
3266 resultptr
= new wxPoint((wxPoint
&) result
);
3267 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3275 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxRect
*arg1
= (wxRect
*) 0 ;
3280 PyObject
* obj0
= 0 ;
3281 PyObject
* obj1
= 0 ;
3283 (char *) "self",(char *) "p", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3290 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 Py_INCREF(Py_None
); resultobj
= Py_None
;
3306 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3308 wxRect
*arg1
= (wxRect
*) 0 ;
3310 PyObject
* obj0
= 0 ;
3312 (char *) "self", NULL
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 result
= ((wxRect
const *)arg1
)->GetSize();
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3326 resultptr
= new wxSize((wxSize
&) result
);
3327 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3335 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxRect
*arg1
= (wxRect
*) 0 ;
3340 PyObject
* obj0
= 0 ;
3341 PyObject
* obj1
= 0 ;
3343 (char *) "self",(char *) "s", NULL
3346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3350 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 (arg1
)->SetSize((wxSize
const &)*arg2
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 Py_INCREF(Py_None
); resultobj
= Py_None
;
3366 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxRect
*arg1
= (wxRect
*) 0 ;
3370 PyObject
* obj0
= 0 ;
3372 (char *) "self", NULL
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3385 wxPoint
* resultptr
;
3386 resultptr
= new wxPoint((wxPoint
&) result
);
3387 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3395 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxRect
*arg1
= (wxRect
*) 0 ;
3400 PyObject
* obj0
= 0 ;
3401 PyObject
* obj1
= 0 ;
3403 (char *) "self",(char *) "p", NULL
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3410 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3416 wxPyEndAllowThreads(__tstate
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3419 Py_INCREF(Py_None
); resultobj
= Py_None
;
3426 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
*resultobj
;
3428 wxRect
*arg1
= (wxRect
*) 0 ;
3430 PyObject
* obj0
= 0 ;
3432 (char *) "self", NULL
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3445 wxPoint
* resultptr
;
3446 resultptr
= new wxPoint((wxPoint
&) result
);
3447 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3455 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
*resultobj
;
3457 wxRect
*arg1
= (wxRect
*) 0 ;
3460 PyObject
* obj0
= 0 ;
3461 PyObject
* obj1
= 0 ;
3463 (char *) "self",(char *) "p", NULL
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3470 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 Py_INCREF(Py_None
); resultobj
= Py_None
;
3486 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxRect
*arg1
= (wxRect
*) 0 ;
3490 PyObject
* obj0
= 0 ;
3492 (char *) "self", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3504 resultobj
= SWIG_PyObj_FromInt((int)result
);
3511 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3512 PyObject
*resultobj
;
3513 wxRect
*arg1
= (wxRect
*) 0 ;
3515 PyObject
* obj0
= 0 ;
3517 (char *) "self", NULL
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 result
= (int)((wxRect
const *)arg1
)->GetTop();
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3529 resultobj
= SWIG_PyObj_FromInt((int)result
);
3536 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
*resultobj
;
3538 wxRect
*arg1
= (wxRect
*) 0 ;
3540 PyObject
* obj0
= 0 ;
3542 (char *) "self", NULL
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 resultobj
= SWIG_PyObj_FromInt((int)result
);
3561 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxRect
*arg1
= (wxRect
*) 0 ;
3565 PyObject
* obj0
= 0 ;
3567 (char *) "self", NULL
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 result
= (int)((wxRect
const *)arg1
)->GetRight();
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3579 resultobj
= SWIG_PyObj_FromInt((int)result
);
3586 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
*resultobj
;
3588 wxRect
*arg1
= (wxRect
*) 0 ;
3590 PyObject
* obj0
= 0 ;
3591 PyObject
* obj1
= 0 ;
3593 (char *) "self",(char *) "left", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3599 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 (arg1
)->SetLeft(arg2
);
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3609 Py_INCREF(Py_None
); resultobj
= Py_None
;
3616 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
;
3618 wxRect
*arg1
= (wxRect
*) 0 ;
3620 PyObject
* obj0
= 0 ;
3621 PyObject
* obj1
= 0 ;
3623 (char *) "self",(char *) "right", NULL
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3629 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 (arg1
)->SetRight(arg2
);
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3639 Py_INCREF(Py_None
); resultobj
= Py_None
;
3646 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3648 wxRect
*arg1
= (wxRect
*) 0 ;
3650 PyObject
* obj0
= 0 ;
3651 PyObject
* obj1
= 0 ;
3653 (char *) "self",(char *) "top", NULL
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
3657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3659 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 (arg1
)->SetTop(arg2
);
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3669 Py_INCREF(Py_None
); resultobj
= Py_None
;
3676 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
*resultobj
;
3678 wxRect
*arg1
= (wxRect
*) 0 ;
3680 PyObject
* obj0
= 0 ;
3681 PyObject
* obj1
= 0 ;
3683 (char *) "self",(char *) "bottom", NULL
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
3687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3689 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->SetBottom(arg2
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxRect
*arg1
= (wxRect
*) 0 ;
3712 PyObject
* obj0
= 0 ;
3713 PyObject
* obj1
= 0 ;
3714 PyObject
* obj2
= 0 ;
3716 (char *) "self",(char *) "dx",(char *) "dy", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3722 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3726 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3733 result
= (wxRect
*) &_result_ref
;
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3739 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3746 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
;
3748 wxRect
*arg1
= (wxRect
*) 0 ;
3752 PyObject
* obj0
= 0 ;
3753 PyObject
* obj1
= 0 ;
3754 PyObject
* obj2
= 0 ;
3756 (char *) "self",(char *) "dx",(char *) "dy", NULL
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3762 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3766 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3773 result
= (wxRect
*) &_result_ref
;
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3779 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3786 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 wxRect
*arg1
= (wxRect
*) 0 ;
3791 PyObject
* obj0
= 0 ;
3792 PyObject
* obj1
= 0 ;
3793 PyObject
* obj2
= 0 ;
3795 (char *) "self",(char *) "dx",(char *) "dy", NULL
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3801 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3805 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 (arg1
)->Offset(arg2
,arg3
);
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) SWIG_fail
;
3815 Py_INCREF(Py_None
); resultobj
= Py_None
;
3822 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3824 wxRect
*arg1
= (wxRect
*) 0 ;
3827 PyObject
* obj0
= 0 ;
3828 PyObject
* obj1
= 0 ;
3830 (char *) "self",(char *) "pt", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 (arg1
)->Offset((wxPoint
const &)*arg2
);
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3846 Py_INCREF(Py_None
); resultobj
= Py_None
;
3853 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
*resultobj
;
3855 wxRect
*arg1
= (wxRect
*) 0 ;
3859 PyObject
* obj0
= 0 ;
3860 PyObject
* obj1
= 0 ;
3862 (char *) "self",(char *) "rect", NULL
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3869 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3875 result
= (wxRect
*) &_result_ref
;
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3888 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
*resultobj
;
3890 wxRect
*arg1
= (wxRect
*) 0 ;
3894 PyObject
* obj0
= 0 ;
3895 PyObject
* obj1
= 0 ;
3897 (char *) "self",(char *) "rect", NULL
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3904 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3915 resultptr
= new wxRect((wxRect
&) result
);
3916 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3924 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
*resultobj
;
3926 wxRect
*arg1
= (wxRect
*) 0 ;
3930 PyObject
* obj0
= 0 ;
3931 PyObject
* obj1
= 0 ;
3933 (char *) "self",(char *) "rect", NULL
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3940 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3946 result
= (wxRect
*) &_result_ref
;
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3952 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3959 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
*resultobj
;
3961 wxRect
*arg1
= (wxRect
*) 0 ;
3965 PyObject
* obj0
= 0 ;
3966 PyObject
* obj1
= 0 ;
3968 (char *) "self",(char *) "rect", NULL
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3975 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3991 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
;
3993 wxRect
*arg1
= (wxRect
*) 0 ;
3997 PyObject
* obj0
= 0 ;
3998 PyObject
* obj1
= 0 ;
4000 (char *) "self",(char *) "rect", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4007 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4023 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 wxRect
*arg1
= (wxRect
*) 0 ;
4029 PyObject
* obj0
= 0 ;
4030 PyObject
* obj1
= 0 ;
4031 PyObject
* obj2
= 0 ;
4033 (char *) "self",(char *) "x",(char *) "y", NULL
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4039 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4043 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4060 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
;
4062 wxRect
*arg1
= (wxRect
*) 0 ;
4066 PyObject
* obj0
= 0 ;
4067 PyObject
* obj1
= 0 ;
4069 (char *) "self",(char *) "pt", NULL
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4092 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
;
4094 wxRect
*arg1
= (wxRect
*) 0 ;
4098 PyObject
* obj0
= 0 ;
4099 PyObject
* obj1
= 0 ;
4101 (char *) "self",(char *) "rect", NULL
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4108 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4124 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
;
4126 wxRect
*arg1
= (wxRect
*) 0 ;
4128 PyObject
* obj0
= 0 ;
4129 PyObject
* obj1
= 0 ;
4131 (char *) "self",(char *) "x", NULL
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4137 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 if (arg1
) (arg1
)->x
= arg2
;
4142 Py_INCREF(Py_None
); resultobj
= Py_None
;
4149 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
;
4151 wxRect
*arg1
= (wxRect
*) 0 ;
4153 PyObject
* obj0
= 0 ;
4155 (char *) "self", NULL
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4160 result
= (int) ((arg1
)->x
);
4162 resultobj
= SWIG_PyObj_FromInt((int)result
);
4169 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
;
4171 wxRect
*arg1
= (wxRect
*) 0 ;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4176 (char *) "self",(char *) "y", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4182 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4185 if (arg1
) (arg1
)->y
= arg2
;
4187 Py_INCREF(Py_None
); resultobj
= Py_None
;
4194 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
*resultobj
;
4196 wxRect
*arg1
= (wxRect
*) 0 ;
4198 PyObject
* obj0
= 0 ;
4200 (char *) "self", NULL
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4205 result
= (int) ((arg1
)->y
);
4207 resultobj
= SWIG_PyObj_FromInt((int)result
);
4214 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxRect
*arg1
= (wxRect
*) 0 ;
4218 PyObject
* obj0
= 0 ;
4219 PyObject
* obj1
= 0 ;
4221 (char *) "self",(char *) "width", NULL
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4227 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 if (arg1
) (arg1
)->width
= arg2
;
4232 Py_INCREF(Py_None
); resultobj
= Py_None
;
4239 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
*resultobj
;
4241 wxRect
*arg1
= (wxRect
*) 0 ;
4243 PyObject
* obj0
= 0 ;
4245 (char *) "self", NULL
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4250 result
= (int) ((arg1
)->width
);
4252 resultobj
= SWIG_PyObj_FromInt((int)result
);
4259 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxRect
*arg1
= (wxRect
*) 0 ;
4263 PyObject
* obj0
= 0 ;
4264 PyObject
* obj1
= 0 ;
4266 (char *) "self",(char *) "height", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4272 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4275 if (arg1
) (arg1
)->height
= arg2
;
4277 Py_INCREF(Py_None
); resultobj
= Py_None
;
4284 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4286 wxRect
*arg1
= (wxRect
*) 0 ;
4288 PyObject
* obj0
= 0 ;
4290 (char *) "self", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4295 result
= (int) ((arg1
)->height
);
4297 resultobj
= SWIG_PyObj_FromInt((int)result
);
4304 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4306 wxRect
*arg1
= (wxRect
*) 0 ;
4307 int arg2
= (int) 0 ;
4308 int arg3
= (int) 0 ;
4309 int arg4
= (int) 0 ;
4310 int arg5
= (int) 0 ;
4311 PyObject
* obj0
= 0 ;
4312 PyObject
* obj1
= 0 ;
4313 PyObject
* obj2
= 0 ;
4314 PyObject
* obj3
= 0 ;
4315 PyObject
* obj4
= 0 ;
4317 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4324 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4330 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4336 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4342 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 Py_INCREF(Py_None
); resultobj
= Py_None
;
4360 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 wxRect
*arg1
= (wxRect
*) 0 ;
4364 PyObject
* obj0
= 0 ;
4366 (char *) "self", NULL
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 result
= (PyObject
*)wxRect_Get(arg1
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4385 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4388 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4390 return Py_BuildValue((char *)"");
4392 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4394 wxRect
*arg1
= (wxRect
*) 0 ;
4395 wxRect
*arg2
= (wxRect
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4400 (char *) "r1",(char *) "r2", NULL
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4405 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4420 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
*resultobj
;
4422 double arg1
= (double) 0.0 ;
4423 double arg2
= (double) 0.0 ;
4425 PyObject
* obj0
= 0 ;
4426 PyObject
* obj1
= 0 ;
4428 (char *) "x",(char *) "y", NULL
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4434 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4440 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4458 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4460 wxPoint2D
*arg1
= 0 ;
4463 PyObject
* obj0
= 0 ;
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4471 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4487 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
;
4492 PyObject
* obj0
= 0 ;
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4500 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4516 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
;
4518 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4519 int *arg2
= (int *) 0 ;
4520 int *arg3
= (int *) 0 ;
4523 PyObject
* obj0
= 0 ;
4525 (char *) "self", NULL
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4539 Py_INCREF(Py_None
); resultobj
= Py_None
;
4541 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4542 resultobj
= t_output_helper(resultobj
,o
);
4545 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4546 resultobj
= t_output_helper(resultobj
,o
);
4554 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4557 int *arg2
= (int *) 0 ;
4558 int *arg3
= (int *) 0 ;
4561 PyObject
* obj0
= 0 ;
4563 (char *) "self", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4577 Py_INCREF(Py_None
); resultobj
= Py_None
;
4579 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4580 resultobj
= t_output_helper(resultobj
,o
);
4583 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4584 resultobj
= t_output_helper(resultobj
,o
);
4592 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
;
4594 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4596 PyObject
* obj0
= 0 ;
4598 (char *) "self", NULL
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4605 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4610 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4617 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
*resultobj
;
4619 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4621 PyObject
* obj0
= 0 ;
4623 (char *) "self", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4642 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
;
4644 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4646 PyObject
* obj0
= 0 ;
4647 PyObject
* obj1
= 0 ;
4649 (char *) "self",(char *) "length", NULL
4652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
4653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4655 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 (arg1
)->SetVectorLength(arg2
);
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 Py_INCREF(Py_None
); resultobj
= Py_None
;
4672 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
;
4674 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4679 (char *) "self",(char *) "degrees", NULL
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
4683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4685 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 (arg1
)->SetVectorAngle(arg2
);
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 Py_INCREF(Py_None
); resultobj
= Py_None
;
4702 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
;
4704 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4705 wxPoint2D
*arg2
= 0 ;
4708 PyObject
* obj0
= 0 ;
4709 PyObject
* obj1
= 0 ;
4711 (char *) "self",(char *) "pt", NULL
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4718 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4734 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
*resultobj
;
4736 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4737 wxPoint2D
*arg2
= 0 ;
4740 PyObject
* obj0
= 0 ;
4741 PyObject
* obj1
= 0 ;
4743 (char *) "self",(char *) "pt", NULL
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4750 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4754 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4756 wxPyEndAllowThreads(__tstate
);
4757 if (PyErr_Occurred()) SWIG_fail
;
4759 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4766 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
*resultobj
;
4768 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4769 wxPoint2D
*arg2
= 0 ;
4772 PyObject
* obj0
= 0 ;
4773 PyObject
* obj1
= 0 ;
4775 (char *) "self",(char *) "vec", NULL
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4782 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4791 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4798 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
;
4800 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4801 wxPoint2D
*arg2
= 0 ;
4804 PyObject
* obj0
= 0 ;
4805 PyObject
* obj1
= 0 ;
4807 (char *) "self",(char *) "vec", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4814 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4830 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
;
4832 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4834 PyObject
* obj0
= 0 ;
4836 (char *) "self", NULL
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 result
= (arg1
)->operator -();
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4849 wxPoint2D
* resultptr
;
4850 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4851 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4859 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
;
4861 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4862 wxPoint2D
*arg2
= 0 ;
4865 PyObject
* obj0
= 0 ;
4866 PyObject
* obj1
= 0 ;
4868 (char *) "self",(char *) "pt", NULL
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4875 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4881 result
= (wxPoint2D
*) &_result_ref
;
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4887 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4894 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
*resultobj
;
4896 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4897 wxPoint2D
*arg2
= 0 ;
4900 PyObject
* obj0
= 0 ;
4901 PyObject
* obj1
= 0 ;
4903 (char *) "self",(char *) "pt", NULL
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4910 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4916 result
= (wxPoint2D
*) &_result_ref
;
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4929 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4932 wxPoint2D
*arg2
= 0 ;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4938 (char *) "self",(char *) "pt", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4945 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4951 result
= (wxPoint2D
*) &_result_ref
;
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4964 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4967 wxPoint2D
*arg2
= 0 ;
4970 PyObject
* obj0
= 0 ;
4971 PyObject
* obj1
= 0 ;
4973 (char *) "self",(char *) "pt", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4980 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4986 result
= (wxPoint2D
*) &_result_ref
;
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4999 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5001 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5002 wxPoint2D
*arg2
= 0 ;
5005 PyObject
* obj0
= 0 ;
5006 PyObject
* obj1
= 0 ;
5008 (char *) "self",(char *) "pt", NULL
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5015 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5031 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
;
5033 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5034 wxPoint2D
*arg2
= 0 ;
5037 PyObject
* obj0
= 0 ;
5038 PyObject
* obj1
= 0 ;
5040 (char *) "self",(char *) "pt", NULL
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5047 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5063 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
;
5065 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5070 (char *) "self",(char *) "m_x", NULL
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5076 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5079 if (arg1
) (arg1
)->m_x
= arg2
;
5081 Py_INCREF(Py_None
); resultobj
= Py_None
;
5088 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
;
5090 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5092 PyObject
* obj0
= 0 ;
5094 (char *) "self", NULL
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5099 result
= (double) ((arg1
)->m_x
);
5101 resultobj
= SWIG_PyObj_FromDouble((double)result
);
5108 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5112 PyObject
* obj0
= 0 ;
5113 PyObject
* obj1
= 0 ;
5115 (char *) "self",(char *) "m_y", NULL
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5121 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5124 if (arg1
) (arg1
)->m_y
= arg2
;
5126 Py_INCREF(Py_None
); resultobj
= Py_None
;
5133 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
*resultobj
;
5135 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5137 PyObject
* obj0
= 0 ;
5139 (char *) "self", NULL
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5144 result
= (double) ((arg1
)->m_y
);
5146 resultobj
= SWIG_PyObj_FromDouble((double)result
);
5153 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5156 double arg2
= (double) 0 ;
5157 double arg3
= (double) 0 ;
5158 PyObject
* obj0
= 0 ;
5159 PyObject
* obj1
= 0 ;
5160 PyObject
* obj2
= 0 ;
5162 (char *) "self",(char *) "x",(char *) "y", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5169 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5175 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 wxPoint2D_Set(arg1
,arg2
,arg3
);
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 Py_INCREF(Py_None
); resultobj
= Py_None
;
5193 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
*resultobj
;
5195 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5197 PyObject
* obj0
= 0 ;
5199 (char *) "self", NULL
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5218 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5221 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5223 return Py_BuildValue((char *)"");
5225 static int _wrap_DefaultPosition_set(PyObject
*) {
5226 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5231 static PyObject
*_wrap_DefaultPosition_get() {
5234 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
5239 static int _wrap_DefaultSize_set(PyObject
*) {
5240 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5245 static PyObject
*_wrap_DefaultSize_get() {
5248 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
5253 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
;
5255 PyObject
*arg1
= (PyObject
*) 0 ;
5256 wxPyInputStream
*result
;
5257 PyObject
* obj0
= 0 ;
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5271 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
5278 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
*resultobj
;
5280 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5281 PyObject
* obj0
= 0 ;
5283 (char *) "self", NULL
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5295 Py_INCREF(Py_None
); resultobj
= Py_None
;
5302 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
*resultobj
;
5304 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5305 PyObject
* obj0
= 0 ;
5307 (char *) "self", NULL
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5319 Py_INCREF(Py_None
); resultobj
= Py_None
;
5326 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5330 PyObject
* obj0
= 0 ;
5332 (char *) "self", NULL
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 result
= (bool)(arg1
)->eof();
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5351 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
*resultobj
;
5353 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5354 int arg2
= (int) -1 ;
5356 PyObject
* obj0
= 0 ;
5357 PyObject
* obj1
= 0 ;
5359 (char *) "self",(char *) "size", NULL
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5366 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 result
= (PyObject
*)(arg1
)->read(arg2
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5384 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5387 int arg2
= (int) -1 ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5392 (char *) "self",(char *) "size", NULL
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5399 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 result
= (PyObject
*)(arg1
)->readline(arg2
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5417 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
;
5419 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5420 int arg2
= (int) -1 ;
5422 PyObject
* obj0
= 0 ;
5423 PyObject
* obj1
= 0 ;
5425 (char *) "self",(char *) "sizehint", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5432 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5450 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5454 int arg3
= (int) 0 ;
5455 PyObject
* obj0
= 0 ;
5456 PyObject
* obj1
= 0 ;
5457 PyObject
* obj2
= 0 ;
5459 (char *) "self",(char *) "offset",(char *) "whence", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5465 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5470 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 (arg1
)->seek(arg2
,arg3
);
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 Py_INCREF(Py_None
); resultobj
= Py_None
;
5488 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5490 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5492 PyObject
* obj0
= 0 ;
5494 (char *) "self", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (int)(arg1
)->tell();
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= SWIG_PyObj_FromInt((int)result
);
5513 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
*resultobj
;
5515 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5517 PyObject
* obj0
= 0 ;
5519 (char *) "self", NULL
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 result
= (char)(arg1
)->Peek();
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 resultobj
= SWIG_PyObj_FromChar((char)result
);
5538 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5542 PyObject
* obj0
= 0 ;
5544 (char *) "self", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (char)(arg1
)->GetC();
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5556 resultobj
= SWIG_PyObj_FromChar((char)result
);
5563 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5567 PyObject
* obj0
= 0 ;
5569 (char *) "self", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= (size_t)(arg1
)->LastRead();
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
5588 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5590 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5594 (char *) "self", NULL
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 result
= (bool)(arg1
)->CanRead();
5603 wxPyEndAllowThreads(__tstate
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5613 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
;
5615 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5617 PyObject
* obj0
= 0 ;
5619 (char *) "self", NULL
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 result
= (bool)(arg1
)->Eof();
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5638 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
;
5640 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5643 PyObject
* obj0
= 0 ;
5644 PyObject
* obj1
= 0 ;
5646 (char *) "self",(char *) "c", NULL
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
5650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5652 arg2
= (char) SWIG_PyObj_AsChar(obj1
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (bool)(arg1
)->Ungetch(arg2
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5669 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
*resultobj
;
5671 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5673 int arg3
= (int) wxFromStart
;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5677 PyObject
* obj2
= 0 ;
5679 (char *) "self",(char *) "pos",(char *) "mode", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5685 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5690 arg3
= (wxSeekMode
) SWIG_PyObj_AsInt(obj2
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= SWIG_PyObj_FromLong((long)result
);
5708 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5712 PyObject
* obj0
= 0 ;
5714 (char *) "self", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 result
= (long)(arg1
)->TellI();
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5726 resultobj
= SWIG_PyObj_FromLong((long)result
);
5733 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5736 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5738 return Py_BuildValue((char *)"");
5740 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5743 PyObject
*arg2
= (PyObject
*) 0 ;
5744 PyObject
* obj0
= 0 ;
5745 PyObject
* obj1
= 0 ;
5747 (char *) "self",(char *) "obj", NULL
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 wxOutputStream_write(arg1
,arg2
);
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5760 Py_INCREF(Py_None
); resultobj
= Py_None
;
5767 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5770 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5772 return Py_BuildValue((char *)"");
5774 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5777 wxString
*arg2
= 0 ;
5778 wxString
*arg3
= 0 ;
5779 wxString
*arg4
= 0 ;
5782 wxPyInputStream
*temp1
;
5784 bool temp2
= False
;
5785 bool temp3
= False
;
5786 bool temp4
= False
;
5788 PyObject
* obj0
= 0 ;
5789 PyObject
* obj1
= 0 ;
5790 PyObject
* obj2
= 0 ;
5791 PyObject
* obj3
= 0 ;
5792 PyObject
* obj4
= 0 ;
5794 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5799 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5800 arg1
= temp1
->m_wxis
;
5803 PyErr_Clear(); // clear the failure of the wxPyConvert above
5804 arg1
= wxPyCBInputStream_create(obj0
, False
);
5806 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5813 arg2
= wxString_in_helper(obj1
);
5814 if (arg2
== NULL
) SWIG_fail
;
5818 arg3
= wxString_in_helper(obj2
);
5819 if (arg3
== NULL
) SWIG_fail
;
5823 arg4
= wxString_in_helper(obj3
);
5824 if (arg4
== NULL
) SWIG_fail
;
5827 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5837 resultobj
= wxPyMake_wxObject(result
);
5877 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
;
5879 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5880 PyObject
* obj0
= 0 ;
5882 (char *) "self", NULL
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 Py_INCREF(Py_None
); resultobj
= Py_None
;
5901 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
;
5903 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5904 wxInputStream
*result
;
5905 PyObject
* obj0
= 0 ;
5907 (char *) "self", NULL
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 result
= (wxInputStream
*)(arg1
)->GetStream();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5920 wxPyInputStream
* _ptr
= NULL
;
5923 _ptr
= new wxPyInputStream(result
);
5925 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
5933 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
*resultobj
;
5935 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5937 PyObject
* obj0
= 0 ;
5939 (char *) "self", NULL
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5948 result
= (wxString
*) &_result_ref
;
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5958 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5967 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
*resultobj
;
5969 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5971 PyObject
* obj0
= 0 ;
5973 (char *) "self", NULL
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 wxString
const &_result_ref
= (arg1
)->GetLocation();
5982 result
= (wxString
*) &_result_ref
;
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5992 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6001 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6005 PyObject
* obj0
= 0 ;
6007 (char *) "self", NULL
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6016 result
= (wxString
*) &_result_ref
;
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6026 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6035 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6039 PyObject
* obj0
= 0 ;
6041 (char *) "self", NULL
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 result
= (arg1
)->GetModificationTime();
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6054 wxDateTime
* resultptr
;
6055 resultptr
= new wxDateTime((wxDateTime
&) result
);
6056 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
6064 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6067 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6069 return Py_BuildValue((char *)"");
6071 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6074 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6076 return Py_BuildValue((char *)"");
6078 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
;
6080 wxPyFileSystemHandler
*result
;
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6100 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6103 PyObject
*arg2
= (PyObject
*) 0 ;
6104 PyObject
*arg3
= (PyObject
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6106 PyObject
* obj1
= 0 ;
6107 PyObject
* obj2
= 0 ;
6109 (char *) "self",(char *) "self",(char *) "_class", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 Py_INCREF(Py_None
); resultobj
= Py_None
;
6130 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6133 wxString
*arg2
= 0 ;
6135 bool temp2
= False
;
6136 PyObject
* obj0
= 0 ;
6137 PyObject
* obj1
= 0 ;
6139 (char *) "self",(char *) "location", NULL
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6145 arg2
= wxString_in_helper(obj1
);
6146 if (arg2
== NULL
) SWIG_fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6171 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6172 PyObject
*resultobj
;
6173 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6174 wxFileSystem
*arg2
= 0 ;
6175 wxString
*arg3
= 0 ;
6177 bool temp3
= False
;
6178 PyObject
* obj0
= 0 ;
6179 PyObject
* obj1
= 0 ;
6180 PyObject
* obj2
= 0 ;
6182 (char *) "self",(char *) "fs",(char *) "location", NULL
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6187 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6189 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6192 arg3
= wxString_in_helper(obj2
);
6193 if (arg3
== NULL
) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6204 resultobj
= wxPyMake_wxObject(result
);
6220 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
;
6222 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6223 wxString
*arg2
= 0 ;
6224 int arg3
= (int) 0 ;
6226 bool temp2
= False
;
6227 PyObject
* obj0
= 0 ;
6228 PyObject
* obj1
= 0 ;
6229 PyObject
* obj2
= 0 ;
6231 (char *) "self",(char *) "spec",(char *) "flags", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6237 arg2
= wxString_in_helper(obj1
);
6238 if (arg2
== NULL
) SWIG_fail
;
6243 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6275 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
*resultobj
;
6277 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6279 PyObject
* obj0
= 0 ;
6281 (char *) "self", NULL
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 result
= (arg1
)->FindNext();
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6306 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
;
6308 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6309 wxString
*arg2
= 0 ;
6311 bool temp2
= False
;
6312 PyObject
* obj0
= 0 ;
6313 PyObject
* obj1
= 0 ;
6315 (char *) "self",(char *) "location", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6321 arg2
= wxString_in_helper(obj1
);
6322 if (arg2
== NULL
) SWIG_fail
;
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6353 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6356 wxString
*arg2
= 0 ;
6358 bool temp2
= False
;
6359 PyObject
* obj0
= 0 ;
6360 PyObject
* obj1
= 0 ;
6362 (char *) "self",(char *) "location", NULL
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6368 arg2
= wxString_in_helper(obj1
);
6369 if (arg2
== NULL
) SWIG_fail
;
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6400 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
*resultobj
;
6402 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6403 wxString
*arg2
= 0 ;
6405 bool temp2
= False
;
6406 PyObject
* obj0
= 0 ;
6407 PyObject
* obj1
= 0 ;
6409 (char *) "self",(char *) "location", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6415 arg2
= wxString_in_helper(obj1
);
6416 if (arg2
== NULL
) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6447 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6450 wxString
*arg2
= 0 ;
6452 bool temp2
= False
;
6453 PyObject
* obj0
= 0 ;
6454 PyObject
* obj1
= 0 ;
6456 (char *) "self",(char *) "location", NULL
6459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6462 arg2
= wxString_in_helper(obj1
);
6463 if (arg2
== NULL
) SWIG_fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6494 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6497 wxString
*arg2
= 0 ;
6499 bool temp2
= False
;
6500 PyObject
* obj0
= 0 ;
6501 PyObject
* obj1
= 0 ;
6503 (char *) "self",(char *) "location", NULL
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6509 arg2
= wxString_in_helper(obj1
);
6510 if (arg2
== NULL
) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6541 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6544 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6546 return Py_BuildValue((char *)"");
6548 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
;
6550 wxFileSystem
*result
;
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 result
= (wxFileSystem
*)new wxFileSystem();
6560 wxPyEndAllowThreads(__tstate
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= wxPyMake_wxObject(result
);
6572 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
;
6574 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6575 PyObject
* obj0
= 0 ;
6577 (char *) "self", NULL
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 Py_INCREF(Py_None
); resultobj
= Py_None
;
6596 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
*resultobj
;
6598 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6599 wxString
*arg2
= 0 ;
6600 bool arg3
= (bool) False
;
6601 bool temp2
= False
;
6602 PyObject
* obj0
= 0 ;
6603 PyObject
* obj1
= 0 ;
6604 PyObject
* obj2
= 0 ;
6606 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6612 arg2
= wxString_in_helper(obj1
);
6613 if (arg2
== NULL
) SWIG_fail
;
6618 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 Py_INCREF(Py_None
); resultobj
= Py_None
;
6644 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
*resultobj
;
6646 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6648 PyObject
* obj0
= 0 ;
6650 (char *) "self", NULL
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 result
= (arg1
)->GetPath();
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6675 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6678 wxString
*arg2
= 0 ;
6680 bool temp2
= False
;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6684 (char *) "self",(char *) "location", NULL
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6690 arg2
= wxString_in_helper(obj1
);
6691 if (arg2
== NULL
) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6698 wxPyEndAllowThreads(__tstate
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6702 resultobj
= wxPyMake_wxObject(result
);
6718 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
*resultobj
;
6720 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6721 wxString
*arg2
= 0 ;
6722 int arg3
= (int) 0 ;
6724 bool temp2
= False
;
6725 PyObject
* obj0
= 0 ;
6726 PyObject
* obj1
= 0 ;
6727 PyObject
* obj2
= 0 ;
6729 (char *) "self",(char *) "spec",(char *) "flags", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6735 arg2
= wxString_in_helper(obj1
);
6736 if (arg2
== NULL
) SWIG_fail
;
6741 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6773 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6779 (char *) "self", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 result
= (arg1
)->FindNext();
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6804 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6807 PyObject
* obj0
= 0 ;
6809 (char *) "handler", NULL
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 wxFileSystem::AddHandler(arg1
);
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6821 Py_INCREF(Py_None
); resultobj
= Py_None
;
6828 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 wxFileSystem::CleanUpHandlers();
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 Py_INCREF(Py_None
); resultobj
= Py_None
;
6849 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxString
*arg1
= 0 ;
6853 bool temp1
= False
;
6854 PyObject
* obj0
= 0 ;
6856 (char *) "filename", NULL
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6861 arg1
= wxString_in_helper(obj0
);
6862 if (arg1
== NULL
) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6893 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6896 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6898 return Py_BuildValue((char *)"");
6900 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
;
6902 wxString
*arg1
= 0 ;
6904 bool temp1
= False
;
6905 PyObject
* obj0
= 0 ;
6907 (char *) "url", NULL
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6912 arg1
= wxString_in_helper(obj0
);
6913 if (arg1
== NULL
) SWIG_fail
;
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6944 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxInternetFSHandler
*result
;
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6966 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6969 wxString
*arg2
= 0 ;
6971 bool temp2
= False
;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6975 (char *) "self",(char *) "location", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6981 arg2
= wxString_in_helper(obj1
);
6982 if (arg2
== NULL
) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7007 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
*resultobj
;
7009 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7010 wxFileSystem
*arg2
= 0 ;
7011 wxString
*arg3
= 0 ;
7013 bool temp3
= False
;
7014 PyObject
* obj0
= 0 ;
7015 PyObject
* obj1
= 0 ;
7016 PyObject
* obj2
= 0 ;
7018 (char *) "self",(char *) "fs",(char *) "location", NULL
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7025 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7028 arg3
= wxString_in_helper(obj2
);
7029 if (arg3
== NULL
) SWIG_fail
;
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= wxPyMake_wxObject(result
);
7056 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7059 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7061 return Py_BuildValue((char *)"");
7063 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxZipFSHandler
*result
;
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
7085 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7087 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7088 wxString
*arg2
= 0 ;
7090 bool temp2
= False
;
7091 PyObject
* obj0
= 0 ;
7092 PyObject
* obj1
= 0 ;
7094 (char *) "self",(char *) "location", NULL
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7100 arg2
= wxString_in_helper(obj1
);
7101 if (arg2
== NULL
) SWIG_fail
;
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7126 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
;
7128 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7129 wxFileSystem
*arg2
= 0 ;
7130 wxString
*arg3
= 0 ;
7132 bool temp3
= False
;
7133 PyObject
* obj0
= 0 ;
7134 PyObject
* obj1
= 0 ;
7135 PyObject
* obj2
= 0 ;
7137 (char *) "self",(char *) "fs",(char *) "location", NULL
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7144 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7147 arg3
= wxString_in_helper(obj2
);
7148 if (arg3
== NULL
) SWIG_fail
;
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= wxPyMake_wxObject(result
);
7175 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7178 wxString
*arg2
= 0 ;
7179 int arg3
= (int) 0 ;
7181 bool temp2
= False
;
7182 PyObject
* obj0
= 0 ;
7183 PyObject
* obj1
= 0 ;
7184 PyObject
* obj2
= 0 ;
7186 (char *) "self",(char *) "spec",(char *) "flags", NULL
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7192 arg2
= wxString_in_helper(obj1
);
7193 if (arg2
== NULL
) SWIG_fail
;
7198 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7206 wxPyEndAllowThreads(__tstate
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7230 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
;
7232 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7234 PyObject
* obj0
= 0 ;
7236 (char *) "self", NULL
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (arg1
)->FindNext();
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7261 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7264 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7266 return Py_BuildValue((char *)"");
7268 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
;
7270 wxString
*arg1
= 0 ;
7273 bool temp1
= False
;
7274 PyObject
* obj0
= 0 ;
7275 PyObject
* obj1
= 0 ;
7276 PyObject
* obj2
= 0 ;
7278 (char *) "filename",(char *) "image",(char *) "type", NULL
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7283 arg1
= wxString_in_helper(obj0
);
7284 if (arg1
== NULL
) SWIG_fail
;
7287 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7289 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7292 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 Py_INCREF(Py_None
); resultobj
= Py_None
;
7317 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
;
7319 wxString
*arg1
= 0 ;
7320 wxBitmap
*arg2
= 0 ;
7322 bool temp1
= False
;
7323 PyObject
* obj0
= 0 ;
7324 PyObject
* obj1
= 0 ;
7325 PyObject
* obj2
= 0 ;
7327 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7332 arg1
= wxString_in_helper(obj0
);
7333 if (arg1
== NULL
) SWIG_fail
;
7336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7338 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7341 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 Py_INCREF(Py_None
); resultobj
= Py_None
;
7366 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
*resultobj
;
7368 wxString
*arg1
= 0 ;
7369 PyObject
*arg2
= (PyObject
*) 0 ;
7370 bool temp1
= False
;
7371 PyObject
* obj0
= 0 ;
7372 PyObject
* obj1
= 0 ;
7374 (char *) "filename",(char *) "data", NULL
7377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7379 arg1
= wxString_in_helper(obj0
);
7380 if (arg1
== NULL
) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 Py_INCREF(Py_None
); resultobj
= Py_None
;
7406 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7408 wxMemoryFSHandler
*result
;
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
7428 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxString
*arg1
= 0 ;
7431 bool temp1
= False
;
7432 PyObject
* obj0
= 0 ;
7434 (char *) "filename", NULL
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7439 arg1
= wxString_in_helper(obj0
);
7440 if (arg1
== NULL
) SWIG_fail
;
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7445 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7447 wxPyEndAllowThreads(__tstate
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7450 Py_INCREF(Py_None
); resultobj
= Py_None
;
7465 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
;
7467 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7468 wxString
*arg2
= 0 ;
7470 bool temp2
= False
;
7471 PyObject
* obj0
= 0 ;
7472 PyObject
* obj1
= 0 ;
7474 (char *) "self",(char *) "location", NULL
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7480 arg2
= wxString_in_helper(obj1
);
7481 if (arg2
== NULL
) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7506 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
;
7508 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7509 wxFileSystem
*arg2
= 0 ;
7510 wxString
*arg3
= 0 ;
7512 bool temp3
= False
;
7513 PyObject
* obj0
= 0 ;
7514 PyObject
* obj1
= 0 ;
7515 PyObject
* obj2
= 0 ;
7517 (char *) "self",(char *) "fs",(char *) "location", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7524 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7527 arg3
= wxString_in_helper(obj2
);
7528 if (arg3
== NULL
) SWIG_fail
;
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= wxPyMake_wxObject(result
);
7555 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7558 wxString
*arg2
= 0 ;
7559 int arg3
= (int) 0 ;
7561 bool temp2
= False
;
7562 PyObject
* obj0
= 0 ;
7563 PyObject
* obj1
= 0 ;
7564 PyObject
* obj2
= 0 ;
7566 (char *) "self",(char *) "spec",(char *) "flags", NULL
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7572 arg2
= wxString_in_helper(obj1
);
7573 if (arg2
== NULL
) SWIG_fail
;
7578 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7584 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7586 wxPyEndAllowThreads(__tstate
);
7587 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7610 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7614 PyObject
* obj0
= 0 ;
7616 (char *) "self", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 result
= (arg1
)->FindNext();
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7632 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7641 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7644 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7646 return Py_BuildValue((char *)"");
7648 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
;
7650 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7654 (char *) "self", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
7658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 result
= (arg1
)->GetName();
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7679 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7685 (char *) "self", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
7689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (arg1
)->GetExtension();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7710 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7716 (char *) "self", NULL
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
7720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 result
= (long)(arg1
)->GetType();
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7728 resultobj
= SWIG_PyObj_FromLong((long)result
);
7735 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
;
7737 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7739 PyObject
* obj0
= 0 ;
7741 (char *) "self", NULL
7744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 result
= (arg1
)->GetMimeType();
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7766 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
*resultobj
;
7768 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7769 wxString
*arg2
= 0 ;
7771 bool temp2
= False
;
7772 PyObject
* obj0
= 0 ;
7773 PyObject
* obj1
= 0 ;
7775 (char *) "self",(char *) "name", NULL
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7781 arg2
= wxString_in_helper(obj1
);
7782 if (arg2
== NULL
) SWIG_fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7807 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7810 wxString
*arg2
= 0 ;
7811 bool temp2
= False
;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7815 (char *) "self",(char *) "name", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7821 arg2
= wxString_in_helper(obj1
);
7822 if (arg2
== NULL
) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 (arg1
)->SetName((wxString
const &)*arg2
);
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 Py_INCREF(Py_None
); resultobj
= Py_None
;
7847 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
*resultobj
;
7849 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7850 wxString
*arg2
= 0 ;
7851 bool temp2
= False
;
7852 PyObject
* obj0
= 0 ;
7853 PyObject
* obj1
= 0 ;
7855 (char *) "self",(char *) "extension", NULL
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7861 arg2
= wxString_in_helper(obj1
);
7862 if (arg2
== NULL
) SWIG_fail
;
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 (arg1
)->SetExtension((wxString
const &)*arg2
);
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7872 Py_INCREF(Py_None
); resultobj
= Py_None
;
7887 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7889 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7891 PyObject
* obj0
= 0 ;
7892 PyObject
* obj1
= 0 ;
7894 (char *) "self",(char *) "type", NULL
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
7898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7900 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 (arg1
)->SetType(arg2
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 Py_INCREF(Py_None
); resultobj
= Py_None
;
7917 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7919 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7920 wxString
*arg2
= 0 ;
7921 bool temp2
= False
;
7922 PyObject
* obj0
= 0 ;
7923 PyObject
* obj1
= 0 ;
7925 (char *) "self",(char *) "mimetype", NULL
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7931 arg2
= wxString_in_helper(obj1
);
7932 if (arg2
== NULL
) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 Py_INCREF(Py_None
); resultobj
= Py_None
;
7957 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7960 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7962 return Py_BuildValue((char *)"");
7964 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
;
7966 wxImageHistogram
*result
;
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (wxImageHistogram
*)new wxImageHistogram();
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7986 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7988 unsigned char arg1
;
7989 unsigned char arg2
;
7990 unsigned char arg3
;
7991 unsigned long result
;
7992 PyObject
* obj0
= 0 ;
7993 PyObject
* obj1
= 0 ;
7994 PyObject
* obj2
= 0 ;
7996 (char *) "r",(char *) "g",(char *) "b", NULL
7999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8001 arg1
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj0
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8005 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8009 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8019 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
8026 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
*resultobj
;
8028 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8029 unsigned char *arg2
= (unsigned char *) 0 ;
8030 unsigned char *arg3
= (unsigned char *) 0 ;
8031 unsigned char *arg4
= (unsigned char *) 0 ;
8032 unsigned char arg5
= (unsigned char) 1 ;
8033 unsigned char arg6
= (unsigned char) 0 ;
8034 unsigned char arg7
= (unsigned char) 0 ;
8036 unsigned char temp2
;
8037 unsigned char temp3
;
8038 unsigned char temp4
;
8039 PyObject
* obj0
= 0 ;
8040 PyObject
* obj1
= 0 ;
8041 PyObject
* obj2
= 0 ;
8042 PyObject
* obj3
= 0 ;
8044 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8054 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8060 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8066 arg7
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8079 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8080 resultobj
= t_output_helper(resultobj
,o
);
8083 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8084 resultobj
= t_output_helper(resultobj
,o
);
8087 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8088 resultobj
= t_output_helper(resultobj
,o
);
8096 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8099 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8101 return Py_BuildValue((char *)"");
8103 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8105 wxString
*arg1
= 0 ;
8106 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8107 int arg3
= (int) -1 ;
8109 bool temp1
= False
;
8110 PyObject
* obj0
= 0 ;
8111 PyObject
* obj1
= 0 ;
8112 PyObject
* obj2
= 0 ;
8114 (char *) "name",(char *) "type",(char *) "index", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8119 arg1
= wxString_in_helper(obj0
);
8120 if (arg1
== NULL
) SWIG_fail
;
8125 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8131 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8157 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxImage
*arg1
= (wxImage
*) 0 ;
8160 PyObject
* obj0
= 0 ;
8162 (char *) "self", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 Py_INCREF(Py_None
); resultobj
= Py_None
;
8181 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8182 PyObject
*resultobj
;
8183 wxString
*arg1
= 0 ;
8184 wxString
*arg2
= 0 ;
8185 int arg3
= (int) -1 ;
8187 bool temp1
= False
;
8188 bool temp2
= False
;
8189 PyObject
* obj0
= 0 ;
8190 PyObject
* obj1
= 0 ;
8191 PyObject
* obj2
= 0 ;
8193 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8198 arg1
= wxString_in_helper(obj0
);
8199 if (arg1
== NULL
) SWIG_fail
;
8203 arg2
= wxString_in_helper(obj1
);
8204 if (arg2
== NULL
) SWIG_fail
;
8209 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8243 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxInputStream
*arg1
= 0 ;
8246 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8247 int arg3
= (int) -1 ;
8249 wxPyInputStream
*temp1
;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8253 PyObject
* obj2
= 0 ;
8255 (char *) "stream",(char *) "type",(char *) "index", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8260 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8261 arg1
= temp1
->m_wxis
;
8264 PyErr_Clear(); // clear the failure of the wxPyConvert above
8265 arg1
= wxPyCBInputStream_create(obj0
, False
);
8267 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8275 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8281 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8307 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
*resultobj
;
8309 wxInputStream
*arg1
= 0 ;
8310 wxString
*arg2
= 0 ;
8311 int arg3
= (int) -1 ;
8313 wxPyInputStream
*temp1
;
8315 bool temp2
= False
;
8316 PyObject
* obj0
= 0 ;
8317 PyObject
* obj1
= 0 ;
8318 PyObject
* obj2
= 0 ;
8320 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8325 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8326 arg1
= temp1
->m_wxis
;
8329 PyErr_Clear(); // clear the failure of the wxPyConvert above
8330 arg1
= wxPyCBInputStream_create(obj0
, False
);
8332 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8339 arg2
= wxString_in_helper(obj1
);
8340 if (arg2
== NULL
) SWIG_fail
;
8345 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8356 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8379 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 int arg1
= (int) 0 ;
8382 int arg2
= (int) 0 ;
8383 bool arg3
= (bool) True
;
8385 PyObject
* obj0
= 0 ;
8386 PyObject
* obj1
= 0 ;
8387 PyObject
* obj2
= 0 ;
8389 (char *) "width",(char *) "height",(char *) "clear", NULL
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8395 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8401 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8407 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8425 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
;
8427 wxBitmap
*arg1
= 0 ;
8429 PyObject
* obj0
= 0 ;
8431 (char *) "bitmap", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8437 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8453 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8457 unsigned char *arg3
= (unsigned char *) 0 ;
8459 PyObject
* obj0
= 0 ;
8460 PyObject
* obj1
= 0 ;
8461 PyObject
* obj2
= 0 ;
8463 (char *) "width",(char *) "height",(char *) "data", NULL
8466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8468 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8472 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8490 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxImage
*arg1
= (wxImage
*) 0 ;
8495 PyObject
* obj0
= 0 ;
8496 PyObject
* obj1
= 0 ;
8497 PyObject
* obj2
= 0 ;
8499 (char *) "self",(char *) "width",(char *) "height", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8505 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8509 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 (arg1
)->Create(arg2
,arg3
);
8516 wxPyEndAllowThreads(__tstate
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8519 Py_INCREF(Py_None
); resultobj
= Py_None
;
8526 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
;
8528 wxImage
*arg1
= (wxImage
*) 0 ;
8529 PyObject
* obj0
= 0 ;
8531 (char *) "self", NULL
8534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8540 wxPyEndAllowThreads(__tstate
);
8541 if (PyErr_Occurred()) SWIG_fail
;
8543 Py_INCREF(Py_None
); resultobj
= Py_None
;
8550 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
*resultobj
;
8552 wxImage
*arg1
= (wxImage
*) 0 ;
8555 SwigValueWrapper
< wxImage
> result
;
8556 PyObject
* obj0
= 0 ;
8557 PyObject
* obj1
= 0 ;
8558 PyObject
* obj2
= 0 ;
8560 (char *) "self",(char *) "width",(char *) "height", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8566 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8570 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 result
= (arg1
)->Scale(arg2
,arg3
);
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8581 wxImage
* resultptr
;
8582 resultptr
= new wxImage((wxImage
&) result
);
8583 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8591 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
;
8593 wxImage
*arg1
= (wxImage
*) 0 ;
8596 SwigValueWrapper
< wxImage
> result
;
8597 PyObject
* obj0
= 0 ;
8598 PyObject
* obj1
= 0 ;
8599 PyObject
* obj2
= 0 ;
8601 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8607 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8611 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8622 wxImage
* resultptr
;
8623 resultptr
= new wxImage((wxImage
&) result
);
8624 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8632 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
;
8634 wxImage
*arg1
= (wxImage
*) 0 ;
8638 PyObject
* obj0
= 0 ;
8639 PyObject
* obj1
= 0 ;
8640 PyObject
* obj2
= 0 ;
8642 (char *) "self",(char *) "width",(char *) "height", NULL
8645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8648 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8652 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
8659 result
= (wxImage
*) &_result_ref
;
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
8672 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
*resultobj
;
8674 wxImage
*arg1
= (wxImage
*) 0 ;
8677 unsigned char arg4
;
8678 unsigned char arg5
;
8679 unsigned char arg6
;
8680 PyObject
* obj0
= 0 ;
8681 PyObject
* obj1
= 0 ;
8682 PyObject
* obj2
= 0 ;
8683 PyObject
* obj3
= 0 ;
8684 PyObject
* obj4
= 0 ;
8685 PyObject
* obj5
= 0 ;
8687 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8693 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8697 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8701 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8705 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj4
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8709 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj5
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 Py_INCREF(Py_None
); resultobj
= Py_None
;
8726 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxImage
*arg1
= (wxImage
*) 0 ;
8731 unsigned char result
;
8732 PyObject
* obj0
= 0 ;
8733 PyObject
* obj1
= 0 ;
8734 PyObject
* obj2
= 0 ;
8736 (char *) "self",(char *) "x",(char *) "y", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8742 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8746 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8763 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
;
8765 wxImage
*arg1
= (wxImage
*) 0 ;
8768 unsigned char result
;
8769 PyObject
* obj0
= 0 ;
8770 PyObject
* obj1
= 0 ;
8771 PyObject
* obj2
= 0 ;
8773 (char *) "self",(char *) "x",(char *) "y", NULL
8776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8779 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8783 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8800 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
;
8802 wxImage
*arg1
= (wxImage
*) 0 ;
8805 unsigned char result
;
8806 PyObject
* obj0
= 0 ;
8807 PyObject
* obj1
= 0 ;
8808 PyObject
* obj2
= 0 ;
8810 (char *) "self",(char *) "x",(char *) "y", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8816 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8820 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8837 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxImage
*arg1
= (wxImage
*) 0 ;
8842 unsigned char arg4
;
8843 PyObject
* obj0
= 0 ;
8844 PyObject
* obj1
= 0 ;
8845 PyObject
* obj2
= 0 ;
8846 PyObject
* obj3
= 0 ;
8848 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8854 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8858 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8862 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 Py_INCREF(Py_None
); resultobj
= Py_None
;
8879 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxImage
*arg1
= (wxImage
*) 0 ;
8884 unsigned char result
;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8887 PyObject
* obj2
= 0 ;
8889 (char *) "self",(char *) "x",(char *) "y", NULL
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8895 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8899 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8916 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxImage
*arg1
= (wxImage
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8922 (char *) "self", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 result
= (bool)(arg1
)->HasAlpha();
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8941 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxImage
*arg1
= (wxImage
*) 0 ;
8944 byte
*arg2
= (byte
*) 0 ;
8945 byte
*arg3
= (byte
*) 0 ;
8946 byte
*arg4
= (byte
*) 0 ;
8947 byte arg5
= (byte
) 0 ;
8948 byte arg6
= (byte
) 0 ;
8949 byte arg7
= (byte
) 0 ;
8954 PyObject
* obj0
= 0 ;
8955 PyObject
* obj1
= 0 ;
8956 PyObject
* obj2
= 0 ;
8957 PyObject
* obj3
= 0 ;
8959 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8969 arg5
= (byte
) SWIG_PyObj_AsUnsignedChar(obj1
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8975 arg6
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8981 arg7
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8994 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8995 resultobj
= t_output_helper(resultobj
,o
);
8998 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8999 resultobj
= t_output_helper(resultobj
,o
);
9002 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9003 resultobj
= t_output_helper(resultobj
,o
);
9011 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
*resultobj
;
9013 wxImage
*arg1
= (wxImage
*) 0 ;
9019 PyObject
* obj0
= 0 ;
9020 PyObject
* obj1
= 0 ;
9021 PyObject
* obj2
= 0 ;
9022 PyObject
* obj3
= 0 ;
9023 PyObject
* obj4
= 0 ;
9025 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9030 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9032 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9035 arg3
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9039 arg4
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9043 arg5
= (byte
) SWIG_PyObj_AsUnsignedChar(obj4
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9060 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
;
9062 wxString
*arg1
= 0 ;
9064 bool temp1
= False
;
9065 PyObject
* obj0
= 0 ;
9067 (char *) "name", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9072 arg1
= wxString_in_helper(obj0
);
9073 if (arg1
== NULL
) SWIG_fail
;
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9098 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxString
*arg1
= 0 ;
9101 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9103 bool temp1
= False
;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9107 (char *) "name",(char *) "type", NULL
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9112 arg1
= wxString_in_helper(obj0
);
9113 if (arg1
== NULL
) SWIG_fail
;
9118 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= SWIG_PyObj_FromInt((int)result
);
9144 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxImage
*arg1
= (wxImage
*) 0 ;
9147 wxString
*arg2
= 0 ;
9148 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9149 int arg4
= (int) -1 ;
9151 bool temp2
= False
;
9152 PyObject
* obj0
= 0 ;
9153 PyObject
* obj1
= 0 ;
9154 PyObject
* obj2
= 0 ;
9155 PyObject
* obj3
= 0 ;
9157 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9163 arg2
= wxString_in_helper(obj1
);
9164 if (arg2
== NULL
) SWIG_fail
;
9169 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9175 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9201 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
;
9203 wxImage
*arg1
= (wxImage
*) 0 ;
9204 wxString
*arg2
= 0 ;
9205 wxString
*arg3
= 0 ;
9206 int arg4
= (int) -1 ;
9208 bool temp2
= False
;
9209 bool temp3
= False
;
9210 PyObject
* obj0
= 0 ;
9211 PyObject
* obj1
= 0 ;
9212 PyObject
* obj2
= 0 ;
9213 PyObject
* obj3
= 0 ;
9215 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9221 arg2
= wxString_in_helper(obj1
);
9222 if (arg2
== NULL
) SWIG_fail
;
9226 arg3
= wxString_in_helper(obj2
);
9227 if (arg3
== NULL
) SWIG_fail
;
9232 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9266 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxImage
*arg1
= (wxImage
*) 0 ;
9269 wxString
*arg2
= 0 ;
9272 bool temp2
= False
;
9273 PyObject
* obj0
= 0 ;
9274 PyObject
* obj1
= 0 ;
9275 PyObject
* obj2
= 0 ;
9277 (char *) "self",(char *) "name",(char *) "type", NULL
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9283 arg2
= wxString_in_helper(obj1
);
9284 if (arg2
== NULL
) SWIG_fail
;
9288 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9313 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
;
9315 wxImage
*arg1
= (wxImage
*) 0 ;
9316 wxString
*arg2
= 0 ;
9317 wxString
*arg3
= 0 ;
9319 bool temp2
= False
;
9320 bool temp3
= False
;
9321 PyObject
* obj0
= 0 ;
9322 PyObject
* obj1
= 0 ;
9323 PyObject
* obj2
= 0 ;
9325 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9331 arg2
= wxString_in_helper(obj1
);
9332 if (arg2
== NULL
) SWIG_fail
;
9336 arg3
= wxString_in_helper(obj2
);
9337 if (arg3
== NULL
) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9370 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
*resultobj
;
9372 wxInputStream
*arg1
= 0 ;
9374 wxPyInputStream
*temp1
;
9376 PyObject
* obj0
= 0 ;
9378 (char *) "stream", NULL
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9383 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9384 arg1
= temp1
->m_wxis
;
9387 PyErr_Clear(); // clear the failure of the wxPyConvert above
9388 arg1
= wxPyCBInputStream_create(obj0
, False
);
9390 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 result
= (bool)wxImage::CanRead(*arg1
);
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9418 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
;
9420 wxImage
*arg1
= (wxImage
*) 0 ;
9421 wxInputStream
*arg2
= 0 ;
9422 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9423 int arg4
= (int) -1 ;
9425 wxPyInputStream
*temp2
;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 PyObject
* obj2
= 0 ;
9430 PyObject
* obj3
= 0 ;
9432 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9438 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9439 arg2
= temp2
->m_wxis
;
9442 PyErr_Clear(); // clear the failure of the wxPyConvert above
9443 arg2
= wxPyCBInputStream_create(obj1
, False
);
9445 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9453 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9459 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9485 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxImage
*arg1
= (wxImage
*) 0 ;
9488 wxInputStream
*arg2
= 0 ;
9489 wxString
*arg3
= 0 ;
9490 int arg4
= (int) -1 ;
9492 wxPyInputStream
*temp2
;
9494 bool temp3
= False
;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9497 PyObject
* obj2
= 0 ;
9498 PyObject
* obj3
= 0 ;
9500 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9506 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9507 arg2
= temp2
->m_wxis
;
9510 PyErr_Clear(); // clear the failure of the wxPyConvert above
9511 arg2
= wxPyCBInputStream_create(obj1
, False
);
9513 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9520 arg3
= wxString_in_helper(obj2
);
9521 if (arg3
== NULL
) SWIG_fail
;
9526 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9560 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
;
9562 wxImage
*arg1
= (wxImage
*) 0 ;
9564 PyObject
* obj0
= 0 ;
9566 (char *) "self", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= (bool)(arg1
)->Ok();
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9585 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxImage
*arg1
= (wxImage
*) 0 ;
9589 PyObject
* obj0
= 0 ;
9591 (char *) "self", NULL
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 result
= (int)(arg1
)->GetWidth();
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9603 resultobj
= SWIG_PyObj_FromInt((int)result
);
9610 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
*resultobj
;
9612 wxImage
*arg1
= (wxImage
*) 0 ;
9614 PyObject
* obj0
= 0 ;
9616 (char *) "self", NULL
9619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 result
= (int)(arg1
)->GetHeight();
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9628 resultobj
= SWIG_PyObj_FromInt((int)result
);
9635 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
;
9637 wxImage
*arg1
= (wxImage
*) 0 ;
9639 SwigValueWrapper
< wxImage
> result
;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9644 (char *) "self",(char *) "rect", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
9648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9651 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9661 wxImage
* resultptr
;
9662 resultptr
= new wxImage((wxImage
&) result
);
9663 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9671 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
*resultobj
;
9673 wxImage
*arg1
= (wxImage
*) 0 ;
9674 SwigValueWrapper
< wxImage
> result
;
9675 PyObject
* obj0
= 0 ;
9677 (char *) "self", NULL
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
9681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 result
= (arg1
)->Copy();
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9690 wxImage
* resultptr
;
9691 resultptr
= new wxImage((wxImage
&) result
);
9692 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9700 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
;
9702 wxImage
*arg1
= (wxImage
*) 0 ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9708 PyObject
* obj2
= 0 ;
9709 PyObject
* obj3
= 0 ;
9711 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9716 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9718 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9721 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9725 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 Py_INCREF(Py_None
); resultobj
= Py_None
;
9742 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9744 wxImage
*arg1
= (wxImage
*) 0 ;
9746 PyObject
* obj0
= 0 ;
9748 (char *) "self", NULL
9751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
9752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= (PyObject
*)wxImage_GetData(arg1
);
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9767 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
;
9769 wxImage
*arg1
= (wxImage
*) 0 ;
9770 PyObject
*arg2
= (PyObject
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9772 PyObject
* obj1
= 0 ;
9774 (char *) "self",(char *) "data", NULL
9777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
9778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 wxImage_SetData(arg1
,arg2
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 Py_INCREF(Py_None
); resultobj
= Py_None
;
9794 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
;
9796 wxImage
*arg1
= (wxImage
*) 0 ;
9798 PyObject
* obj0
= 0 ;
9800 (char *) "self", NULL
9803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
9804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9819 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
;
9821 wxImage
*arg1
= (wxImage
*) 0 ;
9822 PyObject
*arg2
= (PyObject
*) 0 ;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9826 (char *) "self",(char *) "data", NULL
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 wxImage_SetDataBuffer(arg1
,arg2
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 Py_INCREF(Py_None
); resultobj
= Py_None
;
9846 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
;
9848 wxImage
*arg1
= (wxImage
*) 0 ;
9850 PyObject
* obj0
= 0 ;
9852 (char *) "self", NULL
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
9856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9871 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 wxImage
*arg1
= (wxImage
*) 0 ;
9874 PyObject
*arg2
= (PyObject
*) 0 ;
9875 PyObject
* obj0
= 0 ;
9876 PyObject
* obj1
= 0 ;
9878 (char *) "self",(char *) "data", NULL
9881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
9882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 wxImage_SetAlphaData(arg1
,arg2
);
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 Py_INCREF(Py_None
); resultobj
= Py_None
;
9898 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9900 wxImage
*arg1
= (wxImage
*) 0 ;
9902 PyObject
* obj0
= 0 ;
9904 (char *) "self", NULL
9907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
9908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9923 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxImage
*arg1
= (wxImage
*) 0 ;
9926 PyObject
*arg2
= (PyObject
*) 0 ;
9927 PyObject
* obj0
= 0 ;
9928 PyObject
* obj1
= 0 ;
9930 (char *) "self",(char *) "data", NULL
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 wxImage_SetAlphaBuffer(arg1
,arg2
);
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9943 Py_INCREF(Py_None
); resultobj
= Py_None
;
9950 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
;
9952 wxImage
*arg1
= (wxImage
*) 0 ;
9953 unsigned char arg2
;
9954 unsigned char arg3
;
9955 unsigned char arg4
;
9956 PyObject
* obj0
= 0 ;
9957 PyObject
* obj1
= 0 ;
9958 PyObject
* obj2
= 0 ;
9959 PyObject
* obj3
= 0 ;
9961 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9967 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9971 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9975 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 Py_INCREF(Py_None
); resultobj
= Py_None
;
9992 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxImage
*arg1
= (wxImage
*) 0 ;
9995 unsigned char result
;
9996 PyObject
* obj0
= 0 ;
9998 (char *) "self", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= (unsigned char)(arg1
)->GetMaskRed();
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10017 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
;
10019 wxImage
*arg1
= (wxImage
*) 0 ;
10020 unsigned char result
;
10021 PyObject
* obj0
= 0 ;
10022 char *kwnames
[] = {
10023 (char *) "self", NULL
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 result
= (unsigned char)(arg1
)->GetMaskGreen();
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10035 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10042 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10043 PyObject
*resultobj
;
10044 wxImage
*arg1
= (wxImage
*) 0 ;
10045 unsigned char result
;
10046 PyObject
* obj0
= 0 ;
10047 char *kwnames
[] = {
10048 (char *) "self", NULL
10051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 result
= (unsigned char)(arg1
)->GetMaskBlue();
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10060 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10067 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
;
10069 wxImage
*arg1
= (wxImage
*) 0 ;
10070 bool arg2
= (bool) True
;
10071 PyObject
* obj0
= 0 ;
10072 PyObject
* obj1
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "self",(char *) "mask", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10081 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 (arg1
)->SetMask(arg2
);
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10092 Py_INCREF(Py_None
); resultobj
= Py_None
;
10099 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10101 wxImage
*arg1
= (wxImage
*) 0 ;
10103 PyObject
* obj0
= 0 ;
10104 char *kwnames
[] = {
10105 (char *) "self", NULL
10108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (bool)(arg1
)->HasMask();
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10124 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10125 PyObject
*resultobj
;
10126 wxImage
*arg1
= (wxImage
*) 0 ;
10128 wxPoint
*arg3
= 0 ;
10129 bool arg4
= (bool) True
;
10130 wxPoint
*arg5
= (wxPoint
*) NULL
;
10131 SwigValueWrapper
< wxImage
> result
;
10133 PyObject
* obj0
= 0 ;
10134 PyObject
* obj1
= 0 ;
10135 PyObject
* obj2
= 0 ;
10136 PyObject
* obj3
= 0 ;
10137 PyObject
* obj4
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10145 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10150 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10154 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10159 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10169 wxImage
* resultptr
;
10170 resultptr
= new wxImage((wxImage
&) result
);
10171 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10179 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxImage
*arg1
= (wxImage
*) 0 ;
10182 bool arg2
= (bool) True
;
10183 SwigValueWrapper
< wxImage
> result
;
10184 PyObject
* obj0
= 0 ;
10185 PyObject
* obj1
= 0 ;
10186 char *kwnames
[] = {
10187 (char *) "self",(char *) "clockwise", NULL
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10194 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 result
= (arg1
)->Rotate90(arg2
);
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10206 wxImage
* resultptr
;
10207 resultptr
= new wxImage((wxImage
&) result
);
10208 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10216 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
;
10218 wxImage
*arg1
= (wxImage
*) 0 ;
10219 bool arg2
= (bool) True
;
10220 SwigValueWrapper
< wxImage
> result
;
10221 PyObject
* obj0
= 0 ;
10222 PyObject
* obj1
= 0 ;
10223 char *kwnames
[] = {
10224 (char *) "self",(char *) "horizontally", NULL
10227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10231 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 result
= (arg1
)->Mirror(arg2
);
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10243 wxImage
* resultptr
;
10244 resultptr
= new wxImage((wxImage
&) result
);
10245 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10253 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
*resultobj
;
10255 wxImage
*arg1
= (wxImage
*) 0 ;
10256 unsigned char arg2
;
10257 unsigned char arg3
;
10258 unsigned char arg4
;
10259 unsigned char arg5
;
10260 unsigned char arg6
;
10261 unsigned char arg7
;
10262 PyObject
* obj0
= 0 ;
10263 PyObject
* obj1
= 0 ;
10264 PyObject
* obj2
= 0 ;
10265 PyObject
* obj3
= 0 ;
10266 PyObject
* obj4
= 0 ;
10267 PyObject
* obj5
= 0 ;
10268 PyObject
* obj6
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10276 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10280 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10284 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10288 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj4
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10292 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj5
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10296 arg7
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj6
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 Py_INCREF(Py_None
); resultobj
= Py_None
;
10313 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
;
10315 wxImage
*arg1
= (wxImage
*) 0 ;
10316 unsigned char arg2
;
10317 unsigned char arg3
;
10318 unsigned char arg4
;
10319 SwigValueWrapper
< wxImage
> result
;
10320 PyObject
* obj0
= 0 ;
10321 PyObject
* obj1
= 0 ;
10322 PyObject
* obj2
= 0 ;
10323 PyObject
* obj3
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10331 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10335 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10339 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10350 wxImage
* resultptr
;
10351 resultptr
= new wxImage((wxImage
&) result
);
10352 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10360 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxImage
*arg1
= (wxImage
*) 0 ;
10363 wxString
*arg2
= 0 ;
10364 wxString
*arg3
= 0 ;
10365 bool temp2
= False
;
10366 bool temp3
= False
;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 PyObject
* obj2
= 0 ;
10370 char *kwnames
[] = {
10371 (char *) "self",(char *) "name",(char *) "value", NULL
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10377 arg2
= wxString_in_helper(obj1
);
10378 if (arg2
== NULL
) SWIG_fail
;
10382 arg3
= wxString_in_helper(obj2
);
10383 if (arg3
== NULL
) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 Py_INCREF(Py_None
); resultobj
= Py_None
;
10416 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10418 wxImage
*arg1
= (wxImage
*) 0 ;
10419 wxString
*arg2
= 0 ;
10421 bool temp2
= False
;
10422 PyObject
* obj0
= 0 ;
10423 PyObject
* obj1
= 0 ;
10424 PyObject
* obj2
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self",(char *) "name",(char *) "value", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10432 arg2
= wxString_in_helper(obj1
);
10433 if (arg2
== NULL
) SWIG_fail
;
10437 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10447 Py_INCREF(Py_None
); resultobj
= Py_None
;
10462 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxImage
*arg1
= (wxImage
*) 0 ;
10465 wxString
*arg2
= 0 ;
10467 bool temp2
= False
;
10468 PyObject
* obj0
= 0 ;
10469 PyObject
* obj1
= 0 ;
10470 char *kwnames
[] = {
10471 (char *) "self",(char *) "name", NULL
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10477 arg2
= wxString_in_helper(obj1
);
10478 if (arg2
== NULL
) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10509 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
;
10511 wxImage
*arg1
= (wxImage
*) 0 ;
10512 wxString
*arg2
= 0 ;
10514 bool temp2
= False
;
10515 PyObject
* obj0
= 0 ;
10516 PyObject
* obj1
= 0 ;
10517 char *kwnames
[] = {
10518 (char *) "self",(char *) "name", NULL
10521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10524 arg2
= wxString_in_helper(obj1
);
10525 if (arg2
== NULL
) SWIG_fail
;
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_PyObj_FromInt((int)result
);
10550 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
;
10552 wxImage
*arg1
= (wxImage
*) 0 ;
10553 wxString
*arg2
= 0 ;
10555 bool temp2
= False
;
10556 PyObject
* obj0
= 0 ;
10557 PyObject
* obj1
= 0 ;
10558 char *kwnames
[] = {
10559 (char *) "self",(char *) "name", NULL
10562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10565 arg2
= wxString_in_helper(obj1
);
10566 if (arg2
== NULL
) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10591 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10593 wxImage
*arg1
= (wxImage
*) 0 ;
10594 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10595 unsigned long result
;
10596 PyObject
* obj0
= 0 ;
10597 PyObject
* obj1
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self",(char *) "stopafter", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10606 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
10624 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
;
10626 wxImage
*arg1
= (wxImage
*) 0 ;
10627 wxImageHistogram
*arg2
= 0 ;
10628 unsigned long result
;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 char *kwnames
[] = {
10632 (char *) "self",(char *) "h", NULL
10635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
10636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10637 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10638 if (arg2
== NULL
) {
10639 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
10655 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10658 PyObject
* obj0
= 0 ;
10659 char *kwnames
[] = {
10660 (char *) "handler", NULL
10663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
10664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 wxImage::AddHandler(arg1
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 Py_INCREF(Py_None
); resultobj
= Py_None
;
10679 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10681 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10682 PyObject
* obj0
= 0 ;
10683 char *kwnames
[] = {
10684 (char *) "handler", NULL
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
10688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 wxImage::InsertHandler(arg1
);
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10696 Py_INCREF(Py_None
); resultobj
= Py_None
;
10703 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
;
10705 wxString
*arg1
= 0 ;
10707 bool temp1
= False
;
10708 PyObject
* obj0
= 0 ;
10709 char *kwnames
[] = {
10710 (char *) "name", NULL
10713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
10715 arg1
= wxString_in_helper(obj0
);
10716 if (arg1
== NULL
) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10741 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
;
10744 char *kwnames
[] = {
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 result
= wxImage::GetImageExtWildcard();
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10769 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxImage
*arg1
= (wxImage
*) 0 ;
10773 PyObject
* obj0
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
10779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 result
= wxImage_ConvertToBitmap(arg1
);
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10788 wxBitmap
* resultptr
;
10789 resultptr
= new wxBitmap((wxBitmap
&) result
);
10790 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
10798 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
;
10800 wxImage
*arg1
= (wxImage
*) 0 ;
10801 unsigned char arg2
;
10802 unsigned char arg3
;
10803 unsigned char arg4
;
10805 PyObject
* obj0
= 0 ;
10806 PyObject
* obj1
= 0 ;
10807 PyObject
* obj2
= 0 ;
10808 PyObject
* obj3
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10816 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10820 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10824 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10835 wxBitmap
* resultptr
;
10836 resultptr
= new wxBitmap((wxBitmap
&) result
);
10837 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
10845 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
10847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10848 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
10850 return Py_BuildValue((char *)"");
10852 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
;
10854 char *kwnames
[] = {
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 wxInitAllImageHandlers();
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 Py_INCREF(Py_None
); resultobj
= Py_None
;
10873 static int _wrap_NullImage_set(PyObject
*) {
10874 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
10879 static PyObject
*_wrap_NullImage_get() {
10882 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
10887 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
10888 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
10893 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
10898 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
10900 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
10907 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
10908 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
10913 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
10918 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10920 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10927 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
10928 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
10933 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
10938 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10940 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10947 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
10948 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
10953 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
10958 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10960 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10967 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
10968 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
10973 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
10978 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10980 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10987 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
;
10989 wxBMPHandler
*result
;
10990 char *kwnames
[] = {
10994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 result
= (wxBMPHandler
*)new wxBMPHandler();
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
11009 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11012 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11014 return Py_BuildValue((char *)"");
11016 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxICOHandler
*result
;
11019 char *kwnames
[] = {
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (wxICOHandler
*)new wxICOHandler();
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
11038 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11041 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11043 return Py_BuildValue((char *)"");
11045 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 wxCURHandler
*result
;
11048 char *kwnames
[] = {
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 result
= (wxCURHandler
*)new wxCURHandler();
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11060 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
11067 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11070 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11072 return Py_BuildValue((char *)"");
11074 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
;
11076 wxANIHandler
*result
;
11077 char *kwnames
[] = {
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 result
= (wxANIHandler
*)new wxANIHandler();
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11089 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
11096 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11099 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11101 return Py_BuildValue((char *)"");
11103 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
;
11105 wxPNGHandler
*result
;
11106 char *kwnames
[] = {
11110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= (wxPNGHandler
*)new wxPNGHandler();
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
11125 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11128 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11130 return Py_BuildValue((char *)"");
11132 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
*resultobj
;
11134 wxGIFHandler
*result
;
11135 char *kwnames
[] = {
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 result
= (wxGIFHandler
*)new wxGIFHandler();
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
11154 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11157 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11159 return Py_BuildValue((char *)"");
11161 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 wxPCXHandler
*result
;
11164 char *kwnames
[] = {
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (wxPCXHandler
*)new wxPCXHandler();
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
11183 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11186 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11188 return Py_BuildValue((char *)"");
11190 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
;
11192 wxJPEGHandler
*result
;
11193 char *kwnames
[] = {
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
11212 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11215 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11217 return Py_BuildValue((char *)"");
11219 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxPNMHandler
*result
;
11222 char *kwnames
[] = {
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 result
= (wxPNMHandler
*)new wxPNMHandler();
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
11241 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11244 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11246 return Py_BuildValue((char *)"");
11248 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
;
11250 wxXPMHandler
*result
;
11251 char *kwnames
[] = {
11255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 result
= (wxXPMHandler
*)new wxXPMHandler();
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11263 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
11270 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11273 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11275 return Py_BuildValue((char *)"");
11277 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
;
11279 wxTIFFHandler
*result
;
11280 char *kwnames
[] = {
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
11299 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11302 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11304 return Py_BuildValue((char *)"");
11306 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11307 PyObject
*resultobj
;
11308 wxEvtHandler
*result
;
11309 char *kwnames
[] = {
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 result
= (wxEvtHandler
*)new wxEvtHandler();
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11322 resultobj
= wxPyMake_wxObject(result
);
11330 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11331 PyObject
*resultobj
;
11332 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11333 wxEvtHandler
*result
;
11334 PyObject
* obj0
= 0 ;
11335 char *kwnames
[] = {
11336 (char *) "self", NULL
11339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= wxPyMake_wxObject(result
);
11357 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11360 wxEvtHandler
*result
;
11361 PyObject
* obj0
= 0 ;
11362 char *kwnames
[] = {
11363 (char *) "self", NULL
11366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= wxPyMake_wxObject(result
);
11384 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
;
11386 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11387 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 PyObject
* obj1
= 0 ;
11390 char *kwnames
[] = {
11391 (char *) "self",(char *) "handler", NULL
11394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11396 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11399 (arg1
)->SetNextHandler(arg2
);
11401 wxPyEndAllowThreads(__tstate
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11404 Py_INCREF(Py_None
); resultobj
= Py_None
;
11411 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11412 PyObject
*resultobj
;
11413 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11414 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "self",(char *) "handler", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11423 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 (arg1
)->SetPreviousHandler(arg2
);
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11431 Py_INCREF(Py_None
); resultobj
= Py_None
;
11438 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11439 PyObject
*resultobj
;
11440 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11442 PyObject
* obj0
= 0 ;
11443 char *kwnames
[] = {
11444 (char *) "self", NULL
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11453 wxPyEndAllowThreads(__tstate
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11463 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11464 PyObject
*resultobj
;
11465 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11467 PyObject
* obj0
= 0 ;
11468 PyObject
* obj1
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "self",(char *) "enabled", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11476 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 (arg1
)->SetEvtHandlerEnabled(arg2
);
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 Py_INCREF(Py_None
); resultobj
= Py_None
;
11493 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11494 PyObject
*resultobj
;
11495 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11496 wxEvent
*arg2
= 0 ;
11498 PyObject
* obj0
= 0 ;
11499 PyObject
* obj1
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self",(char *) "event", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11506 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11507 if (arg2
== NULL
) {
11508 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11524 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11527 wxEvent
*arg2
= 0 ;
11528 PyObject
* obj0
= 0 ;
11529 PyObject
* obj1
= 0 ;
11530 char *kwnames
[] = {
11531 (char *) "self",(char *) "event", NULL
11534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11536 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11537 if (arg2
== NULL
) {
11538 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 (arg1
)->AddPendingEvent(*arg2
);
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 Py_INCREF(Py_None
); resultobj
= Py_None
;
11554 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
;
11556 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11557 PyObject
* obj0
= 0 ;
11558 char *kwnames
[] = {
11559 (char *) "self", NULL
11562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 (arg1
)->ProcessPendingEvents();
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11571 Py_INCREF(Py_None
); resultobj
= Py_None
;
11578 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11579 PyObject
*resultobj
;
11580 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11584 PyObject
*arg5
= (PyObject
*) 0 ;
11585 PyObject
* obj0
= 0 ;
11586 PyObject
* obj1
= 0 ;
11587 PyObject
* obj2
= 0 ;
11588 PyObject
* obj3
= 0 ;
11589 PyObject
* obj4
= 0 ;
11590 char *kwnames
[] = {
11591 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11597 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11601 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11605 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11616 Py_INCREF(Py_None
); resultobj
= Py_None
;
11623 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11627 int arg3
= (int) -1 ;
11628 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
11630 PyObject
* obj0
= 0 ;
11631 PyObject
* obj1
= 0 ;
11632 PyObject
* obj2
= 0 ;
11633 PyObject
* obj3
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11641 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11646 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11652 arg4
= (wxEventType
) SWIG_PyObj_AsInt(obj3
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11670 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11673 PyObject
*arg2
= (PyObject
*) 0 ;
11674 PyObject
* obj0
= 0 ;
11675 PyObject
* obj1
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self",(char *) "_self", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
11681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 wxEvtHandler__setOORInfo(arg1
,arg2
);
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11690 Py_INCREF(Py_None
); resultobj
= Py_None
;
11697 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11700 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
11702 return Py_BuildValue((char *)"");
11704 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
*resultobj
;
11706 wxEventType result
;
11707 char *kwnames
[] = {
11711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (wxEventType
)wxNewEventType();
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= SWIG_PyObj_FromInt((int)result
);
11726 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
;
11728 wxEvent
*arg1
= (wxEvent
*) 0 ;
11729 PyObject
* obj0
= 0 ;
11730 char *kwnames
[] = {
11731 (char *) "self", NULL
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
11735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 Py_INCREF(Py_None
); resultobj
= Py_None
;
11750 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
;
11752 wxEvent
*arg1
= (wxEvent
*) 0 ;
11754 PyObject
* obj0
= 0 ;
11755 PyObject
* obj1
= 0 ;
11756 char *kwnames
[] = {
11757 (char *) "self",(char *) "typ", NULL
11760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
11761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11763 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 (arg1
)->SetEventType(arg2
);
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11773 Py_INCREF(Py_None
); resultobj
= Py_None
;
11780 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
;
11782 wxEvent
*arg1
= (wxEvent
*) 0 ;
11783 wxEventType result
;
11784 PyObject
* obj0
= 0 ;
11785 char *kwnames
[] = {
11786 (char *) "self", NULL
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
11790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= SWIG_PyObj_FromInt((int)result
);
11805 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 wxEvent
*arg1
= (wxEvent
*) 0 ;
11809 PyObject
* obj0
= 0 ;
11810 char *kwnames
[] = {
11811 (char *) "self", NULL
11814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
11815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11824 resultobj
= wxPyMake_wxObject(result
);
11832 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11833 PyObject
*resultobj
;
11834 wxEvent
*arg1
= (wxEvent
*) 0 ;
11835 wxObject
*arg2
= (wxObject
*) 0 ;
11836 PyObject
* obj0
= 0 ;
11837 PyObject
* obj1
= 0 ;
11838 char *kwnames
[] = {
11839 (char *) "self",(char *) "obj", NULL
11842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
11843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11844 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 (arg1
)->SetEventObject(arg2
);
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 Py_INCREF(Py_None
); resultobj
= Py_None
;
11859 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
;
11861 wxEvent
*arg1
= (wxEvent
*) 0 ;
11863 PyObject
* obj0
= 0 ;
11864 char *kwnames
[] = {
11865 (char *) "self", NULL
11868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
11869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
11874 wxPyEndAllowThreads(__tstate
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11877 resultobj
= SWIG_PyObj_FromLong((long)result
);
11884 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11885 PyObject
*resultobj
;
11886 wxEvent
*arg1
= (wxEvent
*) 0 ;
11887 long arg2
= (long) 0 ;
11888 PyObject
* obj0
= 0 ;
11889 PyObject
* obj1
= 0 ;
11890 char *kwnames
[] = {
11891 (char *) "self",(char *) "ts", NULL
11894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
11895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11898 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 (arg1
)->SetTimestamp(arg2
);
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11909 Py_INCREF(Py_None
); resultobj
= Py_None
;
11916 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
;
11918 wxEvent
*arg1
= (wxEvent
*) 0 ;
11920 PyObject
* obj0
= 0 ;
11921 char *kwnames
[] = {
11922 (char *) "self", NULL
11925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
11926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= (int)((wxEvent
const *)arg1
)->GetId();
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= SWIG_PyObj_FromInt((int)result
);
11941 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
;
11943 wxEvent
*arg1
= (wxEvent
*) 0 ;
11945 PyObject
* obj0
= 0 ;
11946 PyObject
* obj1
= 0 ;
11947 char *kwnames
[] = {
11948 (char *) "self",(char *) "Id", NULL
11951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
11952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11954 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 (arg1
)->SetId(arg2
);
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11964 Py_INCREF(Py_None
); resultobj
= Py_None
;
11971 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
;
11973 wxEvent
*arg1
= (wxEvent
*) 0 ;
11975 PyObject
* obj0
= 0 ;
11976 char *kwnames
[] = {
11977 (char *) "self", NULL
11980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
11981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11984 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11996 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
;
11998 wxEvent
*arg1
= (wxEvent
*) 0 ;
11999 bool arg2
= (bool) True
;
12000 PyObject
* obj0
= 0 ;
12001 PyObject
* obj1
= 0 ;
12002 char *kwnames
[] = {
12003 (char *) "self",(char *) "skip", NULL
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12010 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 (arg1
)->Skip(arg2
);
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12021 Py_INCREF(Py_None
); resultobj
= Py_None
;
12028 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12029 PyObject
*resultobj
;
12030 wxEvent
*arg1
= (wxEvent
*) 0 ;
12032 PyObject
* obj0
= 0 ;
12033 char *kwnames
[] = {
12034 (char *) "self", NULL
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12053 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxEvent
*arg1
= (wxEvent
*) 0 ;
12057 PyObject
* obj0
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12066 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12078 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
;
12080 wxEvent
*arg1
= (wxEvent
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 result
= (int)(arg1
)->StopPropagation();
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 resultobj
= SWIG_PyObj_FromInt((int)result
);
12103 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxEvent
*arg1
= (wxEvent
*) 0 ;
12107 PyObject
* obj0
= 0 ;
12108 PyObject
* obj1
= 0 ;
12109 char *kwnames
[] = {
12110 (char *) "self",(char *) "propagationLevel", NULL
12113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12116 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 (arg1
)->ResumePropagation(arg2
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 Py_INCREF(Py_None
); resultobj
= Py_None
;
12133 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxEvent
*arg1
= (wxEvent
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 result
= (wxEvent
*)(arg1
)->Clone();
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
12158 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12161 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12163 return Py_BuildValue((char *)"");
12165 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxEvent
*arg1
= 0 ;
12168 wxPropagationDisabler
*result
;
12169 PyObject
* obj0
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "event", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12176 if (arg1
== NULL
) {
12177 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
12193 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
;
12195 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12196 PyObject
* obj0
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "self", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 Py_INCREF(Py_None
); resultobj
= Py_None
;
12217 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12220 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12222 return Py_BuildValue((char *)"");
12224 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxEvent
*arg1
= 0 ;
12227 wxPropagateOnce
*result
;
12228 PyObject
* obj0
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "event", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12235 if (arg1
== NULL
) {
12236 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12245 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
12252 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
;
12254 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12269 Py_INCREF(Py_None
); resultobj
= Py_None
;
12276 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12279 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12281 return Py_BuildValue((char *)"");
12283 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
;
12285 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12286 int arg2
= (int) 0 ;
12287 wxCommandEvent
*result
;
12288 PyObject
* obj0
= 0 ;
12289 PyObject
* obj1
= 0 ;
12290 char *kwnames
[] = {
12291 (char *) "commandType",(char *) "winid", NULL
12294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12297 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12303 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
12321 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12325 PyObject
* obj0
= 0 ;
12326 char *kwnames
[] = {
12327 (char *) "self", NULL
12330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= SWIG_PyObj_FromInt((int)result
);
12346 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
;
12348 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12349 wxString
*arg2
= 0 ;
12350 bool temp2
= False
;
12351 PyObject
* obj0
= 0 ;
12352 PyObject
* obj1
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self",(char *) "s", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12360 arg2
= wxString_in_helper(obj1
);
12361 if (arg2
== NULL
) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 (arg1
)->SetString((wxString
const &)*arg2
);
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 Py_INCREF(Py_None
); resultobj
= Py_None
;
12386 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12390 PyObject
* obj0
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12417 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12421 PyObject
* obj0
= 0 ;
12422 char *kwnames
[] = {
12423 (char *) "self", NULL
12426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12442 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12443 PyObject
*resultobj
;
12444 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12446 PyObject
* obj0
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12467 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12468 PyObject
*resultobj
;
12469 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12471 PyObject
* obj0
= 0 ;
12472 PyObject
* obj1
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self",(char *) "extraLong", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12480 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 (arg1
)->SetExtraLong(arg2
);
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12490 Py_INCREF(Py_None
); resultobj
= Py_None
;
12497 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
;
12499 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12501 PyObject
* obj0
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "self", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= SWIG_PyObj_FromLong((long)result
);
12522 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
;
12524 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12526 PyObject
* obj0
= 0 ;
12527 PyObject
* obj1
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self",(char *) "i", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12535 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 (arg1
)->SetInt(arg2
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 Py_INCREF(Py_None
); resultobj
= Py_None
;
12552 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
;
12554 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12556 PyObject
* obj0
= 0 ;
12557 char *kwnames
[] = {
12558 (char *) "self", NULL
12561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= SWIG_PyObj_FromLong((long)result
);
12577 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
;
12579 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12581 PyObject
* obj0
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12595 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
12602 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12605 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
12607 return Py_BuildValue((char *)"");
12609 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
;
12611 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12612 int arg2
= (int) 0 ;
12613 wxNotifyEvent
*result
;
12614 PyObject
* obj0
= 0 ;
12615 PyObject
* obj1
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "commandType",(char *) "winid", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12623 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12629 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
12647 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
;
12649 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12650 PyObject
* obj0
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12664 Py_INCREF(Py_None
); resultobj
= Py_None
;
12671 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12672 PyObject
*resultobj
;
12673 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12674 PyObject
* obj0
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
12680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 Py_INCREF(Py_None
); resultobj
= Py_None
;
12695 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
;
12697 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12699 PyObject
* obj0
= 0 ;
12700 char *kwnames
[] = {
12701 (char *) "self", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
12705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= (bool)(arg1
)->IsAllowed();
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12720 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12723 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
12725 return Py_BuildValue((char *)"");
12727 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
;
12729 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12730 int arg2
= (int) 0 ;
12731 int arg3
= (int) 0 ;
12732 int arg4
= (int) 0 ;
12733 wxScrollEvent
*result
;
12734 PyObject
* obj0
= 0 ;
12735 PyObject
* obj1
= 0 ;
12736 PyObject
* obj2
= 0 ;
12737 PyObject
* obj3
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12745 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12751 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12757 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12763 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
12781 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
;
12783 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12785 PyObject
* obj0
= 0 ;
12786 char *kwnames
[] = {
12787 (char *) "self", NULL
12790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
12791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= SWIG_PyObj_FromInt((int)result
);
12806 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12810 PyObject
* obj0
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12824 resultobj
= SWIG_PyObj_FromInt((int)result
);
12831 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12832 PyObject
*resultobj
;
12833 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12835 PyObject
* obj0
= 0 ;
12836 PyObject
* obj1
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "self",(char *) "orient", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
12842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12844 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12849 (arg1
)->SetOrientation(arg2
);
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12854 Py_INCREF(Py_None
); resultobj
= Py_None
;
12861 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
;
12863 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12865 PyObject
* obj0
= 0 ;
12866 PyObject
* obj1
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "self",(char *) "pos", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12874 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 (arg1
)->SetPosition(arg2
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 Py_INCREF(Py_None
); resultobj
= Py_None
;
12891 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12894 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
12896 return Py_BuildValue((char *)"");
12898 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12901 int arg2
= (int) 0 ;
12902 int arg3
= (int) 0 ;
12903 wxScrollWinEvent
*result
;
12904 PyObject
* obj0
= 0 ;
12905 PyObject
* obj1
= 0 ;
12906 PyObject
* obj2
= 0 ;
12907 char *kwnames
[] = {
12908 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
12911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12914 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12920 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12926 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
12944 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
;
12946 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12948 PyObject
* obj0
= 0 ;
12949 char *kwnames
[] = {
12950 (char *) "self", NULL
12953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
12954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_PyObj_FromInt((int)result
);
12969 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 resultobj
= SWIG_PyObj_FromInt((int)result
);
12994 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self",(char *) "orient", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13007 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 (arg1
)->SetOrientation(arg2
);
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 Py_INCREF(Py_None
); resultobj
= Py_None
;
13024 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
;
13026 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13028 PyObject
* obj0
= 0 ;
13029 PyObject
* obj1
= 0 ;
13030 char *kwnames
[] = {
13031 (char *) "self",(char *) "pos", NULL
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13037 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 (arg1
)->SetPosition(arg2
);
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13047 Py_INCREF(Py_None
); resultobj
= Py_None
;
13054 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13057 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13059 return Py_BuildValue((char *)"");
13061 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
;
13063 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13064 wxMouseEvent
*result
;
13065 PyObject
* obj0
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "mouseType", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13073 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13085 resultobj
= wxPyMake_wxObject(result
);
13093 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
;
13095 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13097 PyObject
* obj0
= 0 ;
13098 char *kwnames
[] = {
13099 (char *) "self", NULL
13102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13118 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13121 int arg2
= (int) wxMOUSE_BTN_ANY
;
13123 PyObject
* obj0
= 0 ;
13124 PyObject
* obj1
= 0 ;
13125 char *kwnames
[] = {
13126 (char *) "self",(char *) "but", NULL
13129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13133 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13151 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
;
13153 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13154 int arg2
= (int) wxMOUSE_BTN_ANY
;
13156 PyObject
* obj0
= 0 ;
13157 PyObject
* obj1
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "self",(char *) "but", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13166 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13184 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
;
13186 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13187 int arg2
= (int) wxMOUSE_BTN_ANY
;
13189 PyObject
* obj0
= 0 ;
13190 PyObject
* obj1
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "self",(char *) "but", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13199 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13217 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13222 PyObject
* obj0
= 0 ;
13223 PyObject
* obj1
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self",(char *) "but", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13231 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13248 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 char *kwnames
[] = {
13256 (char *) "self",(char *) "but", NULL
13259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13262 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13279 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13283 PyObject
* obj0
= 0 ;
13284 char *kwnames
[] = {
13285 (char *) "self", NULL
13288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= SWIG_PyObj_FromInt((int)result
);
13304 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13305 PyObject
*resultobj
;
13306 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13308 PyObject
* obj0
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self", NULL
13313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13329 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
;
13331 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13333 PyObject
* obj0
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13354 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13358 PyObject
* obj0
= 0 ;
13359 char *kwnames
[] = {
13360 (char *) "self", NULL
13363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13379 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13404 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13405 PyObject
*resultobj
;
13406 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13408 PyObject
* obj0
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13429 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13430 PyObject
*resultobj
;
13431 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13433 PyObject
* obj0
= 0 ;
13434 char *kwnames
[] = {
13435 (char *) "self", NULL
13438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13454 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13458 PyObject
* obj0
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13479 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13480 PyObject
*resultobj
;
13481 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13483 PyObject
* obj0
= 0 ;
13484 char *kwnames
[] = {
13485 (char *) "self", NULL
13488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13504 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13508 PyObject
* obj0
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13529 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
*resultobj
;
13531 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13533 PyObject
* obj0
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "self", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13554 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
;
13556 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13558 PyObject
* obj0
= 0 ;
13559 char *kwnames
[] = {
13560 (char *) "self", NULL
13563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
13564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13579 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13580 PyObject
*resultobj
;
13581 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13583 PyObject
* obj0
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
13589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
13594 wxPyEndAllowThreads(__tstate
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13604 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13605 PyObject
*resultobj
;
13606 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13608 PyObject
* obj0
= 0 ;
13609 char *kwnames
[] = {
13610 (char *) "self", NULL
13613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
13614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13629 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13630 PyObject
*resultobj
;
13631 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13633 PyObject
* obj0
= 0 ;
13634 char *kwnames
[] = {
13635 (char *) "self", NULL
13638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
13639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 result
= (bool)(arg1
)->LeftIsDown();
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13654 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13655 PyObject
*resultobj
;
13656 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 char *kwnames
[] = {
13660 (char *) "self", NULL
13663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
13664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 result
= (bool)(arg1
)->MiddleIsDown();
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13679 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
;
13681 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13683 PyObject
* obj0
= 0 ;
13684 char *kwnames
[] = {
13685 (char *) "self", NULL
13688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
13689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 result
= (bool)(arg1
)->RightIsDown();
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13704 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13708 PyObject
* obj0
= 0 ;
13709 char *kwnames
[] = {
13710 (char *) "self", NULL
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
13714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13729 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
;
13731 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13733 PyObject
* obj0
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "self", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
13739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13754 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13755 PyObject
*resultobj
;
13756 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13758 PyObject
* obj0
= 0 ;
13759 char *kwnames
[] = {
13760 (char *) "self", NULL
13763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
13764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13779 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13780 PyObject
*resultobj
;
13781 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13783 PyObject
* obj0
= 0 ;
13784 char *kwnames
[] = {
13785 (char *) "self", NULL
13788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
13789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13804 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13808 PyObject
* obj0
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 result
= (arg1
)->GetPosition();
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13823 wxPoint
* resultptr
;
13824 resultptr
= new wxPoint((wxPoint
&) result
);
13825 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13833 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
;
13835 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13836 long *arg2
= (long *) 0 ;
13837 long *arg3
= (long *) 0 ;
13840 PyObject
* obj0
= 0 ;
13841 char *kwnames
[] = {
13842 (char *) "self", NULL
13847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
13848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13851 (arg1
)->GetPosition(arg2
,arg3
);
13853 wxPyEndAllowThreads(__tstate
);
13854 if (PyErr_Occurred()) SWIG_fail
;
13856 Py_INCREF(Py_None
); resultobj
= Py_None
;
13858 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13859 resultobj
= t_output_helper(resultobj
,o
);
13862 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13863 resultobj
= t_output_helper(resultobj
,o
);
13871 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13872 PyObject
*resultobj
;
13873 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13876 PyObject
* obj0
= 0 ;
13877 PyObject
* obj1
= 0 ;
13878 char *kwnames
[] = {
13879 (char *) "self",(char *) "dc", NULL
13882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13884 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13885 if (arg2
== NULL
) {
13886 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13896 wxPoint
* resultptr
;
13897 resultptr
= new wxPoint((wxPoint
&) result
);
13898 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13906 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
;
13908 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13910 PyObject
* obj0
= 0 ;
13911 char *kwnames
[] = {
13912 (char *) "self", NULL
13915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
13916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13924 resultobj
= SWIG_PyObj_FromInt((int)result
);
13931 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
;
13933 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13935 PyObject
* obj0
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "self", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13944 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= SWIG_PyObj_FromInt((int)result
);
13956 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13957 PyObject
*resultobj
;
13958 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13960 PyObject
* obj0
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
13966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13974 resultobj
= SWIG_PyObj_FromInt((int)result
);
13981 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13982 PyObject
*resultobj
;
13983 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13985 PyObject
* obj0
= 0 ;
13986 char *kwnames
[] = {
13987 (char *) "self", NULL
13990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
13991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= SWIG_PyObj_FromInt((int)result
);
14006 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
;
14008 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14010 PyObject
* obj0
= 0 ;
14011 char *kwnames
[] = {
14012 (char *) "self", NULL
14015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14019 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14021 wxPyEndAllowThreads(__tstate
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14024 resultobj
= SWIG_PyObj_FromInt((int)result
);
14031 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14032 PyObject
*resultobj
;
14033 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14035 PyObject
* obj0
= 0 ;
14036 char *kwnames
[] = {
14037 (char *) "self", NULL
14040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14056 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14060 PyObject
* obj0
= 0 ;
14061 PyObject
* obj1
= 0 ;
14062 char *kwnames
[] = {
14063 (char *) "self",(char *) "m_x", NULL
14066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14069 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 if (arg1
) (arg1
)->m_x
= arg2
;
14074 Py_INCREF(Py_None
); resultobj
= Py_None
;
14081 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14082 PyObject
*resultobj
;
14083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14085 PyObject
* obj0
= 0 ;
14086 char *kwnames
[] = {
14087 (char *) "self", NULL
14090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14092 result
= (int) ((arg1
)->m_x
);
14094 resultobj
= SWIG_PyObj_FromInt((int)result
);
14101 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14102 PyObject
*resultobj
;
14103 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14105 PyObject
* obj0
= 0 ;
14106 PyObject
* obj1
= 0 ;
14107 char *kwnames
[] = {
14108 (char *) "self",(char *) "m_y", NULL
14111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14114 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14117 if (arg1
) (arg1
)->m_y
= arg2
;
14119 Py_INCREF(Py_None
); resultobj
= Py_None
;
14126 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14127 PyObject
*resultobj
;
14128 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14130 PyObject
* obj0
= 0 ;
14131 char *kwnames
[] = {
14132 (char *) "self", NULL
14135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14137 result
= (int) ((arg1
)->m_y
);
14139 resultobj
= SWIG_PyObj_FromInt((int)result
);
14146 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14150 PyObject
* obj0
= 0 ;
14151 PyObject
* obj1
= 0 ;
14152 char *kwnames
[] = {
14153 (char *) "self",(char *) "m_leftDown", NULL
14156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14159 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14162 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14164 Py_INCREF(Py_None
); resultobj
= Py_None
;
14171 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
;
14173 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14175 PyObject
* obj0
= 0 ;
14176 char *kwnames
[] = {
14177 (char *) "self", NULL
14180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14182 result
= (bool) ((arg1
)->m_leftDown
);
14184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14191 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
;
14193 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14195 PyObject
* obj0
= 0 ;
14196 PyObject
* obj1
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self",(char *) "m_middleDown", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14204 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14207 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14209 Py_INCREF(Py_None
); resultobj
= Py_None
;
14216 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14217 PyObject
*resultobj
;
14218 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14220 PyObject
* obj0
= 0 ;
14221 char *kwnames
[] = {
14222 (char *) "self", NULL
14225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14227 result
= (bool) ((arg1
)->m_middleDown
);
14229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14236 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14240 PyObject
* obj0
= 0 ;
14241 PyObject
* obj1
= 0 ;
14242 char *kwnames
[] = {
14243 (char *) "self",(char *) "m_rightDown", NULL
14246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14249 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14254 Py_INCREF(Py_None
); resultobj
= Py_None
;
14261 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14262 PyObject
*resultobj
;
14263 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14265 PyObject
* obj0
= 0 ;
14266 char *kwnames
[] = {
14267 (char *) "self", NULL
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14272 result
= (bool) ((arg1
)->m_rightDown
);
14274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14281 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
;
14283 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14285 PyObject
* obj0
= 0 ;
14286 PyObject
* obj1
= 0 ;
14287 char *kwnames
[] = {
14288 (char *) "self",(char *) "m_controlDown", NULL
14291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14294 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14297 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14299 Py_INCREF(Py_None
); resultobj
= Py_None
;
14306 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14317 result
= (bool) ((arg1
)->m_controlDown
);
14319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14326 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14327 PyObject
*resultobj
;
14328 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14330 PyObject
* obj0
= 0 ;
14331 PyObject
* obj1
= 0 ;
14332 char *kwnames
[] = {
14333 (char *) "self",(char *) "m_shiftDown", NULL
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14339 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14340 if (PyErr_Occurred()) SWIG_fail
;
14342 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14344 Py_INCREF(Py_None
); resultobj
= Py_None
;
14351 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14355 PyObject
* obj0
= 0 ;
14356 char *kwnames
[] = {
14357 (char *) "self", NULL
14360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14362 result
= (bool) ((arg1
)->m_shiftDown
);
14364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14371 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
;
14373 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14375 PyObject
* obj0
= 0 ;
14376 PyObject
* obj1
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "self",(char *) "m_altDown", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14384 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 if (arg1
) (arg1
)->m_altDown
= arg2
;
14389 Py_INCREF(Py_None
); resultobj
= Py_None
;
14396 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14397 PyObject
*resultobj
;
14398 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14400 PyObject
* obj0
= 0 ;
14401 char *kwnames
[] = {
14402 (char *) "self", NULL
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14407 result
= (bool) ((arg1
)->m_altDown
);
14409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14416 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14420 PyObject
* obj0
= 0 ;
14421 PyObject
* obj1
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "self",(char *) "m_metaDown", NULL
14426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14429 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14432 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14434 Py_INCREF(Py_None
); resultobj
= Py_None
;
14441 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
;
14443 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14445 PyObject
* obj0
= 0 ;
14446 char *kwnames
[] = {
14447 (char *) "self", NULL
14450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14452 result
= (bool) ((arg1
)->m_metaDown
);
14454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14461 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14462 PyObject
*resultobj
;
14463 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14465 PyObject
* obj0
= 0 ;
14466 PyObject
* obj1
= 0 ;
14467 char *kwnames
[] = {
14468 (char *) "self",(char *) "m_wheelRotation", NULL
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14474 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14477 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14479 Py_INCREF(Py_None
); resultobj
= Py_None
;
14486 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
;
14488 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14490 PyObject
* obj0
= 0 ;
14491 char *kwnames
[] = {
14492 (char *) "self", NULL
14495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14497 result
= (int) ((arg1
)->m_wheelRotation
);
14499 resultobj
= SWIG_PyObj_FromInt((int)result
);
14506 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14510 PyObject
* obj0
= 0 ;
14511 PyObject
* obj1
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self",(char *) "m_wheelDelta", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14519 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
14524 Py_INCREF(Py_None
); resultobj
= Py_None
;
14531 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
;
14533 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14535 PyObject
* obj0
= 0 ;
14536 char *kwnames
[] = {
14537 (char *) "self", NULL
14540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
14541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14542 result
= (int) ((arg1
)->m_wheelDelta
);
14544 resultobj
= SWIG_PyObj_FromInt((int)result
);
14551 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14552 PyObject
*resultobj
;
14553 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14555 PyObject
* obj0
= 0 ;
14556 PyObject
* obj1
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self",(char *) "m_linesPerAction", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14564 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
14569 Py_INCREF(Py_None
); resultobj
= Py_None
;
14576 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14580 PyObject
* obj0
= 0 ;
14581 char *kwnames
[] = {
14582 (char *) "self", NULL
14585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
14586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14587 result
= (int) ((arg1
)->m_linesPerAction
);
14589 resultobj
= SWIG_PyObj_FromInt((int)result
);
14596 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14599 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
14601 return Py_BuildValue((char *)"");
14603 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
;
14605 int arg1
= (int) 0 ;
14606 int arg2
= (int) 0 ;
14607 wxSetCursorEvent
*result
;
14608 PyObject
* obj0
= 0 ;
14609 PyObject
* obj1
= 0 ;
14610 char *kwnames
[] = {
14611 (char *) "x",(char *) "y", NULL
14614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14617 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14623 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
14641 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
;
14643 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14645 PyObject
* obj0
= 0 ;
14646 char *kwnames
[] = {
14647 (char *) "self", NULL
14650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
14651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= SWIG_PyObj_FromInt((int)result
);
14666 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14670 PyObject
* obj0
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= SWIG_PyObj_FromInt((int)result
);
14691 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
;
14693 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14694 wxCursor
*arg2
= 0 ;
14695 PyObject
* obj0
= 0 ;
14696 PyObject
* obj1
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self",(char *) "cursor", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14703 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14704 if (arg2
== NULL
) {
14705 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 Py_INCREF(Py_None
); resultobj
= Py_None
;
14721 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14725 PyObject
* obj0
= 0 ;
14726 char *kwnames
[] = {
14727 (char *) "self", NULL
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
14731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
14736 result
= (wxCursor
*) &_result_ref
;
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
14749 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
;
14751 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 char *kwnames
[] = {
14755 (char *) "self", NULL
14758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
14759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14774 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14777 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
14779 return Py_BuildValue((char *)"");
14781 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14782 PyObject
*resultobj
;
14783 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14784 wxKeyEvent
*result
;
14785 PyObject
* obj0
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "keyType", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
14793 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14804 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
14811 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
;
14813 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14815 PyObject
* obj0
= 0 ;
14816 char *kwnames
[] = {
14817 (char *) "self", NULL
14820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14836 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14837 PyObject
*resultobj
;
14838 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14840 PyObject
* obj0
= 0 ;
14841 char *kwnames
[] = {
14842 (char *) "self", NULL
14845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14861 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14865 PyObject
* obj0
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "self", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14886 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14899 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
14901 wxPyEndAllowThreads(__tstate
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14911 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
;
14913 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14915 PyObject
* obj0
= 0 ;
14916 char *kwnames
[] = {
14917 (char *) "self", NULL
14920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
14921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14936 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
;
14938 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
14946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14954 resultobj
= SWIG_PyObj_FromInt((int)result
);
14961 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
;
14963 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 char *kwnames
[] = {
14967 (char *) "self", NULL
14970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
14971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 result
= (int)wxKeyEvent_GetUniChar(arg1
);
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= SWIG_PyObj_FromInt((int)result
);
14986 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14989 unsigned int result
;
14990 PyObject
* obj0
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
14996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15011 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
;
15013 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15014 unsigned int result
;
15015 PyObject
* obj0
= 0 ;
15016 char *kwnames
[] = {
15017 (char *) "self", NULL
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15036 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15040 PyObject
* obj0
= 0 ;
15041 char *kwnames
[] = {
15042 (char *) "self", NULL
15045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 result
= (arg1
)->GetPosition();
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15055 wxPoint
* resultptr
;
15056 resultptr
= new wxPoint((wxPoint
&) result
);
15057 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15065 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
;
15067 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15068 long *arg2
= (long *) 0 ;
15069 long *arg3
= (long *) 0 ;
15072 PyObject
* obj0
= 0 ;
15073 char *kwnames
[] = {
15074 (char *) "self", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 (arg1
)->GetPosition(arg2
,arg3
);
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 Py_INCREF(Py_None
); resultobj
= Py_None
;
15090 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15091 resultobj
= t_output_helper(resultobj
,o
);
15094 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15095 resultobj
= t_output_helper(resultobj
,o
);
15103 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
;
15105 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15107 PyObject
* obj0
= 0 ;
15108 char *kwnames
[] = {
15109 (char *) "self", NULL
15112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= SWIG_PyObj_FromInt((int)result
);
15128 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
;
15130 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15132 PyObject
* obj0
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "self", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= SWIG_PyObj_FromInt((int)result
);
15153 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
;
15155 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 PyObject
* obj1
= 0 ;
15159 char *kwnames
[] = {
15160 (char *) "self",(char *) "m_x", NULL
15163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15166 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 if (arg1
) (arg1
)->m_x
= arg2
;
15171 Py_INCREF(Py_None
); resultobj
= Py_None
;
15178 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15189 result
= (int) ((arg1
)->m_x
);
15191 resultobj
= SWIG_PyObj_FromInt((int)result
);
15198 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
;
15200 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15202 PyObject
* obj0
= 0 ;
15203 PyObject
* obj1
= 0 ;
15204 char *kwnames
[] = {
15205 (char *) "self",(char *) "m_y", NULL
15208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15211 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15214 if (arg1
) (arg1
)->m_y
= arg2
;
15216 Py_INCREF(Py_None
); resultobj
= Py_None
;
15223 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15227 PyObject
* obj0
= 0 ;
15228 char *kwnames
[] = {
15229 (char *) "self", NULL
15232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15234 result
= (int) ((arg1
)->m_y
);
15236 resultobj
= SWIG_PyObj_FromInt((int)result
);
15243 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
;
15245 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15247 PyObject
* obj0
= 0 ;
15248 PyObject
* obj1
= 0 ;
15249 char *kwnames
[] = {
15250 (char *) "self",(char *) "m_keyCode", NULL
15253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15256 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15261 Py_INCREF(Py_None
); resultobj
= Py_None
;
15268 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15272 PyObject
* obj0
= 0 ;
15273 char *kwnames
[] = {
15274 (char *) "self", NULL
15277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15279 result
= (long) ((arg1
)->m_keyCode
);
15281 resultobj
= SWIG_PyObj_FromLong((long)result
);
15288 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15292 PyObject
* obj0
= 0 ;
15293 PyObject
* obj1
= 0 ;
15294 char *kwnames
[] = {
15295 (char *) "self",(char *) "m_controlDown", NULL
15298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15301 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15304 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15306 Py_INCREF(Py_None
); resultobj
= Py_None
;
15313 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 char *kwnames
[] = {
15319 (char *) "self", NULL
15322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15324 result
= (bool) ((arg1
)->m_controlDown
);
15326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15333 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
;
15335 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15337 PyObject
* obj0
= 0 ;
15338 PyObject
* obj1
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self",(char *) "m_shiftDown", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15346 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15351 Py_INCREF(Py_None
); resultobj
= Py_None
;
15358 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15362 PyObject
* obj0
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "self", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15369 result
= (bool) ((arg1
)->m_shiftDown
);
15371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15378 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
;
15380 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15382 PyObject
* obj0
= 0 ;
15383 PyObject
* obj1
= 0 ;
15384 char *kwnames
[] = {
15385 (char *) "self",(char *) "m_altDown", NULL
15388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15391 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 if (arg1
) (arg1
)->m_altDown
= arg2
;
15396 Py_INCREF(Py_None
); resultobj
= Py_None
;
15403 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "self", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15414 result
= (bool) ((arg1
)->m_altDown
);
15416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15423 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
;
15425 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15427 PyObject
* obj0
= 0 ;
15428 PyObject
* obj1
= 0 ;
15429 char *kwnames
[] = {
15430 (char *) "self",(char *) "m_metaDown", NULL
15433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15436 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15439 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15441 Py_INCREF(Py_None
); resultobj
= Py_None
;
15448 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15459 result
= (bool) ((arg1
)->m_metaDown
);
15461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15468 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
;
15470 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 char *kwnames
[] = {
15475 (char *) "self",(char *) "m_scanCode", NULL
15478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15481 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 if (arg1
) (arg1
)->m_scanCode
= arg2
;
15486 Py_INCREF(Py_None
); resultobj
= Py_None
;
15493 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15497 PyObject
* obj0
= 0 ;
15498 char *kwnames
[] = {
15499 (char *) "self", NULL
15502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
15503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15504 result
= (bool) ((arg1
)->m_scanCode
);
15506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15513 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15514 PyObject
*resultobj
;
15515 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15516 unsigned int arg2
;
15517 PyObject
* obj0
= 0 ;
15518 PyObject
* obj1
= 0 ;
15519 char *kwnames
[] = {
15520 (char *) "self",(char *) "m_rawCode", NULL
15523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15526 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 if (arg1
) (arg1
)->m_rawCode
= arg2
;
15531 Py_INCREF(Py_None
); resultobj
= Py_None
;
15538 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15539 PyObject
*resultobj
;
15540 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15541 unsigned int result
;
15542 PyObject
* obj0
= 0 ;
15543 char *kwnames
[] = {
15544 (char *) "self", NULL
15547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
15548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15549 result
= (unsigned int) ((arg1
)->m_rawCode
);
15551 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15558 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15559 PyObject
*resultobj
;
15560 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15561 unsigned int arg2
;
15562 PyObject
* obj0
= 0 ;
15563 PyObject
* obj1
= 0 ;
15564 char *kwnames
[] = {
15565 (char *) "self",(char *) "m_rawFlags", NULL
15568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15571 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15574 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
15576 Py_INCREF(Py_None
); resultobj
= Py_None
;
15583 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
;
15585 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15586 unsigned int result
;
15587 PyObject
* obj0
= 0 ;
15588 char *kwnames
[] = {
15589 (char *) "self", NULL
15592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
15593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15594 result
= (unsigned int) ((arg1
)->m_rawFlags
);
15596 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15603 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15606 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
15608 return Py_BuildValue((char *)"");
15610 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15611 PyObject
*resultobj
;
15612 wxSize
const &arg1_defvalue
= wxDefaultSize
;
15613 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
15614 int arg2
= (int) 0 ;
15615 wxSizeEvent
*result
;
15617 PyObject
* obj0
= 0 ;
15618 PyObject
* obj1
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "sz",(char *) "winid", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15627 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
15632 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
15650 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
;
15652 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15654 PyObject
* obj0
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
15660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15669 wxSize
* resultptr
;
15670 resultptr
= new wxSize((wxSize
&) result
);
15671 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15679 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15683 PyObject
* obj0
= 0 ;
15684 char *kwnames
[] = {
15685 (char *) "self", NULL
15688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15698 wxRect
* resultptr
;
15699 resultptr
= new wxRect((wxRect
&) result
);
15700 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
15708 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
;
15710 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15713 PyObject
* obj0
= 0 ;
15714 PyObject
* obj1
= 0 ;
15715 char *kwnames
[] = {
15716 (char *) "self",(char *) "rect", NULL
15719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15721 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 (arg1
)->SetRect(arg2
);
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15730 Py_INCREF(Py_None
); resultobj
= Py_None
;
15737 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
;
15739 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self",(char *) "size", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15750 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 wxSizeEvent_SetSize(arg1
,arg2
);
15756 wxPyEndAllowThreads(__tstate
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15759 Py_INCREF(Py_None
); resultobj
= Py_None
;
15766 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
;
15768 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15769 wxSize
*arg2
= (wxSize
*) 0 ;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self",(char *) "m_size", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15778 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15779 if (arg1
) (arg1
)->m_size
= *arg2
;
15781 Py_INCREF(Py_None
); resultobj
= Py_None
;
15788 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
;
15790 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15792 PyObject
* obj0
= 0 ;
15793 char *kwnames
[] = {
15794 (char *) "self", NULL
15797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
15798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15799 result
= (wxSize
*)& ((arg1
)->m_size
);
15801 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
15808 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15811 wxRect
*arg2
= (wxRect
*) 0 ;
15812 PyObject
* obj0
= 0 ;
15813 PyObject
* obj1
= 0 ;
15814 char *kwnames
[] = {
15815 (char *) "self",(char *) "m_rect", NULL
15818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15820 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15821 if (arg1
) (arg1
)->m_rect
= *arg2
;
15823 Py_INCREF(Py_None
); resultobj
= Py_None
;
15830 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
;
15832 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15834 PyObject
* obj0
= 0 ;
15835 char *kwnames
[] = {
15836 (char *) "self", NULL
15839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
15840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15841 result
= (wxRect
*)& ((arg1
)->m_rect
);
15843 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
15850 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15853 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
15855 return Py_BuildValue((char *)"");
15857 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
;
15859 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
15860 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
15861 int arg2
= (int) 0 ;
15862 wxMoveEvent
*result
;
15864 PyObject
* obj0
= 0 ;
15865 PyObject
* obj1
= 0 ;
15866 char *kwnames
[] = {
15867 (char *) "pos",(char *) "winid", NULL
15870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15874 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
15879 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15890 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
15897 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
;
15899 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15901 PyObject
* obj0
= 0 ;
15902 char *kwnames
[] = {
15903 (char *) "self", NULL
15906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15916 wxPoint
* resultptr
;
15917 resultptr
= new wxPoint((wxPoint
&) result
);
15918 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15926 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15930 PyObject
* obj0
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15945 wxRect
* resultptr
;
15946 resultptr
= new wxRect((wxRect
&) result
);
15947 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
15955 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
;
15957 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15960 PyObject
* obj0
= 0 ;
15961 PyObject
* obj1
= 0 ;
15962 char *kwnames
[] = {
15963 (char *) "self",(char *) "rect", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15968 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 (arg1
)->SetRect(arg2
);
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 Py_INCREF(Py_None
); resultobj
= Py_None
;
15984 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
;
15986 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15989 PyObject
* obj0
= 0 ;
15990 PyObject
* obj1
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self",(char *) "pos", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15997 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 wxMoveEvent_SetPosition(arg1
,arg2
);
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 Py_INCREF(Py_None
); resultobj
= Py_None
;
16013 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
;
16015 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16016 wxPoint
*arg2
= (wxPoint
*) 0 ;
16017 PyObject
* obj0
= 0 ;
16018 PyObject
* obj1
= 0 ;
16019 char *kwnames
[] = {
16020 (char *) "self",(char *) "m_pos", NULL
16023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16025 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16026 if (arg1
) (arg1
)->m_pos
= *arg2
;
16028 Py_INCREF(Py_None
); resultobj
= Py_None
;
16035 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
;
16037 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16039 PyObject
* obj0
= 0 ;
16040 char *kwnames
[] = {
16041 (char *) "self", NULL
16044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16046 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16048 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16055 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16058 wxRect
*arg2
= (wxRect
*) 0 ;
16059 PyObject
* obj0
= 0 ;
16060 PyObject
* obj1
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "self",(char *) "m_rect", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16067 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16068 if (arg1
) (arg1
)->m_rect
= *arg2
;
16070 Py_INCREF(Py_None
); resultobj
= Py_None
;
16077 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16081 PyObject
* obj0
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16088 result
= (wxRect
*)& ((arg1
)->m_rect
);
16090 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
16097 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16100 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16102 return Py_BuildValue((char *)"");
16104 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16105 PyObject
*resultobj
;
16106 int arg1
= (int) 0 ;
16107 wxPaintEvent
*result
;
16108 PyObject
* obj0
= 0 ;
16109 char *kwnames
[] = {
16110 (char *) "Id", NULL
16113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16116 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16127 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
16134 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16137 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16139 return Py_BuildValue((char *)"");
16141 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
;
16143 int arg1
= (int) 0 ;
16144 wxNcPaintEvent
*result
;
16145 PyObject
* obj0
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "winid", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16153 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16164 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
16171 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16174 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16176 return Py_BuildValue((char *)"");
16178 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 int arg1
= (int) 0 ;
16181 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16182 wxEraseEvent
*result
;
16183 PyObject
* obj0
= 0 ;
16184 PyObject
* obj1
= 0 ;
16185 char *kwnames
[] = {
16186 (char *) "Id",(char *) "dc", NULL
16189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16192 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16197 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
16213 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
;
16215 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16217 PyObject
* obj0
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "self", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16232 resultobj
= wxPyMake_wxObject(result
);
16240 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16243 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16245 return Py_BuildValue((char *)"");
16247 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16248 PyObject
*resultobj
;
16249 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16250 int arg2
= (int) 0 ;
16251 wxFocusEvent
*result
;
16252 PyObject
* obj0
= 0 ;
16253 PyObject
* obj1
= 0 ;
16254 char *kwnames
[] = {
16255 (char *) "type",(char *) "winid", NULL
16258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16261 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16267 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
16285 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16304 resultobj
= wxPyMake_wxObject(result
);
16312 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
;
16314 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16315 wxWindow
*arg2
= (wxWindow
*) 0 ;
16316 PyObject
* obj0
= 0 ;
16317 PyObject
* obj1
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self",(char *) "win", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 (arg1
)->SetWindow(arg2
);
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16332 Py_INCREF(Py_None
); resultobj
= Py_None
;
16339 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16342 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16344 return Py_BuildValue((char *)"");
16346 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16347 PyObject
*resultobj
;
16348 wxWindow
*arg1
= (wxWindow
*) NULL
;
16349 wxChildFocusEvent
*result
;
16350 PyObject
* obj0
= 0 ;
16351 char *kwnames
[] = {
16352 (char *) "win", NULL
16355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16366 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
16373 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16374 PyObject
*resultobj
;
16375 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16377 PyObject
* obj0
= 0 ;
16378 char *kwnames
[] = {
16379 (char *) "self", NULL
16382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16388 wxPyEndAllowThreads(__tstate
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16392 resultobj
= wxPyMake_wxObject(result
);
16400 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16403 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16405 return Py_BuildValue((char *)"");
16407 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16410 bool arg2
= (bool) True
;
16411 int arg3
= (int) 0 ;
16412 wxActivateEvent
*result
;
16413 PyObject
* obj0
= 0 ;
16414 PyObject
* obj1
= 0 ;
16415 PyObject
* obj2
= 0 ;
16416 char *kwnames
[] = {
16417 (char *) "type",(char *) "active",(char *) "Id", NULL
16420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16423 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16429 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16435 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
16453 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
;
16455 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
16457 PyObject
* obj0
= 0 ;
16458 char *kwnames
[] = {
16459 (char *) "self", NULL
16462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
16463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16478 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16481 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
16483 return Py_BuildValue((char *)"");
16485 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
;
16487 int arg1
= (int) 0 ;
16488 wxInitDialogEvent
*result
;
16489 PyObject
* obj0
= 0 ;
16490 char *kwnames
[] = {
16491 (char *) "Id", NULL
16494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
16497 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
16515 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16518 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
16520 return Py_BuildValue((char *)"");
16522 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16525 int arg2
= (int) 0 ;
16526 wxMenu
*arg3
= (wxMenu
*) NULL
;
16527 wxMenuEvent
*result
;
16528 PyObject
* obj0
= 0 ;
16529 PyObject
* obj1
= 0 ;
16530 PyObject
* obj2
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "type",(char *) "winid",(char *) "menu", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16538 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16544 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16549 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16558 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
16565 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 char *kwnames
[] = {
16571 (char *) "self", NULL
16574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
16575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16578 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
16580 wxPyEndAllowThreads(__tstate
);
16581 if (PyErr_Occurred()) SWIG_fail
;
16583 resultobj
= SWIG_PyObj_FromInt((int)result
);
16590 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
;
16592 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16594 PyObject
* obj0
= 0 ;
16595 char *kwnames
[] = {
16596 (char *) "self", NULL
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
16600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16615 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16619 PyObject
* obj0
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
16625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16628 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16634 resultobj
= wxPyMake_wxObject(result
);
16642 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16645 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
16647 return Py_BuildValue((char *)"");
16649 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16650 PyObject
*resultobj
;
16651 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16652 int arg2
= (int) 0 ;
16653 wxCloseEvent
*result
;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 char *kwnames
[] = {
16657 (char *) "type",(char *) "winid", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16663 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16669 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
16687 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
;
16689 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16691 PyObject
* obj0
= 0 ;
16692 PyObject
* obj1
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self",(char *) "logOff", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
16698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16700 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 (arg1
)->SetLoggingOff(arg2
);
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16710 Py_INCREF(Py_None
); resultobj
= Py_None
;
16717 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
;
16719 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16742 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
;
16744 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16745 bool arg2
= (bool) True
;
16746 PyObject
* obj0
= 0 ;
16747 PyObject
* obj1
= 0 ;
16748 char *kwnames
[] = {
16749 (char *) "self",(char *) "veto", NULL
16752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
16753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16756 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 (arg1
)->Veto(arg2
);
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16767 Py_INCREF(Py_None
); resultobj
= Py_None
;
16774 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16775 PyObject
*resultobj
;
16776 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16778 PyObject
* obj0
= 0 ;
16779 PyObject
* obj1
= 0 ;
16780 char *kwnames
[] = {
16781 (char *) "self",(char *) "canVeto", NULL
16784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
16785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16787 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 (arg1
)->SetCanVeto(arg2
);
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16797 Py_INCREF(Py_None
); resultobj
= Py_None
;
16804 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
;
16806 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16808 PyObject
* obj0
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "self", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
16814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16817 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
16819 wxPyEndAllowThreads(__tstate
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16829 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16833 PyObject
* obj0
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "self", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
16839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
16844 wxPyEndAllowThreads(__tstate
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16854 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16857 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
16859 return Py_BuildValue((char *)"");
16861 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 int arg1
= (int) 0 ;
16864 bool arg2
= (bool) False
;
16865 wxShowEvent
*result
;
16866 PyObject
* obj0
= 0 ;
16867 PyObject
* obj1
= 0 ;
16868 char *kwnames
[] = {
16869 (char *) "winid",(char *) "show", NULL
16872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16875 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16881 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
16899 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
;
16901 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
16903 PyObject
* obj0
= 0 ;
16904 PyObject
* obj1
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "self",(char *) "show", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
16910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16912 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 (arg1
)->SetShow(arg2
);
16919 wxPyEndAllowThreads(__tstate
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16922 Py_INCREF(Py_None
); resultobj
= Py_None
;
16929 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
;
16931 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
16933 PyObject
* obj0
= 0 ;
16934 char *kwnames
[] = {
16935 (char *) "self", NULL
16938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
16939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16954 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16957 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
16959 return Py_BuildValue((char *)"");
16961 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
;
16963 int arg1
= (int) 0 ;
16964 bool arg2
= (bool) True
;
16965 wxIconizeEvent
*result
;
16966 PyObject
* obj0
= 0 ;
16967 PyObject
* obj1
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "id",(char *) "iconized", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16975 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16981 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
16999 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17003 PyObject
* obj0
= 0 ;
17004 char *kwnames
[] = {
17005 (char *) "self", NULL
17008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17012 result
= (bool)(arg1
)->Iconized();
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17024 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17027 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17029 return Py_BuildValue((char *)"");
17031 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
;
17033 int arg1
= (int) 0 ;
17034 wxMaximizeEvent
*result
;
17035 PyObject
* obj0
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "id", NULL
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17043 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17049 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17051 wxPyEndAllowThreads(__tstate
);
17052 if (PyErr_Occurred()) SWIG_fail
;
17054 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
17061 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17064 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17066 return Py_BuildValue((char *)"");
17068 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
;
17070 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17072 PyObject
* obj0
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 result
= (arg1
)->GetPosition();
17083 wxPyEndAllowThreads(__tstate
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17087 wxPoint
* resultptr
;
17088 resultptr
= new wxPoint((wxPoint
&) result
);
17089 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17097 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
;
17099 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17101 PyObject
* obj0
= 0 ;
17102 char *kwnames
[] = {
17103 (char *) "self", NULL
17106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 result
= (int)(arg1
)->GetNumberOfFiles();
17112 wxPyEndAllowThreads(__tstate
);
17113 if (PyErr_Occurred()) SWIG_fail
;
17115 resultobj
= SWIG_PyObj_FromInt((int)result
);
17122 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
;
17124 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17126 PyObject
* obj0
= 0 ;
17127 char *kwnames
[] = {
17128 (char *) "self", NULL
17131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17137 wxPyEndAllowThreads(__tstate
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= result
;
17147 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17150 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17152 return Py_BuildValue((char *)"");
17154 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
;
17156 int arg1
= (int) 0 ;
17157 wxUpdateUIEvent
*result
;
17158 PyObject
* obj0
= 0 ;
17159 char *kwnames
[] = {
17160 (char *) "commandId", NULL
17163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17166 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
17184 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
;
17186 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17188 PyObject
* obj0
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "self", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17209 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
;
17211 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17213 PyObject
* obj0
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "self", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17234 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
;
17236 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17238 PyObject
* obj0
= 0 ;
17239 char *kwnames
[] = {
17240 (char *) "self", NULL
17243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17247 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17265 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
;
17267 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17269 PyObject
* obj0
= 0 ;
17270 char *kwnames
[] = {
17271 (char *) "self", NULL
17274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17290 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
;
17292 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17294 PyObject
* obj0
= 0 ;
17295 char *kwnames
[] = {
17296 (char *) "self", NULL
17299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17303 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17315 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
;
17317 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17319 PyObject
* obj0
= 0 ;
17320 char *kwnames
[] = {
17321 (char *) "self", NULL
17324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17340 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17341 PyObject
*resultobj
;
17342 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17344 PyObject
* obj0
= 0 ;
17345 PyObject
* obj1
= 0 ;
17346 char *kwnames
[] = {
17347 (char *) "self",(char *) "check", NULL
17350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17353 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 (arg1
)->Check(arg2
);
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17363 Py_INCREF(Py_None
); resultobj
= Py_None
;
17370 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17372 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17374 PyObject
* obj0
= 0 ;
17375 PyObject
* obj1
= 0 ;
17376 char *kwnames
[] = {
17377 (char *) "self",(char *) "enable", NULL
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17383 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 (arg1
)->Enable(arg2
);
17390 wxPyEndAllowThreads(__tstate
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17393 Py_INCREF(Py_None
); resultobj
= Py_None
;
17400 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
;
17402 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17403 wxString
*arg2
= 0 ;
17404 bool temp2
= False
;
17405 PyObject
* obj0
= 0 ;
17406 PyObject
* obj1
= 0 ;
17407 char *kwnames
[] = {
17408 (char *) "self",(char *) "text", NULL
17411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17414 arg2
= wxString_in_helper(obj1
);
17415 if (arg2
== NULL
) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 (arg1
)->SetText((wxString
const &)*arg2
);
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 Py_INCREF(Py_None
); resultobj
= Py_None
;
17440 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
;
17443 PyObject
* obj0
= 0 ;
17444 char *kwnames
[] = {
17445 (char *) "updateInterval", NULL
17448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
17450 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 wxUpdateUIEvent::SetUpdateInterval(arg1
);
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 Py_INCREF(Py_None
); resultobj
= Py_None
;
17467 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17468 PyObject
*resultobj
;
17470 char *kwnames
[] = {
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= SWIG_PyObj_FromLong((long)result
);
17489 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17490 PyObject
*resultobj
;
17491 wxWindow
*arg1
= (wxWindow
*) 0 ;
17493 PyObject
* obj0
= 0 ;
17494 char *kwnames
[] = {
17495 (char *) "win", NULL
17498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
17499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17514 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 char *kwnames
[] = {
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 wxUpdateUIEvent::ResetUpdateTime();
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 Py_INCREF(Py_None
); resultobj
= Py_None
;
17535 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
;
17538 PyObject
* obj0
= 0 ;
17539 char *kwnames
[] = {
17540 (char *) "mode", NULL
17543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
17545 arg1
= (wxUpdateUIMode
) SWIG_PyObj_AsInt(obj0
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 Py_INCREF(Py_None
); resultobj
= Py_None
;
17562 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17565 char *kwnames
[] = {
17569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 result
= (int)wxUpdateUIEvent::GetMode();
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= SWIG_PyObj_FromInt((int)result
);
17584 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17587 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
17589 return Py_BuildValue((char *)"");
17591 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
;
17593 wxSysColourChangedEvent
*result
;
17594 char *kwnames
[] = {
17598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17601 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17606 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
17613 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17616 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
17618 return Py_BuildValue((char *)"");
17620 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17621 PyObject
*resultobj
;
17622 int arg1
= (int) 0 ;
17623 wxWindow
*arg2
= (wxWindow
*) NULL
;
17624 wxMouseCaptureChangedEvent
*result
;
17625 PyObject
* obj0
= 0 ;
17626 PyObject
* obj1
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "winid",(char *) "gainedCapture", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17634 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17639 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17648 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
17655 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
17659 PyObject
* obj0
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self", NULL
17664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
17665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17668 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
17670 wxPyEndAllowThreads(__tstate
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17674 resultobj
= wxPyMake_wxObject(result
);
17682 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17685 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
17687 return Py_BuildValue((char *)"");
17689 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17690 PyObject
*resultobj
;
17691 wxDisplayChangedEvent
*result
;
17692 char *kwnames
[] = {
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
17698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17699 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
17711 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17714 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
17716 return Py_BuildValue((char *)"");
17718 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 int arg1
= (int) 0 ;
17721 wxPaletteChangedEvent
*result
;
17722 PyObject
* obj0
= 0 ;
17723 char *kwnames
[] = {
17724 (char *) "id", NULL
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
17730 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17741 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
17748 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
;
17750 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
17751 wxWindow
*arg2
= (wxWindow
*) 0 ;
17752 PyObject
* obj0
= 0 ;
17753 PyObject
* obj1
= 0 ;
17754 char *kwnames
[] = {
17755 (char *) "self",(char *) "win", NULL
17758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17760 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 (arg1
)->SetChangedWindow(arg2
);
17765 wxPyEndAllowThreads(__tstate
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17768 Py_INCREF(Py_None
); resultobj
= Py_None
;
17775 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17776 PyObject
*resultobj
;
17777 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
17779 PyObject
* obj0
= 0 ;
17780 char *kwnames
[] = {
17781 (char *) "self", NULL
17784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
17785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= wxPyMake_wxObject(result
);
17802 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17805 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
17807 return Py_BuildValue((char *)"");
17809 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
;
17811 int arg1
= (int) 0 ;
17812 wxQueryNewPaletteEvent
*result
;
17813 PyObject
* obj0
= 0 ;
17814 char *kwnames
[] = {
17815 (char *) "winid", NULL
17818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
17821 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
17839 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
;
17841 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
17843 PyObject
* obj0
= 0 ;
17844 PyObject
* obj1
= 0 ;
17845 char *kwnames
[] = {
17846 (char *) "self",(char *) "realized", NULL
17849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
17850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17852 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 (arg1
)->SetPaletteRealized(arg2
);
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 Py_INCREF(Py_None
); resultobj
= Py_None
;
17869 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
17873 PyObject
* obj0
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "self", NULL
17878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
17879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17882 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17894 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17897 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
17899 return Py_BuildValue((char *)"");
17901 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxNavigationKeyEvent
*result
;
17904 char *kwnames
[] = {
17908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
17923 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
;
17925 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17927 PyObject
* obj0
= 0 ;
17928 char *kwnames
[] = {
17929 (char *) "self", NULL
17932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
17933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17948 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
;
17950 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self",(char *) "bForward", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17961 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 (arg1
)->SetDirection(arg2
);
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 Py_INCREF(Py_None
); resultobj
= Py_None
;
17978 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17982 PyObject
* obj0
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
17988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18003 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18007 PyObject
* obj0
= 0 ;
18008 PyObject
* obj1
= 0 ;
18009 char *kwnames
[] = {
18010 (char *) "self",(char *) "bIs", NULL
18013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18016 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 (arg1
)->SetWindowChange(arg2
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 Py_INCREF(Py_None
); resultobj
= Py_None
;
18033 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18037 PyObject
* obj0
= 0 ;
18038 char *kwnames
[] = {
18039 (char *) "self", NULL
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18052 resultobj
= wxPyMake_wxObject(result
);
18060 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
;
18062 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18063 wxWindow
*arg2
= (wxWindow
*) 0 ;
18064 PyObject
* obj0
= 0 ;
18065 PyObject
* obj1
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self",(char *) "win", NULL
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 (arg1
)->SetCurrentFocus(arg2
);
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 Py_INCREF(Py_None
); resultobj
= Py_None
;
18087 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18090 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18092 return Py_BuildValue((char *)"");
18094 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18095 PyObject
*resultobj
;
18096 wxWindow
*arg1
= (wxWindow
*) NULL
;
18097 wxWindowCreateEvent
*result
;
18098 PyObject
* obj0
= 0 ;
18099 char *kwnames
[] = {
18100 (char *) "win", NULL
18103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18111 wxPyEndAllowThreads(__tstate
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18114 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
18121 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18125 PyObject
* obj0
= 0 ;
18126 char *kwnames
[] = {
18127 (char *) "self", NULL
18130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18140 resultobj
= wxPyMake_wxObject(result
);
18148 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18151 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18153 return Py_BuildValue((char *)"");
18155 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
;
18157 wxWindow
*arg1
= (wxWindow
*) NULL
;
18158 wxWindowDestroyEvent
*result
;
18159 PyObject
* obj0
= 0 ;
18160 char *kwnames
[] = {
18161 (char *) "win", NULL
18164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18182 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18186 PyObject
* obj0
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18195 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18197 wxPyEndAllowThreads(__tstate
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18201 resultobj
= wxPyMake_wxObject(result
);
18209 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18212 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18214 return Py_BuildValue((char *)"");
18216 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18219 int arg2
= (int) 0 ;
18220 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18221 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18222 wxContextMenuEvent
*result
;
18224 PyObject
* obj0
= 0 ;
18225 PyObject
* obj1
= 0 ;
18226 PyObject
* obj2
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "type",(char *) "winid",(char *) "pt", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18234 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18240 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18247 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
18264 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
;
18266 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18268 PyObject
* obj0
= 0 ;
18269 char *kwnames
[] = {
18270 (char *) "self", NULL
18273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18279 result
= (wxPoint
*) &_result_ref
;
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
18292 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18293 PyObject
*resultobj
;
18294 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18295 wxPoint
*arg2
= 0 ;
18297 PyObject
* obj0
= 0 ;
18298 PyObject
* obj1
= 0 ;
18299 char *kwnames
[] = {
18300 (char *) "self",(char *) "pos", NULL
18303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18307 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 Py_INCREF(Py_None
); resultobj
= Py_None
;
18323 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18326 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18328 return Py_BuildValue((char *)"");
18330 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18331 PyObject
*resultobj
;
18332 wxIdleEvent
*result
;
18333 char *kwnames
[] = {
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 result
= (wxIdleEvent
*)new wxIdleEvent();
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
18352 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
;
18354 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18355 bool arg2
= (bool) True
;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 char *kwnames
[] = {
18359 (char *) "self",(char *) "needMore", NULL
18362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18366 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 (arg1
)->RequestMore(arg2
);
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 Py_INCREF(Py_None
); resultobj
= Py_None
;
18384 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
;
18386 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18388 PyObject
* obj0
= 0 ;
18389 char *kwnames
[] = {
18390 (char *) "self", NULL
18393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18409 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18410 PyObject
*resultobj
;
18412 PyObject
* obj0
= 0 ;
18413 char *kwnames
[] = {
18414 (char *) "mode", NULL
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18419 arg1
= (wxIdleMode
) SWIG_PyObj_AsInt(obj0
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 Py_INCREF(Py_None
); resultobj
= Py_None
;
18436 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18439 char *kwnames
[] = {
18443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
18445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 result
= (int)wxIdleEvent::GetMode();
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= SWIG_PyObj_FromInt((int)result
);
18458 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
;
18460 wxWindow
*arg1
= (wxWindow
*) 0 ;
18462 PyObject
* obj0
= 0 ;
18463 char *kwnames
[] = {
18464 (char *) "win", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
18468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= (bool)wxIdleEvent::CanSend(arg1
);
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18483 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18486 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
18488 return Py_BuildValue((char *)"");
18490 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
;
18492 int arg1
= (int) 0 ;
18493 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
18495 PyObject
* obj0
= 0 ;
18496 PyObject
* obj1
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "winid",(char *) "commandType", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18504 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18510 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18521 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
18528 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18529 PyObject
*resultobj
;
18530 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18531 PyObject
* obj0
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
18537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18545 Py_INCREF(Py_None
); resultobj
= Py_None
;
18552 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18555 PyObject
*arg2
= (PyObject
*) 0 ;
18556 PyObject
* obj0
= 0 ;
18557 PyObject
* obj1
= 0 ;
18558 char *kwnames
[] = {
18559 (char *) "self",(char *) "self", NULL
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 (arg1
)->SetSelf(arg2
);
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 Py_INCREF(Py_None
); resultobj
= Py_None
;
18579 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18583 PyObject
* obj0
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18592 result
= (PyObject
*)(arg1
)->GetSelf();
18594 wxPyEndAllowThreads(__tstate
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 resultobj
= result
;
18604 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18607 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
18609 return Py_BuildValue((char *)"");
18611 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
;
18613 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18614 int arg2
= (int) 0 ;
18615 wxPyCommandEvent
*result
;
18616 PyObject
* obj0
= 0 ;
18617 PyObject
* obj1
= 0 ;
18618 char *kwnames
[] = {
18619 (char *) "commandType",(char *) "id", NULL
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18625 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18631 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
18649 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
;
18651 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18652 PyObject
* obj0
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "self", NULL
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
18658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 Py_INCREF(Py_None
); resultobj
= Py_None
;
18673 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
;
18675 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18676 PyObject
*arg2
= (PyObject
*) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 PyObject
* obj1
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self",(char *) "self", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 (arg1
)->SetSelf(arg2
);
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18693 Py_INCREF(Py_None
); resultobj
= Py_None
;
18700 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18701 PyObject
*resultobj
;
18702 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18704 PyObject
* obj0
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "self", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 result
= (PyObject
*)(arg1
)->GetSelf();
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= result
;
18725 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18728 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
18730 return Py_BuildValue((char *)"");
18732 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18735 char *kwnames
[] = {
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
18741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18742 result
= (wxPyApp
*)new_wxPyApp();
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18748 resultobj
= wxPyMake_wxObject(result
);
18756 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
;
18758 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18759 PyObject
* obj0
= 0 ;
18760 char *kwnames
[] = {
18761 (char *) "self", NULL
18764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
18765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 Py_INCREF(Py_None
); resultobj
= Py_None
;
18780 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
;
18782 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18783 PyObject
*arg2
= (PyObject
*) 0 ;
18784 PyObject
*arg3
= (PyObject
*) 0 ;
18785 PyObject
* obj0
= 0 ;
18786 PyObject
* obj1
= 0 ;
18787 PyObject
* obj2
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self",(char *) "self",(char *) "_class", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18798 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18800 wxPyEndAllowThreads(__tstate
);
18801 if (PyErr_Occurred()) SWIG_fail
;
18803 Py_INCREF(Py_None
); resultobj
= Py_None
;
18810 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18811 PyObject
*resultobj
;
18812 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18814 PyObject
* obj0
= 0 ;
18815 char *kwnames
[] = {
18816 (char *) "self", NULL
18819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
18820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= ((wxPyApp
const *)arg1
)->GetAppName();
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18841 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18844 wxString
*arg2
= 0 ;
18845 bool temp2
= False
;
18846 PyObject
* obj0
= 0 ;
18847 PyObject
* obj1
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self",(char *) "name", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18855 arg2
= wxString_in_helper(obj1
);
18856 if (arg2
== NULL
) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 (arg1
)->SetAppName((wxString
const &)*arg2
);
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 Py_INCREF(Py_None
); resultobj
= Py_None
;
18881 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
;
18883 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18885 PyObject
* obj0
= 0 ;
18886 char *kwnames
[] = {
18887 (char *) "self", NULL
18890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
18891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 result
= ((wxPyApp
const *)arg1
)->GetClassName();
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18912 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18915 wxString
*arg2
= 0 ;
18916 bool temp2
= False
;
18917 PyObject
* obj0
= 0 ;
18918 PyObject
* obj1
= 0 ;
18919 char *kwnames
[] = {
18920 (char *) "self",(char *) "name", NULL
18923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
18924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18926 arg2
= wxString_in_helper(obj1
);
18927 if (arg2
== NULL
) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 (arg1
)->SetClassName((wxString
const &)*arg2
);
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 Py_INCREF(Py_None
); resultobj
= Py_None
;
18952 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
;
18954 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18956 PyObject
* obj0
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
18962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
18967 result
= (wxString
*) &_result_ref
;
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18975 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18977 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18986 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18989 wxString
*arg2
= 0 ;
18990 bool temp2
= False
;
18991 PyObject
* obj0
= 0 ;
18992 PyObject
* obj1
= 0 ;
18993 char *kwnames
[] = {
18994 (char *) "self",(char *) "name", NULL
18997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19000 arg2
= wxString_in_helper(obj1
);
19001 if (arg2
== NULL
) SWIG_fail
;
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19011 Py_INCREF(Py_None
); resultobj
= Py_None
;
19026 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19027 PyObject
*resultobj
;
19028 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19029 wxAppTraits
*result
;
19030 PyObject
* obj0
= 0 ;
19031 char *kwnames
[] = {
19032 (char *) "self", NULL
19035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19041 wxPyEndAllowThreads(__tstate
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
19051 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
;
19053 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19054 PyObject
* obj0
= 0 ;
19055 char *kwnames
[] = {
19056 (char *) "self", NULL
19059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19063 (arg1
)->ProcessPendingEvents();
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19068 Py_INCREF(Py_None
); resultobj
= Py_None
;
19075 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
;
19077 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19078 bool arg2
= (bool) False
;
19080 PyObject
* obj0
= 0 ;
19081 PyObject
* obj1
= 0 ;
19082 char *kwnames
[] = {
19083 (char *) "self",(char *) "onlyIfNeeded", NULL
19086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19090 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 result
= (bool)(arg1
)->Yield(arg2
);
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19108 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19111 PyObject
* obj0
= 0 ;
19112 char *kwnames
[] = {
19113 (char *) "self", NULL
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 (arg1
)->WakeUpIdle();
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19125 Py_INCREF(Py_None
); resultobj
= Py_None
;
19132 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
;
19134 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19136 PyObject
* obj0
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 result
= (int)(arg1
)->MainLoop();
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 resultobj
= SWIG_PyObj_FromInt((int)result
);
19157 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19159 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19160 PyObject
* obj0
= 0 ;
19161 char *kwnames
[] = {
19162 (char *) "self", NULL
19165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19174 Py_INCREF(Py_None
); resultobj
= Py_None
;
19181 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19184 PyObject
* obj0
= 0 ;
19185 char *kwnames
[] = {
19186 (char *) "self", NULL
19189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19193 (arg1
)->ExitMainLoop();
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19198 Py_INCREF(Py_None
); resultobj
= Py_None
;
19205 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19206 PyObject
*resultobj
;
19207 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19209 PyObject
* obj0
= 0 ;
19210 char *kwnames
[] = {
19211 (char *) "self", NULL
19214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 result
= (bool)(arg1
)->Pending();
19220 wxPyEndAllowThreads(__tstate
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19230 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19231 PyObject
*resultobj
;
19232 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19234 PyObject
* obj0
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "self", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 result
= (bool)(arg1
)->Dispatch();
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19255 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
;
19257 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19259 PyObject
* obj0
= 0 ;
19260 char *kwnames
[] = {
19261 (char *) "self", NULL
19264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 result
= (bool)(arg1
)->ProcessIdle();
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19280 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
;
19282 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19283 wxWindow
*arg2
= (wxWindow
*) 0 ;
19284 wxIdleEvent
*arg3
= 0 ;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 PyObject
* obj2
= 0 ;
19289 char *kwnames
[] = {
19290 (char *) "self",(char *) "win",(char *) "event", NULL
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19295 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19296 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19297 if (arg3
== NULL
) {
19298 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19314 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
;
19316 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19318 PyObject
* obj0
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19339 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19341 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19342 wxWindow
*arg2
= (wxWindow
*) 0 ;
19343 PyObject
* obj0
= 0 ;
19344 PyObject
* obj1
= 0 ;
19345 char *kwnames
[] = {
19346 (char *) "self",(char *) "win", NULL
19349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19351 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 (arg1
)->SetTopWindow(arg2
);
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 Py_INCREF(Py_None
); resultobj
= Py_None
;
19366 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19370 PyObject
* obj0
= 0 ;
19371 char *kwnames
[] = {
19372 (char *) "self", NULL
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19385 resultobj
= wxPyMake_wxObject(result
);
19393 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
;
19395 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self",(char *) "flag", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
19404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19406 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 (arg1
)->SetExitOnFrameDelete(arg2
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 Py_INCREF(Py_None
); resultobj
= Py_None
;
19423 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19427 PyObject
* obj0
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
19433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19448 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19450 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19452 PyObject
* obj0
= 0 ;
19453 PyObject
* obj1
= 0 ;
19454 char *kwnames
[] = {
19455 (char *) "self",(char *) "flag", NULL
19458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
19459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19461 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 (arg1
)->SetUseBestVisual(arg2
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19471 Py_INCREF(Py_None
); resultobj
= Py_None
;
19478 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
;
19480 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19482 PyObject
* obj0
= 0 ;
19483 char *kwnames
[] = {
19484 (char *) "self", NULL
19487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
19488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19503 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
;
19505 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19507 PyObject
* obj0
= 0 ;
19508 PyObject
* obj1
= 0 ;
19509 char *kwnames
[] = {
19510 (char *) "self",(char *) "mode", NULL
19513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19516 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 (arg1
)->SetPrintMode(arg2
);
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 Py_INCREF(Py_None
); resultobj
= Py_None
;
19533 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19537 PyObject
* obj0
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "self", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19546 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= SWIG_PyObj_FromInt((int)result
);
19558 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
;
19560 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19562 PyObject
* obj0
= 0 ;
19563 PyObject
* obj1
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "self",(char *) "mode", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19571 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19576 (arg1
)->SetAssertMode(arg2
);
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19581 Py_INCREF(Py_None
); resultobj
= Py_None
;
19588 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19590 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19592 PyObject
* obj0
= 0 ;
19593 char *kwnames
[] = {
19594 (char *) "self", NULL
19597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
19598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 result
= (int)(arg1
)->GetAssertMode();
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= SWIG_PyObj_FromInt((int)result
);
19613 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19614 PyObject
*resultobj
;
19616 char *kwnames
[] = {
19620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19635 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19636 PyObject
*resultobj
;
19638 char *kwnames
[] = {
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19645 result
= (long)wxPyApp::GetMacAboutMenuItemId();
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19650 resultobj
= SWIG_PyObj_FromLong((long)result
);
19657 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19658 PyObject
*resultobj
;
19660 char *kwnames
[] = {
19664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= SWIG_PyObj_FromLong((long)result
);
19679 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
;
19682 char *kwnames
[] = {
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= (long)wxPyApp::GetMacExitMenuItemId();
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 resultobj
= SWIG_PyObj_FromLong((long)result
);
19701 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19704 char *kwnames
[] = {
19708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 result
= wxPyApp::GetMacHelpMenuTitleName();
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19729 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19732 PyObject
* obj0
= 0 ;
19733 char *kwnames
[] = {
19734 (char *) "val", NULL
19737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
19739 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
19740 if (PyErr_Occurred()) SWIG_fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 Py_INCREF(Py_None
); resultobj
= Py_None
;
19756 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19757 PyObject
*resultobj
;
19759 PyObject
* obj0
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "val", NULL
19764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
19766 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 wxPyApp::SetMacAboutMenuItemId(arg1
);
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19776 Py_INCREF(Py_None
); resultobj
= Py_None
;
19783 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19786 PyObject
* obj0
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "val", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
19793 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 Py_INCREF(Py_None
); resultobj
= Py_None
;
19810 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
;
19813 PyObject
* obj0
= 0 ;
19814 char *kwnames
[] = {
19815 (char *) "val", NULL
19818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
19820 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 wxPyApp::SetMacExitMenuItemId(arg1
);
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19830 Py_INCREF(Py_None
); resultobj
= Py_None
;
19837 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
;
19839 wxString
*arg1
= 0 ;
19840 bool temp1
= False
;
19841 PyObject
* obj0
= 0 ;
19842 char *kwnames
[] = {
19843 (char *) "val", NULL
19846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
19848 arg1
= wxString_in_helper(obj0
);
19849 if (arg1
== NULL
) SWIG_fail
;
19853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19854 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
19856 wxPyEndAllowThreads(__tstate
);
19857 if (PyErr_Occurred()) SWIG_fail
;
19859 Py_INCREF(Py_None
); resultobj
= Py_None
;
19874 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
;
19876 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19877 PyObject
* obj0
= 0 ;
19878 char *kwnames
[] = {
19879 (char *) "self", NULL
19882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
19883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 (arg1
)->_BootstrapApp();
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 Py_INCREF(Py_None
); resultobj
= Py_None
;
19898 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19901 char *kwnames
[] = {
19905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 result
= (int)wxPyApp::GetComCtl32Version();
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19913 resultobj
= SWIG_PyObj_FromInt((int)result
);
19920 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
19922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19923 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
19925 return Py_BuildValue((char *)"");
19927 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19928 PyObject
*resultobj
;
19929 char *kwnames
[] = {
19933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
19935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19938 wxPyEndAllowThreads(__tstate
);
19939 if (PyErr_Occurred()) SWIG_fail
;
19941 Py_INCREF(Py_None
); resultobj
= Py_None
;
19948 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
;
19951 char *kwnames
[] = {
19955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 result
= (bool)wxYield();
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19970 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
;
19973 char *kwnames
[] = {
19977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 result
= (bool)wxYieldIfNeeded();
19982 wxPyEndAllowThreads(__tstate
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19992 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
;
19994 wxWindow
*arg1
= (wxWindow
*) NULL
;
19995 bool arg2
= (bool) False
;
19997 PyObject
* obj0
= 0 ;
19998 PyObject
* obj1
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "win",(char *) "onlyIfNeeded", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20009 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 result
= (bool)wxSafeYield(arg1
,arg2
);
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20027 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
;
20029 char *kwnames
[] = {
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20038 wxPyEndAllowThreads(__tstate
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20041 Py_INCREF(Py_None
); resultobj
= Py_None
;
20048 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
;
20050 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20051 wxEvent
*arg2
= 0 ;
20052 PyObject
* obj0
= 0 ;
20053 PyObject
* obj1
= 0 ;
20054 char *kwnames
[] = {
20055 (char *) "dest",(char *) "event", NULL
20058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20060 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20061 if (arg2
== NULL
) {
20062 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 wxPostEvent(arg1
,*arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 Py_INCREF(Py_None
); resultobj
= Py_None
;
20078 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 char *kwnames
[] = {
20084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 wxPyEndAllowThreads(__tstate
);
20090 if (PyErr_Occurred()) SWIG_fail
;
20092 Py_INCREF(Py_None
); resultobj
= Py_None
;
20099 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20100 PyObject
*resultobj
;
20102 char *kwnames
[] = {
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 result
= (wxPyApp
*)wxGetApp();
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20115 resultobj
= wxPyMake_wxObject(result
);
20123 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20124 PyObject
*resultobj
;
20125 int arg1
= (int) 0 ;
20126 int arg2
= (int) 0 ;
20127 int arg3
= (int) 0 ;
20128 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20129 wxAcceleratorEntry
*result
;
20130 PyObject
* obj0
= 0 ;
20131 PyObject
* obj1
= 0 ;
20132 PyObject
* obj2
= 0 ;
20133 PyObject
* obj3
= 0 ;
20134 char *kwnames
[] = {
20135 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20141 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20147 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20153 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20158 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
20174 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20175 PyObject
*resultobj
;
20176 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20177 PyObject
* obj0
= 0 ;
20178 char *kwnames
[] = {
20179 (char *) "self", NULL
20182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 wxPyEndAllowThreads(__tstate
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 Py_INCREF(Py_None
); resultobj
= Py_None
;
20198 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20199 PyObject
*resultobj
;
20200 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20204 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20205 PyObject
* obj0
= 0 ;
20206 PyObject
* obj1
= 0 ;
20207 PyObject
* obj2
= 0 ;
20208 PyObject
* obj3
= 0 ;
20209 PyObject
* obj4
= 0 ;
20210 char *kwnames
[] = {
20211 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20217 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20221 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20225 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20229 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20238 Py_INCREF(Py_None
); resultobj
= Py_None
;
20245 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
;
20247 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20248 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20249 PyObject
* obj0
= 0 ;
20250 PyObject
* obj1
= 0 ;
20251 char *kwnames
[] = {
20252 (char *) "self",(char *) "item", NULL
20255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20257 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 (arg1
)->SetMenuItem(arg2
);
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 Py_INCREF(Py_None
); resultobj
= Py_None
;
20272 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
;
20274 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20275 wxMenuItem
*result
;
20276 PyObject
* obj0
= 0 ;
20277 char *kwnames
[] = {
20278 (char *) "self", NULL
20281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20285 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20287 wxPyEndAllowThreads(__tstate
);
20288 if (PyErr_Occurred()) SWIG_fail
;
20291 resultobj
= wxPyMake_wxObject(result
);
20299 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20300 PyObject
*resultobj
;
20301 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20303 PyObject
* obj0
= 0 ;
20304 char *kwnames
[] = {
20305 (char *) "self", NULL
20308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (int)(arg1
)->GetFlags();
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20317 resultobj
= SWIG_PyObj_FromInt((int)result
);
20324 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20325 PyObject
*resultobj
;
20326 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 result
= (int)(arg1
)->GetKeyCode();
20339 wxPyEndAllowThreads(__tstate
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20342 resultobj
= SWIG_PyObj_FromInt((int)result
);
20349 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20350 PyObject
*resultobj
;
20351 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20353 PyObject
* obj0
= 0 ;
20354 char *kwnames
[] = {
20355 (char *) "self", NULL
20358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 result
= (int)(arg1
)->GetCommand();
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20367 resultobj
= SWIG_PyObj_FromInt((int)result
);
20374 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20377 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20379 return Py_BuildValue((char *)"");
20381 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20384 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20385 wxAcceleratorTable
*result
;
20386 PyObject
* obj0
= 0 ;
20387 char *kwnames
[] = {
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20393 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20394 if (arg2
) arg1
= PyList_Size(obj0
);
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20404 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
20417 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20418 PyObject
*resultobj
;
20419 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20420 PyObject
* obj0
= 0 ;
20421 char *kwnames
[] = {
20422 (char *) "self", NULL
20425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 Py_INCREF(Py_None
); resultobj
= Py_None
;
20441 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
;
20443 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20445 PyObject
* obj0
= 0 ;
20446 char *kwnames
[] = {
20447 (char *) "self", NULL
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
20451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20466 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
20468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20469 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
20471 return Py_BuildValue((char *)"");
20473 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
20474 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
20479 static PyObject
*_wrap_NullAcceleratorTable_get() {
20482 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
20487 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20489 wxString
*arg1
= 0 ;
20490 wxAcceleratorEntry
*result
;
20491 bool temp1
= False
;
20492 PyObject
* obj0
= 0 ;
20493 char *kwnames
[] = {
20494 (char *) "label", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
20499 arg1
= wxString_in_helper(obj0
);
20500 if (arg1
== NULL
) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
20525 static int _wrap_PanelNameStr_set(PyObject
*) {
20526 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
20531 static PyObject
*_wrap_PanelNameStr_get() {
20536 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20538 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20545 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20547 wxWindow
*arg1
= (wxWindow
*) 0 ;
20549 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20550 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20551 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20552 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20553 long arg5
= (long) 0 ;
20554 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20555 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20559 bool temp6
= False
;
20560 PyObject
* obj0
= 0 ;
20561 PyObject
* obj1
= 0 ;
20562 PyObject
* obj2
= 0 ;
20563 PyObject
* obj3
= 0 ;
20564 PyObject
* obj4
= 0 ;
20565 PyObject
* obj5
= 0 ;
20566 char *kwnames
[] = {
20567 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20573 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20579 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20585 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20590 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20596 arg6
= wxString_in_helper(obj5
);
20597 if (arg6
== NULL
) SWIG_fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= wxPyMake_wxObject(result
);
20625 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
;
20628 char *kwnames
[] = {
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 result
= (wxWindow
*)new wxWindow();
20637 wxPyEndAllowThreads(__tstate
);
20638 if (PyErr_Occurred()) SWIG_fail
;
20641 resultobj
= wxPyMake_wxObject(result
);
20649 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
;
20651 wxWindow
*arg1
= (wxWindow
*) 0 ;
20652 wxWindow
*arg2
= (wxWindow
*) 0 ;
20654 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20655 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20656 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20657 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20658 long arg6
= (long) 0 ;
20659 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20660 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20664 bool temp7
= False
;
20665 PyObject
* obj0
= 0 ;
20666 PyObject
* obj1
= 0 ;
20667 PyObject
* obj2
= 0 ;
20668 PyObject
* obj3
= 0 ;
20669 PyObject
* obj4
= 0 ;
20670 PyObject
* obj5
= 0 ;
20671 PyObject
* obj6
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20678 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20680 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20686 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20692 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20697 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20703 arg7
= wxString_in_helper(obj6
);
20704 if (arg7
== NULL
) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20730 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
;
20732 wxWindow
*arg1
= (wxWindow
*) 0 ;
20733 bool arg2
= (bool) False
;
20735 PyObject
* obj0
= 0 ;
20736 PyObject
* obj1
= 0 ;
20737 char *kwnames
[] = {
20738 (char *) "self",(char *) "force", NULL
20741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
20742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20745 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 result
= (bool)(arg1
)->Close(arg2
);
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20763 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
;
20765 wxWindow
*arg1
= (wxWindow
*) 0 ;
20767 PyObject
* obj0
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
20773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 result
= (bool)(arg1
)->Destroy();
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20788 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20789 PyObject
*resultobj
;
20790 wxWindow
*arg1
= (wxWindow
*) 0 ;
20792 PyObject
* obj0
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "self", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
20798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (bool)(arg1
)->DestroyChildren();
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20813 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 wxWindow
*arg1
= (wxWindow
*) 0 ;
20817 PyObject
* obj0
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
20823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20838 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
;
20840 wxWindow
*arg1
= (wxWindow
*) 0 ;
20841 wxString
*arg2
= 0 ;
20842 bool temp2
= False
;
20843 PyObject
* obj0
= 0 ;
20844 PyObject
* obj1
= 0 ;
20845 char *kwnames
[] = {
20846 (char *) "self",(char *) "title", NULL
20849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
20850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20852 arg2
= wxString_in_helper(obj1
);
20853 if (arg2
== NULL
) SWIG_fail
;
20857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 (arg1
)->SetTitle((wxString
const &)*arg2
);
20860 wxPyEndAllowThreads(__tstate
);
20861 if (PyErr_Occurred()) SWIG_fail
;
20863 Py_INCREF(Py_None
); resultobj
= Py_None
;
20878 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
;
20880 wxWindow
*arg1
= (wxWindow
*) 0 ;
20882 PyObject
* obj0
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
20888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 result
= ((wxWindow
const *)arg1
)->GetTitle();
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20909 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
;
20911 wxWindow
*arg1
= (wxWindow
*) 0 ;
20912 wxString
*arg2
= 0 ;
20913 bool temp2
= False
;
20914 PyObject
* obj0
= 0 ;
20915 PyObject
* obj1
= 0 ;
20916 char *kwnames
[] = {
20917 (char *) "self",(char *) "label", NULL
20920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20923 arg2
= wxString_in_helper(obj1
);
20924 if (arg2
== NULL
) SWIG_fail
;
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 (arg1
)->SetLabel((wxString
const &)*arg2
);
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20934 Py_INCREF(Py_None
); resultobj
= Py_None
;
20949 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20950 PyObject
*resultobj
;
20951 wxWindow
*arg1
= (wxWindow
*) 0 ;
20953 PyObject
* obj0
= 0 ;
20954 char *kwnames
[] = {
20955 (char *) "self", NULL
20958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
20959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= ((wxWindow
const *)arg1
)->GetLabel();
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20980 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20981 PyObject
*resultobj
;
20982 wxWindow
*arg1
= (wxWindow
*) 0 ;
20983 wxString
*arg2
= 0 ;
20984 bool temp2
= False
;
20985 PyObject
* obj0
= 0 ;
20986 PyObject
* obj1
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self",(char *) "name", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
20992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20994 arg2
= wxString_in_helper(obj1
);
20995 if (arg2
== NULL
) SWIG_fail
;
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 (arg1
)->SetName((wxString
const &)*arg2
);
21002 wxPyEndAllowThreads(__tstate
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 Py_INCREF(Py_None
); resultobj
= Py_None
;
21020 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
;
21022 wxWindow
*arg1
= (wxWindow
*) 0 ;
21024 PyObject
* obj0
= 0 ;
21025 char *kwnames
[] = {
21026 (char *) "self", NULL
21029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 result
= ((wxWindow
const *)arg1
)->GetName();
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21051 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21052 PyObject
*resultobj
;
21053 wxWindow
*arg1
= (wxWindow
*) 0 ;
21055 PyObject
* obj0
= 0 ;
21056 PyObject
* obj1
= 0 ;
21057 char *kwnames
[] = {
21058 (char *) "self",(char *) "winid", NULL
21061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21064 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 (arg1
)->SetId(arg2
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 Py_INCREF(Py_None
); resultobj
= Py_None
;
21081 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxWindow
*arg1
= (wxWindow
*) 0 ;
21085 PyObject
* obj0
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 result
= (int)((wxWindow
const *)arg1
)->GetId();
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_PyObj_FromInt((int)result
);
21106 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
;
21109 char *kwnames
[] = {
21113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (int)wxWindow::NewControlId();
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 resultobj
= SWIG_PyObj_FromInt((int)result
);
21128 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21132 PyObject
* obj0
= 0 ;
21133 char *kwnames
[] = {
21134 (char *) "winid", NULL
21137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21139 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 result
= (int)wxWindow::NextControlId(arg1
);
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 resultobj
= SWIG_PyObj_FromInt((int)result
);
21156 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21157 PyObject
*resultobj
;
21160 PyObject
* obj0
= 0 ;
21161 char *kwnames
[] = {
21162 (char *) "winid", NULL
21165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
21167 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 result
= (int)wxWindow::PrevControlId(arg1
);
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= SWIG_PyObj_FromInt((int)result
);
21184 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
;
21186 wxWindow
*arg1
= (wxWindow
*) 0 ;
21189 PyObject
* obj0
= 0 ;
21190 PyObject
* obj1
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "self",(char *) "size", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21199 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 (arg1
)->SetSize((wxSize
const &)*arg2
);
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 Py_INCREF(Py_None
); resultobj
= Py_None
;
21215 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
;
21217 wxWindow
*arg1
= (wxWindow
*) 0 ;
21222 int arg6
= (int) wxSIZE_AUTO
;
21223 PyObject
* obj0
= 0 ;
21224 PyObject
* obj1
= 0 ;
21225 PyObject
* obj2
= 0 ;
21226 PyObject
* obj3
= 0 ;
21227 PyObject
* obj4
= 0 ;
21228 PyObject
* obj5
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21236 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21240 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21244 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21248 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21253 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21259 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21264 Py_INCREF(Py_None
); resultobj
= Py_None
;
21271 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
;
21273 wxWindow
*arg1
= (wxWindow
*) 0 ;
21275 int arg3
= (int) wxSIZE_AUTO
;
21277 PyObject
* obj0
= 0 ;
21278 PyObject
* obj1
= 0 ;
21279 PyObject
* obj2
= 0 ;
21280 char *kwnames
[] = {
21281 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21288 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21292 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 Py_INCREF(Py_None
); resultobj
= Py_None
;
21310 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxWindow
*arg1
= (wxWindow
*) 0 ;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 PyObject
* obj2
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self",(char *) "width",(char *) "height", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21325 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21329 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 (arg1
)->SetSize(arg2
,arg3
);
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21339 Py_INCREF(Py_None
); resultobj
= Py_None
;
21346 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
;
21348 wxWindow
*arg1
= (wxWindow
*) 0 ;
21349 wxPoint
*arg2
= 0 ;
21350 int arg3
= (int) wxSIZE_USE_EXISTING
;
21352 PyObject
* obj0
= 0 ;
21353 PyObject
* obj1
= 0 ;
21354 PyObject
* obj2
= 0 ;
21355 char *kwnames
[] = {
21356 (char *) "self",(char *) "pt",(char *) "flags", NULL
21359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21363 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21367 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 Py_INCREF(Py_None
); resultobj
= Py_None
;
21385 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
;
21387 wxWindow
*arg1
= (wxWindow
*) 0 ;
21390 int arg4
= (int) wxSIZE_USE_EXISTING
;
21391 PyObject
* obj0
= 0 ;
21392 PyObject
* obj1
= 0 ;
21393 PyObject
* obj2
= 0 ;
21394 PyObject
* obj3
= 0 ;
21395 char *kwnames
[] = {
21396 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
21399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21402 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21406 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21411 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 (arg1
)->Move(arg2
,arg3
,arg4
);
21419 wxPyEndAllowThreads(__tstate
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21422 Py_INCREF(Py_None
); resultobj
= Py_None
;
21429 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
;
21431 wxWindow
*arg1
= (wxWindow
*) 0 ;
21432 PyObject
* obj0
= 0 ;
21433 char *kwnames
[] = {
21434 (char *) "self", NULL
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
21438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 Py_INCREF(Py_None
); resultobj
= Py_None
;
21453 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21454 PyObject
*resultobj
;
21455 wxWindow
*arg1
= (wxWindow
*) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "self", NULL
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
21462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 Py_INCREF(Py_None
); resultobj
= Py_None
;
21477 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21479 wxWindow
*arg1
= (wxWindow
*) 0 ;
21482 PyObject
* obj0
= 0 ;
21483 PyObject
* obj1
= 0 ;
21484 char *kwnames
[] = {
21485 (char *) "self",(char *) "size", NULL
21488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21492 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21501 Py_INCREF(Py_None
); resultobj
= Py_None
;
21508 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21509 PyObject
*resultobj
;
21510 wxWindow
*arg1
= (wxWindow
*) 0 ;
21513 PyObject
* obj0
= 0 ;
21514 PyObject
* obj1
= 0 ;
21515 PyObject
* obj2
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "self",(char *) "width",(char *) "height", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21523 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21527 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21532 (arg1
)->SetClientSize(arg2
,arg3
);
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21537 Py_INCREF(Py_None
); resultobj
= Py_None
;
21544 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21545 PyObject
*resultobj
;
21546 wxWindow
*arg1
= (wxWindow
*) 0 ;
21549 PyObject
* obj0
= 0 ;
21550 PyObject
* obj1
= 0 ;
21551 char *kwnames
[] = {
21552 (char *) "self",(char *) "rect", NULL
21555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
21556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21559 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21563 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
21565 wxPyEndAllowThreads(__tstate
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21568 Py_INCREF(Py_None
); resultobj
= Py_None
;
21575 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21576 PyObject
*resultobj
;
21577 wxWindow
*arg1
= (wxWindow
*) 0 ;
21579 PyObject
* obj0
= 0 ;
21580 char *kwnames
[] = {
21581 (char *) "self", NULL
21584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
21585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 result
= (arg1
)->GetPosition();
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21594 wxPoint
* resultptr
;
21595 resultptr
= new wxPoint((wxPoint
&) result
);
21596 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21604 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
;
21606 wxWindow
*arg1
= (wxWindow
*) 0 ;
21607 int *arg2
= (int *) 0 ;
21608 int *arg3
= (int *) 0 ;
21611 PyObject
* obj0
= 0 ;
21612 char *kwnames
[] = {
21613 (char *) "self", NULL
21618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
21619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21622 (arg1
)->GetPosition(arg2
,arg3
);
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 Py_INCREF(Py_None
); resultobj
= Py_None
;
21629 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21630 resultobj
= t_output_helper(resultobj
,o
);
21633 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21634 resultobj
= t_output_helper(resultobj
,o
);
21642 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
;
21644 wxWindow
*arg1
= (wxWindow
*) 0 ;
21646 PyObject
* obj0
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
21652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 result
= ((wxWindow
const *)arg1
)->GetSize();
21657 wxPyEndAllowThreads(__tstate
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21661 wxSize
* resultptr
;
21662 resultptr
= new wxSize((wxSize
&) result
);
21663 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21671 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
;
21673 wxWindow
*arg1
= (wxWindow
*) 0 ;
21674 int *arg2
= (int *) 0 ;
21675 int *arg3
= (int *) 0 ;
21678 PyObject
* obj0
= 0 ;
21679 char *kwnames
[] = {
21680 (char *) "self", NULL
21685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
21686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21694 Py_INCREF(Py_None
); resultobj
= Py_None
;
21696 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21697 resultobj
= t_output_helper(resultobj
,o
);
21700 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21701 resultobj
= t_output_helper(resultobj
,o
);
21709 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxWindow
*arg1
= (wxWindow
*) 0 ;
21713 PyObject
* obj0
= 0 ;
21714 char *kwnames
[] = {
21715 (char *) "self", NULL
21718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
21719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 result
= ((wxWindow
const *)arg1
)->GetRect();
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21728 wxRect
* resultptr
;
21729 resultptr
= new wxRect((wxRect
&) result
);
21730 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
21738 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
;
21740 wxWindow
*arg1
= (wxWindow
*) 0 ;
21742 PyObject
* obj0
= 0 ;
21743 char *kwnames
[] = {
21744 (char *) "self", NULL
21747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
21748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 result
= ((wxWindow
const *)arg1
)->GetClientSize();
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21757 wxSize
* resultptr
;
21758 resultptr
= new wxSize((wxSize
&) result
);
21759 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21767 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21768 PyObject
*resultobj
;
21769 wxWindow
*arg1
= (wxWindow
*) 0 ;
21770 int *arg2
= (int *) 0 ;
21771 int *arg3
= (int *) 0 ;
21774 PyObject
* obj0
= 0 ;
21775 char *kwnames
[] = {
21776 (char *) "self", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
21782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
21787 wxPyEndAllowThreads(__tstate
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21790 Py_INCREF(Py_None
); resultobj
= Py_None
;
21792 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21793 resultobj
= t_output_helper(resultobj
,o
);
21796 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21797 resultobj
= t_output_helper(resultobj
,o
);
21805 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
;
21807 wxWindow
*arg1
= (wxWindow
*) 0 ;
21809 PyObject
* obj0
= 0 ;
21810 char *kwnames
[] = {
21811 (char *) "self", NULL
21814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
21815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21824 wxPoint
* resultptr
;
21825 resultptr
= new wxPoint((wxPoint
&) result
);
21826 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21834 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
;
21836 wxWindow
*arg1
= (wxWindow
*) 0 ;
21838 PyObject
* obj0
= 0 ;
21839 char *kwnames
[] = {
21840 (char *) "self", NULL
21843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
21844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 result
= ((wxWindow
const *)arg1
)->GetClientRect();
21849 wxPyEndAllowThreads(__tstate
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21853 wxRect
* resultptr
;
21854 resultptr
= new wxRect((wxRect
&) result
);
21855 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
21863 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
;
21865 wxWindow
*arg1
= (wxWindow
*) 0 ;
21867 PyObject
* obj0
= 0 ;
21868 char *kwnames
[] = {
21869 (char *) "self", NULL
21872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
21873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 result
= ((wxWindow
const *)arg1
)->GetBestSize();
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21882 wxSize
* resultptr
;
21883 resultptr
= new wxSize((wxSize
&) result
);
21884 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21892 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21893 PyObject
*resultobj
;
21894 wxWindow
*arg1
= (wxWindow
*) 0 ;
21895 int *arg2
= (int *) 0 ;
21896 int *arg3
= (int *) 0 ;
21899 PyObject
* obj0
= 0 ;
21900 char *kwnames
[] = {
21901 (char *) "self", NULL
21906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
21907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
21912 wxPyEndAllowThreads(__tstate
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21915 Py_INCREF(Py_None
); resultobj
= Py_None
;
21917 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21918 resultobj
= t_output_helper(resultobj
,o
);
21921 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21922 resultobj
= t_output_helper(resultobj
,o
);
21930 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21931 PyObject
*resultobj
;
21932 wxWindow
*arg1
= (wxWindow
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 char *kwnames
[] = {
21936 (char *) "self", NULL
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
21940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21949 wxSize
* resultptr
;
21950 resultptr
= new wxSize((wxSize
&) result
);
21951 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21959 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
;
21961 wxWindow
*arg1
= (wxWindow
*) 0 ;
21962 int arg2
= (int) wxBOTH
;
21963 PyObject
* obj0
= 0 ;
21964 PyObject
* obj1
= 0 ;
21965 char *kwnames
[] = {
21966 (char *) "self",(char *) "direction", NULL
21969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
21970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21973 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 (arg1
)->Center(arg2
);
21981 wxPyEndAllowThreads(__tstate
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21984 Py_INCREF(Py_None
); resultobj
= Py_None
;
21991 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21992 PyObject
*resultobj
;
21993 wxWindow
*arg1
= (wxWindow
*) 0 ;
21994 int arg2
= (int) wxBOTH
;
21995 PyObject
* obj0
= 0 ;
21996 PyObject
* obj1
= 0 ;
21997 char *kwnames
[] = {
21998 (char *) "self",(char *) "dir", NULL
22001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22005 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 (arg1
)->CenterOnScreen(arg2
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 Py_INCREF(Py_None
); resultobj
= Py_None
;
22023 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxWindow
*arg1
= (wxWindow
*) 0 ;
22026 int arg2
= (int) wxBOTH
;
22027 PyObject
* obj0
= 0 ;
22028 PyObject
* obj1
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self",(char *) "dir", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22037 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 (arg1
)->CenterOnParent(arg2
);
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22048 Py_INCREF(Py_None
); resultobj
= Py_None
;
22055 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22056 PyObject
*resultobj
;
22057 wxWindow
*arg1
= (wxWindow
*) 0 ;
22058 PyObject
* obj0
= 0 ;
22059 char *kwnames
[] = {
22060 (char *) "self", NULL
22063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 Py_INCREF(Py_None
); resultobj
= Py_None
;
22079 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
;
22081 wxWindow
*arg1
= (wxWindow
*) 0 ;
22082 PyObject
* obj0
= 0 ;
22083 char *kwnames
[] = {
22084 (char *) "self", NULL
22087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 (arg1
)->FitInside();
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22096 Py_INCREF(Py_None
); resultobj
= Py_None
;
22103 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
;
22105 wxWindow
*arg1
= (wxWindow
*) 0 ;
22108 int arg4
= (int) -1 ;
22109 int arg5
= (int) -1 ;
22110 int arg6
= (int) -1 ;
22111 int arg7
= (int) -1 ;
22112 PyObject
* obj0
= 0 ;
22113 PyObject
* obj1
= 0 ;
22114 PyObject
* obj2
= 0 ;
22115 PyObject
* obj3
= 0 ;
22116 PyObject
* obj4
= 0 ;
22117 PyObject
* obj5
= 0 ;
22118 PyObject
* obj6
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22126 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22130 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22135 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22141 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22147 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22153 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 Py_INCREF(Py_None
); resultobj
= Py_None
;
22171 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
;
22173 wxWindow
*arg1
= (wxWindow
*) 0 ;
22176 int arg4
= (int) -1 ;
22177 int arg5
= (int) -1 ;
22178 PyObject
* obj0
= 0 ;
22179 PyObject
* obj1
= 0 ;
22180 PyObject
* obj2
= 0 ;
22181 PyObject
* obj3
= 0 ;
22182 PyObject
* obj4
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22190 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22194 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22199 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22205 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22211 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
22213 wxPyEndAllowThreads(__tstate
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22216 Py_INCREF(Py_None
); resultobj
= Py_None
;
22223 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22224 PyObject
*resultobj
;
22225 wxWindow
*arg1
= (wxWindow
*) 0 ;
22227 PyObject
* obj0
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self", NULL
22232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
22233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22241 resultobj
= SWIG_PyObj_FromInt((int)result
);
22248 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22249 PyObject
*resultobj
;
22250 wxWindow
*arg1
= (wxWindow
*) 0 ;
22252 PyObject
* obj0
= 0 ;
22253 char *kwnames
[] = {
22254 (char *) "self", NULL
22257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
22258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= SWIG_PyObj_FromInt((int)result
);
22273 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22274 PyObject
*resultobj
;
22275 wxWindow
*arg1
= (wxWindow
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 char *kwnames
[] = {
22279 (char *) "self", NULL
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
22283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22286 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
22288 wxPyEndAllowThreads(__tstate
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22291 resultobj
= SWIG_PyObj_FromInt((int)result
);
22298 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
;
22300 wxWindow
*arg1
= (wxWindow
*) 0 ;
22302 PyObject
* obj0
= 0 ;
22303 char *kwnames
[] = {
22304 (char *) "self", NULL
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
22308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22311 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22316 resultobj
= SWIG_PyObj_FromInt((int)result
);
22323 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
;
22325 wxWindow
*arg1
= (wxWindow
*) 0 ;
22327 PyObject
* obj0
= 0 ;
22328 char *kwnames
[] = {
22329 (char *) "self", NULL
22332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
22333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
22338 wxPyEndAllowThreads(__tstate
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22342 wxSize
* resultptr
;
22343 resultptr
= new wxSize((wxSize
&) result
);
22344 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22352 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxWindow
*arg1
= (wxWindow
*) 0 ;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self",(char *) "size", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22367 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22376 Py_INCREF(Py_None
); resultobj
= Py_None
;
22383 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22384 PyObject
*resultobj
;
22385 wxWindow
*arg1
= (wxWindow
*) 0 ;
22388 PyObject
* obj0
= 0 ;
22389 PyObject
* obj1
= 0 ;
22390 PyObject
* obj2
= 0 ;
22391 char *kwnames
[] = {
22392 (char *) "self",(char *) "w",(char *) "h", NULL
22395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22398 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22402 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 (arg1
)->SetVirtualSize(arg2
,arg3
);
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 Py_INCREF(Py_None
); resultobj
= Py_None
;
22419 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
;
22421 wxWindow
*arg1
= (wxWindow
*) 0 ;
22423 PyObject
* obj0
= 0 ;
22424 char *kwnames
[] = {
22425 (char *) "self", NULL
22428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
22429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
22434 wxPyEndAllowThreads(__tstate
);
22435 if (PyErr_Occurred()) SWIG_fail
;
22438 wxSize
* resultptr
;
22439 resultptr
= new wxSize((wxSize
&) result
);
22440 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22448 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22449 PyObject
*resultobj
;
22450 wxWindow
*arg1
= (wxWindow
*) 0 ;
22451 int *arg2
= (int *) 0 ;
22452 int *arg3
= (int *) 0 ;
22455 PyObject
* obj0
= 0 ;
22456 char *kwnames
[] = {
22457 (char *) "self", NULL
22462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
22463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 Py_INCREF(Py_None
); resultobj
= Py_None
;
22473 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22474 resultobj
= t_output_helper(resultobj
,o
);
22477 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22478 resultobj
= t_output_helper(resultobj
,o
);
22486 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
;
22488 wxWindow
*arg1
= (wxWindow
*) 0 ;
22490 PyObject
* obj0
= 0 ;
22491 char *kwnames
[] = {
22492 (char *) "self", NULL
22495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
22496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22505 wxSize
* resultptr
;
22506 resultptr
= new wxSize((wxSize
&) result
);
22507 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22515 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxWindow
*arg1
= (wxWindow
*) 0 ;
22518 bool arg2
= (bool) True
;
22520 PyObject
* obj0
= 0 ;
22521 PyObject
* obj1
= 0 ;
22522 char *kwnames
[] = {
22523 (char *) "self",(char *) "show", NULL
22526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
22527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22530 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22536 result
= (bool)(arg1
)->Show(arg2
);
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22548 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
;
22550 wxWindow
*arg1
= (wxWindow
*) 0 ;
22552 PyObject
* obj0
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
22558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 result
= (bool)(arg1
)->Hide();
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22573 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22574 PyObject
*resultobj
;
22575 wxWindow
*arg1
= (wxWindow
*) 0 ;
22576 bool arg2
= (bool) True
;
22578 PyObject
* obj0
= 0 ;
22579 PyObject
* obj1
= 0 ;
22580 char *kwnames
[] = {
22581 (char *) "self",(char *) "enable", NULL
22584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
22585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22588 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 result
= (bool)(arg1
)->Enable(arg2
);
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22606 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22607 PyObject
*resultobj
;
22608 wxWindow
*arg1
= (wxWindow
*) 0 ;
22610 PyObject
* obj0
= 0 ;
22611 char *kwnames
[] = {
22612 (char *) "self", NULL
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
22616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (bool)(arg1
)->Disable();
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22631 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22632 PyObject
*resultobj
;
22633 wxWindow
*arg1
= (wxWindow
*) 0 ;
22635 PyObject
* obj0
= 0 ;
22636 char *kwnames
[] = {
22637 (char *) "self", NULL
22640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
22641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22656 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
;
22658 wxWindow
*arg1
= (wxWindow
*) 0 ;
22660 PyObject
* obj0
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
22666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22681 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
;
22683 wxWindow
*arg1
= (wxWindow
*) 0 ;
22685 PyObject
* obj0
= 0 ;
22686 PyObject
* obj1
= 0 ;
22687 char *kwnames
[] = {
22688 (char *) "self",(char *) "style", NULL
22691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22694 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 (arg1
)->SetWindowStyleFlag(arg2
);
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 Py_INCREF(Py_None
); resultobj
= Py_None
;
22711 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
;
22713 wxWindow
*arg1
= (wxWindow
*) 0 ;
22715 PyObject
* obj0
= 0 ;
22716 char *kwnames
[] = {
22717 (char *) "self", NULL
22720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
22721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= SWIG_PyObj_FromLong((long)result
);
22736 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22737 PyObject
*resultobj
;
22738 wxWindow
*arg1
= (wxWindow
*) 0 ;
22740 PyObject
* obj0
= 0 ;
22741 PyObject
* obj1
= 0 ;
22742 char *kwnames
[] = {
22743 (char *) "self",(char *) "style", NULL
22746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
22747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22749 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 (arg1
)->SetWindowStyle(arg2
);
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 Py_INCREF(Py_None
); resultobj
= Py_None
;
22766 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
;
22768 wxWindow
*arg1
= (wxWindow
*) 0 ;
22770 PyObject
* obj0
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "self", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
22776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22779 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
22781 wxPyEndAllowThreads(__tstate
);
22782 if (PyErr_Occurred()) SWIG_fail
;
22784 resultobj
= SWIG_PyObj_FromLong((long)result
);
22791 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22792 PyObject
*resultobj
;
22793 wxWindow
*arg1
= (wxWindow
*) 0 ;
22796 PyObject
* obj0
= 0 ;
22797 PyObject
* obj1
= 0 ;
22798 char *kwnames
[] = {
22799 (char *) "self",(char *) "flag", NULL
22802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22805 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22822 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22824 wxWindow
*arg1
= (wxWindow
*) 0 ;
22826 PyObject
* obj0
= 0 ;
22827 char *kwnames
[] = {
22828 (char *) "self", NULL
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
22832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22847 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22848 PyObject
*resultobj
;
22849 wxWindow
*arg1
= (wxWindow
*) 0 ;
22851 PyObject
* obj0
= 0 ;
22852 PyObject
* obj1
= 0 ;
22853 char *kwnames
[] = {
22854 (char *) "self",(char *) "exStyle", NULL
22857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
22858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22860 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 (arg1
)->SetExtraStyle(arg2
);
22867 wxPyEndAllowThreads(__tstate
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22870 Py_INCREF(Py_None
); resultobj
= Py_None
;
22877 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22878 PyObject
*resultobj
;
22879 wxWindow
*arg1
= (wxWindow
*) 0 ;
22881 PyObject
* obj0
= 0 ;
22882 char *kwnames
[] = {
22883 (char *) "self", NULL
22886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
22887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22890 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
22892 wxPyEndAllowThreads(__tstate
);
22893 if (PyErr_Occurred()) SWIG_fail
;
22895 resultobj
= SWIG_PyObj_FromLong((long)result
);
22902 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
;
22904 wxWindow
*arg1
= (wxWindow
*) 0 ;
22905 bool arg2
= (bool) True
;
22906 PyObject
* obj0
= 0 ;
22907 PyObject
* obj1
= 0 ;
22908 char *kwnames
[] = {
22909 (char *) "self",(char *) "modal", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
22913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22916 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 (arg1
)->MakeModal(arg2
);
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 Py_INCREF(Py_None
); resultobj
= Py_None
;
22934 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22935 PyObject
*resultobj
;
22936 wxWindow
*arg1
= (wxWindow
*) 0 ;
22938 PyObject
* obj0
= 0 ;
22939 PyObject
* obj1
= 0 ;
22940 char *kwnames
[] = {
22941 (char *) "self",(char *) "enableTheme", NULL
22944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
22945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22947 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22952 (arg1
)->SetThemeEnabled(arg2
);
22954 wxPyEndAllowThreads(__tstate
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22957 Py_INCREF(Py_None
); resultobj
= Py_None
;
22964 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22965 PyObject
*resultobj
;
22966 wxWindow
*arg1
= (wxWindow
*) 0 ;
22968 PyObject
* obj0
= 0 ;
22969 char *kwnames
[] = {
22970 (char *) "self", NULL
22973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
22974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22989 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22990 PyObject
*resultobj
;
22991 wxWindow
*arg1
= (wxWindow
*) 0 ;
22993 PyObject
* obj0
= 0 ;
22994 char *kwnames
[] = {
22995 (char *) "self", NULL
22998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
22999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23002 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23014 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23015 PyObject
*resultobj
;
23016 wxWindow
*arg1
= (wxWindow
*) 0 ;
23017 PyObject
* obj0
= 0 ;
23018 char *kwnames
[] = {
23019 (char *) "self", NULL
23022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
23023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 (arg1
)->SetFocus();
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23031 Py_INCREF(Py_None
); resultobj
= Py_None
;
23038 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23040 wxWindow
*arg1
= (wxWindow
*) 0 ;
23041 PyObject
* obj0
= 0 ;
23042 char *kwnames
[] = {
23043 (char *) "self", NULL
23046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
23047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 (arg1
)->SetFocusFromKbd();
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23055 Py_INCREF(Py_None
); resultobj
= Py_None
;
23062 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23063 PyObject
*resultobj
;
23065 char *kwnames
[] = {
23069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 result
= (wxWindow
*)wxWindow::FindFocus();
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= wxPyMake_wxObject(result
);
23086 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 wxWindow
*arg1
= (wxWindow
*) 0 ;
23090 PyObject
* obj0
= 0 ;
23091 char *kwnames
[] = {
23092 (char *) "self", NULL
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
23096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
23101 wxPyEndAllowThreads(__tstate
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23111 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23112 PyObject
*resultobj
;
23113 wxWindow
*arg1
= (wxWindow
*) 0 ;
23115 PyObject
* obj0
= 0 ;
23116 char *kwnames
[] = {
23117 (char *) "self", NULL
23120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
23121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23136 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
;
23138 wxWindow
*arg1
= (wxWindow
*) 0 ;
23140 PyObject
* obj0
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
23146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23149 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
23151 wxPyEndAllowThreads(__tstate
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23155 resultobj
= wxPyMake_wxObject(result
);
23163 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23164 PyObject
*resultobj
;
23165 wxWindow
*arg1
= (wxWindow
*) 0 ;
23166 wxWindow
*arg2
= (wxWindow
*) 0 ;
23168 PyObject
* obj0
= 0 ;
23169 PyObject
* obj1
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self",(char *) "child", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23176 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= wxPyMake_wxObject(result
);
23193 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23194 PyObject
*resultobj
;
23195 wxWindow
*arg1
= (wxWindow
*) 0 ;
23196 wxWindow
*arg2
= (wxWindow
*) 0 ;
23197 PyObject
* obj0
= 0 ;
23198 PyObject
* obj1
= 0 ;
23199 char *kwnames
[] = {
23200 (char *) "self",(char *) "win", NULL
23203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23205 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 (arg1
)->SetTmpDefaultItem(arg2
);
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 Py_INCREF(Py_None
); resultobj
= Py_None
;
23220 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxWindow
*arg1
= (wxWindow
*) 0 ;
23224 PyObject
* obj0
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "self", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
23230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= result
;
23245 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
;
23247 wxWindow
*arg1
= (wxWindow
*) 0 ;
23249 PyObject
* obj0
= 0 ;
23250 char *kwnames
[] = {
23251 (char *) "self", NULL
23254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
23255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23258 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23264 resultobj
= wxPyMake_wxObject(result
);
23272 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
;
23274 wxWindow
*arg1
= (wxWindow
*) 0 ;
23276 PyObject
* obj0
= 0 ;
23277 char *kwnames
[] = {
23278 (char *) "self", NULL
23281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
23282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= wxPyMake_wxObject(result
);
23299 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxWindow
*arg1
= (wxWindow
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
23309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23324 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
;
23326 wxWindow
*arg1
= (wxWindow
*) 0 ;
23327 wxWindow
*arg2
= (wxWindow
*) 0 ;
23329 PyObject
* obj0
= 0 ;
23330 PyObject
* obj1
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self",(char *) "newParent", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
23336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23337 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 result
= (bool)(arg1
)->Reparent(arg2
);
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23352 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
;
23354 wxWindow
*arg1
= (wxWindow
*) 0 ;
23355 wxWindow
*arg2
= (wxWindow
*) 0 ;
23356 PyObject
* obj0
= 0 ;
23357 PyObject
* obj1
= 0 ;
23358 char *kwnames
[] = {
23359 (char *) "self",(char *) "child", NULL
23362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23364 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 (arg1
)->AddChild(arg2
);
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23372 Py_INCREF(Py_None
); resultobj
= Py_None
;
23379 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
;
23381 wxWindow
*arg1
= (wxWindow
*) 0 ;
23382 wxWindow
*arg2
= (wxWindow
*) 0 ;
23383 PyObject
* obj0
= 0 ;
23384 PyObject
* obj1
= 0 ;
23385 char *kwnames
[] = {
23386 (char *) "self",(char *) "child", NULL
23389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23391 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 (arg1
)->RemoveChild(arg2
);
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23399 Py_INCREF(Py_None
); resultobj
= Py_None
;
23406 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
;
23408 wxWindow
*arg1
= (wxWindow
*) 0 ;
23411 PyObject
* obj0
= 0 ;
23412 PyObject
* obj1
= 0 ;
23413 char *kwnames
[] = {
23414 (char *) "self",(char *) "winid", NULL
23417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
23418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23420 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23431 resultobj
= wxPyMake_wxObject(result
);
23439 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
;
23441 wxWindow
*arg1
= (wxWindow
*) 0 ;
23442 wxString
*arg2
= 0 ;
23444 bool temp2
= False
;
23445 PyObject
* obj0
= 0 ;
23446 PyObject
* obj1
= 0 ;
23447 char *kwnames
[] = {
23448 (char *) "self",(char *) "name", NULL
23451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
23452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23454 arg2
= wxString_in_helper(obj1
);
23455 if (arg2
== NULL
) SWIG_fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23466 resultobj
= wxPyMake_wxObject(result
);
23482 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23483 PyObject
*resultobj
;
23484 wxWindow
*arg1
= (wxWindow
*) 0 ;
23485 wxEvtHandler
*result
;
23486 PyObject
* obj0
= 0 ;
23487 char *kwnames
[] = {
23488 (char *) "self", NULL
23491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
23492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= wxPyMake_wxObject(result
);
23509 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
;
23511 wxWindow
*arg1
= (wxWindow
*) 0 ;
23512 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23515 char *kwnames
[] = {
23516 (char *) "self",(char *) "handler", NULL
23519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23521 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 (arg1
)->SetEventHandler(arg2
);
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 Py_INCREF(Py_None
); resultobj
= Py_None
;
23536 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23537 PyObject
*resultobj
;
23538 wxWindow
*arg1
= (wxWindow
*) 0 ;
23539 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23540 PyObject
* obj0
= 0 ;
23541 PyObject
* obj1
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self",(char *) "handler", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23548 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 (arg1
)->PushEventHandler(arg2
);
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23556 Py_INCREF(Py_None
); resultobj
= Py_None
;
23563 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
;
23565 wxWindow
*arg1
= (wxWindow
*) 0 ;
23566 bool arg2
= (bool) False
;
23567 wxEvtHandler
*result
;
23568 PyObject
* obj0
= 0 ;
23569 PyObject
* obj1
= 0 ;
23570 char *kwnames
[] = {
23571 (char *) "self",(char *) "deleteHandler", NULL
23574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23578 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23590 resultobj
= wxPyMake_wxObject(result
);
23598 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
;
23600 wxWindow
*arg1
= (wxWindow
*) 0 ;
23601 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 char *kwnames
[] = {
23606 (char *) "self",(char *) "handler", NULL
23609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23611 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23626 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23627 PyObject
*resultobj
;
23628 wxWindow
*arg1
= (wxWindow
*) 0 ;
23629 wxValidator
*arg2
= 0 ;
23630 PyObject
* obj0
= 0 ;
23631 PyObject
* obj1
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self",(char *) "validator", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
23637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23639 if (arg2
== NULL
) {
23640 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23649 Py_INCREF(Py_None
); resultobj
= Py_None
;
23656 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23657 PyObject
*resultobj
;
23658 wxWindow
*arg1
= (wxWindow
*) 0 ;
23659 wxValidator
*result
;
23660 PyObject
* obj0
= 0 ;
23661 char *kwnames
[] = {
23662 (char *) "self", NULL
23665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
23666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (wxValidator
*)(arg1
)->GetValidator();
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= wxPyMake_wxObject(result
);
23683 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
;
23685 wxWindow
*arg1
= (wxWindow
*) 0 ;
23686 wxAcceleratorTable
*arg2
= 0 ;
23687 PyObject
* obj0
= 0 ;
23688 PyObject
* obj1
= 0 ;
23689 char *kwnames
[] = {
23690 (char *) "self",(char *) "accel", NULL
23693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
23694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23695 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23696 if (arg2
== NULL
) {
23697 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 Py_INCREF(Py_None
); resultobj
= Py_None
;
23713 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxWindow
*arg1
= (wxWindow
*) 0 ;
23716 wxAcceleratorTable
*result
;
23717 PyObject
* obj0
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "self", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
23723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
23738 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23739 PyObject
*resultobj
;
23740 wxWindow
*arg1
= (wxWindow
*) 0 ;
23745 PyObject
* obj0
= 0 ;
23746 PyObject
* obj1
= 0 ;
23747 PyObject
* obj2
= 0 ;
23748 PyObject
* obj3
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23756 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23760 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23764 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23781 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
;
23783 wxWindow
*arg1
= (wxWindow
*) 0 ;
23786 PyObject
* obj0
= 0 ;
23787 PyObject
* obj1
= 0 ;
23788 char *kwnames
[] = {
23789 (char *) "self",(char *) "hotkeyId", NULL
23792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
23793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23795 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23812 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxWindow
*arg1
= (wxWindow
*) 0 ;
23815 wxPoint
*arg2
= 0 ;
23818 PyObject
* obj0
= 0 ;
23819 PyObject
* obj1
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "self",(char *) "pt", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
23825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23828 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23838 wxPoint
* resultptr
;
23839 resultptr
= new wxPoint((wxPoint
&) result
);
23840 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23848 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23849 PyObject
*resultobj
;
23850 wxWindow
*arg1
= (wxWindow
*) 0 ;
23854 PyObject
* obj0
= 0 ;
23855 PyObject
* obj1
= 0 ;
23856 char *kwnames
[] = {
23857 (char *) "self",(char *) "sz", NULL
23860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
23861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23864 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23874 wxSize
* resultptr
;
23875 resultptr
= new wxSize((wxSize
&) result
);
23876 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
23884 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
;
23886 wxWindow
*arg1
= (wxWindow
*) 0 ;
23887 wxPoint
*arg2
= 0 ;
23890 PyObject
* obj0
= 0 ;
23891 PyObject
* obj1
= 0 ;
23892 char *kwnames
[] = {
23893 (char *) "self",(char *) "pt", NULL
23896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
23897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23900 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23910 wxPoint
* resultptr
;
23911 resultptr
= new wxPoint((wxPoint
&) result
);
23912 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23920 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 wxWindow
*arg1
= (wxWindow
*) 0 ;
23926 PyObject
* obj0
= 0 ;
23927 PyObject
* obj1
= 0 ;
23928 char *kwnames
[] = {
23929 (char *) "self",(char *) "sz", NULL
23932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
23933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23936 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23946 wxSize
* resultptr
;
23947 resultptr
= new wxSize((wxSize
&) result
);
23948 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
23956 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxWindow
*arg1
= (wxWindow
*) 0 ;
23959 wxPoint
*arg2
= 0 ;
23962 PyObject
* obj0
= 0 ;
23963 PyObject
* obj1
= 0 ;
23964 char *kwnames
[] = {
23965 (char *) "self",(char *) "pt", NULL
23968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23972 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23982 wxPoint
* resultptr
;
23983 resultptr
= new wxPoint((wxPoint
&) result
);
23984 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23992 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23993 PyObject
*resultobj
;
23994 wxWindow
*arg1
= (wxWindow
*) 0 ;
23998 PyObject
* obj0
= 0 ;
23999 PyObject
* obj1
= 0 ;
24000 char *kwnames
[] = {
24001 (char *) "self",(char *) "sz", NULL
24004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24008 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24012 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
24014 wxPyEndAllowThreads(__tstate
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24018 wxSize
* resultptr
;
24019 resultptr
= new wxSize((wxSize
&) result
);
24020 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24028 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24029 PyObject
*resultobj
;
24030 wxWindow
*arg1
= (wxWindow
*) 0 ;
24033 PyObject
* obj0
= 0 ;
24034 PyObject
* obj1
= 0 ;
24035 PyObject
* obj2
= 0 ;
24036 char *kwnames
[] = {
24037 (char *) "self",(char *) "x",(char *) "y", NULL
24040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24043 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24047 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24052 (arg1
)->WarpPointer(arg2
,arg3
);
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24057 Py_INCREF(Py_None
); resultobj
= Py_None
;
24064 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
;
24066 wxWindow
*arg1
= (wxWindow
*) 0 ;
24067 PyObject
* obj0
= 0 ;
24068 char *kwnames
[] = {
24069 (char *) "self", NULL
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
24073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 (arg1
)->CaptureMouse();
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24081 Py_INCREF(Py_None
); resultobj
= Py_None
;
24088 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
;
24090 wxWindow
*arg1
= (wxWindow
*) 0 ;
24091 PyObject
* obj0
= 0 ;
24092 char *kwnames
[] = {
24093 (char *) "self", NULL
24096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
24097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24100 (arg1
)->ReleaseMouse();
24102 wxPyEndAllowThreads(__tstate
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24105 Py_INCREF(Py_None
); resultobj
= Py_None
;
24112 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
;
24115 char *kwnames
[] = {
24119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 result
= (wxWindow
*)wxWindow::GetCapture();
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24128 resultobj
= wxPyMake_wxObject(result
);
24136 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24137 PyObject
*resultobj
;
24138 wxWindow
*arg1
= (wxWindow
*) 0 ;
24140 PyObject
* obj0
= 0 ;
24141 char *kwnames
[] = {
24142 (char *) "self", NULL
24145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
24146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24161 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
;
24163 wxWindow
*arg1
= (wxWindow
*) 0 ;
24164 bool arg2
= (bool) True
;
24165 wxRect
*arg3
= (wxRect
*) NULL
;
24166 PyObject
* obj0
= 0 ;
24167 PyObject
* obj1
= 0 ;
24168 PyObject
* obj2
= 0 ;
24169 char *kwnames
[] = {
24170 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24177 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24182 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 Py_INCREF(Py_None
); resultobj
= Py_None
;
24198 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxWindow
*arg1
= (wxWindow
*) 0 ;
24203 PyObject
* obj0
= 0 ;
24204 PyObject
* obj1
= 0 ;
24205 char *kwnames
[] = {
24206 (char *) "self",(char *) "rect", NULL
24209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24213 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
24219 wxPyEndAllowThreads(__tstate
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24222 Py_INCREF(Py_None
); resultobj
= Py_None
;
24229 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
;
24231 wxWindow
*arg1
= (wxWindow
*) 0 ;
24232 PyObject
* obj0
= 0 ;
24233 char *kwnames
[] = {
24234 (char *) "self", NULL
24237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
24238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24246 Py_INCREF(Py_None
); resultobj
= Py_None
;
24253 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24254 PyObject
*resultobj
;
24255 wxWindow
*arg1
= (wxWindow
*) 0 ;
24256 PyObject
* obj0
= 0 ;
24257 char *kwnames
[] = {
24258 (char *) "self", NULL
24261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
24262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 (arg1
)->ClearBackground();
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 Py_INCREF(Py_None
); resultobj
= Py_None
;
24277 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
;
24279 wxWindow
*arg1
= (wxWindow
*) 0 ;
24280 PyObject
* obj0
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
24286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24294 Py_INCREF(Py_None
); resultobj
= Py_None
;
24301 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24302 PyObject
*resultobj
;
24303 wxWindow
*arg1
= (wxWindow
*) 0 ;
24304 PyObject
* obj0
= 0 ;
24305 char *kwnames
[] = {
24306 (char *) "self", NULL
24309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
24310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24315 wxPyEndAllowThreads(__tstate
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24318 Py_INCREF(Py_None
); resultobj
= Py_None
;
24325 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24326 PyObject
*resultobj
;
24327 wxWindow
*arg1
= (wxWindow
*) 0 ;
24329 PyObject
* obj0
= 0 ;
24330 PyObject
* obj1
= 0 ;
24331 char *kwnames
[] = {
24332 (char *) "self",(char *) "dc", NULL
24335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24337 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24338 if (arg2
== NULL
) {
24339 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 (arg1
)->PrepareDC(*arg2
);
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24348 Py_INCREF(Py_None
); resultobj
= Py_None
;
24355 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24356 PyObject
*resultobj
;
24357 wxWindow
*arg1
= (wxWindow
*) 0 ;
24359 PyObject
* obj0
= 0 ;
24360 char *kwnames
[] = {
24361 (char *) "self", NULL
24364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
24365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
24370 result
= (wxRegion
*) &_result_ref
;
24373 wxPyEndAllowThreads(__tstate
);
24374 if (PyErr_Occurred()) SWIG_fail
;
24376 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
24383 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24384 PyObject
*resultobj
;
24385 wxWindow
*arg1
= (wxWindow
*) 0 ;
24387 PyObject
* obj0
= 0 ;
24388 char *kwnames
[] = {
24389 (char *) "self", NULL
24392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
24393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24402 wxRect
* resultptr
;
24403 resultptr
= new wxRect((wxRect
&) result
);
24404 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
24412 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
;
24414 wxWindow
*arg1
= (wxWindow
*) 0 ;
24417 int arg4
= (int) 1 ;
24418 int arg5
= (int) 1 ;
24420 PyObject
* obj0
= 0 ;
24421 PyObject
* obj1
= 0 ;
24422 PyObject
* obj2
= 0 ;
24423 PyObject
* obj3
= 0 ;
24424 PyObject
* obj4
= 0 ;
24425 char *kwnames
[] = {
24426 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24432 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24436 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24441 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24447 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
24455 wxPyEndAllowThreads(__tstate
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24465 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24466 PyObject
*resultobj
;
24467 wxWindow
*arg1
= (wxWindow
*) 0 ;
24468 wxPoint
*arg2
= 0 ;
24471 PyObject
* obj0
= 0 ;
24472 PyObject
* obj1
= 0 ;
24473 char *kwnames
[] = {
24474 (char *) "self",(char *) "pt", NULL
24477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24481 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24497 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24498 PyObject
*resultobj
;
24499 wxWindow
*arg1
= (wxWindow
*) 0 ;
24503 PyObject
* obj0
= 0 ;
24504 PyObject
* obj1
= 0 ;
24505 char *kwnames
[] = {
24506 (char *) "self",(char *) "rect", NULL
24509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24513 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24529 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24530 PyObject
*resultobj
;
24531 wxWindow
*arg1
= (wxWindow
*) 0 ;
24532 wxColour
*arg2
= 0 ;
24535 PyObject
* obj0
= 0 ;
24536 PyObject
* obj1
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "self",(char *) "colour", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24561 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24562 PyObject
*resultobj
;
24563 wxWindow
*arg1
= (wxWindow
*) 0 ;
24564 wxColour
*arg2
= 0 ;
24567 PyObject
* obj0
= 0 ;
24568 PyObject
* obj1
= 0 ;
24569 char *kwnames
[] = {
24570 (char *) "self",(char *) "colour", NULL
24573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24577 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24593 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
;
24595 wxWindow
*arg1
= (wxWindow
*) 0 ;
24597 PyObject
* obj0
= 0 ;
24598 char *kwnames
[] = {
24599 (char *) "self", NULL
24602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
24603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24612 wxColour
* resultptr
;
24613 resultptr
= new wxColour((wxColour
&) result
);
24614 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24622 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24624 wxWindow
*arg1
= (wxWindow
*) 0 ;
24626 PyObject
* obj0
= 0 ;
24627 char *kwnames
[] = {
24628 (char *) "self", NULL
24631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
24632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24641 wxColour
* resultptr
;
24642 resultptr
= new wxColour((wxColour
&) result
);
24643 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24651 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
;
24653 wxWindow
*arg1
= (wxWindow
*) 0 ;
24654 wxCursor
*arg2
= 0 ;
24656 PyObject
* obj0
= 0 ;
24657 PyObject
* obj1
= 0 ;
24658 char *kwnames
[] = {
24659 (char *) "self",(char *) "cursor", NULL
24662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
24663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24664 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24665 if (arg2
== NULL
) {
24666 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
24672 wxPyEndAllowThreads(__tstate
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24682 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
;
24684 wxWindow
*arg1
= (wxWindow
*) 0 ;
24686 PyObject
* obj0
= 0 ;
24687 char *kwnames
[] = {
24688 (char *) "self", NULL
24691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
24692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 wxCursor
&_result_ref
= (arg1
)->GetCursor();
24697 result
= (wxCursor
*) &_result_ref
;
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
24710 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
;
24712 wxWindow
*arg1
= (wxWindow
*) 0 ;
24715 PyObject
* obj0
= 0 ;
24716 PyObject
* obj1
= 0 ;
24717 char *kwnames
[] = {
24718 (char *) "self",(char *) "font", NULL
24721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24723 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24724 if (arg2
== NULL
) {
24725 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24741 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24742 PyObject
*resultobj
;
24743 wxWindow
*arg1
= (wxWindow
*) 0 ;
24745 PyObject
* obj0
= 0 ;
24746 char *kwnames
[] = {
24747 (char *) "self", NULL
24750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
24751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 wxFont
&_result_ref
= (arg1
)->GetFont();
24756 result
= (wxFont
*) &_result_ref
;
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
24769 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24770 PyObject
*resultobj
;
24771 wxWindow
*arg1
= (wxWindow
*) 0 ;
24772 wxCaret
*arg2
= (wxCaret
*) 0 ;
24773 PyObject
* obj0
= 0 ;
24774 PyObject
* obj1
= 0 ;
24775 char *kwnames
[] = {
24776 (char *) "self",(char *) "caret", NULL
24779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
24780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24781 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24784 (arg1
)->SetCaret(arg2
);
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24789 Py_INCREF(Py_None
); resultobj
= Py_None
;
24796 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24797 PyObject
*resultobj
;
24798 wxWindow
*arg1
= (wxWindow
*) 0 ;
24800 PyObject
* obj0
= 0 ;
24801 char *kwnames
[] = {
24802 (char *) "self", NULL
24805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
24806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24814 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
24821 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24822 PyObject
*resultobj
;
24823 wxWindow
*arg1
= (wxWindow
*) 0 ;
24825 PyObject
* obj0
= 0 ;
24826 char *kwnames
[] = {
24827 (char *) "self", NULL
24830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
24831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24839 resultobj
= SWIG_PyObj_FromInt((int)result
);
24846 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24847 PyObject
*resultobj
;
24848 wxWindow
*arg1
= (wxWindow
*) 0 ;
24850 PyObject
* obj0
= 0 ;
24851 char *kwnames
[] = {
24852 (char *) "self", NULL
24855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
24856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
24861 wxPyEndAllowThreads(__tstate
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24864 resultobj
= SWIG_PyObj_FromInt((int)result
);
24871 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24872 PyObject
*resultobj
;
24873 wxWindow
*arg1
= (wxWindow
*) 0 ;
24874 wxString
*arg2
= 0 ;
24875 int *arg3
= (int *) 0 ;
24876 int *arg4
= (int *) 0 ;
24877 bool temp2
= False
;
24880 PyObject
* obj0
= 0 ;
24881 PyObject
* obj1
= 0 ;
24882 char *kwnames
[] = {
24883 (char *) "self",(char *) "string", NULL
24888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
24889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24891 arg2
= wxString_in_helper(obj1
);
24892 if (arg2
== NULL
) SWIG_fail
;
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24902 Py_INCREF(Py_None
); resultobj
= Py_None
;
24904 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24905 resultobj
= t_output_helper(resultobj
,o
);
24908 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24909 resultobj
= t_output_helper(resultobj
,o
);
24925 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
;
24927 wxWindow
*arg1
= (wxWindow
*) 0 ;
24928 wxString
*arg2
= 0 ;
24929 int *arg3
= (int *) 0 ;
24930 int *arg4
= (int *) 0 ;
24931 int *arg5
= (int *) 0 ;
24932 int *arg6
= (int *) 0 ;
24933 wxFont
*arg7
= (wxFont
*) NULL
;
24934 bool temp2
= False
;
24939 PyObject
* obj0
= 0 ;
24940 PyObject
* obj1
= 0 ;
24941 PyObject
* obj2
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "self",(char *) "string",(char *) "font", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24953 arg2
= wxString_in_helper(obj1
);
24954 if (arg2
== NULL
) SWIG_fail
;
24958 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24962 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24967 Py_INCREF(Py_None
); resultobj
= Py_None
;
24969 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24970 resultobj
= t_output_helper(resultobj
,o
);
24973 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24974 resultobj
= t_output_helper(resultobj
,o
);
24977 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
24978 resultobj
= t_output_helper(resultobj
,o
);
24981 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
24982 resultobj
= t_output_helper(resultobj
,o
);
24998 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24999 PyObject
*resultobj
;
25000 wxWindow
*arg1
= (wxWindow
*) 0 ;
25001 int *arg2
= (int *) 0 ;
25002 int *arg3
= (int *) 0 ;
25005 PyObject
* obj0
= 0 ;
25006 PyObject
* obj1
= 0 ;
25007 PyObject
* obj2
= 0 ;
25008 char *kwnames
[] = {
25009 (char *) "self",(char *) "x",(char *) "y", NULL
25012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25015 temp2
= PyInt_AsLong(obj1
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25020 temp3
= PyInt_AsLong(obj2
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25031 Py_INCREF(Py_None
); resultobj
= Py_None
;
25033 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25034 resultobj
= t_output_helper(resultobj
,o
);
25037 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25038 resultobj
= t_output_helper(resultobj
,o
);
25046 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25047 PyObject
*resultobj
;
25048 wxWindow
*arg1
= (wxWindow
*) 0 ;
25049 int *arg2
= (int *) 0 ;
25050 int *arg3
= (int *) 0 ;
25053 PyObject
* obj0
= 0 ;
25054 PyObject
* obj1
= 0 ;
25055 PyObject
* obj2
= 0 ;
25056 char *kwnames
[] = {
25057 (char *) "self",(char *) "x",(char *) "y", NULL
25060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25063 temp2
= PyInt_AsLong(obj1
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25068 temp3
= PyInt_AsLong(obj2
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25079 Py_INCREF(Py_None
); resultobj
= Py_None
;
25081 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25082 resultobj
= t_output_helper(resultobj
,o
);
25085 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25086 resultobj
= t_output_helper(resultobj
,o
);
25094 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25095 PyObject
*resultobj
;
25096 wxWindow
*arg1
= (wxWindow
*) 0 ;
25097 wxPoint
*arg2
= 0 ;
25100 PyObject
* obj0
= 0 ;
25101 PyObject
* obj1
= 0 ;
25102 char *kwnames
[] = {
25103 (char *) "self",(char *) "pt", NULL
25106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25114 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
25116 wxPyEndAllowThreads(__tstate
);
25117 if (PyErr_Occurred()) SWIG_fail
;
25120 wxPoint
* resultptr
;
25121 resultptr
= new wxPoint((wxPoint
&) result
);
25122 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
25130 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
;
25132 wxWindow
*arg1
= (wxWindow
*) 0 ;
25133 wxPoint
*arg2
= 0 ;
25136 PyObject
* obj0
= 0 ;
25137 PyObject
* obj1
= 0 ;
25138 char *kwnames
[] = {
25139 (char *) "self",(char *) "pt", NULL
25142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
25143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25146 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25150 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
25152 wxPyEndAllowThreads(__tstate
);
25153 if (PyErr_Occurred()) SWIG_fail
;
25156 wxPoint
* resultptr
;
25157 resultptr
= new wxPoint((wxPoint
&) result
);
25158 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
25166 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
;
25168 wxWindow
*arg1
= (wxWindow
*) 0 ;
25172 PyObject
* obj0
= 0 ;
25173 PyObject
* obj1
= 0 ;
25174 PyObject
* obj2
= 0 ;
25175 char *kwnames
[] = {
25176 (char *) "self",(char *) "x",(char *) "y", NULL
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25182 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25186 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25191 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
25193 wxPyEndAllowThreads(__tstate
);
25194 if (PyErr_Occurred()) SWIG_fail
;
25196 resultobj
= SWIG_PyObj_FromInt((int)result
);
25203 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25204 PyObject
*resultobj
;
25205 wxWindow
*arg1
= (wxWindow
*) 0 ;
25206 wxPoint
*arg2
= 0 ;
25209 PyObject
* obj0
= 0 ;
25210 PyObject
* obj1
= 0 ;
25211 char *kwnames
[] = {
25212 (char *) "self",(char *) "pt", NULL
25215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25219 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25223 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25228 resultobj
= SWIG_PyObj_FromInt((int)result
);
25235 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
;
25237 wxWindow
*arg1
= (wxWindow
*) 0 ;
25240 PyObject
* obj0
= 0 ;
25241 PyObject
* obj1
= 0 ;
25242 char *kwnames
[] = {
25243 (char *) "self",(char *) "flags", NULL
25246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetBorderFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
25247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25249 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
25250 if (PyErr_Occurred()) SWIG_fail
;
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 resultobj
= SWIG_PyObj_FromInt((int)result
);
25266 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25267 PyObject
*resultobj
;
25268 wxWindow
*arg1
= (wxWindow
*) 0 ;
25270 PyObject
* obj0
= 0 ;
25271 char *kwnames
[] = {
25272 (char *) "self", NULL
25275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
25276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25279 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 resultobj
= SWIG_PyObj_FromInt((int)result
);
25291 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25292 PyObject
*resultobj
;
25293 wxWindow
*arg1
= (wxWindow
*) 0 ;
25294 long arg2
= (long) wxUPDATE_UI_NONE
;
25295 PyObject
* obj0
= 0 ;
25296 PyObject
* obj1
= 0 ;
25297 char *kwnames
[] = {
25298 (char *) "self",(char *) "flags", NULL
25301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
25302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25305 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 (arg1
)->UpdateWindowUI(arg2
);
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 Py_INCREF(Py_None
); resultobj
= Py_None
;
25323 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
;
25325 wxWindow
*arg1
= (wxWindow
*) 0 ;
25326 wxMenu
*arg2
= (wxMenu
*) 0 ;
25330 PyObject
* obj0
= 0 ;
25331 PyObject
* obj1
= 0 ;
25332 PyObject
* obj2
= 0 ;
25333 PyObject
* obj3
= 0 ;
25334 char *kwnames
[] = {
25335 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
25338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25340 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25342 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25346 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25363 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25364 PyObject
*resultobj
;
25365 wxWindow
*arg1
= (wxWindow
*) 0 ;
25366 wxMenu
*arg2
= (wxMenu
*) 0 ;
25367 wxPoint
*arg3
= 0 ;
25370 PyObject
* obj0
= 0 ;
25371 PyObject
* obj1
= 0 ;
25372 PyObject
* obj2
= 0 ;
25373 char *kwnames
[] = {
25374 (char *) "self",(char *) "menu",(char *) "pos", NULL
25377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25379 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25382 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25386 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
25388 wxPyEndAllowThreads(__tstate
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25398 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
;
25400 wxWindow
*arg1
= (wxWindow
*) 0 ;
25402 PyObject
* obj0
= 0 ;
25403 char *kwnames
[] = {
25404 (char *) "self", NULL
25407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
25408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25411 result
= (long)wxWindow_GetHandle(arg1
);
25413 wxPyEndAllowThreads(__tstate
);
25414 if (PyErr_Occurred()) SWIG_fail
;
25416 resultobj
= SWIG_PyObj_FromLong((long)result
);
25423 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25424 PyObject
*resultobj
;
25425 wxWindow
*arg1
= (wxWindow
*) 0 ;
25426 wxPaintEvent
*arg2
= 0 ;
25427 PyObject
* obj0
= 0 ;
25428 PyObject
* obj1
= 0 ;
25429 char *kwnames
[] = {
25430 (char *) "self",(char *) "event", NULL
25433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
25434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25435 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPaintEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25436 if (arg2
== NULL
) {
25437 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25441 (arg1
)->OnPaint(*arg2
);
25443 wxPyEndAllowThreads(__tstate
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25446 Py_INCREF(Py_None
); resultobj
= Py_None
;
25453 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25454 PyObject
*resultobj
;
25455 wxWindow
*arg1
= (wxWindow
*) 0 ;
25458 PyObject
* obj0
= 0 ;
25459 PyObject
* obj1
= 0 ;
25460 char *kwnames
[] = {
25461 (char *) "self",(char *) "orient", NULL
25464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
25465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25467 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25472 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
25474 wxPyEndAllowThreads(__tstate
);
25475 if (PyErr_Occurred()) SWIG_fail
;
25477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25484 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25485 PyObject
*resultobj
;
25486 wxWindow
*arg1
= (wxWindow
*) 0 ;
25491 bool arg6
= (bool) True
;
25492 PyObject
* obj0
= 0 ;
25493 PyObject
* obj1
= 0 ;
25494 PyObject
* obj2
= 0 ;
25495 PyObject
* obj3
= 0 ;
25496 PyObject
* obj4
= 0 ;
25497 PyObject
* obj5
= 0 ;
25498 char *kwnames
[] = {
25499 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
25502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25505 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25509 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25513 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25517 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25522 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 Py_INCREF(Py_None
); resultobj
= Py_None
;
25540 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxWindow
*arg1
= (wxWindow
*) 0 ;
25545 bool arg4
= (bool) True
;
25546 PyObject
* obj0
= 0 ;
25547 PyObject
* obj1
= 0 ;
25548 PyObject
* obj2
= 0 ;
25549 PyObject
* obj3
= 0 ;
25550 char *kwnames
[] = {
25551 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
25554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25557 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25561 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25566 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
25567 if (PyErr_Occurred()) SWIG_fail
;
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 Py_INCREF(Py_None
); resultobj
= Py_None
;
25584 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
;
25586 wxWindow
*arg1
= (wxWindow
*) 0 ;
25589 PyObject
* obj0
= 0 ;
25590 PyObject
* obj1
= 0 ;
25591 char *kwnames
[] = {
25592 (char *) "self",(char *) "orient", NULL
25595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
25596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25598 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25608 resultobj
= SWIG_PyObj_FromInt((int)result
);
25615 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
;
25617 wxWindow
*arg1
= (wxWindow
*) 0 ;
25620 PyObject
* obj0
= 0 ;
25621 PyObject
* obj1
= 0 ;
25622 char *kwnames
[] = {
25623 (char *) "self",(char *) "orient", NULL
25626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
25627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25629 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
25636 wxPyEndAllowThreads(__tstate
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= SWIG_PyObj_FromInt((int)result
);
25646 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
;
25648 wxWindow
*arg1
= (wxWindow
*) 0 ;
25651 PyObject
* obj0
= 0 ;
25652 PyObject
* obj1
= 0 ;
25653 char *kwnames
[] = {
25654 (char *) "self",(char *) "orient", NULL
25657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
25658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25660 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25665 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
25667 wxPyEndAllowThreads(__tstate
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= SWIG_PyObj_FromInt((int)result
);
25677 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25678 PyObject
*resultobj
;
25679 wxWindow
*arg1
= (wxWindow
*) 0 ;
25682 wxRect
*arg4
= (wxRect
*) NULL
;
25683 PyObject
* obj0
= 0 ;
25684 PyObject
* obj1
= 0 ;
25685 PyObject
* obj2
= 0 ;
25686 PyObject
* obj3
= 0 ;
25687 char *kwnames
[] = {
25688 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
25691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25694 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25698 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25702 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25706 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
25708 wxPyEndAllowThreads(__tstate
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25711 Py_INCREF(Py_None
); resultobj
= Py_None
;
25718 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25719 PyObject
*resultobj
;
25720 wxWindow
*arg1
= (wxWindow
*) 0 ;
25723 PyObject
* obj0
= 0 ;
25724 PyObject
* obj1
= 0 ;
25725 char *kwnames
[] = {
25726 (char *) "self",(char *) "lines", NULL
25729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
25730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25732 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 result
= (bool)(arg1
)->ScrollLines(arg2
);
25739 wxPyEndAllowThreads(__tstate
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25749 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25750 PyObject
*resultobj
;
25751 wxWindow
*arg1
= (wxWindow
*) 0 ;
25754 PyObject
* obj0
= 0 ;
25755 PyObject
* obj1
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self",(char *) "pages", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
25761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25763 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 result
= (bool)(arg1
)->ScrollPages(arg2
);
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25780 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
;
25782 wxWindow
*arg1
= (wxWindow
*) 0 ;
25784 PyObject
* obj0
= 0 ;
25785 char *kwnames
[] = {
25786 (char *) "self", NULL
25789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
25790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25793 result
= (bool)(arg1
)->LineUp();
25795 wxPyEndAllowThreads(__tstate
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25805 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25806 PyObject
*resultobj
;
25807 wxWindow
*arg1
= (wxWindow
*) 0 ;
25809 PyObject
* obj0
= 0 ;
25810 char *kwnames
[] = {
25811 (char *) "self", NULL
25814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
25815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25818 result
= (bool)(arg1
)->LineDown();
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25830 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
;
25832 wxWindow
*arg1
= (wxWindow
*) 0 ;
25834 PyObject
* obj0
= 0 ;
25835 char *kwnames
[] = {
25836 (char *) "self", NULL
25839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
25840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 result
= (bool)(arg1
)->PageUp();
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25855 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25856 PyObject
*resultobj
;
25857 wxWindow
*arg1
= (wxWindow
*) 0 ;
25859 PyObject
* obj0
= 0 ;
25860 char *kwnames
[] = {
25861 (char *) "self", NULL
25864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
25865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 result
= (bool)(arg1
)->PageDown();
25870 wxPyEndAllowThreads(__tstate
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25880 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
;
25882 wxWindow
*arg1
= (wxWindow
*) 0 ;
25883 wxString
*arg2
= 0 ;
25884 bool temp2
= False
;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 char *kwnames
[] = {
25888 (char *) "self",(char *) "text", NULL
25891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
25892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25894 arg2
= wxString_in_helper(obj1
);
25895 if (arg2
== NULL
) SWIG_fail
;
25899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25900 (arg1
)->SetHelpText((wxString
const &)*arg2
);
25902 wxPyEndAllowThreads(__tstate
);
25903 if (PyErr_Occurred()) SWIG_fail
;
25905 Py_INCREF(Py_None
); resultobj
= Py_None
;
25920 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
;
25922 wxWindow
*arg1
= (wxWindow
*) 0 ;
25923 wxString
*arg2
= 0 ;
25924 bool temp2
= False
;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self",(char *) "text", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
25932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25934 arg2
= wxString_in_helper(obj1
);
25935 if (arg2
== NULL
) SWIG_fail
;
25939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25940 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25945 Py_INCREF(Py_None
); resultobj
= Py_None
;
25960 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25961 PyObject
*resultobj
;
25962 wxWindow
*arg1
= (wxWindow
*) 0 ;
25964 PyObject
* obj0
= 0 ;
25965 char *kwnames
[] = {
25966 (char *) "self", NULL
25969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
25970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 result
= ((wxWindow
const *)arg1
)->GetHelpText();
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25991 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxWindow
*arg1
= (wxWindow
*) 0 ;
25994 wxString
*arg2
= 0 ;
25995 bool temp2
= False
;
25996 PyObject
* obj0
= 0 ;
25997 PyObject
* obj1
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self",(char *) "tip", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
26003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26005 arg2
= wxString_in_helper(obj1
);
26006 if (arg2
== NULL
) SWIG_fail
;
26010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 (arg1
)->SetToolTip((wxString
const &)*arg2
);
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26016 Py_INCREF(Py_None
); resultobj
= Py_None
;
26031 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26032 PyObject
*resultobj
;
26033 wxWindow
*arg1
= (wxWindow
*) 0 ;
26034 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
26035 PyObject
* obj0
= 0 ;
26036 PyObject
* obj1
= 0 ;
26037 char *kwnames
[] = {
26038 (char *) "self",(char *) "tip", NULL
26041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
26042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26043 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 (arg1
)->SetToolTip(arg2
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26051 Py_INCREF(Py_None
); resultobj
= Py_None
;
26058 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26059 PyObject
*resultobj
;
26060 wxWindow
*arg1
= (wxWindow
*) 0 ;
26062 PyObject
* obj0
= 0 ;
26063 char *kwnames
[] = {
26064 (char *) "self", NULL
26067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
26068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
26073 wxPyEndAllowThreads(__tstate
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26077 resultobj
= wxPyMake_wxObject(result
);
26085 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26086 PyObject
*resultobj
;
26087 wxWindow
*arg1
= (wxWindow
*) 0 ;
26088 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
26089 PyObject
* obj0
= 0 ;
26090 PyObject
* obj1
= 0 ;
26091 char *kwnames
[] = {
26092 (char *) "self",(char *) "dropTarget", NULL
26095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
26096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26097 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26100 (arg1
)->SetDropTarget(arg2
);
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26105 Py_INCREF(Py_None
); resultobj
= Py_None
;
26112 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26113 PyObject
*resultobj
;
26114 wxWindow
*arg1
= (wxWindow
*) 0 ;
26115 wxPyDropTarget
*result
;
26116 PyObject
* obj0
= 0 ;
26117 char *kwnames
[] = {
26118 (char *) "self", NULL
26121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
26122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
26127 wxPyEndAllowThreads(__tstate
);
26128 if (PyErr_Occurred()) SWIG_fail
;
26130 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 0);
26137 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
;
26139 wxWindow
*arg1
= (wxWindow
*) 0 ;
26141 PyObject
* obj0
= 0 ;
26142 PyObject
* obj1
= 0 ;
26143 char *kwnames
[] = {
26144 (char *) "self",(char *) "accept", NULL
26147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
26148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26150 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 (arg1
)->DragAcceptFiles(arg2
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 Py_INCREF(Py_None
); resultobj
= Py_None
;
26167 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxWindow
*arg1
= (wxWindow
*) 0 ;
26170 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
26171 PyObject
* obj0
= 0 ;
26172 PyObject
* obj1
= 0 ;
26173 char *kwnames
[] = {
26174 (char *) "self",(char *) "constraints", NULL
26177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
26178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26179 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26182 (arg1
)->SetConstraints(arg2
);
26184 wxPyEndAllowThreads(__tstate
);
26185 if (PyErr_Occurred()) SWIG_fail
;
26187 Py_INCREF(Py_None
); resultobj
= Py_None
;
26194 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26195 PyObject
*resultobj
;
26196 wxWindow
*arg1
= (wxWindow
*) 0 ;
26197 wxLayoutConstraints
*result
;
26198 PyObject
* obj0
= 0 ;
26199 char *kwnames
[] = {
26200 (char *) "self", NULL
26203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
26204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
26219 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26220 PyObject
*resultobj
;
26221 wxWindow
*arg1
= (wxWindow
*) 0 ;
26223 PyObject
* obj0
= 0 ;
26224 PyObject
* obj1
= 0 ;
26225 char *kwnames
[] = {
26226 (char *) "self",(char *) "autoLayout", NULL
26229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
26230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26232 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 (arg1
)->SetAutoLayout(arg2
);
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 Py_INCREF(Py_None
); resultobj
= Py_None
;
26249 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
;
26251 wxWindow
*arg1
= (wxWindow
*) 0 ;
26253 PyObject
* obj0
= 0 ;
26254 char *kwnames
[] = {
26255 (char *) "self", NULL
26258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
26259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26262 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26274 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
;
26276 wxWindow
*arg1
= (wxWindow
*) 0 ;
26278 PyObject
* obj0
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
26284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= (bool)(arg1
)->Layout();
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26299 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26300 PyObject
*resultobj
;
26301 wxWindow
*arg1
= (wxWindow
*) 0 ;
26302 wxSizer
*arg2
= (wxSizer
*) 0 ;
26303 bool arg3
= (bool) True
;
26304 PyObject
* obj0
= 0 ;
26305 PyObject
* obj1
= 0 ;
26306 PyObject
* obj2
= 0 ;
26307 char *kwnames
[] = {
26308 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26313 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26316 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 (arg1
)->SetSizer(arg2
,arg3
);
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26327 Py_INCREF(Py_None
); resultobj
= Py_None
;
26334 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26335 PyObject
*resultobj
;
26336 wxWindow
*arg1
= (wxWindow
*) 0 ;
26337 wxSizer
*arg2
= (wxSizer
*) 0 ;
26338 bool arg3
= (bool) True
;
26339 PyObject
* obj0
= 0 ;
26340 PyObject
* obj1
= 0 ;
26341 PyObject
* obj2
= 0 ;
26342 char *kwnames
[] = {
26343 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26351 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26357 (arg1
)->SetSizerAndFit(arg2
,arg3
);
26359 wxPyEndAllowThreads(__tstate
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 Py_INCREF(Py_None
); resultobj
= Py_None
;
26369 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26370 PyObject
*resultobj
;
26371 wxWindow
*arg1
= (wxWindow
*) 0 ;
26373 PyObject
* obj0
= 0 ;
26374 char *kwnames
[] = {
26375 (char *) "self", NULL
26378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
26379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26382 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
26384 wxPyEndAllowThreads(__tstate
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26388 resultobj
= wxPyMake_wxSizer(result
);
26396 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
;
26398 wxWindow
*arg1
= (wxWindow
*) 0 ;
26399 wxSizer
*arg2
= (wxSizer
*) 0 ;
26400 PyObject
* obj0
= 0 ;
26401 PyObject
* obj1
= 0 ;
26402 char *kwnames
[] = {
26403 (char *) "self",(char *) "sizer", NULL
26406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
26407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26408 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 (arg1
)->SetContainingSizer(arg2
);
26413 wxPyEndAllowThreads(__tstate
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26416 Py_INCREF(Py_None
); resultobj
= Py_None
;
26423 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26424 PyObject
*resultobj
;
26425 wxWindow
*arg1
= (wxWindow
*) 0 ;
26427 PyObject
* obj0
= 0 ;
26428 char *kwnames
[] = {
26429 (char *) "self", NULL
26432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
26433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= wxPyMake_wxSizer(result
);
26450 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
26452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26453 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
26455 return Py_BuildValue((char *)"");
26457 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
;
26460 wxWindow
*arg2
= (wxWindow
*) NULL
;
26462 PyObject
* obj0
= 0 ;
26463 PyObject
* obj1
= 0 ;
26464 char *kwnames
[] = {
26465 (char *) "id",(char *) "parent", NULL
26468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
26470 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26474 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26484 resultobj
= wxPyMake_wxObject(result
);
26492 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
;
26494 wxString
*arg1
= 0 ;
26495 wxWindow
*arg2
= (wxWindow
*) NULL
;
26497 bool temp1
= False
;
26498 PyObject
* obj0
= 0 ;
26499 PyObject
* obj1
= 0 ;
26500 char *kwnames
[] = {
26501 (char *) "name",(char *) "parent", NULL
26504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
26506 arg1
= wxString_in_helper(obj0
);
26507 if (arg1
== NULL
) SWIG_fail
;
26511 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26521 resultobj
= wxPyMake_wxObject(result
);
26537 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26538 PyObject
*resultobj
;
26539 wxString
*arg1
= 0 ;
26540 wxWindow
*arg2
= (wxWindow
*) NULL
;
26542 bool temp1
= False
;
26543 PyObject
* obj0
= 0 ;
26544 PyObject
* obj1
= 0 ;
26545 char *kwnames
[] = {
26546 (char *) "label",(char *) "parent", NULL
26549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26551 arg1
= wxString_in_helper(obj0
);
26552 if (arg1
== NULL
) SWIG_fail
;
26556 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26560 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26566 resultobj
= wxPyMake_wxObject(result
);
26582 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26583 PyObject
*resultobj
;
26584 unsigned long arg1
;
26586 PyObject
* obj0
= 0 ;
26587 char *kwnames
[] = {
26588 (char *) "hWnd", NULL
26591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
26593 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26604 resultobj
= wxPyMake_wxObject(result
);
26612 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26613 PyObject
*resultobj
;
26614 wxValidator
*result
;
26615 char *kwnames
[] = {
26619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 result
= (wxValidator
*)new wxValidator();
26624 wxPyEndAllowThreads(__tstate
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26628 resultobj
= wxPyMake_wxObject(result
);
26636 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
;
26638 wxValidator
*arg1
= (wxValidator
*) 0 ;
26639 wxValidator
*result
;
26640 PyObject
* obj0
= 0 ;
26641 char *kwnames
[] = {
26642 (char *) "self", NULL
26645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
26646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26649 result
= (wxValidator
*)(arg1
)->Clone();
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26655 resultobj
= wxPyMake_wxObject(result
);
26663 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26664 PyObject
*resultobj
;
26665 wxValidator
*arg1
= (wxValidator
*) 0 ;
26666 wxWindow
*arg2
= (wxWindow
*) 0 ;
26668 PyObject
* obj0
= 0 ;
26669 PyObject
* obj1
= 0 ;
26670 char *kwnames
[] = {
26671 (char *) "self",(char *) "parent", NULL
26674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
26675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26676 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26679 result
= (bool)(arg1
)->Validate(arg2
);
26681 wxPyEndAllowThreads(__tstate
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26691 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26692 PyObject
*resultobj
;
26693 wxValidator
*arg1
= (wxValidator
*) 0 ;
26695 PyObject
* obj0
= 0 ;
26696 char *kwnames
[] = {
26697 (char *) "self", NULL
26700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
26701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26704 result
= (bool)(arg1
)->TransferToWindow();
26706 wxPyEndAllowThreads(__tstate
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26716 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26717 PyObject
*resultobj
;
26718 wxValidator
*arg1
= (wxValidator
*) 0 ;
26720 PyObject
* obj0
= 0 ;
26721 char *kwnames
[] = {
26722 (char *) "self", NULL
26725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
26726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26729 result
= (bool)(arg1
)->TransferFromWindow();
26731 wxPyEndAllowThreads(__tstate
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26741 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26742 PyObject
*resultobj
;
26743 wxValidator
*arg1
= (wxValidator
*) 0 ;
26745 PyObject
* obj0
= 0 ;
26746 char *kwnames
[] = {
26747 (char *) "self", NULL
26750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
26751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 result
= (wxWindow
*)(arg1
)->GetWindow();
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26760 resultobj
= wxPyMake_wxObject(result
);
26768 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26769 PyObject
*resultobj
;
26770 wxValidator
*arg1
= (wxValidator
*) 0 ;
26771 wxWindow
*arg2
= (wxWindow
*) 0 ;
26772 PyObject
* obj0
= 0 ;
26773 PyObject
* obj1
= 0 ;
26774 char *kwnames
[] = {
26775 (char *) "self",(char *) "window", NULL
26778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
26779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26780 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26783 (arg1
)->SetWindow(arg2
);
26785 wxPyEndAllowThreads(__tstate
);
26786 if (PyErr_Occurred()) SWIG_fail
;
26788 Py_INCREF(Py_None
); resultobj
= Py_None
;
26795 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
;
26798 char *kwnames
[] = {
26802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26805 result
= (bool)wxValidator::IsSilent();
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26817 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
;
26819 int arg1
= (int) True
;
26820 PyObject
* obj0
= 0 ;
26821 char *kwnames
[] = {
26822 (char *) "doIt", NULL
26825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
26828 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 wxValidator::SetBellOnError(arg1
);
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26839 Py_INCREF(Py_None
); resultobj
= Py_None
;
26846 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
26848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26849 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
26851 return Py_BuildValue((char *)"");
26853 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26854 PyObject
*resultobj
;
26855 wxPyValidator
*result
;
26856 char *kwnames
[] = {
26860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26863 result
= (wxPyValidator
*)new wxPyValidator();
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26868 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
26875 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26876 PyObject
*resultobj
;
26877 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
26878 PyObject
*arg2
= (PyObject
*) 0 ;
26879 PyObject
*arg3
= (PyObject
*) 0 ;
26880 int arg4
= (int) True
;
26881 PyObject
* obj0
= 0 ;
26882 PyObject
* obj1
= 0 ;
26883 PyObject
* obj2
= 0 ;
26884 PyObject
* obj3
= 0 ;
26885 char *kwnames
[] = {
26886 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26895 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26906 Py_INCREF(Py_None
); resultobj
= Py_None
;
26913 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
26915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26916 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
26918 return Py_BuildValue((char *)"");
26920 static int _wrap_DefaultValidator_set(PyObject
*) {
26921 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
26926 static PyObject
*_wrap_DefaultValidator_get() {
26929 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
26934 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
;
26936 wxString
const &arg1_defvalue
= wxPyEmptyString
;
26937 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
26938 long arg2
= (long) 0 ;
26940 bool temp1
= False
;
26941 PyObject
* obj0
= 0 ;
26942 PyObject
* obj1
= 0 ;
26943 char *kwnames
[] = {
26944 (char *) "title",(char *) "style", NULL
26947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
26950 arg1
= wxString_in_helper(obj0
);
26951 if (arg1
== NULL
) SWIG_fail
;
26957 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
26958 if (PyErr_Occurred()) SWIG_fail
;
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26963 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26969 resultobj
= wxPyMake_wxObject(result
);
26985 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26986 PyObject
*resultobj
;
26987 wxMenu
*arg1
= (wxMenu
*) 0 ;
26989 wxString
*arg3
= 0 ;
26990 wxString
const &arg4_defvalue
= wxPyEmptyString
;
26991 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26992 int arg5
= (int) wxITEM_NORMAL
;
26993 wxMenuItem
*result
;
26994 bool temp3
= False
;
26995 bool temp4
= False
;
26996 PyObject
* obj0
= 0 ;
26997 PyObject
* obj1
= 0 ;
26998 PyObject
* obj2
= 0 ;
26999 PyObject
* obj3
= 0 ;
27000 PyObject
* obj4
= 0 ;
27001 char *kwnames
[] = {
27002 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27008 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27012 arg3
= wxString_in_helper(obj2
);
27013 if (arg3
== NULL
) SWIG_fail
;
27018 arg4
= wxString_in_helper(obj3
);
27019 if (arg4
== NULL
) SWIG_fail
;
27025 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27037 resultobj
= wxPyMake_wxObject(result
);
27061 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
;
27063 wxMenu
*arg1
= (wxMenu
*) 0 ;
27064 wxMenuItem
*result
;
27065 PyObject
* obj0
= 0 ;
27066 char *kwnames
[] = {
27067 (char *) "self", NULL
27070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
27071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27080 resultobj
= wxPyMake_wxObject(result
);
27088 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27089 PyObject
*resultobj
;
27090 wxMenu
*arg1
= (wxMenu
*) 0 ;
27092 wxString
*arg3
= 0 ;
27093 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27094 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27095 wxMenuItem
*result
;
27096 bool temp3
= False
;
27097 bool temp4
= False
;
27098 PyObject
* obj0
= 0 ;
27099 PyObject
* obj1
= 0 ;
27100 PyObject
* obj2
= 0 ;
27101 PyObject
* obj3
= 0 ;
27102 char *kwnames
[] = {
27103 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27109 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27113 arg3
= wxString_in_helper(obj2
);
27114 if (arg3
== NULL
) SWIG_fail
;
27119 arg4
= wxString_in_helper(obj3
);
27120 if (arg4
== NULL
) SWIG_fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= wxPyMake_wxObject(result
);
27156 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27157 PyObject
*resultobj
;
27158 wxMenu
*arg1
= (wxMenu
*) 0 ;
27160 wxString
*arg3
= 0 ;
27161 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27162 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27163 wxMenuItem
*result
;
27164 bool temp3
= False
;
27165 bool temp4
= False
;
27166 PyObject
* obj0
= 0 ;
27167 PyObject
* obj1
= 0 ;
27168 PyObject
* obj2
= 0 ;
27169 PyObject
* obj3
= 0 ;
27170 char *kwnames
[] = {
27171 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27177 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27181 arg3
= wxString_in_helper(obj2
);
27182 if (arg3
== NULL
) SWIG_fail
;
27187 arg4
= wxString_in_helper(obj3
);
27188 if (arg4
== NULL
) SWIG_fail
;
27193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27194 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27196 wxPyEndAllowThreads(__tstate
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27200 resultobj
= wxPyMake_wxObject(result
);
27224 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27225 PyObject
*resultobj
;
27226 wxMenu
*arg1
= (wxMenu
*) 0 ;
27228 wxString
*arg3
= 0 ;
27229 wxMenu
*arg4
= (wxMenu
*) 0 ;
27230 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27231 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27232 wxMenuItem
*result
;
27233 bool temp3
= False
;
27234 bool temp5
= False
;
27235 PyObject
* obj0
= 0 ;
27236 PyObject
* obj1
= 0 ;
27237 PyObject
* obj2
= 0 ;
27238 PyObject
* obj3
= 0 ;
27239 PyObject
* obj4
= 0 ;
27240 char *kwnames
[] = {
27241 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27247 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27251 arg3
= wxString_in_helper(obj2
);
27252 if (arg3
== NULL
) SWIG_fail
;
27255 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27258 arg5
= wxString_in_helper(obj4
);
27259 if (arg5
== NULL
) SWIG_fail
;
27264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27265 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27267 wxPyEndAllowThreads(__tstate
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27271 resultobj
= wxPyMake_wxObject(result
);
27295 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27296 PyObject
*resultobj
;
27297 wxMenu
*arg1
= (wxMenu
*) 0 ;
27298 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27299 wxMenuItem
*result
;
27300 PyObject
* obj0
= 0 ;
27301 PyObject
* obj1
= 0 ;
27302 char *kwnames
[] = {
27303 (char *) "self",(char *) "item", NULL
27306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27308 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27311 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
27313 wxPyEndAllowThreads(__tstate
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= wxPyMake_wxObject(result
);
27325 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27326 PyObject
*resultobj
;
27327 wxMenu
*arg1
= (wxMenu
*) 0 ;
27328 PyObject
* obj0
= 0 ;
27329 char *kwnames
[] = {
27330 (char *) "self", NULL
27333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
27334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27339 wxPyEndAllowThreads(__tstate
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 Py_INCREF(Py_None
); resultobj
= Py_None
;
27349 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27350 PyObject
*resultobj
;
27351 wxMenu
*arg1
= (wxMenu
*) 0 ;
27353 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
27354 wxMenuItem
*result
;
27355 PyObject
* obj0
= 0 ;
27356 PyObject
* obj1
= 0 ;
27357 PyObject
* obj2
= 0 ;
27358 char *kwnames
[] = {
27359 (char *) "self",(char *) "pos",(char *) "item", NULL
27362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27365 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27368 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27371 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
27373 wxPyEndAllowThreads(__tstate
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27377 resultobj
= wxPyMake_wxObject(result
);
27385 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27386 PyObject
*resultobj
;
27387 wxMenu
*arg1
= (wxMenu
*) 0 ;
27390 wxString
*arg4
= 0 ;
27391 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27392 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27393 int arg6
= (int) wxITEM_NORMAL
;
27394 wxMenuItem
*result
;
27395 bool temp4
= False
;
27396 bool temp5
= False
;
27397 PyObject
* obj0
= 0 ;
27398 PyObject
* obj1
= 0 ;
27399 PyObject
* obj2
= 0 ;
27400 PyObject
* obj3
= 0 ;
27401 PyObject
* obj4
= 0 ;
27402 PyObject
* obj5
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27410 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27414 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27418 arg4
= wxString_in_helper(obj3
);
27419 if (arg4
== NULL
) SWIG_fail
;
27424 arg5
= wxString_in_helper(obj4
);
27425 if (arg5
== NULL
) SWIG_fail
;
27431 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
27432 if (PyErr_Occurred()) SWIG_fail
;
27436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27443 resultobj
= wxPyMake_wxObject(result
);
27467 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27468 PyObject
*resultobj
;
27469 wxMenu
*arg1
= (wxMenu
*) 0 ;
27471 wxMenuItem
*result
;
27472 PyObject
* obj0
= 0 ;
27473 PyObject
* obj1
= 0 ;
27474 char *kwnames
[] = {
27475 (char *) "self",(char *) "pos", NULL
27478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
27479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27481 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27486 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
27488 wxPyEndAllowThreads(__tstate
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27492 resultobj
= wxPyMake_wxObject(result
);
27500 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27501 PyObject
*resultobj
;
27502 wxMenu
*arg1
= (wxMenu
*) 0 ;
27505 wxString
*arg4
= 0 ;
27506 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27507 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27508 wxMenuItem
*result
;
27509 bool temp4
= False
;
27510 bool temp5
= False
;
27511 PyObject
* obj0
= 0 ;
27512 PyObject
* obj1
= 0 ;
27513 PyObject
* obj2
= 0 ;
27514 PyObject
* obj3
= 0 ;
27515 PyObject
* obj4
= 0 ;
27516 char *kwnames
[] = {
27517 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27523 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27524 if (PyErr_Occurred()) SWIG_fail
;
27527 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27531 arg4
= wxString_in_helper(obj3
);
27532 if (arg4
== NULL
) SWIG_fail
;
27537 arg5
= wxString_in_helper(obj4
);
27538 if (arg5
== NULL
) SWIG_fail
;
27543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27544 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27546 wxPyEndAllowThreads(__tstate
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27550 resultobj
= wxPyMake_wxObject(result
);
27574 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27575 PyObject
*resultobj
;
27576 wxMenu
*arg1
= (wxMenu
*) 0 ;
27579 wxString
*arg4
= 0 ;
27580 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27581 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27582 wxMenuItem
*result
;
27583 bool temp4
= False
;
27584 bool temp5
= False
;
27585 PyObject
* obj0
= 0 ;
27586 PyObject
* obj1
= 0 ;
27587 PyObject
* obj2
= 0 ;
27588 PyObject
* obj3
= 0 ;
27589 PyObject
* obj4
= 0 ;
27590 char *kwnames
[] = {
27591 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27597 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27601 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27605 arg4
= wxString_in_helper(obj3
);
27606 if (arg4
== NULL
) SWIG_fail
;
27611 arg5
= wxString_in_helper(obj4
);
27612 if (arg5
== NULL
) SWIG_fail
;
27617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27618 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27620 wxPyEndAllowThreads(__tstate
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27624 resultobj
= wxPyMake_wxObject(result
);
27648 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27649 PyObject
*resultobj
;
27650 wxMenu
*arg1
= (wxMenu
*) 0 ;
27653 wxString
*arg4
= 0 ;
27654 wxMenu
*arg5
= (wxMenu
*) 0 ;
27655 wxString
const &arg6_defvalue
= wxPyEmptyString
;
27656 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
27657 wxMenuItem
*result
;
27658 bool temp4
= False
;
27659 bool temp6
= False
;
27660 PyObject
* obj0
= 0 ;
27661 PyObject
* obj1
= 0 ;
27662 PyObject
* obj2
= 0 ;
27663 PyObject
* obj3
= 0 ;
27664 PyObject
* obj4
= 0 ;
27665 PyObject
* obj5
= 0 ;
27666 char *kwnames
[] = {
27667 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27673 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27677 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27678 if (PyErr_Occurred()) SWIG_fail
;
27681 arg4
= wxString_in_helper(obj3
);
27682 if (arg4
== NULL
) SWIG_fail
;
27685 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27688 arg6
= wxString_in_helper(obj5
);
27689 if (arg6
== NULL
) SWIG_fail
;
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
27697 wxPyEndAllowThreads(__tstate
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27701 resultobj
= wxPyMake_wxObject(result
);
27725 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxMenu
*arg1
= (wxMenu
*) 0 ;
27728 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27729 wxMenuItem
*result
;
27730 PyObject
* obj0
= 0 ;
27731 PyObject
* obj1
= 0 ;
27732 char *kwnames
[] = {
27733 (char *) "self",(char *) "item", NULL
27736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27738 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27741 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
27743 wxPyEndAllowThreads(__tstate
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27747 resultobj
= wxPyMake_wxObject(result
);
27755 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27756 PyObject
*resultobj
;
27757 wxMenu
*arg1
= (wxMenu
*) 0 ;
27759 wxString
*arg3
= 0 ;
27760 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27761 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27762 int arg5
= (int) wxITEM_NORMAL
;
27763 wxMenuItem
*result
;
27764 bool temp3
= False
;
27765 bool temp4
= False
;
27766 PyObject
* obj0
= 0 ;
27767 PyObject
* obj1
= 0 ;
27768 PyObject
* obj2
= 0 ;
27769 PyObject
* obj3
= 0 ;
27770 PyObject
* obj4
= 0 ;
27771 char *kwnames
[] = {
27772 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27778 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27779 if (PyErr_Occurred()) SWIG_fail
;
27782 arg3
= wxString_in_helper(obj2
);
27783 if (arg3
== NULL
) SWIG_fail
;
27788 arg4
= wxString_in_helper(obj3
);
27789 if (arg4
== NULL
) SWIG_fail
;
27795 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27807 resultobj
= wxPyMake_wxObject(result
);
27831 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27832 PyObject
*resultobj
;
27833 wxMenu
*arg1
= (wxMenu
*) 0 ;
27834 wxMenuItem
*result
;
27835 PyObject
* obj0
= 0 ;
27836 char *kwnames
[] = {
27837 (char *) "self", NULL
27840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
27841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27850 resultobj
= wxPyMake_wxObject(result
);
27858 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27859 PyObject
*resultobj
;
27860 wxMenu
*arg1
= (wxMenu
*) 0 ;
27862 wxString
*arg3
= 0 ;
27863 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27864 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27865 wxMenuItem
*result
;
27866 bool temp3
= False
;
27867 bool temp4
= False
;
27868 PyObject
* obj0
= 0 ;
27869 PyObject
* obj1
= 0 ;
27870 PyObject
* obj2
= 0 ;
27871 PyObject
* obj3
= 0 ;
27872 char *kwnames
[] = {
27873 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27879 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27880 if (PyErr_Occurred()) SWIG_fail
;
27883 arg3
= wxString_in_helper(obj2
);
27884 if (arg3
== NULL
) SWIG_fail
;
27889 arg4
= wxString_in_helper(obj3
);
27890 if (arg4
== NULL
) SWIG_fail
;
27895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27896 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27898 wxPyEndAllowThreads(__tstate
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27902 resultobj
= wxPyMake_wxObject(result
);
27926 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27927 PyObject
*resultobj
;
27928 wxMenu
*arg1
= (wxMenu
*) 0 ;
27930 wxString
*arg3
= 0 ;
27931 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27932 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27933 wxMenuItem
*result
;
27934 bool temp3
= False
;
27935 bool temp4
= False
;
27936 PyObject
* obj0
= 0 ;
27937 PyObject
* obj1
= 0 ;
27938 PyObject
* obj2
= 0 ;
27939 PyObject
* obj3
= 0 ;
27940 char *kwnames
[] = {
27941 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27947 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27951 arg3
= wxString_in_helper(obj2
);
27952 if (arg3
== NULL
) SWIG_fail
;
27957 arg4
= wxString_in_helper(obj3
);
27958 if (arg4
== NULL
) SWIG_fail
;
27963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27966 wxPyEndAllowThreads(__tstate
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27970 resultobj
= wxPyMake_wxObject(result
);
27994 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27995 PyObject
*resultobj
;
27996 wxMenu
*arg1
= (wxMenu
*) 0 ;
27998 wxString
*arg3
= 0 ;
27999 wxMenu
*arg4
= (wxMenu
*) 0 ;
28000 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28001 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28002 wxMenuItem
*result
;
28003 bool temp3
= False
;
28004 bool temp5
= False
;
28005 PyObject
* obj0
= 0 ;
28006 PyObject
* obj1
= 0 ;
28007 PyObject
* obj2
= 0 ;
28008 PyObject
* obj3
= 0 ;
28009 PyObject
* obj4
= 0 ;
28010 char *kwnames
[] = {
28011 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28017 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28018 if (PyErr_Occurred()) SWIG_fail
;
28021 arg3
= wxString_in_helper(obj2
);
28022 if (arg3
== NULL
) SWIG_fail
;
28025 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28028 arg5
= wxString_in_helper(obj4
);
28029 if (arg5
== NULL
) SWIG_fail
;
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28037 wxPyEndAllowThreads(__tstate
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28041 resultobj
= wxPyMake_wxObject(result
);
28065 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28066 PyObject
*resultobj
;
28067 wxMenu
*arg1
= (wxMenu
*) 0 ;
28069 wxMenuItem
*result
;
28070 PyObject
* obj0
= 0 ;
28071 PyObject
* obj1
= 0 ;
28072 char *kwnames
[] = {
28073 (char *) "self",(char *) "id", NULL
28076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
28077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28079 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28084 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28086 wxPyEndAllowThreads(__tstate
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28090 resultobj
= wxPyMake_wxObject(result
);
28098 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
;
28100 wxMenu
*arg1
= (wxMenu
*) 0 ;
28101 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28102 wxMenuItem
*result
;
28103 PyObject
* obj0
= 0 ;
28104 PyObject
* obj1
= 0 ;
28105 char *kwnames
[] = {
28106 (char *) "self",(char *) "item", NULL
28109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28120 resultobj
= wxPyMake_wxObject(result
);
28128 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28129 PyObject
*resultobj
;
28130 wxMenu
*arg1
= (wxMenu
*) 0 ;
28133 PyObject
* obj0
= 0 ;
28134 PyObject
* obj1
= 0 ;
28135 char *kwnames
[] = {
28136 (char *) "self",(char *) "id", NULL
28139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
28140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28142 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28143 if (PyErr_Occurred()) SWIG_fail
;
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 result
= (bool)(arg1
)->Delete(arg2
);
28149 wxPyEndAllowThreads(__tstate
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28159 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28160 PyObject
*resultobj
;
28161 wxMenu
*arg1
= (wxMenu
*) 0 ;
28162 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28164 PyObject
* obj0
= 0 ;
28165 PyObject
* obj1
= 0 ;
28166 char *kwnames
[] = {
28167 (char *) "self",(char *) "item", NULL
28170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28172 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 result
= (bool)(arg1
)->Delete(arg2
);
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28187 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28188 PyObject
*resultobj
;
28189 wxMenu
*arg1
= (wxMenu
*) 0 ;
28190 PyObject
* obj0
= 0 ;
28191 char *kwnames
[] = {
28192 (char *) "self", NULL
28195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
28196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28199 wxMenu_Destroy(arg1
);
28201 wxPyEndAllowThreads(__tstate
);
28202 if (PyErr_Occurred()) SWIG_fail
;
28204 Py_INCREF(Py_None
); resultobj
= Py_None
;
28211 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28212 PyObject
*resultobj
;
28213 wxMenu
*arg1
= (wxMenu
*) 0 ;
28216 PyObject
* obj0
= 0 ;
28217 PyObject
* obj1
= 0 ;
28218 char *kwnames
[] = {
28219 (char *) "self",(char *) "id", NULL
28222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
28223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28225 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28226 if (PyErr_Occurred()) SWIG_fail
;
28229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28230 result
= (bool)(arg1
)->Destroy(arg2
);
28232 wxPyEndAllowThreads(__tstate
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28242 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28243 PyObject
*resultobj
;
28244 wxMenu
*arg1
= (wxMenu
*) 0 ;
28245 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28247 PyObject
* obj0
= 0 ;
28248 PyObject
* obj1
= 0 ;
28249 char *kwnames
[] = {
28250 (char *) "self",(char *) "item", NULL
28253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28258 result
= (bool)(arg1
)->Destroy(arg2
);
28260 wxPyEndAllowThreads(__tstate
);
28261 if (PyErr_Occurred()) SWIG_fail
;
28263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28270 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28271 PyObject
*resultobj
;
28272 wxMenu
*arg1
= (wxMenu
*) 0 ;
28274 PyObject
* obj0
= 0 ;
28275 char *kwnames
[] = {
28276 (char *) "self", NULL
28279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
28280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28283 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
28285 wxPyEndAllowThreads(__tstate
);
28286 if (PyErr_Occurred()) SWIG_fail
;
28288 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
28295 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28296 PyObject
*resultobj
;
28297 wxMenu
*arg1
= (wxMenu
*) 0 ;
28299 PyObject
* obj0
= 0 ;
28300 char *kwnames
[] = {
28301 (char *) "self", NULL
28304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
28305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28308 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
28310 wxPyEndAllowThreads(__tstate
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28313 resultobj
= result
;
28320 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 wxMenu
*arg1
= (wxMenu
*) 0 ;
28323 wxString
*arg2
= 0 ;
28325 bool temp2
= False
;
28326 PyObject
* obj0
= 0 ;
28327 PyObject
* obj1
= 0 ;
28328 char *kwnames
[] = {
28329 (char *) "self",(char *) "item", NULL
28332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28335 arg2
= wxString_in_helper(obj1
);
28336 if (arg2
== NULL
) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= SWIG_PyObj_FromInt((int)result
);
28361 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
;
28363 wxMenu
*arg1
= (wxMenu
*) 0 ;
28365 wxMenuItem
*result
;
28366 PyObject
* obj0
= 0 ;
28367 PyObject
* obj1
= 0 ;
28368 char *kwnames
[] = {
28369 (char *) "self",(char *) "id", NULL
28372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
28373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28375 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28376 if (PyErr_Occurred()) SWIG_fail
;
28379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28380 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28386 resultobj
= wxPyMake_wxObject(result
);
28394 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28395 PyObject
*resultobj
;
28396 wxMenu
*arg1
= (wxMenu
*) 0 ;
28398 wxMenuItem
*result
;
28399 PyObject
* obj0
= 0 ;
28400 PyObject
* obj1
= 0 ;
28401 char *kwnames
[] = {
28402 (char *) "self",(char *) "position", NULL
28405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28408 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
28409 if (PyErr_Occurred()) SWIG_fail
;
28412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28413 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
28415 wxPyEndAllowThreads(__tstate
);
28416 if (PyErr_Occurred()) SWIG_fail
;
28419 resultobj
= wxPyMake_wxObject(result
);
28427 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28428 PyObject
*resultobj
;
28429 wxMenu
*arg1
= (wxMenu
*) 0 ;
28432 PyObject
* obj0
= 0 ;
28433 PyObject
* obj1
= 0 ;
28434 PyObject
* obj2
= 0 ;
28435 char *kwnames
[] = {
28436 (char *) "self",(char *) "id",(char *) "enable", NULL
28439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28442 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28446 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 (arg1
)->Enable(arg2
,arg3
);
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 Py_INCREF(Py_None
); resultobj
= Py_None
;
28463 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28464 PyObject
*resultobj
;
28465 wxMenu
*arg1
= (wxMenu
*) 0 ;
28468 PyObject
* obj0
= 0 ;
28469 PyObject
* obj1
= 0 ;
28470 char *kwnames
[] = {
28471 (char *) "self",(char *) "id", NULL
28474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
28475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28477 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
28484 wxPyEndAllowThreads(__tstate
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28494 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28495 PyObject
*resultobj
;
28496 wxMenu
*arg1
= (wxMenu
*) 0 ;
28499 PyObject
* obj0
= 0 ;
28500 PyObject
* obj1
= 0 ;
28501 PyObject
* obj2
= 0 ;
28502 char *kwnames
[] = {
28503 (char *) "self",(char *) "id",(char *) "check", NULL
28506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28509 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28510 if (PyErr_Occurred()) SWIG_fail
;
28513 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28518 (arg1
)->Check(arg2
,arg3
);
28520 wxPyEndAllowThreads(__tstate
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28523 Py_INCREF(Py_None
); resultobj
= Py_None
;
28530 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28531 PyObject
*resultobj
;
28532 wxMenu
*arg1
= (wxMenu
*) 0 ;
28535 PyObject
* obj0
= 0 ;
28536 PyObject
* obj1
= 0 ;
28537 char *kwnames
[] = {
28538 (char *) "self",(char *) "id", NULL
28541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
28542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28544 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28549 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
28551 wxPyEndAllowThreads(__tstate
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28561 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28562 PyObject
*resultobj
;
28563 wxMenu
*arg1
= (wxMenu
*) 0 ;
28565 wxString
*arg3
= 0 ;
28566 bool temp3
= False
;
28567 PyObject
* obj0
= 0 ;
28568 PyObject
* obj1
= 0 ;
28569 PyObject
* obj2
= 0 ;
28570 char *kwnames
[] = {
28571 (char *) "self",(char *) "id",(char *) "label", NULL
28574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28577 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28581 arg3
= wxString_in_helper(obj2
);
28582 if (arg3
== NULL
) SWIG_fail
;
28586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28587 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
28589 wxPyEndAllowThreads(__tstate
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28592 Py_INCREF(Py_None
); resultobj
= Py_None
;
28607 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28608 PyObject
*resultobj
;
28609 wxMenu
*arg1
= (wxMenu
*) 0 ;
28612 PyObject
* obj0
= 0 ;
28613 PyObject
* obj1
= 0 ;
28614 char *kwnames
[] = {
28615 (char *) "self",(char *) "id", NULL
28618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28621 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28626 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28644 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28645 PyObject
*resultobj
;
28646 wxMenu
*arg1
= (wxMenu
*) 0 ;
28648 wxString
*arg3
= 0 ;
28649 bool temp3
= False
;
28650 PyObject
* obj0
= 0 ;
28651 PyObject
* obj1
= 0 ;
28652 PyObject
* obj2
= 0 ;
28653 char *kwnames
[] = {
28654 (char *) "self",(char *) "id",(char *) "helpString", NULL
28657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28660 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28664 arg3
= wxString_in_helper(obj2
);
28665 if (arg3
== NULL
) SWIG_fail
;
28669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28670 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28675 Py_INCREF(Py_None
); resultobj
= Py_None
;
28690 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28691 PyObject
*resultobj
;
28692 wxMenu
*arg1
= (wxMenu
*) 0 ;
28695 PyObject
* obj0
= 0 ;
28696 PyObject
* obj1
= 0 ;
28697 char *kwnames
[] = {
28698 (char *) "self",(char *) "id", NULL
28701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
28702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28704 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28705 if (PyErr_Occurred()) SWIG_fail
;
28708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
28711 wxPyEndAllowThreads(__tstate
);
28712 if (PyErr_Occurred()) SWIG_fail
;
28716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28727 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28728 PyObject
*resultobj
;
28729 wxMenu
*arg1
= (wxMenu
*) 0 ;
28730 wxString
*arg2
= 0 ;
28731 bool temp2
= False
;
28732 PyObject
* obj0
= 0 ;
28733 PyObject
* obj1
= 0 ;
28734 char *kwnames
[] = {
28735 (char *) "self",(char *) "title", NULL
28738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
28739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28741 arg2
= wxString_in_helper(obj1
);
28742 if (arg2
== NULL
) SWIG_fail
;
28746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28747 (arg1
)->SetTitle((wxString
const &)*arg2
);
28749 wxPyEndAllowThreads(__tstate
);
28750 if (PyErr_Occurred()) SWIG_fail
;
28752 Py_INCREF(Py_None
); resultobj
= Py_None
;
28767 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28768 PyObject
*resultobj
;
28769 wxMenu
*arg1
= (wxMenu
*) 0 ;
28771 PyObject
* obj0
= 0 ;
28772 char *kwnames
[] = {
28773 (char *) "self", NULL
28776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",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
= ((wxMenu
const *)arg1
)->GetTitle();
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28798 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28799 PyObject
*resultobj
;
28800 wxMenu
*arg1
= (wxMenu
*) 0 ;
28801 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28802 PyObject
* obj0
= 0 ;
28803 PyObject
* obj1
= 0 ;
28804 char *kwnames
[] = {
28805 (char *) "self",(char *) "handler", NULL
28808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28810 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 (arg1
)->SetEventHandler(arg2
);
28815 wxPyEndAllowThreads(__tstate
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28818 Py_INCREF(Py_None
); resultobj
= Py_None
;
28825 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28826 PyObject
*resultobj
;
28827 wxMenu
*arg1
= (wxMenu
*) 0 ;
28828 wxEvtHandler
*result
;
28829 PyObject
* obj0
= 0 ;
28830 char *kwnames
[] = {
28831 (char *) "self", NULL
28834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28838 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
28840 wxPyEndAllowThreads(__tstate
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28844 resultobj
= wxPyMake_wxObject(result
);
28852 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28853 PyObject
*resultobj
;
28854 wxMenu
*arg1
= (wxMenu
*) 0 ;
28855 wxWindow
*arg2
= (wxWindow
*) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 char *kwnames
[] = {
28859 (char *) "self",(char *) "win", NULL
28862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28864 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 (arg1
)->SetInvokingWindow(arg2
);
28869 wxPyEndAllowThreads(__tstate
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28872 Py_INCREF(Py_None
); resultobj
= Py_None
;
28879 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28880 PyObject
*resultobj
;
28881 wxMenu
*arg1
= (wxMenu
*) 0 ;
28883 PyObject
* obj0
= 0 ;
28884 char *kwnames
[] = {
28885 (char *) "self", NULL
28888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
28889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28892 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
28894 wxPyEndAllowThreads(__tstate
);
28895 if (PyErr_Occurred()) SWIG_fail
;
28898 resultobj
= wxPyMake_wxObject(result
);
28906 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28907 PyObject
*resultobj
;
28908 wxMenu
*arg1
= (wxMenu
*) 0 ;
28910 PyObject
* obj0
= 0 ;
28911 char *kwnames
[] = {
28912 (char *) "self", NULL
28915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
28916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 resultobj
= SWIG_PyObj_FromLong((long)result
);
28931 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28932 PyObject
*resultobj
;
28933 wxMenu
*arg1
= (wxMenu
*) 0 ;
28934 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
28935 PyObject
* obj0
= 0 ;
28936 PyObject
* obj1
= 0 ;
28937 char *kwnames
[] = {
28938 (char *) "self",(char *) "source", NULL
28941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
28942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28948 (arg1
)->UpdateUI(arg2
);
28950 wxPyEndAllowThreads(__tstate
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28953 Py_INCREF(Py_None
); resultobj
= Py_None
;
28960 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28961 PyObject
*resultobj
;
28962 wxMenu
*arg1
= (wxMenu
*) 0 ;
28964 PyObject
* obj0
= 0 ;
28965 char *kwnames
[] = {
28966 (char *) "self", NULL
28969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
28970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28973 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28979 resultobj
= wxPyMake_wxObject(result
);
28987 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28988 PyObject
*resultobj
;
28989 wxMenu
*arg1
= (wxMenu
*) 0 ;
28990 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
28991 PyObject
* obj0
= 0 ;
28992 PyObject
* obj1
= 0 ;
28993 char *kwnames
[] = {
28994 (char *) "self",(char *) "menubar", NULL
28997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
28998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28999 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29002 (arg1
)->Attach(arg2
);
29004 wxPyEndAllowThreads(__tstate
);
29005 if (PyErr_Occurred()) SWIG_fail
;
29007 Py_INCREF(Py_None
); resultobj
= Py_None
;
29014 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29015 PyObject
*resultobj
;
29016 wxMenu
*arg1
= (wxMenu
*) 0 ;
29017 PyObject
* obj0
= 0 ;
29018 char *kwnames
[] = {
29019 (char *) "self", NULL
29022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
29023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29028 wxPyEndAllowThreads(__tstate
);
29029 if (PyErr_Occurred()) SWIG_fail
;
29031 Py_INCREF(Py_None
); resultobj
= Py_None
;
29038 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29039 PyObject
*resultobj
;
29040 wxMenu
*arg1
= (wxMenu
*) 0 ;
29042 PyObject
* obj0
= 0 ;
29043 char *kwnames
[] = {
29044 (char *) "self", NULL
29047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
29048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
29053 wxPyEndAllowThreads(__tstate
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29063 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29064 PyObject
*resultobj
;
29065 wxMenu
*arg1
= (wxMenu
*) 0 ;
29066 wxMenu
*arg2
= (wxMenu
*) 0 ;
29067 PyObject
* obj0
= 0 ;
29068 PyObject
* obj1
= 0 ;
29069 char *kwnames
[] = {
29070 (char *) "self",(char *) "parent", NULL
29073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29075 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 (arg1
)->SetParent(arg2
);
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29083 Py_INCREF(Py_None
); resultobj
= Py_None
;
29090 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
;
29092 wxMenu
*arg1
= (wxMenu
*) 0 ;
29094 PyObject
* obj0
= 0 ;
29095 char *kwnames
[] = {
29096 (char *) "self", NULL
29099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
29100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29103 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29109 resultobj
= wxPyMake_wxObject(result
);
29117 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
29119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29120 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
29122 return Py_BuildValue((char *)"");
29124 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29125 PyObject
*resultobj
;
29126 long arg1
= (long) 0 ;
29128 PyObject
* obj0
= 0 ;
29129 char *kwnames
[] = {
29130 (char *) "style", NULL
29133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
29136 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
29137 if (PyErr_Occurred()) SWIG_fail
;
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29148 resultobj
= wxPyMake_wxObject(result
);
29156 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29157 PyObject
*resultobj
;
29158 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29159 wxMenu
*arg2
= (wxMenu
*) 0 ;
29160 wxString
*arg3
= 0 ;
29162 bool temp3
= False
;
29163 PyObject
* obj0
= 0 ;
29164 PyObject
* obj1
= 0 ;
29165 PyObject
* obj2
= 0 ;
29166 char *kwnames
[] = {
29167 (char *) "self",(char *) "menu",(char *) "title", NULL
29170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29172 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29174 arg3
= wxString_in_helper(obj2
);
29175 if (arg3
== NULL
) SWIG_fail
;
29179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29180 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
29182 wxPyEndAllowThreads(__tstate
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29200 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29201 PyObject
*resultobj
;
29202 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29204 wxMenu
*arg3
= (wxMenu
*) 0 ;
29205 wxString
*arg4
= 0 ;
29207 bool temp4
= False
;
29208 PyObject
* obj0
= 0 ;
29209 PyObject
* obj1
= 0 ;
29210 PyObject
* obj2
= 0 ;
29211 PyObject
* obj3
= 0 ;
29212 char *kwnames
[] = {
29213 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29219 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29220 if (PyErr_Occurred()) SWIG_fail
;
29222 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29224 arg4
= wxString_in_helper(obj3
);
29225 if (arg4
== NULL
) SWIG_fail
;
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
29232 wxPyEndAllowThreads(__tstate
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29250 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29251 PyObject
*resultobj
;
29252 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29254 PyObject
* obj0
= 0 ;
29255 char *kwnames
[] = {
29256 (char *) "self", NULL
29259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
29260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29263 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
29265 wxPyEndAllowThreads(__tstate
);
29266 if (PyErr_Occurred()) SWIG_fail
;
29268 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
29275 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29276 PyObject
*resultobj
;
29277 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29280 PyObject
* obj0
= 0 ;
29281 PyObject
* obj1
= 0 ;
29282 char *kwnames
[] = {
29283 (char *) "self",(char *) "pos", NULL
29286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29289 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29294 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
29296 wxPyEndAllowThreads(__tstate
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29300 resultobj
= wxPyMake_wxObject(result
);
29308 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29309 PyObject
*resultobj
;
29310 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29312 wxMenu
*arg3
= (wxMenu
*) 0 ;
29313 wxString
*arg4
= 0 ;
29315 bool temp4
= False
;
29316 PyObject
* obj0
= 0 ;
29317 PyObject
* obj1
= 0 ;
29318 PyObject
* obj2
= 0 ;
29319 PyObject
* obj3
= 0 ;
29320 char *kwnames
[] = {
29321 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29327 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29328 if (PyErr_Occurred()) SWIG_fail
;
29330 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29332 arg4
= wxString_in_helper(obj3
);
29333 if (arg4
== NULL
) SWIG_fail
;
29337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29338 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
29340 wxPyEndAllowThreads(__tstate
);
29341 if (PyErr_Occurred()) SWIG_fail
;
29344 resultobj
= wxPyMake_wxObject(result
);
29360 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29361 PyObject
*resultobj
;
29362 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29365 PyObject
* obj0
= 0 ;
29366 PyObject
* obj1
= 0 ;
29367 char *kwnames
[] = {
29368 (char *) "self",(char *) "pos", NULL
29371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29374 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29375 if (PyErr_Occurred()) SWIG_fail
;
29378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29379 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
29381 wxPyEndAllowThreads(__tstate
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29385 resultobj
= wxPyMake_wxObject(result
);
29393 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29394 PyObject
*resultobj
;
29395 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29398 PyObject
* obj0
= 0 ;
29399 PyObject
* obj1
= 0 ;
29400 PyObject
* obj2
= 0 ;
29401 char *kwnames
[] = {
29402 (char *) "self",(char *) "pos",(char *) "enable", NULL
29405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29408 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29412 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 (arg1
)->EnableTop(arg2
,arg3
);
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29422 Py_INCREF(Py_None
); resultobj
= Py_None
;
29429 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29430 PyObject
*resultobj
;
29431 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29434 PyObject
* obj0
= 0 ;
29435 PyObject
* obj1
= 0 ;
29436 char *kwnames
[] = {
29437 (char *) "self",(char *) "pos", NULL
29440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29443 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29448 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
29450 wxPyEndAllowThreads(__tstate
);
29451 if (PyErr_Occurred()) SWIG_fail
;
29453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29460 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29461 PyObject
*resultobj
;
29462 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29464 wxString
*arg3
= 0 ;
29465 bool temp3
= False
;
29466 PyObject
* obj0
= 0 ;
29467 PyObject
* obj1
= 0 ;
29468 PyObject
* obj2
= 0 ;
29469 char *kwnames
[] = {
29470 (char *) "self",(char *) "pos",(char *) "label", NULL
29473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29476 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29477 if (PyErr_Occurred()) SWIG_fail
;
29480 arg3
= wxString_in_helper(obj2
);
29481 if (arg3
== NULL
) SWIG_fail
;
29485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29486 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29491 Py_INCREF(Py_None
); resultobj
= Py_None
;
29506 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29507 PyObject
*resultobj
;
29508 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29511 PyObject
* obj0
= 0 ;
29512 PyObject
* obj1
= 0 ;
29513 char *kwnames
[] = {
29514 (char *) "self",(char *) "pos", NULL
29517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29520 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29521 if (PyErr_Occurred()) SWIG_fail
;
29524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29525 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
29527 wxPyEndAllowThreads(__tstate
);
29528 if (PyErr_Occurred()) SWIG_fail
;
29532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29543 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29544 PyObject
*resultobj
;
29545 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29546 wxString
*arg2
= 0 ;
29547 wxString
*arg3
= 0 ;
29549 bool temp2
= False
;
29550 bool temp3
= False
;
29551 PyObject
* obj0
= 0 ;
29552 PyObject
* obj1
= 0 ;
29553 PyObject
* obj2
= 0 ;
29554 char *kwnames
[] = {
29555 (char *) "self",(char *) "menu",(char *) "item", NULL
29558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29561 arg2
= wxString_in_helper(obj1
);
29562 if (arg2
== NULL
) SWIG_fail
;
29566 arg3
= wxString_in_helper(obj2
);
29567 if (arg3
== NULL
) SWIG_fail
;
29571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29572 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
29574 wxPyEndAllowThreads(__tstate
);
29575 if (PyErr_Occurred()) SWIG_fail
;
29577 resultobj
= SWIG_PyObj_FromInt((int)result
);
29600 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29601 PyObject
*resultobj
;
29602 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29604 wxMenuItem
*result
;
29605 PyObject
* obj0
= 0 ;
29606 PyObject
* obj1
= 0 ;
29607 char *kwnames
[] = {
29608 (char *) "self",(char *) "id", NULL
29611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29614 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29615 if (PyErr_Occurred()) SWIG_fail
;
29618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29619 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
29621 wxPyEndAllowThreads(__tstate
);
29622 if (PyErr_Occurred()) SWIG_fail
;
29625 resultobj
= wxPyMake_wxObject(result
);
29633 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29634 PyObject
*resultobj
;
29635 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29636 wxString
*arg2
= 0 ;
29638 bool temp2
= False
;
29639 PyObject
* obj0
= 0 ;
29640 PyObject
* obj1
= 0 ;
29641 char *kwnames
[] = {
29642 (char *) "self",(char *) "title", NULL
29645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29648 arg2
= wxString_in_helper(obj1
);
29649 if (arg2
== NULL
) SWIG_fail
;
29653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29654 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
29656 wxPyEndAllowThreads(__tstate
);
29657 if (PyErr_Occurred()) SWIG_fail
;
29659 resultobj
= SWIG_PyObj_FromInt((int)result
);
29674 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29675 PyObject
*resultobj
;
29676 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29679 PyObject
* obj0
= 0 ;
29680 PyObject
* obj1
= 0 ;
29681 PyObject
* obj2
= 0 ;
29682 char *kwnames
[] = {
29683 (char *) "self",(char *) "id",(char *) "enable", NULL
29686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29689 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29690 if (PyErr_Occurred()) SWIG_fail
;
29693 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29698 (arg1
)->Enable(arg2
,arg3
);
29700 wxPyEndAllowThreads(__tstate
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29703 Py_INCREF(Py_None
); resultobj
= Py_None
;
29710 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29711 PyObject
*resultobj
;
29712 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29715 PyObject
* obj0
= 0 ;
29716 PyObject
* obj1
= 0 ;
29717 PyObject
* obj2
= 0 ;
29718 char *kwnames
[] = {
29719 (char *) "self",(char *) "id",(char *) "check", NULL
29722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29725 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29726 if (PyErr_Occurred()) SWIG_fail
;
29729 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 (arg1
)->Check(arg2
,arg3
);
29736 wxPyEndAllowThreads(__tstate
);
29737 if (PyErr_Occurred()) SWIG_fail
;
29739 Py_INCREF(Py_None
); resultobj
= Py_None
;
29746 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29747 PyObject
*resultobj
;
29748 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29751 PyObject
* obj0
= 0 ;
29752 PyObject
* obj1
= 0 ;
29753 char *kwnames
[] = {
29754 (char *) "self",(char *) "id", NULL
29757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
29758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29760 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29765 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
29767 wxPyEndAllowThreads(__tstate
);
29768 if (PyErr_Occurred()) SWIG_fail
;
29770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29777 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29778 PyObject
*resultobj
;
29779 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29782 PyObject
* obj0
= 0 ;
29783 PyObject
* obj1
= 0 ;
29784 char *kwnames
[] = {
29785 (char *) "self",(char *) "id", NULL
29788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29791 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29808 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29809 PyObject
*resultobj
;
29810 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29812 wxString
*arg3
= 0 ;
29813 bool temp3
= False
;
29814 PyObject
* obj0
= 0 ;
29815 PyObject
* obj1
= 0 ;
29816 PyObject
* obj2
= 0 ;
29817 char *kwnames
[] = {
29818 (char *) "self",(char *) "id",(char *) "label", NULL
29821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29824 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29825 if (PyErr_Occurred()) SWIG_fail
;
29828 arg3
= wxString_in_helper(obj2
);
29829 if (arg3
== NULL
) SWIG_fail
;
29833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29834 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
29836 wxPyEndAllowThreads(__tstate
);
29837 if (PyErr_Occurred()) SWIG_fail
;
29839 Py_INCREF(Py_None
); resultobj
= Py_None
;
29854 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29855 PyObject
*resultobj
;
29856 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29859 PyObject
* obj0
= 0 ;
29860 PyObject
* obj1
= 0 ;
29861 char *kwnames
[] = {
29862 (char *) "self",(char *) "id", NULL
29865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29868 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29869 if (PyErr_Occurred()) SWIG_fail
;
29872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29873 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
29875 wxPyEndAllowThreads(__tstate
);
29876 if (PyErr_Occurred()) SWIG_fail
;
29880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29891 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29892 PyObject
*resultobj
;
29893 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29895 wxString
*arg3
= 0 ;
29896 bool temp3
= False
;
29897 PyObject
* obj0
= 0 ;
29898 PyObject
* obj1
= 0 ;
29899 PyObject
* obj2
= 0 ;
29900 char *kwnames
[] = {
29901 (char *) "self",(char *) "id",(char *) "helpString", NULL
29904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29907 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29911 arg3
= wxString_in_helper(obj2
);
29912 if (arg3
== NULL
) SWIG_fail
;
29916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29917 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
29919 wxPyEndAllowThreads(__tstate
);
29920 if (PyErr_Occurred()) SWIG_fail
;
29922 Py_INCREF(Py_None
); resultobj
= Py_None
;
29937 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29938 PyObject
*resultobj
;
29939 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29942 PyObject
* obj0
= 0 ;
29943 PyObject
* obj1
= 0 ;
29944 char *kwnames
[] = {
29945 (char *) "self",(char *) "id", NULL
29948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
29949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29951 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
29958 wxPyEndAllowThreads(__tstate
);
29959 if (PyErr_Occurred()) SWIG_fail
;
29963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29974 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29975 PyObject
*resultobj
;
29976 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29978 PyObject
* obj0
= 0 ;
29979 char *kwnames
[] = {
29980 (char *) "self", NULL
29983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
29984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29987 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
29989 wxPyEndAllowThreads(__tstate
);
29990 if (PyErr_Occurred()) SWIG_fail
;
29993 resultobj
= wxPyMake_wxObject(result
);
30001 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30002 PyObject
*resultobj
;
30003 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30005 PyObject
* obj0
= 0 ;
30006 char *kwnames
[] = {
30007 (char *) "self", NULL
30010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
30011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
30016 wxPyEndAllowThreads(__tstate
);
30017 if (PyErr_Occurred()) SWIG_fail
;
30019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30026 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30027 PyObject
*resultobj
;
30028 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30029 wxFrame
*arg2
= (wxFrame
*) 0 ;
30030 PyObject
* obj0
= 0 ;
30031 PyObject
* obj1
= 0 ;
30032 char *kwnames
[] = {
30033 (char *) "self",(char *) "frame", NULL
30036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30038 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30041 (arg1
)->Attach(arg2
);
30043 wxPyEndAllowThreads(__tstate
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30046 Py_INCREF(Py_None
); resultobj
= Py_None
;
30053 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30054 PyObject
*resultobj
;
30055 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30056 PyObject
* obj0
= 0 ;
30057 char *kwnames
[] = {
30058 (char *) "self", NULL
30061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
30062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30067 wxPyEndAllowThreads(__tstate
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30070 Py_INCREF(Py_None
); resultobj
= Py_None
;
30077 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
30079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30080 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
30082 return Py_BuildValue((char *)"");
30084 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30085 PyObject
*resultobj
;
30086 wxMenu
*arg1
= (wxMenu
*) NULL
;
30087 int arg2
= (int) wxID_SEPARATOR
;
30088 wxString
const &arg3_defvalue
= wxPyEmptyString
;
30089 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30090 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30091 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30092 int arg5
= (int) wxITEM_NORMAL
;
30093 wxMenu
*arg6
= (wxMenu
*) NULL
;
30094 wxMenuItem
*result
;
30095 bool temp3
= False
;
30096 bool temp4
= False
;
30097 PyObject
* obj0
= 0 ;
30098 PyObject
* obj1
= 0 ;
30099 PyObject
* obj2
= 0 ;
30100 PyObject
* obj3
= 0 ;
30101 PyObject
* obj4
= 0 ;
30102 PyObject
* obj5
= 0 ;
30103 char *kwnames
[] = {
30104 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30113 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
30114 if (PyErr_Occurred()) SWIG_fail
;
30119 arg3
= wxString_in_helper(obj2
);
30120 if (arg3
== NULL
) SWIG_fail
;
30126 arg4
= wxString_in_helper(obj3
);
30127 if (arg4
== NULL
) SWIG_fail
;
30133 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30138 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30142 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
30144 wxPyEndAllowThreads(__tstate
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30148 resultobj
= wxPyMake_wxObject(result
);
30172 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30173 PyObject
*resultobj
;
30174 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30176 PyObject
* obj0
= 0 ;
30177 char *kwnames
[] = {
30178 (char *) "self", NULL
30181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
30182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30185 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30191 resultobj
= wxPyMake_wxObject(result
);
30199 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30200 PyObject
*resultobj
;
30201 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30202 wxMenu
*arg2
= (wxMenu
*) 0 ;
30203 PyObject
* obj0
= 0 ;
30204 PyObject
* obj1
= 0 ;
30205 char *kwnames
[] = {
30206 (char *) "self",(char *) "menu", NULL
30209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30211 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30214 (arg1
)->SetMenu(arg2
);
30216 wxPyEndAllowThreads(__tstate
);
30217 if (PyErr_Occurred()) SWIG_fail
;
30219 Py_INCREF(Py_None
); resultobj
= Py_None
;
30226 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30227 PyObject
*resultobj
;
30228 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30230 PyObject
* obj0
= 0 ;
30231 PyObject
* obj1
= 0 ;
30232 char *kwnames
[] = {
30233 (char *) "self",(char *) "id", NULL
30236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
30237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30239 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30244 (arg1
)->SetId(arg2
);
30246 wxPyEndAllowThreads(__tstate
);
30247 if (PyErr_Occurred()) SWIG_fail
;
30249 Py_INCREF(Py_None
); resultobj
= Py_None
;
30256 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30257 PyObject
*resultobj
;
30258 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30260 PyObject
* obj0
= 0 ;
30261 char *kwnames
[] = {
30262 (char *) "self", NULL
30265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
30266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30269 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
30271 wxPyEndAllowThreads(__tstate
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30274 resultobj
= SWIG_PyObj_FromInt((int)result
);
30281 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30282 PyObject
*resultobj
;
30283 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30285 PyObject
* obj0
= 0 ;
30286 char *kwnames
[] = {
30287 (char *) "self", NULL
30290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
30291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30294 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
30296 wxPyEndAllowThreads(__tstate
);
30297 if (PyErr_Occurred()) SWIG_fail
;
30299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30306 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30307 PyObject
*resultobj
;
30308 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30309 wxString
*arg2
= 0 ;
30310 bool temp2
= False
;
30311 PyObject
* obj0
= 0 ;
30312 PyObject
* obj1
= 0 ;
30313 char *kwnames
[] = {
30314 (char *) "self",(char *) "str", NULL
30317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
30318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30320 arg2
= wxString_in_helper(obj1
);
30321 if (arg2
== NULL
) SWIG_fail
;
30325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30326 (arg1
)->SetText((wxString
const &)*arg2
);
30328 wxPyEndAllowThreads(__tstate
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 Py_INCREF(Py_None
); resultobj
= Py_None
;
30346 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30347 PyObject
*resultobj
;
30348 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30350 PyObject
* obj0
= 0 ;
30351 char *kwnames
[] = {
30352 (char *) "self", NULL
30355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
30356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30359 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
30361 wxPyEndAllowThreads(__tstate
);
30362 if (PyErr_Occurred()) SWIG_fail
;
30366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30377 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30378 PyObject
*resultobj
;
30379 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30381 PyObject
* obj0
= 0 ;
30382 char *kwnames
[] = {
30383 (char *) "self", NULL
30386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
30387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30391 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
30392 result
= (wxString
*) &_result_ref
;
30395 wxPyEndAllowThreads(__tstate
);
30396 if (PyErr_Occurred()) SWIG_fail
;
30400 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30402 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30411 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30412 PyObject
*resultobj
;
30413 wxString
*arg1
= 0 ;
30415 bool temp1
= False
;
30416 PyObject
* obj0
= 0 ;
30417 char *kwnames
[] = {
30418 (char *) "text", NULL
30421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
30423 arg1
= wxString_in_helper(obj0
);
30424 if (arg1
== NULL
) SWIG_fail
;
30428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30429 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
30431 wxPyEndAllowThreads(__tstate
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30455 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30456 PyObject
*resultobj
;
30457 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30459 PyObject
* obj0
= 0 ;
30460 char *kwnames
[] = {
30461 (char *) "self", NULL
30464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
30465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30468 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
30470 wxPyEndAllowThreads(__tstate
);
30471 if (PyErr_Occurred()) SWIG_fail
;
30473 resultobj
= SWIG_PyObj_FromInt((int)result
);
30480 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30481 PyObject
*resultobj
;
30482 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30484 PyObject
* obj0
= 0 ;
30485 PyObject
* obj1
= 0 ;
30486 char *kwnames
[] = {
30487 (char *) "self",(char *) "checkable", NULL
30490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
30491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30493 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30494 if (PyErr_Occurred()) SWIG_fail
;
30497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30498 (arg1
)->SetCheckable(arg2
);
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 Py_INCREF(Py_None
); resultobj
= Py_None
;
30510 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30511 PyObject
*resultobj
;
30512 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30514 PyObject
* obj0
= 0 ;
30515 char *kwnames
[] = {
30516 (char *) "self", NULL
30519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
30520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30523 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
30525 wxPyEndAllowThreads(__tstate
);
30526 if (PyErr_Occurred()) SWIG_fail
;
30528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30535 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30536 PyObject
*resultobj
;
30537 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30539 PyObject
* obj0
= 0 ;
30540 char *kwnames
[] = {
30541 (char *) "self", NULL
30544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
30545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30548 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
30550 wxPyEndAllowThreads(__tstate
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30560 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30561 PyObject
*resultobj
;
30562 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30563 wxMenu
*arg2
= (wxMenu
*) 0 ;
30564 PyObject
* obj0
= 0 ;
30565 PyObject
* obj1
= 0 ;
30566 char *kwnames
[] = {
30567 (char *) "self",(char *) "menu", NULL
30570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30572 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30575 (arg1
)->SetSubMenu(arg2
);
30577 wxPyEndAllowThreads(__tstate
);
30578 if (PyErr_Occurred()) SWIG_fail
;
30580 Py_INCREF(Py_None
); resultobj
= Py_None
;
30587 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30588 PyObject
*resultobj
;
30589 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30591 PyObject
* obj0
= 0 ;
30592 char *kwnames
[] = {
30593 (char *) "self", NULL
30596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
30597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30606 resultobj
= wxPyMake_wxObject(result
);
30614 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30615 PyObject
*resultobj
;
30616 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30617 bool arg2
= (bool) True
;
30618 PyObject
* obj0
= 0 ;
30619 PyObject
* obj1
= 0 ;
30620 char *kwnames
[] = {
30621 (char *) "self",(char *) "enable", NULL
30624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
30625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30628 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30634 (arg1
)->Enable(arg2
);
30636 wxPyEndAllowThreads(__tstate
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30639 Py_INCREF(Py_None
); resultobj
= Py_None
;
30646 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30647 PyObject
*resultobj
;
30648 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30650 PyObject
* obj0
= 0 ;
30651 char *kwnames
[] = {
30652 (char *) "self", NULL
30655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
30656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30659 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
30661 wxPyEndAllowThreads(__tstate
);
30662 if (PyErr_Occurred()) SWIG_fail
;
30664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30671 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30672 PyObject
*resultobj
;
30673 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30674 bool arg2
= (bool) True
;
30675 PyObject
* obj0
= 0 ;
30676 PyObject
* obj1
= 0 ;
30677 char *kwnames
[] = {
30678 (char *) "self",(char *) "check", NULL
30681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
30682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30685 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30686 if (PyErr_Occurred()) SWIG_fail
;
30690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30691 (arg1
)->Check(arg2
);
30693 wxPyEndAllowThreads(__tstate
);
30694 if (PyErr_Occurred()) SWIG_fail
;
30696 Py_INCREF(Py_None
); resultobj
= Py_None
;
30703 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30704 PyObject
*resultobj
;
30705 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30707 PyObject
* obj0
= 0 ;
30708 char *kwnames
[] = {
30709 (char *) "self", NULL
30712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
30713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30716 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
30718 wxPyEndAllowThreads(__tstate
);
30719 if (PyErr_Occurred()) SWIG_fail
;
30721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30728 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30729 PyObject
*resultobj
;
30730 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30731 PyObject
* obj0
= 0 ;
30732 char *kwnames
[] = {
30733 (char *) "self", NULL
30736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
30737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30742 wxPyEndAllowThreads(__tstate
);
30743 if (PyErr_Occurred()) SWIG_fail
;
30745 Py_INCREF(Py_None
); resultobj
= Py_None
;
30752 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30753 PyObject
*resultobj
;
30754 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30755 wxString
*arg2
= 0 ;
30756 bool temp2
= False
;
30757 PyObject
* obj0
= 0 ;
30758 PyObject
* obj1
= 0 ;
30759 char *kwnames
[] = {
30760 (char *) "self",(char *) "str", NULL
30763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30766 arg2
= wxString_in_helper(obj1
);
30767 if (arg2
== NULL
) SWIG_fail
;
30771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30772 (arg1
)->SetHelp((wxString
const &)*arg2
);
30774 wxPyEndAllowThreads(__tstate
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30777 Py_INCREF(Py_None
); resultobj
= Py_None
;
30792 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30793 PyObject
*resultobj
;
30794 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30796 PyObject
* obj0
= 0 ;
30797 char *kwnames
[] = {
30798 (char *) "self", NULL
30801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
30802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30806 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
30807 result
= (wxString
*) &_result_ref
;
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30815 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30817 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30826 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30827 PyObject
*resultobj
;
30828 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30829 wxAcceleratorEntry
*result
;
30830 PyObject
* obj0
= 0 ;
30831 char *kwnames
[] = {
30832 (char *) "self", NULL
30835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
30836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30839 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
30841 wxPyEndAllowThreads(__tstate
);
30842 if (PyErr_Occurred()) SWIG_fail
;
30844 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
30851 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30852 PyObject
*resultobj
;
30853 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30854 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
30855 PyObject
* obj0
= 0 ;
30856 PyObject
* obj1
= 0 ;
30857 char *kwnames
[] = {
30858 (char *) "self",(char *) "accel", NULL
30861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
30862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30863 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30866 (arg1
)->SetAccel(arg2
);
30868 wxPyEndAllowThreads(__tstate
);
30869 if (PyErr_Occurred()) SWIG_fail
;
30871 Py_INCREF(Py_None
); resultobj
= Py_None
;
30878 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30879 PyObject
*resultobj
;
30880 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30882 PyObject
* obj0
= 0 ;
30883 PyObject
* obj1
= 0 ;
30884 char *kwnames
[] = {
30885 (char *) "self",(char *) "font", NULL
30888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30890 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30891 if (arg2
== NULL
) {
30892 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30896 (arg1
)->SetFont((wxFont
const &)*arg2
);
30898 wxPyEndAllowThreads(__tstate
);
30899 if (PyErr_Occurred()) SWIG_fail
;
30901 Py_INCREF(Py_None
); resultobj
= Py_None
;
30908 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30909 PyObject
*resultobj
;
30910 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30912 PyObject
* obj0
= 0 ;
30913 char *kwnames
[] = {
30914 (char *) "self", NULL
30917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
30918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30921 result
= (arg1
)->GetFont();
30923 wxPyEndAllowThreads(__tstate
);
30924 if (PyErr_Occurred()) SWIG_fail
;
30927 wxFont
* resultptr
;
30928 resultptr
= new wxFont((wxFont
&) result
);
30929 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
30937 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30938 PyObject
*resultobj
;
30939 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30940 wxColour
*arg2
= 0 ;
30942 PyObject
* obj0
= 0 ;
30943 PyObject
* obj1
= 0 ;
30944 char *kwnames
[] = {
30945 (char *) "self",(char *) "colText", NULL
30948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30952 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30956 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30958 wxPyEndAllowThreads(__tstate
);
30959 if (PyErr_Occurred()) SWIG_fail
;
30961 Py_INCREF(Py_None
); resultobj
= Py_None
;
30968 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30969 PyObject
*resultobj
;
30970 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30972 PyObject
* obj0
= 0 ;
30973 char *kwnames
[] = {
30974 (char *) "self", NULL
30977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
30978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30981 result
= (arg1
)->GetTextColour();
30983 wxPyEndAllowThreads(__tstate
);
30984 if (PyErr_Occurred()) SWIG_fail
;
30987 wxColour
* resultptr
;
30988 resultptr
= new wxColour((wxColour
&) result
);
30989 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
30997 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30998 PyObject
*resultobj
;
30999 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31000 wxColour
*arg2
= 0 ;
31002 PyObject
* obj0
= 0 ;
31003 PyObject
* obj1
= 0 ;
31004 char *kwnames
[] = {
31005 (char *) "self",(char *) "colBack", NULL
31008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
31009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31012 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31016 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
31018 wxPyEndAllowThreads(__tstate
);
31019 if (PyErr_Occurred()) SWIG_fail
;
31021 Py_INCREF(Py_None
); resultobj
= Py_None
;
31028 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31029 PyObject
*resultobj
;
31030 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31032 PyObject
* obj0
= 0 ;
31033 char *kwnames
[] = {
31034 (char *) "self", NULL
31037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
31038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 result
= (arg1
)->GetBackgroundColour();
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31047 wxColour
* resultptr
;
31048 resultptr
= new wxColour((wxColour
&) result
);
31049 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
31057 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31058 PyObject
*resultobj
;
31059 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31060 wxBitmap
*arg2
= 0 ;
31061 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31062 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31063 PyObject
* obj0
= 0 ;
31064 PyObject
* obj1
= 0 ;
31065 PyObject
* obj2
= 0 ;
31066 char *kwnames
[] = {
31067 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
31070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31073 if (arg2
== NULL
) {
31074 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31077 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31078 if (arg3
== NULL
) {
31079 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31084 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31086 wxPyEndAllowThreads(__tstate
);
31087 if (PyErr_Occurred()) SWIG_fail
;
31089 Py_INCREF(Py_None
); resultobj
= Py_None
;
31096 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31097 PyObject
*resultobj
;
31098 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31099 wxBitmap
*arg2
= 0 ;
31100 PyObject
* obj0
= 0 ;
31101 PyObject
* obj1
= 0 ;
31102 char *kwnames
[] = {
31103 (char *) "self",(char *) "bmpDisabled", NULL
31106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31108 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31109 if (arg2
== NULL
) {
31110 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31114 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
31116 wxPyEndAllowThreads(__tstate
);
31117 if (PyErr_Occurred()) SWIG_fail
;
31119 Py_INCREF(Py_None
); resultobj
= Py_None
;
31126 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31127 PyObject
*resultobj
;
31128 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31130 PyObject
* obj0
= 0 ;
31131 char *kwnames
[] = {
31132 (char *) "self", NULL
31135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
31136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31140 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
31141 result
= (wxBitmap
*) &_result_ref
;
31144 wxPyEndAllowThreads(__tstate
);
31145 if (PyErr_Occurred()) SWIG_fail
;
31147 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
31154 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31155 PyObject
*resultobj
;
31156 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31158 PyObject
* obj0
= 0 ;
31159 PyObject
* obj1
= 0 ;
31160 char *kwnames
[] = {
31161 (char *) "self",(char *) "nWidth", NULL
31164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
31165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31167 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31168 if (PyErr_Occurred()) SWIG_fail
;
31171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31172 (arg1
)->SetMarginWidth(arg2
);
31174 wxPyEndAllowThreads(__tstate
);
31175 if (PyErr_Occurred()) SWIG_fail
;
31177 Py_INCREF(Py_None
); resultobj
= Py_None
;
31184 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31185 PyObject
*resultobj
;
31186 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31188 PyObject
* obj0
= 0 ;
31189 char *kwnames
[] = {
31190 (char *) "self", NULL
31193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
31194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31197 result
= (int)(arg1
)->GetMarginWidth();
31199 wxPyEndAllowThreads(__tstate
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31202 resultobj
= SWIG_PyObj_FromInt((int)result
);
31209 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
;
31212 char *kwnames
[] = {
31216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
31218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31219 result
= (int)wxMenuItem::GetDefaultMarginWidth();
31221 wxPyEndAllowThreads(__tstate
);
31222 if (PyErr_Occurred()) SWIG_fail
;
31224 resultobj
= SWIG_PyObj_FromInt((int)result
);
31231 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31232 PyObject
*resultobj
;
31233 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31235 PyObject
* obj0
= 0 ;
31236 char *kwnames
[] = {
31237 (char *) "self", NULL
31240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
31241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31244 result
= (bool)(arg1
)->IsOwnerDrawn();
31246 wxPyEndAllowThreads(__tstate
);
31247 if (PyErr_Occurred()) SWIG_fail
;
31249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31256 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31257 PyObject
*resultobj
;
31258 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31259 bool arg2
= (bool) True
;
31260 PyObject
* obj0
= 0 ;
31261 PyObject
* obj1
= 0 ;
31262 char *kwnames
[] = {
31263 (char *) "self",(char *) "ownerDrawn", NULL
31266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
31267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31270 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
31271 if (PyErr_Occurred()) SWIG_fail
;
31275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31276 (arg1
)->SetOwnerDrawn(arg2
);
31278 wxPyEndAllowThreads(__tstate
);
31279 if (PyErr_Occurred()) SWIG_fail
;
31281 Py_INCREF(Py_None
); resultobj
= Py_None
;
31288 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31289 PyObject
*resultobj
;
31290 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31291 PyObject
* obj0
= 0 ;
31292 char *kwnames
[] = {
31293 (char *) "self", NULL
31296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
31297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31300 (arg1
)->ResetOwnerDrawn();
31302 wxPyEndAllowThreads(__tstate
);
31303 if (PyErr_Occurred()) SWIG_fail
;
31305 Py_INCREF(Py_None
); resultobj
= Py_None
;
31312 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31313 PyObject
*resultobj
;
31314 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31315 wxBitmap
*arg2
= 0 ;
31316 PyObject
* obj0
= 0 ;
31317 PyObject
* obj1
= 0 ;
31318 char *kwnames
[] = {
31319 (char *) "self",(char *) "bitmap", NULL
31322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31325 if (arg2
== NULL
) {
31326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31330 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31332 wxPyEndAllowThreads(__tstate
);
31333 if (PyErr_Occurred()) SWIG_fail
;
31335 Py_INCREF(Py_None
); resultobj
= Py_None
;
31342 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31343 PyObject
*resultobj
;
31344 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31346 PyObject
* obj0
= 0 ;
31347 char *kwnames
[] = {
31348 (char *) "self", NULL
31351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
31352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31356 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
31357 result
= (wxBitmap
*) &_result_ref
;
31360 wxPyEndAllowThreads(__tstate
);
31361 if (PyErr_Occurred()) SWIG_fail
;
31363 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
31370 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
31372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31373 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
31375 return Py_BuildValue((char *)"");
31377 static int _wrap_ControlNameStr_set(PyObject
*) {
31378 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
31383 static PyObject
*_wrap_ControlNameStr_get() {
31388 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31390 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31397 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31398 PyObject
*resultobj
;
31399 wxWindow
*arg1
= (wxWindow
*) 0 ;
31401 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31402 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31403 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31404 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31405 long arg5
= (long) 0 ;
31406 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31407 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31408 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
31409 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31413 bool temp7
= False
;
31414 PyObject
* obj0
= 0 ;
31415 PyObject
* obj1
= 0 ;
31416 PyObject
* obj2
= 0 ;
31417 PyObject
* obj3
= 0 ;
31418 PyObject
* obj4
= 0 ;
31419 PyObject
* obj5
= 0 ;
31420 PyObject
* obj6
= 0 ;
31421 char *kwnames
[] = {
31422 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31428 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31429 if (PyErr_Occurred()) SWIG_fail
;
31434 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31440 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31445 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
31446 if (PyErr_Occurred()) SWIG_fail
;
31450 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31451 if (arg6
== NULL
) {
31452 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31457 arg7
= wxString_in_helper(obj6
);
31458 if (arg7
== NULL
) SWIG_fail
;
31463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31464 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31466 wxPyEndAllowThreads(__tstate
);
31467 if (PyErr_Occurred()) SWIG_fail
;
31470 resultobj
= wxPyMake_wxObject(result
);
31486 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31487 PyObject
*resultobj
;
31489 char *kwnames
[] = {
31493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
31495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31496 result
= (wxControl
*)new wxControl();
31498 wxPyEndAllowThreads(__tstate
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31502 resultobj
= wxPyMake_wxObject(result
);
31510 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31511 PyObject
*resultobj
;
31512 wxControl
*arg1
= (wxControl
*) 0 ;
31513 wxWindow
*arg2
= (wxWindow
*) 0 ;
31515 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31516 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31517 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31518 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31519 long arg6
= (long) 0 ;
31520 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31521 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31522 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
31523 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31527 bool temp8
= False
;
31528 PyObject
* obj0
= 0 ;
31529 PyObject
* obj1
= 0 ;
31530 PyObject
* obj2
= 0 ;
31531 PyObject
* obj3
= 0 ;
31532 PyObject
* obj4
= 0 ;
31533 PyObject
* obj5
= 0 ;
31534 PyObject
* obj6
= 0 ;
31535 PyObject
* obj7
= 0 ;
31536 char *kwnames
[] = {
31537 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
31541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31542 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31544 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31545 if (PyErr_Occurred()) SWIG_fail
;
31550 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31556 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31561 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
31562 if (PyErr_Occurred()) SWIG_fail
;
31566 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31567 if (arg7
== NULL
) {
31568 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31573 arg8
= wxString_in_helper(obj7
);
31574 if (arg8
== NULL
) SWIG_fail
;
31579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31580 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31582 wxPyEndAllowThreads(__tstate
);
31583 if (PyErr_Occurred()) SWIG_fail
;
31585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31600 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31601 PyObject
*resultobj
;
31602 wxControl
*arg1
= (wxControl
*) 0 ;
31603 wxCommandEvent
*arg2
= 0 ;
31604 PyObject
* obj0
= 0 ;
31605 PyObject
* obj1
= 0 ;
31606 char *kwnames
[] = {
31607 (char *) "self",(char *) "event", NULL
31610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
31611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31612 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31613 if (arg2
== NULL
) {
31614 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31618 (arg1
)->Command(*arg2
);
31620 wxPyEndAllowThreads(__tstate
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31623 Py_INCREF(Py_None
); resultobj
= Py_None
;
31630 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31631 PyObject
*resultobj
;
31632 wxControl
*arg1
= (wxControl
*) 0 ;
31634 PyObject
* obj0
= 0 ;
31635 char *kwnames
[] = {
31636 (char *) "self", NULL
31639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
31640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31643 result
= (arg1
)->GetLabel();
31645 wxPyEndAllowThreads(__tstate
);
31646 if (PyErr_Occurred()) SWIG_fail
;
31650 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31652 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31661 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31662 PyObject
*resultobj
;
31663 wxControl
*arg1
= (wxControl
*) 0 ;
31664 wxString
*arg2
= 0 ;
31665 bool temp2
= False
;
31666 PyObject
* obj0
= 0 ;
31667 PyObject
* obj1
= 0 ;
31668 char *kwnames
[] = {
31669 (char *) "self",(char *) "label", NULL
31672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31675 arg2
= wxString_in_helper(obj1
);
31676 if (arg2
== NULL
) SWIG_fail
;
31680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31681 (arg1
)->SetLabel((wxString
const &)*arg2
);
31683 wxPyEndAllowThreads(__tstate
);
31684 if (PyErr_Occurred()) SWIG_fail
;
31686 Py_INCREF(Py_None
); resultobj
= Py_None
;
31701 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
31703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31704 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
31706 return Py_BuildValue((char *)"");
31708 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31709 PyObject
*resultobj
;
31710 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31711 wxString
*arg2
= 0 ;
31712 PyObject
*arg3
= (PyObject
*) NULL
;
31714 bool temp2
= False
;
31715 PyObject
* obj0
= 0 ;
31716 PyObject
* obj1
= 0 ;
31717 PyObject
* obj2
= 0 ;
31718 char *kwnames
[] = {
31719 (char *) "self",(char *) "item",(char *) "clientData", NULL
31722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31725 arg2
= wxString_in_helper(obj1
);
31726 if (arg2
== NULL
) SWIG_fail
;
31733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31734 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
31736 wxPyEndAllowThreads(__tstate
);
31737 if (PyErr_Occurred()) SWIG_fail
;
31739 resultobj
= SWIG_PyObj_FromInt((int)result
);
31754 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31755 PyObject
*resultobj
;
31756 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31757 wxArrayString
*arg2
= 0 ;
31758 bool temp2
= False
;
31759 PyObject
* obj0
= 0 ;
31760 PyObject
* obj1
= 0 ;
31761 char *kwnames
[] = {
31762 (char *) "self",(char *) "strings", NULL
31765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31768 if (! PySequence_Check(obj1
)) {
31769 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
31772 arg2
= new wxArrayString
;
31774 int i
, len
=PySequence_Length(obj1
);
31775 for (i
=0; i
<len
; i
++) {
31776 PyObject
* item
= PySequence_GetItem(obj1
, i
);
31778 PyObject
* str
= PyObject_Unicode(item
);
31780 PyObject
* str
= PyObject_Str(item
);
31782 arg2
->Add(Py2wxString(str
));
31788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31789 (arg1
)->Append((wxArrayString
const &)*arg2
);
31791 wxPyEndAllowThreads(__tstate
);
31792 if (PyErr_Occurred()) SWIG_fail
;
31794 Py_INCREF(Py_None
); resultobj
= Py_None
;
31796 if (temp2
) delete arg2
;
31801 if (temp2
) delete arg2
;
31807 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31808 PyObject
*resultobj
;
31809 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31810 wxString
*arg2
= 0 ;
31812 PyObject
*arg4
= (PyObject
*) NULL
;
31814 bool temp2
= False
;
31815 PyObject
* obj0
= 0 ;
31816 PyObject
* obj1
= 0 ;
31817 PyObject
* obj2
= 0 ;
31818 PyObject
* obj3
= 0 ;
31819 char *kwnames
[] = {
31820 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
31823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31826 arg2
= wxString_in_helper(obj1
);
31827 if (arg2
== NULL
) SWIG_fail
;
31831 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31832 if (PyErr_Occurred()) SWIG_fail
;
31838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31839 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31844 resultobj
= SWIG_PyObj_FromInt((int)result
);
31859 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31860 PyObject
*resultobj
;
31861 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31862 PyObject
* obj0
= 0 ;
31863 char *kwnames
[] = {
31864 (char *) "self", NULL
31867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
31868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31873 wxPyEndAllowThreads(__tstate
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31876 Py_INCREF(Py_None
); resultobj
= Py_None
;
31883 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31884 PyObject
*resultobj
;
31885 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31887 PyObject
* obj0
= 0 ;
31888 PyObject
* obj1
= 0 ;
31889 char *kwnames
[] = {
31890 (char *) "self",(char *) "n", NULL
31893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
31894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31896 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31897 if (PyErr_Occurred()) SWIG_fail
;
31900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31901 (arg1
)->Delete(arg2
);
31903 wxPyEndAllowThreads(__tstate
);
31904 if (PyErr_Occurred()) SWIG_fail
;
31906 Py_INCREF(Py_None
); resultobj
= Py_None
;
31913 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31914 PyObject
*resultobj
;
31915 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31917 PyObject
* obj0
= 0 ;
31918 char *kwnames
[] = {
31919 (char *) "self", NULL
31922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
31923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31926 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
31928 wxPyEndAllowThreads(__tstate
);
31929 if (PyErr_Occurred()) SWIG_fail
;
31931 resultobj
= SWIG_PyObj_FromInt((int)result
);
31938 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31939 PyObject
*resultobj
;
31940 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31942 PyObject
* obj0
= 0 ;
31943 char *kwnames
[] = {
31944 (char *) "self", NULL
31947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
31948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31951 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
31953 wxPyEndAllowThreads(__tstate
);
31954 if (PyErr_Occurred()) SWIG_fail
;
31956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31963 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31964 PyObject
*resultobj
;
31965 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31968 PyObject
* obj0
= 0 ;
31969 PyObject
* obj1
= 0 ;
31970 char *kwnames
[] = {
31971 (char *) "self",(char *) "n", NULL
31974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
31975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31977 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31978 if (PyErr_Occurred()) SWIG_fail
;
31981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31982 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
31984 wxPyEndAllowThreads(__tstate
);
31985 if (PyErr_Occurred()) SWIG_fail
;
31989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32000 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32001 PyObject
*resultobj
;
32002 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32003 wxArrayString result
;
32004 PyObject
* obj0
= 0 ;
32005 char *kwnames
[] = {
32006 (char *) "self", NULL
32009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
32010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32013 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= wxArrayString2PyList_helper(result
);
32027 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32028 PyObject
*resultobj
;
32029 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32031 wxString
*arg3
= 0 ;
32032 bool temp3
= False
;
32033 PyObject
* obj0
= 0 ;
32034 PyObject
* obj1
= 0 ;
32035 PyObject
* obj2
= 0 ;
32036 char *kwnames
[] = {
32037 (char *) "self",(char *) "n",(char *) "s", NULL
32040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32043 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32044 if (PyErr_Occurred()) SWIG_fail
;
32047 arg3
= wxString_in_helper(obj2
);
32048 if (arg3
== NULL
) SWIG_fail
;
32052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32053 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
32055 wxPyEndAllowThreads(__tstate
);
32056 if (PyErr_Occurred()) SWIG_fail
;
32058 Py_INCREF(Py_None
); resultobj
= Py_None
;
32073 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32074 PyObject
*resultobj
;
32075 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32076 wxString
*arg2
= 0 ;
32078 bool temp2
= False
;
32079 PyObject
* obj0
= 0 ;
32080 PyObject
* obj1
= 0 ;
32081 char *kwnames
[] = {
32082 (char *) "self",(char *) "s", NULL
32085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
32086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32088 arg2
= wxString_in_helper(obj1
);
32089 if (arg2
== NULL
) SWIG_fail
;
32093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32094 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
32096 wxPyEndAllowThreads(__tstate
);
32097 if (PyErr_Occurred()) SWIG_fail
;
32099 resultobj
= SWIG_PyObj_FromInt((int)result
);
32114 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32115 PyObject
*resultobj
;
32116 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32118 PyObject
* obj0
= 0 ;
32119 PyObject
* obj1
= 0 ;
32120 char *kwnames
[] = {
32121 (char *) "self",(char *) "n", NULL
32124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
32125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32127 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32128 if (PyErr_Occurred()) SWIG_fail
;
32131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32132 (arg1
)->Select(arg2
);
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32137 Py_INCREF(Py_None
); resultobj
= Py_None
;
32144 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32145 PyObject
*resultobj
;
32146 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32148 PyObject
* obj0
= 0 ;
32149 char *kwnames
[] = {
32150 (char *) "self", NULL
32153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
32154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32157 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
32159 wxPyEndAllowThreads(__tstate
);
32160 if (PyErr_Occurred()) SWIG_fail
;
32162 resultobj
= SWIG_PyObj_FromInt((int)result
);
32169 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32170 PyObject
*resultobj
;
32171 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32173 PyObject
* obj0
= 0 ;
32174 char *kwnames
[] = {
32175 (char *) "self", NULL
32178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
32179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32182 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
32184 wxPyEndAllowThreads(__tstate
);
32185 if (PyErr_Occurred()) SWIG_fail
;
32189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32200 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32201 PyObject
*resultobj
;
32202 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32205 PyObject
* obj0
= 0 ;
32206 PyObject
* obj1
= 0 ;
32207 char *kwnames
[] = {
32208 (char *) "self",(char *) "n", NULL
32211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
32212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32214 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32215 if (PyErr_Occurred()) SWIG_fail
;
32218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32219 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
32221 wxPyEndAllowThreads(__tstate
);
32222 if (PyErr_Occurred()) SWIG_fail
;
32224 resultobj
= result
;
32231 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32232 PyObject
*resultobj
;
32233 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32235 PyObject
*arg3
= (PyObject
*) 0 ;
32236 PyObject
* obj0
= 0 ;
32237 PyObject
* obj1
= 0 ;
32238 PyObject
* obj2
= 0 ;
32239 char *kwnames
[] = {
32240 (char *) "self",(char *) "n",(char *) "clientData", NULL
32243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32246 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32247 if (PyErr_Occurred()) SWIG_fail
;
32251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32252 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
32254 wxPyEndAllowThreads(__tstate
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32257 Py_INCREF(Py_None
); resultobj
= Py_None
;
32264 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
32266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32267 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
32269 return Py_BuildValue((char *)"");
32271 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
32273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32274 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
32276 return Py_BuildValue((char *)"");
32278 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32279 PyObject
*resultobj
;
32280 wxSizerItem
*result
;
32281 char *kwnames
[] = {
32285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 result
= (wxSizerItem
*)new wxSizerItem();
32290 wxPyEndAllowThreads(__tstate
);
32291 if (PyErr_Occurred()) SWIG_fail
;
32293 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
32300 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32301 PyObject
*resultobj
;
32307 wxObject
*arg6
= (wxObject
*) 0 ;
32308 wxSizerItem
*result
;
32309 PyObject
* obj0
= 0 ;
32310 PyObject
* obj1
= 0 ;
32311 PyObject
* obj2
= 0 ;
32312 PyObject
* obj3
= 0 ;
32313 PyObject
* obj4
= 0 ;
32314 PyObject
* obj5
= 0 ;
32315 char *kwnames
[] = {
32316 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32321 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32325 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32326 if (PyErr_Occurred()) SWIG_fail
;
32329 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32330 if (PyErr_Occurred()) SWIG_fail
;
32333 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32334 if (PyErr_Occurred()) SWIG_fail
;
32337 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
32338 if (PyErr_Occurred()) SWIG_fail
;
32340 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32343 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
32345 wxPyEndAllowThreads(__tstate
);
32346 if (PyErr_Occurred()) SWIG_fail
;
32348 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
32355 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32356 PyObject
*resultobj
;
32357 wxWindow
*arg1
= (wxWindow
*) 0 ;
32361 wxObject
*arg5
= (wxObject
*) 0 ;
32362 wxSizerItem
*result
;
32363 PyObject
* obj0
= 0 ;
32364 PyObject
* obj1
= 0 ;
32365 PyObject
* obj2
= 0 ;
32366 PyObject
* obj3
= 0 ;
32367 PyObject
* obj4
= 0 ;
32368 char *kwnames
[] = {
32369 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32375 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32376 if (PyErr_Occurred()) SWIG_fail
;
32379 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32380 if (PyErr_Occurred()) SWIG_fail
;
32383 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32384 if (PyErr_Occurred()) SWIG_fail
;
32386 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32389 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32391 wxPyEndAllowThreads(__tstate
);
32392 if (PyErr_Occurred()) SWIG_fail
;
32394 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
32401 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32402 PyObject
*resultobj
;
32403 wxSizer
*arg1
= (wxSizer
*) 0 ;
32407 wxObject
*arg5
= (wxObject
*) 0 ;
32408 wxSizerItem
*result
;
32409 PyObject
* obj0
= 0 ;
32410 PyObject
* obj1
= 0 ;
32411 PyObject
* obj2
= 0 ;
32412 PyObject
* obj3
= 0 ;
32413 PyObject
* obj4
= 0 ;
32414 char *kwnames
[] = {
32415 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32421 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32422 if (PyErr_Occurred()) SWIG_fail
;
32425 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32429 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32430 if (PyErr_Occurred()) SWIG_fail
;
32432 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32435 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32437 wxPyEndAllowThreads(__tstate
);
32438 if (PyErr_Occurred()) SWIG_fail
;
32440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
32447 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32448 PyObject
*resultobj
;
32449 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32450 PyObject
* obj0
= 0 ;
32451 char *kwnames
[] = {
32452 (char *) "self", NULL
32455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
32456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32459 (arg1
)->DeleteWindows();
32461 wxPyEndAllowThreads(__tstate
);
32462 if (PyErr_Occurred()) SWIG_fail
;
32464 Py_INCREF(Py_None
); resultobj
= Py_None
;
32471 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32472 PyObject
*resultobj
;
32473 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32474 PyObject
* obj0
= 0 ;
32475 char *kwnames
[] = {
32476 (char *) "self", NULL
32479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
32480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32483 (arg1
)->DetachSizer();
32485 wxPyEndAllowThreads(__tstate
);
32486 if (PyErr_Occurred()) SWIG_fail
;
32488 Py_INCREF(Py_None
); resultobj
= Py_None
;
32495 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32496 PyObject
*resultobj
;
32497 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32499 PyObject
* obj0
= 0 ;
32500 char *kwnames
[] = {
32501 (char *) "self", NULL
32504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
32505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32508 result
= (arg1
)->GetSize();
32510 wxPyEndAllowThreads(__tstate
);
32511 if (PyErr_Occurred()) SWIG_fail
;
32514 wxSize
* resultptr
;
32515 resultptr
= new wxSize((wxSize
&) result
);
32516 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32524 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32525 PyObject
*resultobj
;
32526 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32528 PyObject
* obj0
= 0 ;
32529 char *kwnames
[] = {
32530 (char *) "self", NULL
32533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
32534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32537 result
= (arg1
)->CalcMin();
32539 wxPyEndAllowThreads(__tstate
);
32540 if (PyErr_Occurred()) SWIG_fail
;
32543 wxSize
* resultptr
;
32544 resultptr
= new wxSize((wxSize
&) result
);
32545 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32553 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32554 PyObject
*resultobj
;
32555 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32560 PyObject
* obj0
= 0 ;
32561 PyObject
* obj1
= 0 ;
32562 PyObject
* obj2
= 0 ;
32563 char *kwnames
[] = {
32564 (char *) "self",(char *) "pos",(char *) "size", NULL
32567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32569 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32571 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32575 (arg1
)->SetDimension(arg2
,arg3
);
32577 wxPyEndAllowThreads(__tstate
);
32578 if (PyErr_Occurred()) SWIG_fail
;
32580 Py_INCREF(Py_None
); resultobj
= Py_None
;
32587 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32588 PyObject
*resultobj
;
32589 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32591 PyObject
* obj0
= 0 ;
32592 char *kwnames
[] = {
32593 (char *) "self", NULL
32596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
32597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32600 result
= (arg1
)->GetMinSize();
32602 wxPyEndAllowThreads(__tstate
);
32603 if (PyErr_Occurred()) SWIG_fail
;
32606 wxSize
* resultptr
;
32607 resultptr
= new wxSize((wxSize
&) result
);
32608 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32616 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32617 PyObject
*resultobj
;
32618 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32621 PyObject
* obj0
= 0 ;
32622 PyObject
* obj1
= 0 ;
32623 PyObject
* obj2
= 0 ;
32624 char *kwnames
[] = {
32625 (char *) "self",(char *) "x",(char *) "y", NULL
32628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32631 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32632 if (PyErr_Occurred()) SWIG_fail
;
32635 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32636 if (PyErr_Occurred()) SWIG_fail
;
32639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32640 (arg1
)->SetInitSize(arg2
,arg3
);
32642 wxPyEndAllowThreads(__tstate
);
32643 if (PyErr_Occurred()) SWIG_fail
;
32645 Py_INCREF(Py_None
); resultobj
= Py_None
;
32652 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32653 PyObject
*resultobj
;
32654 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32657 PyObject
* obj0
= 0 ;
32658 PyObject
* obj1
= 0 ;
32659 PyObject
* obj2
= 0 ;
32660 char *kwnames
[] = {
32661 (char *) "self",(char *) "width",(char *) "height", NULL
32664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32667 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32668 if (PyErr_Occurred()) SWIG_fail
;
32671 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32672 if (PyErr_Occurred()) SWIG_fail
;
32675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32676 (arg1
)->SetRatio(arg2
,arg3
);
32678 wxPyEndAllowThreads(__tstate
);
32679 if (PyErr_Occurred()) SWIG_fail
;
32681 Py_INCREF(Py_None
); resultobj
= Py_None
;
32688 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32689 PyObject
*resultobj
;
32690 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32693 PyObject
* obj0
= 0 ;
32694 PyObject
* obj1
= 0 ;
32695 char *kwnames
[] = {
32696 (char *) "self",(char *) "size", NULL
32699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32701 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32705 (arg1
)->SetRatio(arg2
);
32707 wxPyEndAllowThreads(__tstate
);
32708 if (PyErr_Occurred()) SWIG_fail
;
32710 Py_INCREF(Py_None
); resultobj
= Py_None
;
32717 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32718 PyObject
*resultobj
;
32719 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32721 PyObject
* obj0
= 0 ;
32722 PyObject
* obj1
= 0 ;
32723 char *kwnames
[] = {
32724 (char *) "self",(char *) "ratio", NULL
32727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
32728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32730 arg2
= (float) SWIG_PyObj_AsFloat(obj1
);
32731 if (PyErr_Occurred()) SWIG_fail
;
32734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32735 (arg1
)->SetRatio(arg2
);
32737 wxPyEndAllowThreads(__tstate
);
32738 if (PyErr_Occurred()) SWIG_fail
;
32740 Py_INCREF(Py_None
); resultobj
= Py_None
;
32747 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32748 PyObject
*resultobj
;
32749 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32751 PyObject
* obj0
= 0 ;
32752 char *kwnames
[] = {
32753 (char *) "self", NULL
32756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
32757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32760 result
= (float)(arg1
)->GetRatio();
32762 wxPyEndAllowThreads(__tstate
);
32763 if (PyErr_Occurred()) SWIG_fail
;
32765 resultobj
= SWIG_PyObj_FromFloat((float)result
);
32772 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32773 PyObject
*resultobj
;
32774 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32776 PyObject
* obj0
= 0 ;
32777 char *kwnames
[] = {
32778 (char *) "self", NULL
32781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
32782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 result
= (bool)(arg1
)->IsWindow();
32787 wxPyEndAllowThreads(__tstate
);
32788 if (PyErr_Occurred()) SWIG_fail
;
32790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32797 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32798 PyObject
*resultobj
;
32799 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32801 PyObject
* obj0
= 0 ;
32802 char *kwnames
[] = {
32803 (char *) "self", NULL
32806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
32807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32810 result
= (bool)(arg1
)->IsSizer();
32812 wxPyEndAllowThreads(__tstate
);
32813 if (PyErr_Occurred()) SWIG_fail
;
32815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32822 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32823 PyObject
*resultobj
;
32824 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32826 PyObject
* obj0
= 0 ;
32827 char *kwnames
[] = {
32828 (char *) "self", NULL
32831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
32832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32835 result
= (bool)(arg1
)->IsSpacer();
32837 wxPyEndAllowThreads(__tstate
);
32838 if (PyErr_Occurred()) SWIG_fail
;
32840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32847 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32848 PyObject
*resultobj
;
32849 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32851 PyObject
* obj0
= 0 ;
32852 PyObject
* obj1
= 0 ;
32853 char *kwnames
[] = {
32854 (char *) "self",(char *) "proportion", NULL
32857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
32858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32860 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32861 if (PyErr_Occurred()) SWIG_fail
;
32864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32865 (arg1
)->SetProportion(arg2
);
32867 wxPyEndAllowThreads(__tstate
);
32868 if (PyErr_Occurred()) SWIG_fail
;
32870 Py_INCREF(Py_None
); resultobj
= Py_None
;
32877 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32878 PyObject
*resultobj
;
32879 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32881 PyObject
* obj0
= 0 ;
32882 char *kwnames
[] = {
32883 (char *) "self", NULL
32886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
32887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32890 result
= (int)(arg1
)->GetProportion();
32892 wxPyEndAllowThreads(__tstate
);
32893 if (PyErr_Occurred()) SWIG_fail
;
32895 resultobj
= SWIG_PyObj_FromInt((int)result
);
32902 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32903 PyObject
*resultobj
;
32904 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32906 PyObject
* obj0
= 0 ;
32907 PyObject
* obj1
= 0 ;
32908 char *kwnames
[] = {
32909 (char *) "self",(char *) "flag", NULL
32912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
32913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32915 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32916 if (PyErr_Occurred()) SWIG_fail
;
32919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32920 (arg1
)->SetFlag(arg2
);
32922 wxPyEndAllowThreads(__tstate
);
32923 if (PyErr_Occurred()) SWIG_fail
;
32925 Py_INCREF(Py_None
); resultobj
= Py_None
;
32932 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32933 PyObject
*resultobj
;
32934 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32936 PyObject
* obj0
= 0 ;
32937 char *kwnames
[] = {
32938 (char *) "self", NULL
32941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
32942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32945 result
= (int)(arg1
)->GetFlag();
32947 wxPyEndAllowThreads(__tstate
);
32948 if (PyErr_Occurred()) SWIG_fail
;
32950 resultobj
= SWIG_PyObj_FromInt((int)result
);
32957 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32958 PyObject
*resultobj
;
32959 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32961 PyObject
* obj0
= 0 ;
32962 PyObject
* obj1
= 0 ;
32963 char *kwnames
[] = {
32964 (char *) "self",(char *) "border", NULL
32967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
32968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32970 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32971 if (PyErr_Occurred()) SWIG_fail
;
32974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32975 (arg1
)->SetBorder(arg2
);
32977 wxPyEndAllowThreads(__tstate
);
32978 if (PyErr_Occurred()) SWIG_fail
;
32980 Py_INCREF(Py_None
); resultobj
= Py_None
;
32987 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32988 PyObject
*resultobj
;
32989 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32991 PyObject
* obj0
= 0 ;
32992 char *kwnames
[] = {
32993 (char *) "self", NULL
32996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
32997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33000 result
= (int)(arg1
)->GetBorder();
33002 wxPyEndAllowThreads(__tstate
);
33003 if (PyErr_Occurred()) SWIG_fail
;
33005 resultobj
= SWIG_PyObj_FromInt((int)result
);
33012 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33013 PyObject
*resultobj
;
33014 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33016 PyObject
* obj0
= 0 ;
33017 char *kwnames
[] = {
33018 (char *) "self", NULL
33021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
33022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33025 result
= (wxWindow
*)(arg1
)->GetWindow();
33027 wxPyEndAllowThreads(__tstate
);
33028 if (PyErr_Occurred()) SWIG_fail
;
33031 resultobj
= wxPyMake_wxObject(result
);
33039 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33040 PyObject
*resultobj
;
33041 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33042 wxWindow
*arg2
= (wxWindow
*) 0 ;
33043 PyObject
* obj0
= 0 ;
33044 PyObject
* obj1
= 0 ;
33045 char *kwnames
[] = {
33046 (char *) "self",(char *) "window", NULL
33049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33051 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33054 (arg1
)->SetWindow(arg2
);
33056 wxPyEndAllowThreads(__tstate
);
33057 if (PyErr_Occurred()) SWIG_fail
;
33059 Py_INCREF(Py_None
); resultobj
= Py_None
;
33066 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33067 PyObject
*resultobj
;
33068 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33070 PyObject
* obj0
= 0 ;
33071 char *kwnames
[] = {
33072 (char *) "self", NULL
33075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
33076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33079 result
= (wxSizer
*)(arg1
)->GetSizer();
33081 wxPyEndAllowThreads(__tstate
);
33082 if (PyErr_Occurred()) SWIG_fail
;
33085 resultobj
= wxPyMake_wxSizer(result
);
33093 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33094 PyObject
*resultobj
;
33095 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33096 wxSizer
*arg2
= (wxSizer
*) 0 ;
33097 PyObject
* obj0
= 0 ;
33098 PyObject
* obj1
= 0 ;
33099 char *kwnames
[] = {
33100 (char *) "self",(char *) "sizer", NULL
33103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33105 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 (arg1
)->SetSizer(arg2
);
33110 wxPyEndAllowThreads(__tstate
);
33111 if (PyErr_Occurred()) SWIG_fail
;
33113 Py_INCREF(Py_None
); resultobj
= Py_None
;
33120 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33121 PyObject
*resultobj
;
33122 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33124 PyObject
* obj0
= 0 ;
33125 char *kwnames
[] = {
33126 (char *) "self", NULL
33129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
33130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33134 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
33135 result
= (wxSize
*) &_result_ref
;
33138 wxPyEndAllowThreads(__tstate
);
33139 if (PyErr_Occurred()) SWIG_fail
;
33141 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
33148 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33149 PyObject
*resultobj
;
33150 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33153 PyObject
* obj0
= 0 ;
33154 PyObject
* obj1
= 0 ;
33155 char *kwnames
[] = {
33156 (char *) "self",(char *) "size", NULL
33159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
33160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33163 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33167 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
33169 wxPyEndAllowThreads(__tstate
);
33170 if (PyErr_Occurred()) SWIG_fail
;
33172 Py_INCREF(Py_None
); resultobj
= Py_None
;
33179 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33180 PyObject
*resultobj
;
33181 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33183 PyObject
* obj0
= 0 ;
33184 PyObject
* obj1
= 0 ;
33185 char *kwnames
[] = {
33186 (char *) "self",(char *) "show", NULL
33189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
33190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33192 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
33193 if (PyErr_Occurred()) SWIG_fail
;
33196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33197 (arg1
)->Show(arg2
);
33199 wxPyEndAllowThreads(__tstate
);
33200 if (PyErr_Occurred()) SWIG_fail
;
33202 Py_INCREF(Py_None
); resultobj
= Py_None
;
33209 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33210 PyObject
*resultobj
;
33211 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33213 PyObject
* obj0
= 0 ;
33214 char *kwnames
[] = {
33215 (char *) "self", NULL
33218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
33219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33222 result
= (bool)(arg1
)->IsShown();
33224 wxPyEndAllowThreads(__tstate
);
33225 if (PyErr_Occurred()) SWIG_fail
;
33227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33234 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33235 PyObject
*resultobj
;
33236 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33238 PyObject
* obj0
= 0 ;
33239 char *kwnames
[] = {
33240 (char *) "self", NULL
33243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
33244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33247 result
= (arg1
)->GetPosition();
33249 wxPyEndAllowThreads(__tstate
);
33250 if (PyErr_Occurred()) SWIG_fail
;
33253 wxPoint
* resultptr
;
33254 resultptr
= new wxPoint((wxPoint
&) result
);
33255 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
33263 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33264 PyObject
*resultobj
;
33265 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33267 PyObject
* obj0
= 0 ;
33268 char *kwnames
[] = {
33269 (char *) "self", NULL
33272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
33273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33276 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
33278 wxPyEndAllowThreads(__tstate
);
33279 if (PyErr_Occurred()) SWIG_fail
;
33281 resultobj
= result
;
33288 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
33290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33291 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
33293 return Py_BuildValue((char *)"");
33295 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33296 PyObject
*resultobj
;
33297 wxSizer
*arg1
= (wxSizer
*) 0 ;
33298 PyObject
*arg2
= (PyObject
*) 0 ;
33299 PyObject
* obj0
= 0 ;
33300 PyObject
* obj1
= 0 ;
33301 char *kwnames
[] = {
33302 (char *) "self",(char *) "_self", NULL
33305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
33306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33310 wxSizer__setOORInfo(arg1
,arg2
);
33312 wxPyEndAllowThreads(__tstate
);
33313 if (PyErr_Occurred()) SWIG_fail
;
33315 Py_INCREF(Py_None
); resultobj
= Py_None
;
33322 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33323 PyObject
*resultobj
;
33324 wxSizer
*arg1
= (wxSizer
*) 0 ;
33325 PyObject
*arg2
= (PyObject
*) 0 ;
33326 int arg3
= (int) 0 ;
33327 int arg4
= (int) 0 ;
33328 int arg5
= (int) 0 ;
33329 PyObject
*arg6
= (PyObject
*) NULL
;
33330 PyObject
* obj0
= 0 ;
33331 PyObject
* obj1
= 0 ;
33332 PyObject
* obj2
= 0 ;
33333 PyObject
* obj3
= 0 ;
33334 PyObject
* obj4
= 0 ;
33335 PyObject
* obj5
= 0 ;
33336 char *kwnames
[] = {
33337 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33345 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
33346 if (PyErr_Occurred()) SWIG_fail
;
33351 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33352 if (PyErr_Occurred()) SWIG_fail
;
33357 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33358 if (PyErr_Occurred()) SWIG_fail
;
33365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33366 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33368 wxPyEndAllowThreads(__tstate
);
33369 if (PyErr_Occurred()) SWIG_fail
;
33371 Py_INCREF(Py_None
); resultobj
= Py_None
;
33378 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33379 PyObject
*resultobj
;
33380 wxSizer
*arg1
= (wxSizer
*) 0 ;
33382 PyObject
*arg3
= (PyObject
*) 0 ;
33383 int arg4
= (int) 0 ;
33384 int arg5
= (int) 0 ;
33385 int arg6
= (int) 0 ;
33386 PyObject
*arg7
= (PyObject
*) NULL
;
33387 PyObject
* obj0
= 0 ;
33388 PyObject
* obj1
= 0 ;
33389 PyObject
* obj2
= 0 ;
33390 PyObject
* obj3
= 0 ;
33391 PyObject
* obj4
= 0 ;
33392 PyObject
* obj5
= 0 ;
33393 PyObject
* obj6
= 0 ;
33394 char *kwnames
[] = {
33395 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33401 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
33402 if (PyErr_Occurred()) SWIG_fail
;
33407 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33408 if (PyErr_Occurred()) SWIG_fail
;
33413 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33414 if (PyErr_Occurred()) SWIG_fail
;
33419 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
33420 if (PyErr_Occurred()) SWIG_fail
;
33427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33428 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33430 wxPyEndAllowThreads(__tstate
);
33431 if (PyErr_Occurred()) SWIG_fail
;
33433 Py_INCREF(Py_None
); resultobj
= Py_None
;
33440 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33441 PyObject
*resultobj
;
33442 wxSizer
*arg1
= (wxSizer
*) 0 ;
33443 PyObject
*arg2
= (PyObject
*) 0 ;
33444 int arg3
= (int) 0 ;
33445 int arg4
= (int) 0 ;
33446 int arg5
= (int) 0 ;
33447 PyObject
*arg6
= (PyObject
*) NULL
;
33448 PyObject
* obj0
= 0 ;
33449 PyObject
* obj1
= 0 ;
33450 PyObject
* obj2
= 0 ;
33451 PyObject
* obj3
= 0 ;
33452 PyObject
* obj4
= 0 ;
33453 PyObject
* obj5
= 0 ;
33454 char *kwnames
[] = {
33455 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33463 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
33464 if (PyErr_Occurred()) SWIG_fail
;
33469 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33470 if (PyErr_Occurred()) SWIG_fail
;
33475 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33476 if (PyErr_Occurred()) SWIG_fail
;
33483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33484 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33486 wxPyEndAllowThreads(__tstate
);
33487 if (PyErr_Occurred()) SWIG_fail
;
33489 Py_INCREF(Py_None
); resultobj
= Py_None
;
33496 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33497 PyObject
*resultobj
;
33498 wxSizer
*arg1
= (wxSizer
*) 0 ;
33499 PyObject
*arg2
= (PyObject
*) 0 ;
33501 PyObject
* obj0
= 0 ;
33502 PyObject
* obj1
= 0 ;
33503 char *kwnames
[] = {
33504 (char *) "self",(char *) "item", NULL
33507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33512 result
= (bool)wxSizer_Remove(arg1
,arg2
);
33514 wxPyEndAllowThreads(__tstate
);
33515 if (PyErr_Occurred()) SWIG_fail
;
33517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33524 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33525 PyObject
*resultobj
;
33526 wxSizer
*arg1
= (wxSizer
*) 0 ;
33527 PyObject
*arg2
= (PyObject
*) 0 ;
33530 PyObject
* obj0
= 0 ;
33531 PyObject
* obj1
= 0 ;
33532 PyObject
* obj2
= 0 ;
33533 char *kwnames
[] = {
33534 (char *) "self",(char *) "item",(char *) "size", NULL
33537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33542 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33546 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
33548 wxPyEndAllowThreads(__tstate
);
33549 if (PyErr_Occurred()) SWIG_fail
;
33551 Py_INCREF(Py_None
); resultobj
= Py_None
;
33558 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33559 PyObject
*resultobj
;
33560 wxSizer
*arg1
= (wxSizer
*) 0 ;
33561 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33562 PyObject
* obj0
= 0 ;
33563 PyObject
* obj1
= 0 ;
33564 char *kwnames
[] = {
33565 (char *) "self",(char *) "item", NULL
33568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33570 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33575 wxPyEndAllowThreads(__tstate
);
33576 if (PyErr_Occurred()) SWIG_fail
;
33578 Py_INCREF(Py_None
); resultobj
= Py_None
;
33585 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33586 PyObject
*resultobj
;
33587 wxSizer
*arg1
= (wxSizer
*) 0 ;
33589 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
33590 PyObject
* obj0
= 0 ;
33591 PyObject
* obj1
= 0 ;
33592 PyObject
* obj2
= 0 ;
33593 char *kwnames
[] = {
33594 (char *) "self",(char *) "index",(char *) "item", NULL
33597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33600 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
33601 if (PyErr_Occurred()) SWIG_fail
;
33603 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33606 (arg1
)->Insert(arg2
,arg3
);
33608 wxPyEndAllowThreads(__tstate
);
33609 if (PyErr_Occurred()) SWIG_fail
;
33611 Py_INCREF(Py_None
); resultobj
= Py_None
;
33618 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33619 PyObject
*resultobj
;
33620 wxSizer
*arg1
= (wxSizer
*) 0 ;
33621 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33622 PyObject
* obj0
= 0 ;
33623 PyObject
* obj1
= 0 ;
33624 char *kwnames
[] = {
33625 (char *) "self",(char *) "item", NULL
33628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33633 (arg1
)->Prepend(arg2
);
33635 wxPyEndAllowThreads(__tstate
);
33636 if (PyErr_Occurred()) SWIG_fail
;
33638 Py_INCREF(Py_None
); resultobj
= Py_None
;
33645 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33646 PyObject
*resultobj
;
33647 wxSizer
*arg1
= (wxSizer
*) 0 ;
33652 PyObject
* obj0
= 0 ;
33653 PyObject
* obj1
= 0 ;
33654 PyObject
* obj2
= 0 ;
33655 PyObject
* obj3
= 0 ;
33656 PyObject
* obj4
= 0 ;
33657 char *kwnames
[] = {
33658 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33664 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
33665 if (PyErr_Occurred()) SWIG_fail
;
33668 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
33669 if (PyErr_Occurred()) SWIG_fail
;
33672 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33673 if (PyErr_Occurred()) SWIG_fail
;
33676 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33677 if (PyErr_Occurred()) SWIG_fail
;
33680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33681 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
33683 wxPyEndAllowThreads(__tstate
);
33684 if (PyErr_Occurred()) SWIG_fail
;
33686 Py_INCREF(Py_None
); resultobj
= Py_None
;
33693 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33694 PyObject
*resultobj
;
33695 wxSizer
*arg1
= (wxSizer
*) 0 ;
33698 PyObject
* obj0
= 0 ;
33699 PyObject
* obj1
= 0 ;
33700 char *kwnames
[] = {
33701 (char *) "self",(char *) "size", NULL
33704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33708 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33712 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
33714 wxPyEndAllowThreads(__tstate
);
33715 if (PyErr_Occurred()) SWIG_fail
;
33717 Py_INCREF(Py_None
); resultobj
= Py_None
;
33724 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33725 PyObject
*resultobj
;
33726 wxSizer
*arg1
= (wxSizer
*) 0 ;
33728 PyObject
* obj0
= 0 ;
33729 char *kwnames
[] = {
33730 (char *) "self", NULL
33733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
33734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33737 result
= (arg1
)->GetSize();
33739 wxPyEndAllowThreads(__tstate
);
33740 if (PyErr_Occurred()) SWIG_fail
;
33743 wxSize
* resultptr
;
33744 resultptr
= new wxSize((wxSize
&) result
);
33745 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33753 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33754 PyObject
*resultobj
;
33755 wxSizer
*arg1
= (wxSizer
*) 0 ;
33757 PyObject
* obj0
= 0 ;
33758 char *kwnames
[] = {
33759 (char *) "self", NULL
33762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
33763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33766 result
= (arg1
)->GetPosition();
33768 wxPyEndAllowThreads(__tstate
);
33769 if (PyErr_Occurred()) SWIG_fail
;
33772 wxPoint
* resultptr
;
33773 resultptr
= new wxPoint((wxPoint
&) result
);
33774 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
33782 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33783 PyObject
*resultobj
;
33784 wxSizer
*arg1
= (wxSizer
*) 0 ;
33786 PyObject
* obj0
= 0 ;
33787 char *kwnames
[] = {
33788 (char *) "self", NULL
33791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
33792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33795 result
= (arg1
)->GetMinSize();
33797 wxPyEndAllowThreads(__tstate
);
33798 if (PyErr_Occurred()) SWIG_fail
;
33801 wxSize
* resultptr
;
33802 resultptr
= new wxSize((wxSize
&) result
);
33803 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33811 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33812 PyObject
*resultobj
;
33813 wxSizer
*arg1
= (wxSizer
*) 0 ;
33814 PyObject
* obj0
= 0 ;
33815 char *kwnames
[] = {
33816 (char *) "self", NULL
33819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
33820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33823 (arg1
)->RecalcSizes();
33825 wxPyEndAllowThreads(__tstate
);
33826 if (PyErr_Occurred()) SWIG_fail
;
33828 Py_INCREF(Py_None
); resultobj
= Py_None
;
33835 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33836 PyObject
*resultobj
;
33837 wxSizer
*arg1
= (wxSizer
*) 0 ;
33839 PyObject
* obj0
= 0 ;
33840 char *kwnames
[] = {
33841 (char *) "self", NULL
33844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
33845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33848 result
= (arg1
)->CalcMin();
33850 wxPyEndAllowThreads(__tstate
);
33851 if (PyErr_Occurred()) SWIG_fail
;
33854 wxSize
* resultptr
;
33855 resultptr
= new wxSize((wxSize
&) result
);
33856 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33864 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33865 PyObject
*resultobj
;
33866 wxSizer
*arg1
= (wxSizer
*) 0 ;
33867 PyObject
* obj0
= 0 ;
33868 char *kwnames
[] = {
33869 (char *) "self", NULL
33872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
33873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33878 wxPyEndAllowThreads(__tstate
);
33879 if (PyErr_Occurred()) SWIG_fail
;
33881 Py_INCREF(Py_None
); resultobj
= Py_None
;
33888 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33889 PyObject
*resultobj
;
33890 wxSizer
*arg1
= (wxSizer
*) 0 ;
33891 wxWindow
*arg2
= (wxWindow
*) 0 ;
33893 PyObject
* obj0
= 0 ;
33894 PyObject
* obj1
= 0 ;
33895 char *kwnames
[] = {
33896 (char *) "self",(char *) "window", NULL
33899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
33900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33904 result
= (arg1
)->Fit(arg2
);
33906 wxPyEndAllowThreads(__tstate
);
33907 if (PyErr_Occurred()) SWIG_fail
;
33910 wxSize
* resultptr
;
33911 resultptr
= new wxSize((wxSize
&) result
);
33912 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33920 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33921 PyObject
*resultobj
;
33922 wxSizer
*arg1
= (wxSizer
*) 0 ;
33923 wxWindow
*arg2
= (wxWindow
*) 0 ;
33924 PyObject
* obj0
= 0 ;
33925 PyObject
* obj1
= 0 ;
33926 char *kwnames
[] = {
33927 (char *) "self",(char *) "window", NULL
33930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
33931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33935 (arg1
)->FitInside(arg2
);
33937 wxPyEndAllowThreads(__tstate
);
33938 if (PyErr_Occurred()) SWIG_fail
;
33940 Py_INCREF(Py_None
); resultobj
= Py_None
;
33947 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33948 PyObject
*resultobj
;
33949 wxSizer
*arg1
= (wxSizer
*) 0 ;
33950 wxWindow
*arg2
= (wxWindow
*) 0 ;
33951 PyObject
* obj0
= 0 ;
33952 PyObject
* obj1
= 0 ;
33953 char *kwnames
[] = {
33954 (char *) "self",(char *) "window", NULL
33957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33959 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33962 (arg1
)->SetSizeHints(arg2
);
33964 wxPyEndAllowThreads(__tstate
);
33965 if (PyErr_Occurred()) SWIG_fail
;
33967 Py_INCREF(Py_None
); resultobj
= Py_None
;
33974 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33975 PyObject
*resultobj
;
33976 wxSizer
*arg1
= (wxSizer
*) 0 ;
33977 wxWindow
*arg2
= (wxWindow
*) 0 ;
33978 PyObject
* obj0
= 0 ;
33979 PyObject
* obj1
= 0 ;
33980 char *kwnames
[] = {
33981 (char *) "self",(char *) "window", NULL
33984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33986 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33989 (arg1
)->SetVirtualSizeHints(arg2
);
33991 wxPyEndAllowThreads(__tstate
);
33992 if (PyErr_Occurred()) SWIG_fail
;
33994 Py_INCREF(Py_None
); resultobj
= Py_None
;
34001 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34002 PyObject
*resultobj
;
34003 wxSizer
*arg1
= (wxSizer
*) 0 ;
34004 bool arg2
= (bool) False
;
34005 PyObject
* obj0
= 0 ;
34006 PyObject
* obj1
= 0 ;
34007 char *kwnames
[] = {
34008 (char *) "self",(char *) "delete_windows", NULL
34011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
34012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34015 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
34016 if (PyErr_Occurred()) SWIG_fail
;
34020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34021 (arg1
)->Clear(arg2
);
34023 wxPyEndAllowThreads(__tstate
);
34024 if (PyErr_Occurred()) SWIG_fail
;
34026 Py_INCREF(Py_None
); resultobj
= Py_None
;
34033 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34034 PyObject
*resultobj
;
34035 wxSizer
*arg1
= (wxSizer
*) 0 ;
34036 PyObject
* obj0
= 0 ;
34037 char *kwnames
[] = {
34038 (char *) "self", NULL
34041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34045 (arg1
)->DeleteWindows();
34047 wxPyEndAllowThreads(__tstate
);
34048 if (PyErr_Occurred()) SWIG_fail
;
34050 Py_INCREF(Py_None
); resultobj
= Py_None
;
34057 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34058 PyObject
*resultobj
;
34059 wxSizer
*arg1
= (wxSizer
*) 0 ;
34061 PyObject
* obj0
= 0 ;
34062 char *kwnames
[] = {
34063 (char *) "self", NULL
34066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
34067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34070 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
34072 wxPyEndAllowThreads(__tstate
);
34073 if (PyErr_Occurred()) SWIG_fail
;
34075 resultobj
= result
;
34082 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34083 PyObject
*resultobj
;
34084 wxSizer
*arg1
= (wxSizer
*) 0 ;
34085 PyObject
*arg2
= (PyObject
*) 0 ;
34086 bool arg3
= (bool) True
;
34087 PyObject
* obj0
= 0 ;
34088 PyObject
* obj1
= 0 ;
34089 PyObject
* obj2
= 0 ;
34090 char *kwnames
[] = {
34091 (char *) "self",(char *) "item",(char *) "show", NULL
34094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34099 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
34100 if (PyErr_Occurred()) SWIG_fail
;
34104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34105 wxSizer_Show(arg1
,arg2
,arg3
);
34107 wxPyEndAllowThreads(__tstate
);
34108 if (PyErr_Occurred()) SWIG_fail
;
34110 Py_INCREF(Py_None
); resultobj
= Py_None
;
34117 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34118 PyObject
*resultobj
;
34119 wxSizer
*arg1
= (wxSizer
*) 0 ;
34120 PyObject
*arg2
= (PyObject
*) 0 ;
34121 PyObject
* obj0
= 0 ;
34122 PyObject
* obj1
= 0 ;
34123 char *kwnames
[] = {
34124 (char *) "self",(char *) "item", NULL
34127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
34128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34132 wxSizer_Hide(arg1
,arg2
);
34134 wxPyEndAllowThreads(__tstate
);
34135 if (PyErr_Occurred()) SWIG_fail
;
34137 Py_INCREF(Py_None
); resultobj
= Py_None
;
34144 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34145 PyObject
*resultobj
;
34146 wxSizer
*arg1
= (wxSizer
*) 0 ;
34147 PyObject
*arg2
= (PyObject
*) 0 ;
34149 PyObject
* obj0
= 0 ;
34150 PyObject
* obj1
= 0 ;
34151 char *kwnames
[] = {
34152 (char *) "self",(char *) "item", NULL
34155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
34156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34160 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
34162 wxPyEndAllowThreads(__tstate
);
34163 if (PyErr_Occurred()) SWIG_fail
;
34165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34172 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34173 PyObject
*resultobj
;
34174 wxSizer
*arg1
= (wxSizer
*) 0 ;
34176 PyObject
* obj0
= 0 ;
34177 PyObject
* obj1
= 0 ;
34178 char *kwnames
[] = {
34179 (char *) "self",(char *) "show", NULL
34182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34185 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
34186 if (PyErr_Occurred()) SWIG_fail
;
34189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34190 (arg1
)->ShowItems(arg2
);
34192 wxPyEndAllowThreads(__tstate
);
34193 if (PyErr_Occurred()) SWIG_fail
;
34195 Py_INCREF(Py_None
); resultobj
= Py_None
;
34202 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
34204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34205 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
34207 return Py_BuildValue((char *)"");
34209 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34210 PyObject
*resultobj
;
34212 char *kwnames
[] = {
34216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
34218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34219 result
= (wxPySizer
*)new wxPySizer();
34221 wxPyEndAllowThreads(__tstate
);
34222 if (PyErr_Occurred()) SWIG_fail
;
34224 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
34231 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34232 PyObject
*resultobj
;
34233 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
34234 PyObject
*arg2
= (PyObject
*) 0 ;
34235 PyObject
*arg3
= (PyObject
*) 0 ;
34236 PyObject
* obj0
= 0 ;
34237 PyObject
* obj1
= 0 ;
34238 PyObject
* obj2
= 0 ;
34239 char *kwnames
[] = {
34240 (char *) "self",(char *) "self",(char *) "_class", NULL
34243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34249 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34251 wxPyEndAllowThreads(__tstate
);
34252 if (PyErr_Occurred()) SWIG_fail
;
34254 Py_INCREF(Py_None
); resultobj
= Py_None
;
34261 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
34263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34264 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
34266 return Py_BuildValue((char *)"");
34268 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34269 PyObject
*resultobj
;
34270 int arg1
= (int) wxHORIZONTAL
;
34271 wxBoxSizer
*result
;
34272 PyObject
* obj0
= 0 ;
34273 char *kwnames
[] = {
34274 (char *) "orient", NULL
34277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
34280 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34281 if (PyErr_Occurred()) SWIG_fail
;
34285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34286 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
34288 wxPyEndAllowThreads(__tstate
);
34289 if (PyErr_Occurred()) SWIG_fail
;
34291 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
34298 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34299 PyObject
*resultobj
;
34300 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34302 PyObject
* obj0
= 0 ;
34303 char *kwnames
[] = {
34304 (char *) "self", NULL
34307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
34308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34311 result
= (int)(arg1
)->GetOrientation();
34313 wxPyEndAllowThreads(__tstate
);
34314 if (PyErr_Occurred()) SWIG_fail
;
34316 resultobj
= SWIG_PyObj_FromInt((int)result
);
34323 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34324 PyObject
*resultobj
;
34325 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34327 PyObject
* obj0
= 0 ;
34328 PyObject
* obj1
= 0 ;
34329 char *kwnames
[] = {
34330 (char *) "self",(char *) "orient", NULL
34333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
34334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34336 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34337 if (PyErr_Occurred()) SWIG_fail
;
34340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34341 (arg1
)->SetOrientation(arg2
);
34343 wxPyEndAllowThreads(__tstate
);
34344 if (PyErr_Occurred()) SWIG_fail
;
34346 Py_INCREF(Py_None
); resultobj
= Py_None
;
34353 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34354 PyObject
*resultobj
;
34355 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34356 PyObject
* obj0
= 0 ;
34357 char *kwnames
[] = {
34358 (char *) "self", NULL
34361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34365 (arg1
)->RecalcSizes();
34367 wxPyEndAllowThreads(__tstate
);
34368 if (PyErr_Occurred()) SWIG_fail
;
34370 Py_INCREF(Py_None
); resultobj
= Py_None
;
34377 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34378 PyObject
*resultobj
;
34379 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34381 PyObject
* obj0
= 0 ;
34382 char *kwnames
[] = {
34383 (char *) "self", NULL
34386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34390 result
= (arg1
)->CalcMin();
34392 wxPyEndAllowThreads(__tstate
);
34393 if (PyErr_Occurred()) SWIG_fail
;
34396 wxSize
* resultptr
;
34397 resultptr
= new wxSize((wxSize
&) result
);
34398 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34406 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34409 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
34411 return Py_BuildValue((char *)"");
34413 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34414 PyObject
*resultobj
;
34415 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
34416 int arg2
= (int) wxHORIZONTAL
;
34417 wxStaticBoxSizer
*result
;
34418 PyObject
* obj0
= 0 ;
34419 PyObject
* obj1
= 0 ;
34420 char *kwnames
[] = {
34421 (char *) "box",(char *) "orient", NULL
34424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34428 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34429 if (PyErr_Occurred()) SWIG_fail
;
34433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34434 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
34436 wxPyEndAllowThreads(__tstate
);
34437 if (PyErr_Occurred()) SWIG_fail
;
34439 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
34446 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34447 PyObject
*resultobj
;
34448 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34449 wxStaticBox
*result
;
34450 PyObject
* obj0
= 0 ;
34451 char *kwnames
[] = {
34452 (char *) "self", NULL
34455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
34456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34459 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
34461 wxPyEndAllowThreads(__tstate
);
34462 if (PyErr_Occurred()) SWIG_fail
;
34465 resultobj
= wxPyMake_wxObject(result
);
34473 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34474 PyObject
*resultobj
;
34475 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34476 PyObject
* obj0
= 0 ;
34477 char *kwnames
[] = {
34478 (char *) "self", NULL
34481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34485 (arg1
)->RecalcSizes();
34487 wxPyEndAllowThreads(__tstate
);
34488 if (PyErr_Occurred()) SWIG_fail
;
34490 Py_INCREF(Py_None
); resultobj
= Py_None
;
34497 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34498 PyObject
*resultobj
;
34499 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34501 PyObject
* obj0
= 0 ;
34502 char *kwnames
[] = {
34503 (char *) "self", NULL
34506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34510 result
= (arg1
)->CalcMin();
34512 wxPyEndAllowThreads(__tstate
);
34513 if (PyErr_Occurred()) SWIG_fail
;
34516 wxSize
* resultptr
;
34517 resultptr
= new wxSize((wxSize
&) result
);
34518 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34526 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34529 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
34531 return Py_BuildValue((char *)"");
34533 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34534 PyObject
*resultobj
;
34535 int arg1
= (int) 1 ;
34536 int arg2
= (int) 0 ;
34537 int arg3
= (int) 0 ;
34538 int arg4
= (int) 0 ;
34539 wxGridSizer
*result
;
34540 PyObject
* obj0
= 0 ;
34541 PyObject
* obj1
= 0 ;
34542 PyObject
* obj2
= 0 ;
34543 PyObject
* obj3
= 0 ;
34544 char *kwnames
[] = {
34545 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34551 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34552 if (PyErr_Occurred()) SWIG_fail
;
34557 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34558 if (PyErr_Occurred()) SWIG_fail
;
34563 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34564 if (PyErr_Occurred()) SWIG_fail
;
34569 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
34570 if (PyErr_Occurred()) SWIG_fail
;
34574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34575 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
34577 wxPyEndAllowThreads(__tstate
);
34578 if (PyErr_Occurred()) SWIG_fail
;
34580 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
34587 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34588 PyObject
*resultobj
;
34589 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34590 PyObject
* obj0
= 0 ;
34591 char *kwnames
[] = {
34592 (char *) "self", NULL
34595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34599 (arg1
)->RecalcSizes();
34601 wxPyEndAllowThreads(__tstate
);
34602 if (PyErr_Occurred()) SWIG_fail
;
34604 Py_INCREF(Py_None
); resultobj
= Py_None
;
34611 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34612 PyObject
*resultobj
;
34613 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34615 PyObject
* obj0
= 0 ;
34616 char *kwnames
[] = {
34617 (char *) "self", NULL
34620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34624 result
= (arg1
)->CalcMin();
34626 wxPyEndAllowThreads(__tstate
);
34627 if (PyErr_Occurred()) SWIG_fail
;
34630 wxSize
* resultptr
;
34631 resultptr
= new wxSize((wxSize
&) result
);
34632 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34640 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34641 PyObject
*resultobj
;
34642 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34644 PyObject
* obj0
= 0 ;
34645 PyObject
* obj1
= 0 ;
34646 char *kwnames
[] = {
34647 (char *) "self",(char *) "cols", NULL
34650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
34651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,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
)->SetCols(arg2
);
34660 wxPyEndAllowThreads(__tstate
);
34661 if (PyErr_Occurred()) SWIG_fail
;
34663 Py_INCREF(Py_None
); resultobj
= Py_None
;
34670 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34671 PyObject
*resultobj
;
34672 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34674 PyObject
* obj0
= 0 ;
34675 PyObject
* obj1
= 0 ;
34676 char *kwnames
[] = {
34677 (char *) "self",(char *) "rows", NULL
34680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
34681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34683 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34684 if (PyErr_Occurred()) SWIG_fail
;
34687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34688 (arg1
)->SetRows(arg2
);
34690 wxPyEndAllowThreads(__tstate
);
34691 if (PyErr_Occurred()) SWIG_fail
;
34693 Py_INCREF(Py_None
); resultobj
= Py_None
;
34700 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34701 PyObject
*resultobj
;
34702 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34704 PyObject
* obj0
= 0 ;
34705 PyObject
* obj1
= 0 ;
34706 char *kwnames
[] = {
34707 (char *) "self",(char *) "gap", NULL
34710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34713 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34718 (arg1
)->SetVGap(arg2
);
34720 wxPyEndAllowThreads(__tstate
);
34721 if (PyErr_Occurred()) SWIG_fail
;
34723 Py_INCREF(Py_None
); resultobj
= Py_None
;
34730 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34731 PyObject
*resultobj
;
34732 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34734 PyObject
* obj0
= 0 ;
34735 PyObject
* obj1
= 0 ;
34736 char *kwnames
[] = {
34737 (char *) "self",(char *) "gap", NULL
34740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34743 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34744 if (PyErr_Occurred()) SWIG_fail
;
34747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34748 (arg1
)->SetHGap(arg2
);
34750 wxPyEndAllowThreads(__tstate
);
34751 if (PyErr_Occurred()) SWIG_fail
;
34753 Py_INCREF(Py_None
); resultobj
= Py_None
;
34760 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34761 PyObject
*resultobj
;
34762 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34764 PyObject
* obj0
= 0 ;
34765 char *kwnames
[] = {
34766 (char *) "self", NULL
34769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
34770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34773 result
= (int)(arg1
)->GetCols();
34775 wxPyEndAllowThreads(__tstate
);
34776 if (PyErr_Occurred()) SWIG_fail
;
34778 resultobj
= SWIG_PyObj_FromInt((int)result
);
34785 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34786 PyObject
*resultobj
;
34787 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34789 PyObject
* obj0
= 0 ;
34790 char *kwnames
[] = {
34791 (char *) "self", NULL
34794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
34795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34798 result
= (int)(arg1
)->GetRows();
34800 wxPyEndAllowThreads(__tstate
);
34801 if (PyErr_Occurred()) SWIG_fail
;
34803 resultobj
= SWIG_PyObj_FromInt((int)result
);
34810 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34811 PyObject
*resultobj
;
34812 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34814 PyObject
* obj0
= 0 ;
34815 char *kwnames
[] = {
34816 (char *) "self", NULL
34819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
34820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34823 result
= (int)(arg1
)->GetVGap();
34825 wxPyEndAllowThreads(__tstate
);
34826 if (PyErr_Occurred()) SWIG_fail
;
34828 resultobj
= SWIG_PyObj_FromInt((int)result
);
34835 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34836 PyObject
*resultobj
;
34837 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34839 PyObject
* obj0
= 0 ;
34840 char *kwnames
[] = {
34841 (char *) "self", NULL
34844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
34845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34848 result
= (int)(arg1
)->GetHGap();
34850 wxPyEndAllowThreads(__tstate
);
34851 if (PyErr_Occurred()) SWIG_fail
;
34853 resultobj
= SWIG_PyObj_FromInt((int)result
);
34860 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34863 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
34865 return Py_BuildValue((char *)"");
34867 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34868 PyObject
*resultobj
;
34869 int arg1
= (int) 1 ;
34870 int arg2
= (int) 0 ;
34871 int arg3
= (int) 0 ;
34872 int arg4
= (int) 0 ;
34873 wxFlexGridSizer
*result
;
34874 PyObject
* obj0
= 0 ;
34875 PyObject
* obj1
= 0 ;
34876 PyObject
* obj2
= 0 ;
34877 PyObject
* obj3
= 0 ;
34878 char *kwnames
[] = {
34879 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34885 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34886 if (PyErr_Occurred()) SWIG_fail
;
34891 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34892 if (PyErr_Occurred()) SWIG_fail
;
34897 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34898 if (PyErr_Occurred()) SWIG_fail
;
34903 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
34904 if (PyErr_Occurred()) SWIG_fail
;
34908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34909 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
34911 wxPyEndAllowThreads(__tstate
);
34912 if (PyErr_Occurred()) SWIG_fail
;
34914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
34921 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34922 PyObject
*resultobj
;
34923 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34924 PyObject
* obj0
= 0 ;
34925 char *kwnames
[] = {
34926 (char *) "self", NULL
34929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34933 (arg1
)->RecalcSizes();
34935 wxPyEndAllowThreads(__tstate
);
34936 if (PyErr_Occurred()) SWIG_fail
;
34938 Py_INCREF(Py_None
); resultobj
= Py_None
;
34945 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34946 PyObject
*resultobj
;
34947 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34949 PyObject
* obj0
= 0 ;
34950 char *kwnames
[] = {
34951 (char *) "self", NULL
34954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34958 result
= (arg1
)->CalcMin();
34960 wxPyEndAllowThreads(__tstate
);
34961 if (PyErr_Occurred()) SWIG_fail
;
34964 wxSize
* resultptr
;
34965 resultptr
= new wxSize((wxSize
&) result
);
34966 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34974 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34975 PyObject
*resultobj
;
34976 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34978 int arg3
= (int) 0 ;
34979 PyObject
* obj0
= 0 ;
34980 PyObject
* obj1
= 0 ;
34981 PyObject
* obj2
= 0 ;
34982 char *kwnames
[] = {
34983 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34989 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
34990 if (PyErr_Occurred()) SWIG_fail
;
34994 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34995 if (PyErr_Occurred()) SWIG_fail
;
34999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35000 (arg1
)->AddGrowableRow(arg2
,arg3
);
35002 wxPyEndAllowThreads(__tstate
);
35003 if (PyErr_Occurred()) SWIG_fail
;
35005 Py_INCREF(Py_None
); resultobj
= Py_None
;
35012 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35013 PyObject
*resultobj
;
35014 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35016 PyObject
* obj0
= 0 ;
35017 PyObject
* obj1
= 0 ;
35018 char *kwnames
[] = {
35019 (char *) "self",(char *) "idx", NULL
35022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35025 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
35026 if (PyErr_Occurred()) SWIG_fail
;
35029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35030 (arg1
)->RemoveGrowableRow(arg2
);
35032 wxPyEndAllowThreads(__tstate
);
35033 if (PyErr_Occurred()) SWIG_fail
;
35035 Py_INCREF(Py_None
); resultobj
= Py_None
;
35042 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35043 PyObject
*resultobj
;
35044 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35046 int arg3
= (int) 0 ;
35047 PyObject
* obj0
= 0 ;
35048 PyObject
* obj1
= 0 ;
35049 PyObject
* obj2
= 0 ;
35050 char *kwnames
[] = {
35051 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35057 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
35058 if (PyErr_Occurred()) SWIG_fail
;
35062 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
35063 if (PyErr_Occurred()) SWIG_fail
;
35067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35068 (arg1
)->AddGrowableCol(arg2
,arg3
);
35070 wxPyEndAllowThreads(__tstate
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35073 Py_INCREF(Py_None
); resultobj
= Py_None
;
35080 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35081 PyObject
*resultobj
;
35082 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35084 PyObject
* obj0
= 0 ;
35085 PyObject
* obj1
= 0 ;
35086 char *kwnames
[] = {
35087 (char *) "self",(char *) "idx", NULL
35090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35093 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
35094 if (PyErr_Occurred()) SWIG_fail
;
35097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35098 (arg1
)->RemoveGrowableCol(arg2
);
35100 wxPyEndAllowThreads(__tstate
);
35101 if (PyErr_Occurred()) SWIG_fail
;
35103 Py_INCREF(Py_None
); resultobj
= Py_None
;
35110 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35111 PyObject
*resultobj
;
35112 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35114 PyObject
* obj0
= 0 ;
35115 PyObject
* obj1
= 0 ;
35116 char *kwnames
[] = {
35117 (char *) "self",(char *) "direction", NULL
35120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
35121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35123 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35124 if (PyErr_Occurred()) SWIG_fail
;
35127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35128 (arg1
)->SetFlexibleDirection(arg2
);
35130 wxPyEndAllowThreads(__tstate
);
35131 if (PyErr_Occurred()) SWIG_fail
;
35133 Py_INCREF(Py_None
); resultobj
= Py_None
;
35140 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35141 PyObject
*resultobj
;
35142 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35144 PyObject
* obj0
= 0 ;
35145 char *kwnames
[] = {
35146 (char *) "self", NULL
35149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
35150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35153 result
= (int)(arg1
)->GetFlexibleDirection();
35155 wxPyEndAllowThreads(__tstate
);
35156 if (PyErr_Occurred()) SWIG_fail
;
35158 resultobj
= SWIG_PyObj_FromInt((int)result
);
35165 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35166 PyObject
*resultobj
;
35167 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35169 PyObject
* obj0
= 0 ;
35170 PyObject
* obj1
= 0 ;
35171 char *kwnames
[] = {
35172 (char *) "self",(char *) "mode", NULL
35175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
35176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35178 arg2
= (wxFlexSizerGrowMode
) SWIG_PyObj_AsInt(obj1
);
35179 if (PyErr_Occurred()) SWIG_fail
;
35182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35183 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
35185 wxPyEndAllowThreads(__tstate
);
35186 if (PyErr_Occurred()) SWIG_fail
;
35188 Py_INCREF(Py_None
); resultobj
= Py_None
;
35195 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35196 PyObject
*resultobj
;
35197 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35199 PyObject
* obj0
= 0 ;
35200 char *kwnames
[] = {
35201 (char *) "self", NULL
35204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
35205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35208 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
35210 wxPyEndAllowThreads(__tstate
);
35211 if (PyErr_Occurred()) SWIG_fail
;
35213 resultobj
= SWIG_PyObj_FromInt((int)result
);
35220 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35221 PyObject
*resultobj
;
35222 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35223 wxArrayInt
*result
;
35224 PyObject
* obj0
= 0 ;
35225 char *kwnames
[] = {
35226 (char *) "self", NULL
35229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
35230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35234 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
35235 result
= (wxArrayInt
*) &_result_ref
;
35238 wxPyEndAllowThreads(__tstate
);
35239 if (PyErr_Occurred()) SWIG_fail
;
35242 resultobj
= PyList_New(0);
35244 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35245 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35246 PyList_Append(resultobj
, val
);
35256 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35257 PyObject
*resultobj
;
35258 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35259 wxArrayInt
*result
;
35260 PyObject
* obj0
= 0 ;
35261 char *kwnames
[] = {
35262 (char *) "self", NULL
35265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
35266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35270 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
35271 result
= (wxArrayInt
*) &_result_ref
;
35274 wxPyEndAllowThreads(__tstate
);
35275 if (PyErr_Occurred()) SWIG_fail
;
35278 resultobj
= PyList_New(0);
35280 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35281 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35282 PyList_Append(resultobj
, val
);
35292 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35295 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
35297 return Py_BuildValue((char *)"");
35299 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35300 PyObject
*resultobj
;
35301 int arg1
= (int) 0 ;
35302 int arg2
= (int) 0 ;
35303 wxGBPosition
*result
;
35304 PyObject
* obj0
= 0 ;
35305 PyObject
* obj1
= 0 ;
35306 char *kwnames
[] = {
35307 (char *) "row",(char *) "col", NULL
35310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
35313 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35319 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35320 if (PyErr_Occurred()) SWIG_fail
;
35324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35325 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
35327 wxPyEndAllowThreads(__tstate
);
35328 if (PyErr_Occurred()) SWIG_fail
;
35330 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
35337 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35338 PyObject
*resultobj
;
35339 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35341 PyObject
* obj0
= 0 ;
35342 char *kwnames
[] = {
35343 (char *) "self", NULL
35346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
35347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35350 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
35352 wxPyEndAllowThreads(__tstate
);
35353 if (PyErr_Occurred()) SWIG_fail
;
35355 resultobj
= SWIG_PyObj_FromInt((int)result
);
35362 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35363 PyObject
*resultobj
;
35364 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35366 PyObject
* obj0
= 0 ;
35367 char *kwnames
[] = {
35368 (char *) "self", NULL
35371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
35372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35375 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
35377 wxPyEndAllowThreads(__tstate
);
35378 if (PyErr_Occurred()) SWIG_fail
;
35380 resultobj
= SWIG_PyObj_FromInt((int)result
);
35387 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35388 PyObject
*resultobj
;
35389 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35391 PyObject
* obj0
= 0 ;
35392 PyObject
* obj1
= 0 ;
35393 char *kwnames
[] = {
35394 (char *) "self",(char *) "row", NULL
35397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35400 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35401 if (PyErr_Occurred()) SWIG_fail
;
35404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35405 (arg1
)->SetRow(arg2
);
35407 wxPyEndAllowThreads(__tstate
);
35408 if (PyErr_Occurred()) SWIG_fail
;
35410 Py_INCREF(Py_None
); resultobj
= Py_None
;
35417 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35418 PyObject
*resultobj
;
35419 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35421 PyObject
* obj0
= 0 ;
35422 PyObject
* obj1
= 0 ;
35423 char *kwnames
[] = {
35424 (char *) "self",(char *) "col", NULL
35427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35430 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35431 if (PyErr_Occurred()) SWIG_fail
;
35434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35435 (arg1
)->SetCol(arg2
);
35437 wxPyEndAllowThreads(__tstate
);
35438 if (PyErr_Occurred()) SWIG_fail
;
35440 Py_INCREF(Py_None
); resultobj
= Py_None
;
35447 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35448 PyObject
*resultobj
;
35449 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35450 wxGBPosition
*arg2
= (wxGBPosition
*) 0 ;
35452 PyObject
* obj0
= 0 ;
35453 PyObject
* obj1
= 0 ;
35454 char *kwnames
[] = {
35455 (char *) "self",(char *) "other", NULL
35458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35460 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35463 result
= (bool)wxGBPosition___eq__(arg1
,(wxGBPosition
const *)arg2
);
35465 wxPyEndAllowThreads(__tstate
);
35466 if (PyErr_Occurred()) SWIG_fail
;
35468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35475 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35476 PyObject
*resultobj
;
35477 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35478 wxGBPosition
*arg2
= (wxGBPosition
*) 0 ;
35480 PyObject
* obj0
= 0 ;
35481 PyObject
* obj1
= 0 ;
35482 char *kwnames
[] = {
35483 (char *) "self",(char *) "other", NULL
35486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35488 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35491 result
= (bool)wxGBPosition___ne__(arg1
,(wxGBPosition
const *)arg2
);
35493 wxPyEndAllowThreads(__tstate
);
35494 if (PyErr_Occurred()) SWIG_fail
;
35496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35503 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35504 PyObject
*resultobj
;
35505 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35506 int arg2
= (int) 0 ;
35507 int arg3
= (int) 0 ;
35508 PyObject
* obj0
= 0 ;
35509 PyObject
* obj1
= 0 ;
35510 PyObject
* obj2
= 0 ;
35511 char *kwnames
[] = {
35512 (char *) "self",(char *) "row",(char *) "col", NULL
35515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35519 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35520 if (PyErr_Occurred()) SWIG_fail
;
35525 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
35526 if (PyErr_Occurred()) SWIG_fail
;
35530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35531 wxGBPosition_Set(arg1
,arg2
,arg3
);
35533 wxPyEndAllowThreads(__tstate
);
35534 if (PyErr_Occurred()) SWIG_fail
;
35536 Py_INCREF(Py_None
); resultobj
= Py_None
;
35543 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35544 PyObject
*resultobj
;
35545 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35547 PyObject
* obj0
= 0 ;
35548 char *kwnames
[] = {
35549 (char *) "self", NULL
35552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
35553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35556 result
= (PyObject
*)wxGBPosition_Get(arg1
);
35558 wxPyEndAllowThreads(__tstate
);
35559 if (PyErr_Occurred()) SWIG_fail
;
35561 resultobj
= result
;
35568 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
35570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35571 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
35573 return Py_BuildValue((char *)"");
35575 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35576 PyObject
*resultobj
;
35577 int arg1
= (int) 1 ;
35578 int arg2
= (int) 1 ;
35580 PyObject
* obj0
= 0 ;
35581 PyObject
* obj1
= 0 ;
35582 char *kwnames
[] = {
35583 (char *) "rowspan",(char *) "colspan", NULL
35586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35589 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
35590 if (PyErr_Occurred()) SWIG_fail
;
35595 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35596 if (PyErr_Occurred()) SWIG_fail
;
35600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35601 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
35603 wxPyEndAllowThreads(__tstate
);
35604 if (PyErr_Occurred()) SWIG_fail
;
35606 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
35613 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35614 PyObject
*resultobj
;
35615 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35617 PyObject
* obj0
= 0 ;
35618 char *kwnames
[] = {
35619 (char *) "self", NULL
35622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
35623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35626 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
35628 wxPyEndAllowThreads(__tstate
);
35629 if (PyErr_Occurred()) SWIG_fail
;
35631 resultobj
= SWIG_PyObj_FromInt((int)result
);
35638 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35639 PyObject
*resultobj
;
35640 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35642 PyObject
* obj0
= 0 ;
35643 char *kwnames
[] = {
35644 (char *) "self", NULL
35647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
35648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35651 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
35653 wxPyEndAllowThreads(__tstate
);
35654 if (PyErr_Occurred()) SWIG_fail
;
35656 resultobj
= SWIG_PyObj_FromInt((int)result
);
35663 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35664 PyObject
*resultobj
;
35665 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35667 PyObject
* obj0
= 0 ;
35668 PyObject
* obj1
= 0 ;
35669 char *kwnames
[] = {
35670 (char *) "self",(char *) "rowspan", NULL
35673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35676 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35677 if (PyErr_Occurred()) SWIG_fail
;
35680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35681 (arg1
)->SetRowspan(arg2
);
35683 wxPyEndAllowThreads(__tstate
);
35684 if (PyErr_Occurred()) SWIG_fail
;
35686 Py_INCREF(Py_None
); resultobj
= Py_None
;
35693 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35694 PyObject
*resultobj
;
35695 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35697 PyObject
* obj0
= 0 ;
35698 PyObject
* obj1
= 0 ;
35699 char *kwnames
[] = {
35700 (char *) "self",(char *) "colspan", NULL
35703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35706 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35707 if (PyErr_Occurred()) SWIG_fail
;
35710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35711 (arg1
)->SetColspan(arg2
);
35713 wxPyEndAllowThreads(__tstate
);
35714 if (PyErr_Occurred()) SWIG_fail
;
35716 Py_INCREF(Py_None
); resultobj
= Py_None
;
35723 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35724 PyObject
*resultobj
;
35725 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35726 wxGBSpan
*arg2
= (wxGBSpan
*) 0 ;
35728 PyObject
* obj0
= 0 ;
35729 PyObject
* obj1
= 0 ;
35730 char *kwnames
[] = {
35731 (char *) "self",(char *) "other", NULL
35734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35736 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35739 result
= (bool)wxGBSpan___eq__(arg1
,(wxGBSpan
const *)arg2
);
35741 wxPyEndAllowThreads(__tstate
);
35742 if (PyErr_Occurred()) SWIG_fail
;
35744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35751 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35752 PyObject
*resultobj
;
35753 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35754 wxGBSpan
*arg2
= (wxGBSpan
*) 0 ;
35756 PyObject
* obj0
= 0 ;
35757 PyObject
* obj1
= 0 ;
35758 char *kwnames
[] = {
35759 (char *) "self",(char *) "other", NULL
35762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35767 result
= (bool)wxGBSpan___ne__(arg1
,(wxGBSpan
const *)arg2
);
35769 wxPyEndAllowThreads(__tstate
);
35770 if (PyErr_Occurred()) SWIG_fail
;
35772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35779 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35780 PyObject
*resultobj
;
35781 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35782 int arg2
= (int) 1 ;
35783 int arg3
= (int) 1 ;
35784 PyObject
* obj0
= 0 ;
35785 PyObject
* obj1
= 0 ;
35786 PyObject
* obj2
= 0 ;
35787 char *kwnames
[] = {
35788 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
35791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35795 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35796 if (PyErr_Occurred()) SWIG_fail
;
35801 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
35802 if (PyErr_Occurred()) SWIG_fail
;
35806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35807 wxGBSpan_Set(arg1
,arg2
,arg3
);
35809 wxPyEndAllowThreads(__tstate
);
35810 if (PyErr_Occurred()) SWIG_fail
;
35812 Py_INCREF(Py_None
); resultobj
= Py_None
;
35819 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35820 PyObject
*resultobj
;
35821 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35823 PyObject
* obj0
= 0 ;
35824 char *kwnames
[] = {
35825 (char *) "self", NULL
35828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
35829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35832 result
= (PyObject
*)wxGBSpan_Get(arg1
);
35834 wxPyEndAllowThreads(__tstate
);
35835 if (PyErr_Occurred()) SWIG_fail
;
35837 resultobj
= result
;
35844 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
35846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35847 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
35849 return Py_BuildValue((char *)"");
35851 static int _wrap_DefaultSpan_set(PyObject
*) {
35852 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
35857 static PyObject
*_wrap_DefaultSpan_get() {
35860 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
35865 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35866 PyObject
*resultobj
;
35867 wxGBSizerItem
*result
;
35868 char *kwnames
[] = {
35872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
35874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35875 result
= (wxGBSizerItem
*)new wxGBSizerItem();
35877 wxPyEndAllowThreads(__tstate
);
35878 if (PyErr_Occurred()) SWIG_fail
;
35880 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35887 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35888 PyObject
*resultobj
;
35889 wxWindow
*arg1
= (wxWindow
*) 0 ;
35890 wxGBPosition
*arg2
= 0 ;
35891 wxGBSpan
*arg3
= 0 ;
35894 wxObject
*arg6
= (wxObject
*) 0 ;
35895 wxGBSizerItem
*result
;
35896 wxGBPosition temp2
;
35898 PyObject
* obj0
= 0 ;
35899 PyObject
* obj1
= 0 ;
35900 PyObject
* obj2
= 0 ;
35901 PyObject
* obj3
= 0 ;
35902 PyObject
* obj4
= 0 ;
35903 PyObject
* obj5
= 0 ;
35904 char *kwnames
[] = {
35905 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35912 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35916 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35919 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
35920 if (PyErr_Occurred()) SWIG_fail
;
35923 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
35924 if (PyErr_Occurred()) SWIG_fail
;
35926 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35929 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
35931 wxPyEndAllowThreads(__tstate
);
35932 if (PyErr_Occurred()) SWIG_fail
;
35934 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35941 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35942 PyObject
*resultobj
;
35943 wxSizer
*arg1
= (wxSizer
*) 0 ;
35944 wxGBPosition
*arg2
= 0 ;
35945 wxGBSpan
*arg3
= 0 ;
35948 wxObject
*arg6
= (wxObject
*) 0 ;
35949 wxGBSizerItem
*result
;
35950 wxGBPosition temp2
;
35952 PyObject
* obj0
= 0 ;
35953 PyObject
* obj1
= 0 ;
35954 PyObject
* obj2
= 0 ;
35955 PyObject
* obj3
= 0 ;
35956 PyObject
* obj4
= 0 ;
35957 PyObject
* obj5
= 0 ;
35958 char *kwnames
[] = {
35959 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35966 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35970 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35973 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
35974 if (PyErr_Occurred()) SWIG_fail
;
35977 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
35978 if (PyErr_Occurred()) SWIG_fail
;
35980 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35983 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
35985 wxPyEndAllowThreads(__tstate
);
35986 if (PyErr_Occurred()) SWIG_fail
;
35988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35995 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35996 PyObject
*resultobj
;
35999 wxGBPosition
*arg3
= 0 ;
36000 wxGBSpan
*arg4
= 0 ;
36003 wxObject
*arg7
= (wxObject
*) 0 ;
36004 wxGBSizerItem
*result
;
36005 wxGBPosition temp3
;
36007 PyObject
* obj0
= 0 ;
36008 PyObject
* obj1
= 0 ;
36009 PyObject
* obj2
= 0 ;
36010 PyObject
* obj3
= 0 ;
36011 PyObject
* obj4
= 0 ;
36012 PyObject
* obj5
= 0 ;
36013 PyObject
* obj6
= 0 ;
36014 char *kwnames
[] = {
36015 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36020 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
36021 if (PyErr_Occurred()) SWIG_fail
;
36024 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
36025 if (PyErr_Occurred()) SWIG_fail
;
36029 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36033 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36036 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
36037 if (PyErr_Occurred()) SWIG_fail
;
36040 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
36041 if (PyErr_Occurred()) SWIG_fail
;
36043 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36046 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36048 wxPyEndAllowThreads(__tstate
);
36049 if (PyErr_Occurred()) SWIG_fail
;
36051 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
36058 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36059 PyObject
*resultobj
;
36060 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36061 wxGBPosition result
;
36062 PyObject
* obj0
= 0 ;
36063 char *kwnames
[] = {
36064 (char *) "self", NULL
36067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
36068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36071 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
36073 wxPyEndAllowThreads(__tstate
);
36074 if (PyErr_Occurred()) SWIG_fail
;
36077 wxGBPosition
* resultptr
;
36078 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36079 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36087 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36088 PyObject
*resultobj
;
36089 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36091 PyObject
* obj0
= 0 ;
36092 char *kwnames
[] = {
36093 (char *) "self", NULL
36096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
36097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36100 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
36102 wxPyEndAllowThreads(__tstate
);
36103 if (PyErr_Occurred()) SWIG_fail
;
36106 wxGBSpan
* resultptr
;
36107 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36108 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
36116 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36117 PyObject
*resultobj
;
36118 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36119 wxGBPosition
*arg2
= 0 ;
36121 wxGBPosition temp2
;
36122 PyObject
* obj0
= 0 ;
36123 PyObject
* obj1
= 0 ;
36124 char *kwnames
[] = {
36125 (char *) "self",(char *) "pos", NULL
36128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
36129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36132 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36136 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
36138 wxPyEndAllowThreads(__tstate
);
36139 if (PyErr_Occurred()) SWIG_fail
;
36141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36148 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36149 PyObject
*resultobj
;
36150 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36151 wxGBSpan
*arg2
= 0 ;
36154 PyObject
* obj0
= 0 ;
36155 PyObject
* obj1
= 0 ;
36156 char *kwnames
[] = {
36157 (char *) "self",(char *) "span", NULL
36160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36164 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36168 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
36170 wxPyEndAllowThreads(__tstate
);
36171 if (PyErr_Occurred()) SWIG_fail
;
36173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36180 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
36181 PyObject
*resultobj
;
36182 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36183 wxGBSizerItem
*arg2
= 0 ;
36185 PyObject
* obj0
= 0 ;
36186 PyObject
* obj1
= 0 ;
36188 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
36189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36190 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36191 if (arg2
== NULL
) {
36192 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
36195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36196 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
36198 wxPyEndAllowThreads(__tstate
);
36199 if (PyErr_Occurred()) SWIG_fail
;
36201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36208 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
36209 PyObject
*resultobj
;
36210 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36211 wxGBPosition
*arg2
= 0 ;
36212 wxGBSpan
*arg3
= 0 ;
36214 wxGBPosition temp2
;
36216 PyObject
* obj0
= 0 ;
36217 PyObject
* obj1
= 0 ;
36218 PyObject
* obj2
= 0 ;
36220 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
36221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36224 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36228 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36232 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
36234 wxPyEndAllowThreads(__tstate
);
36235 if (PyErr_Occurred()) SWIG_fail
;
36237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36244 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
36249 argc
= PyObject_Length(args
);
36250 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36251 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36257 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36267 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36275 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
36283 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36292 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
36296 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36299 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
36305 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
36310 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36311 PyObject
*resultobj
;
36312 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36315 PyObject
* obj0
= 0 ;
36316 PyObject
* obj1
= 0 ;
36317 PyObject
* obj2
= 0 ;
36318 char *kwnames
[] = {
36319 (char *) "self",(char *) "row",(char *) "col", NULL
36322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36325 if (arg2
== NULL
) {
36326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
36328 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36329 if (arg3
== NULL
) {
36330 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
36333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36334 (arg1
)->GetEndPos(*arg2
,*arg3
);
36336 wxPyEndAllowThreads(__tstate
);
36337 if (PyErr_Occurred()) SWIG_fail
;
36339 Py_INCREF(Py_None
); resultobj
= Py_None
;
36346 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36347 PyObject
*resultobj
;
36348 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36349 wxGridBagSizer
*result
;
36350 PyObject
* obj0
= 0 ;
36351 char *kwnames
[] = {
36352 (char *) "self", NULL
36355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
36356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36359 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
36361 wxPyEndAllowThreads(__tstate
);
36362 if (PyErr_Occurred()) SWIG_fail
;
36364 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
36371 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36372 PyObject
*resultobj
;
36373 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36374 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
36375 PyObject
* obj0
= 0 ;
36376 PyObject
* obj1
= 0 ;
36377 char *kwnames
[] = {
36378 (char *) "self",(char *) "sizer", NULL
36381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36383 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36386 (arg1
)->SetGBSizer(arg2
);
36388 wxPyEndAllowThreads(__tstate
);
36389 if (PyErr_Occurred()) SWIG_fail
;
36391 Py_INCREF(Py_None
); resultobj
= Py_None
;
36398 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
36400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36401 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
36403 return Py_BuildValue((char *)"");
36405 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36406 PyObject
*resultobj
;
36407 int arg1
= (int) 0 ;
36408 int arg2
= (int) 0 ;
36409 wxGridBagSizer
*result
;
36410 PyObject
* obj0
= 0 ;
36411 PyObject
* obj1
= 0 ;
36412 char *kwnames
[] = {
36413 (char *) "vgap",(char *) "hgap", NULL
36416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36419 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
36420 if (PyErr_Occurred()) SWIG_fail
;
36425 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
36426 if (PyErr_Occurred()) SWIG_fail
;
36430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36431 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
36433 wxPyEndAllowThreads(__tstate
);
36434 if (PyErr_Occurred()) SWIG_fail
;
36436 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
36443 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36444 PyObject
*resultobj
;
36445 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36446 PyObject
*arg2
= (PyObject
*) 0 ;
36447 wxGBPosition
*arg3
= 0 ;
36448 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
36449 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
36450 int arg5
= (int) 0 ;
36451 int arg6
= (int) 0 ;
36452 PyObject
*arg7
= (PyObject
*) NULL
;
36454 wxGBPosition temp3
;
36456 PyObject
* obj0
= 0 ;
36457 PyObject
* obj1
= 0 ;
36458 PyObject
* obj2
= 0 ;
36459 PyObject
* obj3
= 0 ;
36460 PyObject
* obj4
= 0 ;
36461 PyObject
* obj5
= 0 ;
36462 PyObject
* obj6
= 0 ;
36463 char *kwnames
[] = {
36464 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36472 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36477 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36482 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
36483 if (PyErr_Occurred()) SWIG_fail
;
36488 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
36489 if (PyErr_Occurred()) SWIG_fail
;
36496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36497 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36499 wxPyEndAllowThreads(__tstate
);
36500 if (PyErr_Occurred()) SWIG_fail
;
36502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36509 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36510 PyObject
*resultobj
;
36511 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36512 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
36514 PyObject
* obj0
= 0 ;
36515 PyObject
* obj1
= 0 ;
36516 char *kwnames
[] = {
36517 (char *) "self",(char *) "item", NULL
36520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36525 result
= (bool)(arg1
)->Add(arg2
);
36527 wxPyEndAllowThreads(__tstate
);
36528 if (PyErr_Occurred()) SWIG_fail
;
36530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36537 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36538 PyObject
*resultobj
;
36539 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36541 PyObject
* obj0
= 0 ;
36542 char *kwnames
[] = {
36543 (char *) "self", NULL
36546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
36547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36550 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
36552 wxPyEndAllowThreads(__tstate
);
36553 if (PyErr_Occurred()) SWIG_fail
;
36556 wxSize
* resultptr
;
36557 resultptr
= new wxSize((wxSize
&) result
);
36558 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
36566 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36567 PyObject
*resultobj
;
36568 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36571 PyObject
* obj0
= 0 ;
36572 PyObject
* obj1
= 0 ;
36573 char *kwnames
[] = {
36574 (char *) "self",(char *) "sz", NULL
36577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36581 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36585 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
36587 wxPyEndAllowThreads(__tstate
);
36588 if (PyErr_Occurred()) SWIG_fail
;
36590 Py_INCREF(Py_None
); resultobj
= Py_None
;
36597 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
36598 PyObject
*resultobj
;
36599 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36600 wxWindow
*arg2
= (wxWindow
*) 0 ;
36601 wxGBPosition result
;
36602 PyObject
* obj0
= 0 ;
36603 PyObject
* obj1
= 0 ;
36605 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36610 result
= (arg1
)->GetItemPosition(arg2
);
36612 wxPyEndAllowThreads(__tstate
);
36613 if (PyErr_Occurred()) SWIG_fail
;
36616 wxGBPosition
* resultptr
;
36617 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36618 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36626 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
36627 PyObject
*resultobj
;
36628 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36629 wxSizer
*arg2
= (wxSizer
*) 0 ;
36630 wxGBPosition result
;
36631 PyObject
* obj0
= 0 ;
36632 PyObject
* obj1
= 0 ;
36634 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36636 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36639 result
= (arg1
)->GetItemPosition(arg2
);
36641 wxPyEndAllowThreads(__tstate
);
36642 if (PyErr_Occurred()) SWIG_fail
;
36645 wxGBPosition
* resultptr
;
36646 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36647 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36655 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
36656 PyObject
*resultobj
;
36657 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36659 wxGBPosition result
;
36660 PyObject
* obj0
= 0 ;
36661 PyObject
* obj1
= 0 ;
36663 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36666 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36667 if (PyErr_Occurred()) SWIG_fail
;
36670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36671 result
= (arg1
)->GetItemPosition(arg2
);
36673 wxPyEndAllowThreads(__tstate
);
36674 if (PyErr_Occurred()) SWIG_fail
;
36677 wxGBPosition
* resultptr
;
36678 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36679 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36687 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
36692 argc
= PyObject_Length(args
);
36693 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36694 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36700 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36710 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36718 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
36726 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36736 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36744 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
36752 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36761 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36762 if (PyErr_Occurred()) {
36770 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
36775 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
36780 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
36781 PyObject
*resultobj
;
36782 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36783 wxWindow
*arg2
= (wxWindow
*) 0 ;
36784 wxGBPosition
*arg3
= 0 ;
36786 wxGBPosition temp3
;
36787 PyObject
* obj0
= 0 ;
36788 PyObject
* obj1
= 0 ;
36789 PyObject
* obj2
= 0 ;
36791 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36793 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36796 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36800 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36802 wxPyEndAllowThreads(__tstate
);
36803 if (PyErr_Occurred()) SWIG_fail
;
36805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36812 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
36813 PyObject
*resultobj
;
36814 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36815 wxSizer
*arg2
= (wxSizer
*) 0 ;
36816 wxGBPosition
*arg3
= 0 ;
36818 wxGBPosition temp3
;
36819 PyObject
* obj0
= 0 ;
36820 PyObject
* obj1
= 0 ;
36821 PyObject
* obj2
= 0 ;
36823 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36825 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36828 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36832 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36834 wxPyEndAllowThreads(__tstate
);
36835 if (PyErr_Occurred()) SWIG_fail
;
36837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36844 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
36845 PyObject
*resultobj
;
36846 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36848 wxGBPosition
*arg3
= 0 ;
36850 wxGBPosition temp3
;
36851 PyObject
* obj0
= 0 ;
36852 PyObject
* obj1
= 0 ;
36853 PyObject
* obj2
= 0 ;
36855 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36858 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36859 if (PyErr_Occurred()) SWIG_fail
;
36863 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36867 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36869 wxPyEndAllowThreads(__tstate
);
36870 if (PyErr_Occurred()) SWIG_fail
;
36872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36879 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
36884 argc
= PyObject_Length(args
);
36885 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36886 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36892 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36902 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36911 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36914 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
36923 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36933 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36942 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36945 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
36954 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36963 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36964 if (PyErr_Occurred()) {
36973 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36976 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
36982 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
36987 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
36988 PyObject
*resultobj
;
36989 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36990 wxWindow
*arg2
= (wxWindow
*) 0 ;
36992 PyObject
* obj0
= 0 ;
36993 PyObject
* obj1
= 0 ;
36995 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36997 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37000 result
= (arg1
)->GetItemSpan(arg2
);
37002 wxPyEndAllowThreads(__tstate
);
37003 if (PyErr_Occurred()) SWIG_fail
;
37006 wxGBSpan
* resultptr
;
37007 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37008 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
37016 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
37017 PyObject
*resultobj
;
37018 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37019 wxSizer
*arg2
= (wxSizer
*) 0 ;
37021 PyObject
* obj0
= 0 ;
37022 PyObject
* obj1
= 0 ;
37024 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37026 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37029 result
= (arg1
)->GetItemSpan(arg2
);
37031 wxPyEndAllowThreads(__tstate
);
37032 if (PyErr_Occurred()) SWIG_fail
;
37035 wxGBSpan
* resultptr
;
37036 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37037 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
37045 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
37046 PyObject
*resultobj
;
37047 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37050 PyObject
* obj0
= 0 ;
37051 PyObject
* obj1
= 0 ;
37053 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37056 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
37057 if (PyErr_Occurred()) SWIG_fail
;
37060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37061 result
= (arg1
)->GetItemSpan(arg2
);
37063 wxPyEndAllowThreads(__tstate
);
37064 if (PyErr_Occurred()) SWIG_fail
;
37067 wxGBSpan
* resultptr
;
37068 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37069 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
37077 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
37082 argc
= PyObject_Length(args
);
37083 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37084 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37090 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37100 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37108 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
37116 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37126 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37134 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
37142 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37151 SWIG_PyObj_AsUnsignedLong(argv
[1]);
37152 if (PyErr_Occurred()) {
37160 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
37165 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
37170 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
37171 PyObject
*resultobj
;
37172 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37173 wxWindow
*arg2
= (wxWindow
*) 0 ;
37174 wxGBSpan
*arg3
= 0 ;
37177 PyObject
* obj0
= 0 ;
37178 PyObject
* obj1
= 0 ;
37179 PyObject
* obj2
= 0 ;
37181 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37183 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37186 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37190 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37192 wxPyEndAllowThreads(__tstate
);
37193 if (PyErr_Occurred()) SWIG_fail
;
37195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37202 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
37203 PyObject
*resultobj
;
37204 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37205 wxSizer
*arg2
= (wxSizer
*) 0 ;
37206 wxGBSpan
*arg3
= 0 ;
37209 PyObject
* obj0
= 0 ;
37210 PyObject
* obj1
= 0 ;
37211 PyObject
* obj2
= 0 ;
37213 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37215 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37218 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37222 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37224 wxPyEndAllowThreads(__tstate
);
37225 if (PyErr_Occurred()) SWIG_fail
;
37227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37234 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
37235 PyObject
*resultobj
;
37236 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37238 wxGBSpan
*arg3
= 0 ;
37241 PyObject
* obj0
= 0 ;
37242 PyObject
* obj1
= 0 ;
37243 PyObject
* obj2
= 0 ;
37245 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37248 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
37249 if (PyErr_Occurred()) SWIG_fail
;
37253 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37257 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37259 wxPyEndAllowThreads(__tstate
);
37260 if (PyErr_Occurred()) SWIG_fail
;
37262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37269 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
37274 argc
= PyObject_Length(args
);
37275 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37276 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37282 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37292 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37301 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37304 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
37313 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37323 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37332 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37335 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
37344 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37353 SWIG_PyObj_AsUnsignedLong(argv
[1]);
37354 if (PyErr_Occurred()) {
37363 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37366 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
37372 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
37377 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
37378 PyObject
*resultobj
;
37379 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37380 wxWindow
*arg2
= (wxWindow
*) 0 ;
37381 wxGBSizerItem
*result
;
37382 PyObject
* obj0
= 0 ;
37383 PyObject
* obj1
= 0 ;
37385 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37390 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37392 wxPyEndAllowThreads(__tstate
);
37393 if (PyErr_Occurred()) SWIG_fail
;
37395 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37402 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
37403 PyObject
*resultobj
;
37404 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37405 wxSizer
*arg2
= (wxSizer
*) 0 ;
37406 wxGBSizerItem
*result
;
37407 PyObject
* obj0
= 0 ;
37408 PyObject
* obj1
= 0 ;
37410 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37412 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37415 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37417 wxPyEndAllowThreads(__tstate
);
37418 if (PyErr_Occurred()) SWIG_fail
;
37420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37427 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
37432 argc
= PyObject_Length(args
);
37433 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37434 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37440 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37450 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37458 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
37466 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37476 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37484 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
37489 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
37494 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37495 PyObject
*resultobj
;
37496 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37497 wxGBPosition
*arg2
= 0 ;
37498 wxGBSizerItem
*result
;
37499 wxGBPosition temp2
;
37500 PyObject
* obj0
= 0 ;
37501 PyObject
* obj1
= 0 ;
37502 char *kwnames
[] = {
37503 (char *) "self",(char *) "pos", NULL
37506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37510 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37514 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
37516 wxPyEndAllowThreads(__tstate
);
37517 if (PyErr_Occurred()) SWIG_fail
;
37519 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37526 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37527 PyObject
*resultobj
;
37528 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37529 wxPoint
*arg2
= 0 ;
37530 wxGBSizerItem
*result
;
37532 PyObject
* obj0
= 0 ;
37533 PyObject
* obj1
= 0 ;
37534 char *kwnames
[] = {
37535 (char *) "self",(char *) "pt", NULL
37538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
37539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37546 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
37548 wxPyEndAllowThreads(__tstate
);
37549 if (PyErr_Occurred()) SWIG_fail
;
37551 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37558 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37559 PyObject
*resultobj
;
37560 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37561 wxObject
*arg2
= (wxObject
*) 0 ;
37562 wxGBSizerItem
*result
;
37563 PyObject
* obj0
= 0 ;
37564 PyObject
* obj1
= 0 ;
37565 char *kwnames
[] = {
37566 (char *) "self",(char *) "userData", NULL
37569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
37570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37571 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37574 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
37576 wxPyEndAllowThreads(__tstate
);
37577 if (PyErr_Occurred()) SWIG_fail
;
37579 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37586 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37587 PyObject
*resultobj
;
37588 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37589 PyObject
* obj0
= 0 ;
37590 char *kwnames
[] = {
37591 (char *) "self", NULL
37594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
37595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37598 (arg1
)->RecalcSizes();
37600 wxPyEndAllowThreads(__tstate
);
37601 if (PyErr_Occurred()) SWIG_fail
;
37603 Py_INCREF(Py_None
); resultobj
= Py_None
;
37610 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37611 PyObject
*resultobj
;
37612 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37614 PyObject
* obj0
= 0 ;
37615 char *kwnames
[] = {
37616 (char *) "self", NULL
37619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
37620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37623 result
= (arg1
)->CalcMin();
37625 wxPyEndAllowThreads(__tstate
);
37626 if (PyErr_Occurred()) SWIG_fail
;
37629 wxSize
* resultptr
;
37630 resultptr
= new wxSize((wxSize
&) result
);
37631 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
37639 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
37640 PyObject
*resultobj
;
37641 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37642 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37643 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
37645 PyObject
* obj0
= 0 ;
37646 PyObject
* obj1
= 0 ;
37647 PyObject
* obj2
= 0 ;
37649 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
37650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37651 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37653 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37657 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
37659 wxPyEndAllowThreads(__tstate
);
37660 if (PyErr_Occurred()) SWIG_fail
;
37662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37669 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
37670 PyObject
*resultobj
;
37671 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37672 wxGBPosition
*arg2
= 0 ;
37673 wxGBSpan
*arg3
= 0 ;
37674 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
37676 wxGBPosition temp2
;
37678 PyObject
* obj0
= 0 ;
37679 PyObject
* obj1
= 0 ;
37680 PyObject
* obj2
= 0 ;
37681 PyObject
* obj3
= 0 ;
37683 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37687 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37691 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37694 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37698 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
37700 wxPyEndAllowThreads(__tstate
);
37701 if (PyErr_Occurred()) SWIG_fail
;
37703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37710 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
37715 argc
= PyObject_Length(args
);
37716 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
37717 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37719 if ((argc
>= 2) && (argc
<= 3)) {
37723 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37733 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37742 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37746 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37754 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37759 if ((argc
>= 3) && (argc
<= 4)) {
37763 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37772 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37776 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37780 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37784 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37792 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37799 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
37804 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37807 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
37809 return Py_BuildValue((char *)"");
37811 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37812 PyObject
*resultobj
;
37813 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37815 wxWindow
*arg3
= (wxWindow
*) 0 ;
37817 int arg5
= (int) 0 ;
37818 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
37819 PyObject
* obj0
= 0 ;
37820 PyObject
* obj1
= 0 ;
37821 PyObject
* obj2
= 0 ;
37822 PyObject
* obj3
= 0 ;
37823 PyObject
* obj4
= 0 ;
37824 PyObject
* obj5
= 0 ;
37825 char *kwnames
[] = {
37826 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
37829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37832 arg2
= (wxRelationship
) SWIG_PyObj_AsInt(obj1
);
37833 if (PyErr_Occurred()) SWIG_fail
;
37835 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37837 arg4
= (wxEdge
) SWIG_PyObj_AsInt(obj3
);
37838 if (PyErr_Occurred()) SWIG_fail
;
37842 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
37843 if (PyErr_Occurred()) SWIG_fail
;
37848 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
37849 if (PyErr_Occurred()) SWIG_fail
;
37853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37854 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
37856 wxPyEndAllowThreads(__tstate
);
37857 if (PyErr_Occurred()) SWIG_fail
;
37859 Py_INCREF(Py_None
); resultobj
= Py_None
;
37866 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37867 PyObject
*resultobj
;
37868 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37869 wxWindow
*arg2
= (wxWindow
*) 0 ;
37870 int arg3
= (int) 0 ;
37871 PyObject
* obj0
= 0 ;
37872 PyObject
* obj1
= 0 ;
37873 PyObject
* obj2
= 0 ;
37874 char *kwnames
[] = {
37875 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37880 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37883 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37884 if (PyErr_Occurred()) SWIG_fail
;
37888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37889 (arg1
)->LeftOf(arg2
,arg3
);
37891 wxPyEndAllowThreads(__tstate
);
37892 if (PyErr_Occurred()) SWIG_fail
;
37894 Py_INCREF(Py_None
); resultobj
= Py_None
;
37901 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37902 PyObject
*resultobj
;
37903 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37904 wxWindow
*arg2
= (wxWindow
*) 0 ;
37905 int arg3
= (int) 0 ;
37906 PyObject
* obj0
= 0 ;
37907 PyObject
* obj1
= 0 ;
37908 PyObject
* obj2
= 0 ;
37909 char *kwnames
[] = {
37910 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37915 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37918 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37919 if (PyErr_Occurred()) SWIG_fail
;
37923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37924 (arg1
)->RightOf(arg2
,arg3
);
37926 wxPyEndAllowThreads(__tstate
);
37927 if (PyErr_Occurred()) SWIG_fail
;
37929 Py_INCREF(Py_None
); resultobj
= Py_None
;
37936 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37937 PyObject
*resultobj
;
37938 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37939 wxWindow
*arg2
= (wxWindow
*) 0 ;
37940 int arg3
= (int) 0 ;
37941 PyObject
* obj0
= 0 ;
37942 PyObject
* obj1
= 0 ;
37943 PyObject
* obj2
= 0 ;
37944 char *kwnames
[] = {
37945 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37950 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37953 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37954 if (PyErr_Occurred()) SWIG_fail
;
37958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37959 (arg1
)->Above(arg2
,arg3
);
37961 wxPyEndAllowThreads(__tstate
);
37962 if (PyErr_Occurred()) SWIG_fail
;
37964 Py_INCREF(Py_None
); resultobj
= Py_None
;
37971 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37972 PyObject
*resultobj
;
37973 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37974 wxWindow
*arg2
= (wxWindow
*) 0 ;
37975 int arg3
= (int) 0 ;
37976 PyObject
* obj0
= 0 ;
37977 PyObject
* obj1
= 0 ;
37978 PyObject
* obj2
= 0 ;
37979 char *kwnames
[] = {
37980 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37985 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37988 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37989 if (PyErr_Occurred()) SWIG_fail
;
37993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37994 (arg1
)->Below(arg2
,arg3
);
37996 wxPyEndAllowThreads(__tstate
);
37997 if (PyErr_Occurred()) SWIG_fail
;
37999 Py_INCREF(Py_None
); resultobj
= Py_None
;
38006 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38007 PyObject
*resultobj
;
38008 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38009 wxWindow
*arg2
= (wxWindow
*) 0 ;
38011 int arg4
= (int) 0 ;
38012 PyObject
* obj0
= 0 ;
38013 PyObject
* obj1
= 0 ;
38014 PyObject
* obj2
= 0 ;
38015 PyObject
* obj3
= 0 ;
38016 char *kwnames
[] = {
38017 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
38020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38024 arg3
= (wxEdge
) SWIG_PyObj_AsInt(obj2
);
38025 if (PyErr_Occurred()) SWIG_fail
;
38029 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
38030 if (PyErr_Occurred()) SWIG_fail
;
38034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38035 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
38037 wxPyEndAllowThreads(__tstate
);
38038 if (PyErr_Occurred()) SWIG_fail
;
38040 Py_INCREF(Py_None
); resultobj
= Py_None
;
38047 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38048 PyObject
*resultobj
;
38049 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38050 wxWindow
*arg2
= (wxWindow
*) 0 ;
38053 PyObject
* obj0
= 0 ;
38054 PyObject
* obj1
= 0 ;
38055 PyObject
* obj2
= 0 ;
38056 PyObject
* obj3
= 0 ;
38057 char *kwnames
[] = {
38058 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
38061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38065 arg3
= (wxEdge
) SWIG_PyObj_AsInt(obj2
);
38066 if (PyErr_Occurred()) SWIG_fail
;
38069 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
38070 if (PyErr_Occurred()) SWIG_fail
;
38073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38074 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
38076 wxPyEndAllowThreads(__tstate
);
38077 if (PyErr_Occurred()) SWIG_fail
;
38079 Py_INCREF(Py_None
); resultobj
= Py_None
;
38086 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38087 PyObject
*resultobj
;
38088 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38090 PyObject
* obj0
= 0 ;
38091 PyObject
* obj1
= 0 ;
38092 char *kwnames
[] = {
38093 (char *) "self",(char *) "val", NULL
38096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
38097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38099 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
38100 if (PyErr_Occurred()) SWIG_fail
;
38103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38104 (arg1
)->Absolute(arg2
);
38106 wxPyEndAllowThreads(__tstate
);
38107 if (PyErr_Occurred()) SWIG_fail
;
38109 Py_INCREF(Py_None
); resultobj
= Py_None
;
38116 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38117 PyObject
*resultobj
;
38118 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38119 PyObject
* obj0
= 0 ;
38120 char *kwnames
[] = {
38121 (char *) "self", NULL
38124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
38125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38128 (arg1
)->Unconstrained();
38130 wxPyEndAllowThreads(__tstate
);
38131 if (PyErr_Occurred()) SWIG_fail
;
38133 Py_INCREF(Py_None
); resultobj
= Py_None
;
38140 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38141 PyObject
*resultobj
;
38142 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38143 PyObject
* obj0
= 0 ;
38144 char *kwnames
[] = {
38145 (char *) "self", NULL
38148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
38149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38154 wxPyEndAllowThreads(__tstate
);
38155 if (PyErr_Occurred()) SWIG_fail
;
38157 Py_INCREF(Py_None
); resultobj
= Py_None
;
38164 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38165 PyObject
*resultobj
;
38166 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38168 PyObject
* obj0
= 0 ;
38169 char *kwnames
[] = {
38170 (char *) "self", NULL
38173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
38174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38177 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
38179 wxPyEndAllowThreads(__tstate
);
38180 if (PyErr_Occurred()) SWIG_fail
;
38183 resultobj
= wxPyMake_wxObject(result
);
38191 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38192 PyObject
*resultobj
;
38193 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38195 PyObject
* obj0
= 0 ;
38196 char *kwnames
[] = {
38197 (char *) "self", NULL
38200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
38201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38204 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
38206 wxPyEndAllowThreads(__tstate
);
38207 if (PyErr_Occurred()) SWIG_fail
;
38209 resultobj
= SWIG_PyObj_FromInt((int)result
);
38216 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38217 PyObject
*resultobj
;
38218 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38220 PyObject
* obj0
= 0 ;
38221 PyObject
* obj1
= 0 ;
38222 char *kwnames
[] = {
38223 (char *) "self",(char *) "which", NULL
38226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
38227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38229 arg2
= (wxEdge
) SWIG_PyObj_AsInt(obj1
);
38230 if (PyErr_Occurred()) SWIG_fail
;
38233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38234 (arg1
)->SetEdge((wxEdge
)arg2
);
38236 wxPyEndAllowThreads(__tstate
);
38237 if (PyErr_Occurred()) SWIG_fail
;
38239 Py_INCREF(Py_None
); resultobj
= Py_None
;
38246 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38247 PyObject
*resultobj
;
38248 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38250 PyObject
* obj0
= 0 ;
38251 PyObject
* obj1
= 0 ;
38252 char *kwnames
[] = {
38253 (char *) "self",(char *) "v", NULL
38256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
38257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38259 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
38260 if (PyErr_Occurred()) SWIG_fail
;
38263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38264 (arg1
)->SetValue(arg2
);
38266 wxPyEndAllowThreads(__tstate
);
38267 if (PyErr_Occurred()) SWIG_fail
;
38269 Py_INCREF(Py_None
); resultobj
= Py_None
;
38276 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38277 PyObject
*resultobj
;
38278 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38280 PyObject
* obj0
= 0 ;
38281 char *kwnames
[] = {
38282 (char *) "self", NULL
38285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
38286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38289 result
= (int)(arg1
)->GetMargin();
38291 wxPyEndAllowThreads(__tstate
);
38292 if (PyErr_Occurred()) SWIG_fail
;
38294 resultobj
= SWIG_PyObj_FromInt((int)result
);
38301 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38302 PyObject
*resultobj
;
38303 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38305 PyObject
* obj0
= 0 ;
38306 PyObject
* obj1
= 0 ;
38307 char *kwnames
[] = {
38308 (char *) "self",(char *) "m", NULL
38311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
38312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38314 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
38315 if (PyErr_Occurred()) SWIG_fail
;
38318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38319 (arg1
)->SetMargin(arg2
);
38321 wxPyEndAllowThreads(__tstate
);
38322 if (PyErr_Occurred()) SWIG_fail
;
38324 Py_INCREF(Py_None
); resultobj
= Py_None
;
38331 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38332 PyObject
*resultobj
;
38333 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38335 PyObject
* obj0
= 0 ;
38336 char *kwnames
[] = {
38337 (char *) "self", NULL
38340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
38341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38344 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
38346 wxPyEndAllowThreads(__tstate
);
38347 if (PyErr_Occurred()) SWIG_fail
;
38349 resultobj
= SWIG_PyObj_FromInt((int)result
);
38356 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38357 PyObject
*resultobj
;
38358 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38360 PyObject
* obj0
= 0 ;
38361 char *kwnames
[] = {
38362 (char *) "self", NULL
38365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
38366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38369 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
38371 wxPyEndAllowThreads(__tstate
);
38372 if (PyErr_Occurred()) SWIG_fail
;
38374 resultobj
= SWIG_PyObj_FromInt((int)result
);
38381 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38382 PyObject
*resultobj
;
38383 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38385 PyObject
* obj0
= 0 ;
38386 char *kwnames
[] = {
38387 (char *) "self", NULL
38390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
38391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38394 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
38396 wxPyEndAllowThreads(__tstate
);
38397 if (PyErr_Occurred()) SWIG_fail
;
38399 resultobj
= SWIG_PyObj_FromInt((int)result
);
38406 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38407 PyObject
*resultobj
;
38408 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38410 PyObject
* obj0
= 0 ;
38411 char *kwnames
[] = {
38412 (char *) "self", NULL
38415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
38416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38419 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
38421 wxPyEndAllowThreads(__tstate
);
38422 if (PyErr_Occurred()) SWIG_fail
;
38424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38431 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38432 PyObject
*resultobj
;
38433 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38435 PyObject
* obj0
= 0 ;
38436 PyObject
* obj1
= 0 ;
38437 char *kwnames
[] = {
38438 (char *) "self",(char *) "d", NULL
38441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
38442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38444 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
38445 if (PyErr_Occurred()) SWIG_fail
;
38448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38449 (arg1
)->SetDone(arg2
);
38451 wxPyEndAllowThreads(__tstate
);
38452 if (PyErr_Occurred()) SWIG_fail
;
38454 Py_INCREF(Py_None
); resultobj
= Py_None
;
38461 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38462 PyObject
*resultobj
;
38463 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38465 PyObject
* obj0
= 0 ;
38466 char *kwnames
[] = {
38467 (char *) "self", NULL
38470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
38471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38474 result
= (int)(arg1
)->GetRelationship();
38476 wxPyEndAllowThreads(__tstate
);
38477 if (PyErr_Occurred()) SWIG_fail
;
38479 resultobj
= SWIG_PyObj_FromInt((int)result
);
38486 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38487 PyObject
*resultobj
;
38488 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38490 PyObject
* obj0
= 0 ;
38491 PyObject
* obj1
= 0 ;
38492 char *kwnames
[] = {
38493 (char *) "self",(char *) "r", NULL
38496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
38497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38499 arg2
= (wxRelationship
) SWIG_PyObj_AsInt(obj1
);
38500 if (PyErr_Occurred()) SWIG_fail
;
38503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38504 (arg1
)->SetRelationship((wxRelationship
)arg2
);
38506 wxPyEndAllowThreads(__tstate
);
38507 if (PyErr_Occurred()) SWIG_fail
;
38509 Py_INCREF(Py_None
); resultobj
= Py_None
;
38516 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38517 PyObject
*resultobj
;
38518 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38519 wxWindow
*arg2
= (wxWindow
*) 0 ;
38521 PyObject
* obj0
= 0 ;
38522 PyObject
* obj1
= 0 ;
38523 char *kwnames
[] = {
38524 (char *) "self",(char *) "otherW", NULL
38527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
38528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38529 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38532 result
= (bool)(arg1
)->ResetIfWin(arg2
);
38534 wxPyEndAllowThreads(__tstate
);
38535 if (PyErr_Occurred()) SWIG_fail
;
38537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38544 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38545 PyObject
*resultobj
;
38546 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38547 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
38548 wxWindow
*arg3
= (wxWindow
*) 0 ;
38550 PyObject
* obj0
= 0 ;
38551 PyObject
* obj1
= 0 ;
38552 PyObject
* obj2
= 0 ;
38553 char *kwnames
[] = {
38554 (char *) "self",(char *) "constraints",(char *) "win", NULL
38557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38559 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38560 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38563 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
38565 wxPyEndAllowThreads(__tstate
);
38566 if (PyErr_Occurred()) SWIG_fail
;
38568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38575 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38576 PyObject
*resultobj
;
38577 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38579 wxWindow
*arg3
= (wxWindow
*) 0 ;
38580 wxWindow
*arg4
= (wxWindow
*) 0 ;
38582 PyObject
* obj0
= 0 ;
38583 PyObject
* obj1
= 0 ;
38584 PyObject
* obj2
= 0 ;
38585 PyObject
* obj3
= 0 ;
38586 char *kwnames
[] = {
38587 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38593 arg2
= (wxEdge
) SWIG_PyObj_AsInt(obj1
);
38594 if (PyErr_Occurred()) SWIG_fail
;
38596 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38597 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38600 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
38602 wxPyEndAllowThreads(__tstate
);
38603 if (PyErr_Occurred()) SWIG_fail
;
38605 resultobj
= SWIG_PyObj_FromInt((int)result
);
38612 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
38614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38615 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
38617 return Py_BuildValue((char *)"");
38619 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38620 PyObject
*resultobj
;
38621 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38622 wxIndividualLayoutConstraint
*result
;
38623 PyObject
* obj0
= 0 ;
38624 char *kwnames
[] = {
38625 (char *) "self", NULL
38628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
38629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38630 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
38632 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38639 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38640 PyObject
*resultobj
;
38641 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38642 wxIndividualLayoutConstraint
*result
;
38643 PyObject
* obj0
= 0 ;
38644 char *kwnames
[] = {
38645 (char *) "self", NULL
38648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
38649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38650 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
38652 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38659 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38660 PyObject
*resultobj
;
38661 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38662 wxIndividualLayoutConstraint
*result
;
38663 PyObject
* obj0
= 0 ;
38664 char *kwnames
[] = {
38665 (char *) "self", NULL
38668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
38669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38670 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
38672 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38679 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38680 PyObject
*resultobj
;
38681 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38682 wxIndividualLayoutConstraint
*result
;
38683 PyObject
* obj0
= 0 ;
38684 char *kwnames
[] = {
38685 (char *) "self", NULL
38688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
38689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38690 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
38692 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38699 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38700 PyObject
*resultobj
;
38701 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38702 wxIndividualLayoutConstraint
*result
;
38703 PyObject
* obj0
= 0 ;
38704 char *kwnames
[] = {
38705 (char *) "self", NULL
38708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
38709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38710 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
38712 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38719 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38720 PyObject
*resultobj
;
38721 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38722 wxIndividualLayoutConstraint
*result
;
38723 PyObject
* obj0
= 0 ;
38724 char *kwnames
[] = {
38725 (char *) "self", NULL
38728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
38729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38730 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
38732 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38739 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38740 PyObject
*resultobj
;
38741 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38742 wxIndividualLayoutConstraint
*result
;
38743 PyObject
* obj0
= 0 ;
38744 char *kwnames
[] = {
38745 (char *) "self", NULL
38748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
38749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38750 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
38752 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38759 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38760 PyObject
*resultobj
;
38761 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38762 wxIndividualLayoutConstraint
*result
;
38763 PyObject
* obj0
= 0 ;
38764 char *kwnames
[] = {
38765 (char *) "self", NULL
38768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
38769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38770 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
38772 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38779 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38780 PyObject
*resultobj
;
38781 wxLayoutConstraints
*result
;
38782 char *kwnames
[] = {
38786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
38788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38789 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
38791 wxPyEndAllowThreads(__tstate
);
38792 if (PyErr_Occurred()) SWIG_fail
;
38794 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
38801 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38802 PyObject
*resultobj
;
38803 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38804 wxWindow
*arg2
= (wxWindow
*) 0 ;
38805 int *arg3
= (int *) 0 ;
38808 PyObject
* obj0
= 0 ;
38809 PyObject
* obj1
= 0 ;
38810 char *kwnames
[] = {
38811 (char *) "self",(char *) "win", NULL
38815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
38816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38820 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
38822 wxPyEndAllowThreads(__tstate
);
38823 if (PyErr_Occurred()) SWIG_fail
;
38825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38827 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
38828 resultobj
= t_output_helper(resultobj
,o
);
38836 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38837 PyObject
*resultobj
;
38838 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38840 PyObject
* obj0
= 0 ;
38841 char *kwnames
[] = {
38842 (char *) "self", NULL
38845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
38846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38849 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
38851 wxPyEndAllowThreads(__tstate
);
38852 if (PyErr_Occurred()) SWIG_fail
;
38854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38861 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
38863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38864 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
38866 return Py_BuildValue((char *)"");
38868 static PyMethodDef SwigMethods
[] = {
38869 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
38870 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
38871 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
38872 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
38873 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
38874 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
38875 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
38876 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
38877 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
38878 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
38879 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
38880 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38881 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38882 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
38883 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38884 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
38885 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
38886 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
38887 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38888 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38889 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38890 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38891 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
38892 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
38893 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38894 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38895 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38896 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38897 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
38898 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
38899 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38900 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38901 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
38902 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38903 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
38904 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
38905 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
38906 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38907 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38908 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38909 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38910 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
38911 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
38912 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38913 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38914 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
38915 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38916 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38917 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
38918 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
38919 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
38920 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
38921 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
38922 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
38923 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
38924 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
38925 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38926 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
38927 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38928 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
38929 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38930 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38931 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38932 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38933 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38934 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38935 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
38936 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
38937 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
38938 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
38939 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
38940 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
38941 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
38942 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
38943 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
38944 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
38945 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
38946 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
38947 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
38948 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
38949 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
38950 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
38951 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
38952 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
38953 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
38954 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
38955 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38956 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38957 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38958 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
38959 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
38960 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
38961 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38962 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38963 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38964 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38965 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
38966 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
38967 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
38968 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
38969 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
38970 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
38971 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
38972 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
38973 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
38974 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
38975 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
38976 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
38977 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
38978 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
38979 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
38980 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
38981 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
38982 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
38983 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
38984 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
38985 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
38986 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
38987 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38988 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
38989 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
38990 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
38991 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38992 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38993 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38994 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38995 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38996 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38997 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
38998 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
38999 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
39000 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
39001 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
39002 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
39003 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
39004 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
39005 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
39006 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
39007 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
39008 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
39009 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
39010 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
39011 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
39012 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39013 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
39014 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
39015 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
39016 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
39017 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
39018 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
39019 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
39020 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
39021 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
39022 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
39023 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39024 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
39025 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
39026 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
39027 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
39028 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
39029 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
39030 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39031 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39032 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39033 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39034 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39035 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
39036 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
39037 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
39038 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
39039 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
39040 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
39041 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
39042 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
39043 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
39044 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
39045 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39046 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39047 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39048 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
39049 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
39050 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
39051 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
39052 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
39053 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39054 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39055 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39056 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
39057 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39058 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39059 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39060 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39061 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39062 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
39063 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
39064 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39065 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
39066 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39067 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
39068 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39069 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39070 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39071 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39072 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
39073 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39074 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
39075 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
39076 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39077 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39078 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39079 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
39080 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
39081 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39082 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
39083 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
39084 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
39085 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
39086 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
39087 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
39088 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
39089 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
39090 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
39091 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
39092 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
39093 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39094 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
39095 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
39096 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39097 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
39098 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
39099 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
39100 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
39101 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
39102 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
39103 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
39104 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39105 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39106 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39107 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
39108 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
39109 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39110 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
39111 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
39112 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39113 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
39114 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39115 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
39116 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
39117 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
39118 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39119 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39120 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39121 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
39122 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
39123 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
39124 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
39125 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
39126 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39127 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39128 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39129 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39130 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39131 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39132 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
39133 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
39134 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
39135 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
39136 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
39137 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
39138 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
39139 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
39140 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
39141 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
39142 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
39143 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
39144 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
39145 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
39146 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
39147 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
39148 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
39149 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
39150 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
39151 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
39152 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
39153 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
39154 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39155 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39156 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
39157 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
39158 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
39159 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
39160 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
39161 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
39162 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
39163 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
39164 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
39165 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
39166 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
39167 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
39168 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
39169 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
39170 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
39171 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
39172 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
39173 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
39174 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
39175 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
39176 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
39177 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
39178 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
39179 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
39180 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
39181 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
39182 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
39183 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
39184 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
39185 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39186 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39187 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
39188 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
39189 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
39190 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
39191 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
39192 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
39193 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
39194 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
39195 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
39196 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
39197 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
39198 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
39199 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
39200 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
39201 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
39202 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39203 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39204 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39205 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
39206 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
39207 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
39208 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
39209 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
39210 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39211 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
39212 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
39213 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
39214 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
39215 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
39216 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
39217 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
39218 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39219 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
39220 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
39221 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
39222 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39223 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
39224 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
39225 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
39226 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
39227 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
39228 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39229 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
39230 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39231 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
39232 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
39233 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
39234 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
39235 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
39236 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39237 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39238 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39239 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39240 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
39241 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
39242 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39243 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39244 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39245 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39246 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
39247 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39248 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
39249 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
39250 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
39251 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
39252 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
39253 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39254 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
39255 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
39256 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
39257 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
39258 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
39259 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
39260 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
39261 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
39262 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
39263 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
39264 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
39265 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
39266 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
39267 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
39268 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39269 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39270 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39271 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
39272 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
39273 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
39274 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
39275 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39276 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39277 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
39278 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39279 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39280 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
39281 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
39282 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
39283 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
39284 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39285 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39286 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39287 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39288 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39289 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39290 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39291 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39292 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39293 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39294 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39295 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39296 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39297 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39298 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39299 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39300 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39301 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39302 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
39303 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
39304 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
39305 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
39306 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
39307 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
39308 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
39309 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
39310 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39311 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39312 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39313 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39314 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
39315 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
39316 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39317 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
39318 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
39319 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
39320 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
39321 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
39322 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39323 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
39324 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39325 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
39326 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39327 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39328 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39329 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39330 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39331 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39332 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39333 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39334 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39335 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39336 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39337 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39338 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39339 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39340 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39341 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39342 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39343 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39344 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39345 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39346 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39347 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39348 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
39349 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
39350 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
39351 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39352 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39353 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39354 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39355 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39356 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
39357 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
39358 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
39359 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
39360 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
39361 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
39362 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39363 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39364 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39365 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39366 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
39367 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
39368 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
39369 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
39370 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
39371 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
39372 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
39373 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
39374 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
39375 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39376 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
39377 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
39378 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
39379 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39380 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39381 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
39382 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
39383 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39384 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
39385 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
39386 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
39387 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
39388 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
39389 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
39390 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
39391 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
39392 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
39393 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39394 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
39395 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39396 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
39397 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
39398 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
39399 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
39400 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
39401 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
39402 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
39403 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
39404 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
39405 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
39406 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
39407 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39408 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
39409 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
39410 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39411 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
39412 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39413 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
39414 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
39415 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
39416 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
39417 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
39418 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39419 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
39420 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
39421 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
39422 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39423 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
39424 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39425 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
39426 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
39427 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
39428 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
39429 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
39430 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
39431 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
39432 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
39433 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39434 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
39435 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39436 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39437 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
39438 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39439 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
39440 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39441 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39442 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39443 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
39444 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
39445 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
39446 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
39447 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
39448 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39449 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
39450 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
39451 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
39452 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
39453 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
39454 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
39455 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
39456 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
39457 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39458 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
39459 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39460 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39461 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
39462 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
39463 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39464 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39465 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
39466 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
39467 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
39468 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
39469 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
39470 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
39471 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
39472 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
39473 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39474 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39475 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39476 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39477 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
39478 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39479 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39480 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39481 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39482 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
39483 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39484 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39485 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39486 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39487 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39488 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39489 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39490 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39491 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39492 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
39493 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
39494 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39495 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39496 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39497 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39498 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39499 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
39500 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
39501 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
39502 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
39503 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
39504 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39505 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39506 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39507 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39508 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39509 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39510 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39511 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39512 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39513 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39514 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39515 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39516 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39517 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39518 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39519 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39520 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39521 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39522 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39523 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39524 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
39525 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
39526 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
39527 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39528 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39529 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
39530 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
39531 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39532 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
39533 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
39534 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
39535 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39536 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39537 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
39538 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39539 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39540 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
39541 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39542 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
39543 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
39544 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39545 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39546 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39547 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
39548 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
39549 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
39550 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
39551 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
39552 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
39553 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39554 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
39555 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
39556 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39557 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39558 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39559 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39560 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39561 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39562 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39563 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39564 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
39565 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
39566 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
39567 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39568 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
39569 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39570 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39571 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
39572 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
39573 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
39574 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
39575 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39576 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39577 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39578 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39579 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39580 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39581 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39582 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39583 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39584 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39585 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
39586 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39587 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39588 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39589 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39590 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
39591 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
39592 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
39593 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
39594 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
39595 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39596 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39597 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
39598 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
39599 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
39600 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
39601 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
39602 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39603 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39604 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39605 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39606 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39607 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
39608 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
39609 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39610 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
39611 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39612 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39613 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39614 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39615 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
39616 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
39617 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
39618 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
39619 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39620 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39621 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
39622 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39623 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39624 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
39625 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
39626 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
39627 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
39628 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
39629 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
39630 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39631 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39632 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39633 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
39634 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
39635 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
39636 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
39637 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
39638 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
39639 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
39640 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
39641 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
39642 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39643 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39644 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39645 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39646 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39647 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39648 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39649 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39650 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39651 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39652 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39653 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39654 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39655 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
39656 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
39657 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39658 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39659 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
39660 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
39661 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
39662 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
39663 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
39664 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
39665 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
39666 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
39667 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
39668 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
39669 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
39670 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
39671 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
39672 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39673 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
39674 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
39675 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
39676 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39677 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39678 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39679 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39680 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39681 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39682 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
39683 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
39684 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
39685 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
39686 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
39687 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
39688 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
39689 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
39690 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
39691 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
39692 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
39693 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
39694 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
39695 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
39696 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
39697 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39698 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
39699 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
39700 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
39701 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
39702 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
39703 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
39704 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
39705 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
39706 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
39707 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
39708 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
39709 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
39710 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
39711 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
39712 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
39713 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
39714 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
39715 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
39716 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
39717 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
39718 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
39719 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
39720 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
39721 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
39722 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
39723 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
39724 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
39725 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39726 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39727 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
39728 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
39729 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
39730 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39731 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
39732 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39733 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
39734 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
39735 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
39736 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
39737 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
39738 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
39739 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
39740 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
39741 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39742 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
39743 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
39744 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
39745 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39746 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39747 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
39748 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
39749 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
39750 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
39751 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39752 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
39753 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
39754 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
39755 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39756 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39757 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39758 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
39759 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
39760 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
39761 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
39762 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39763 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39764 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39765 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39766 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
39767 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
39768 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
39769 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39770 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39771 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39772 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
39773 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39774 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
39775 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
39776 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
39777 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39778 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
39779 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
39780 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
39781 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
39782 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
39783 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
39784 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
39785 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39786 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39787 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
39788 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39789 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39790 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39791 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39792 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39793 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39794 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39795 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39796 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39797 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
39798 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
39799 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
39800 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
39801 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
39802 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
39803 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
39804 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
39805 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
39806 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
39807 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
39808 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
39809 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
39810 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39811 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
39812 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39813 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
39814 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39815 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
39816 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
39817 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
39818 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
39819 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39820 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
39821 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
39822 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39823 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
39824 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39825 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39826 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39827 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39828 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39829 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39830 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
39831 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
39832 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
39833 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
39834 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
39835 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39836 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39837 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39838 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39839 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39840 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39841 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
39842 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39843 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
39844 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
39845 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
39846 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
39847 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
39848 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39849 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39850 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39851 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39852 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39853 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
39854 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39855 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
39856 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
39857 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
39858 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
39859 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
39860 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
39861 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
39862 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
39863 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
39864 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39865 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39866 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
39867 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39868 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39869 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
39870 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
39871 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
39872 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
39873 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
39874 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
39875 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39876 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39877 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
39878 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
39879 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
39880 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
39881 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
39882 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39883 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39884 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
39885 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
39886 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
39887 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39888 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
39889 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
39890 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
39891 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
39892 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
39893 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
39894 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
39895 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
39896 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
39897 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
39898 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
39899 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
39900 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
39901 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
39902 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
39903 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
39904 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39905 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
39906 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
39907 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
39908 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
39909 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39910 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39911 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
39912 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39913 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
39914 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
39915 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
39916 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
39917 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
39918 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
39919 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
39920 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39921 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
39922 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
39923 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
39924 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
39925 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39926 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39927 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39928 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39929 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39930 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39931 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39932 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39933 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
39934 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39935 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39936 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
39937 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
39938 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
39939 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
39940 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39941 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
39942 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39943 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39944 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
39945 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
39946 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
39947 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
39948 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39949 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39950 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39951 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39952 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39953 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39954 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
39955 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
39956 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
39957 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39958 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39959 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
39960 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
39961 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
39962 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
39963 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
39964 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39965 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
39966 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
39967 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
39968 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39969 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
39970 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
39971 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39972 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39973 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39974 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39975 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
39976 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
39977 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
39978 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39979 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39980 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
39981 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
39982 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39983 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39984 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
39985 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
39986 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
39987 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
39988 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
39989 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
39990 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
39991 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
39992 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
39993 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
39994 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39995 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39996 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
39997 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
39998 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
39999 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
40000 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
40001 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
40002 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
40003 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
40004 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
40005 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
40006 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
40007 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
40008 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
40009 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
40010 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
40011 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
40012 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40013 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40014 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
40015 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
40016 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
40017 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
40018 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
40019 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
40020 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
40021 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
40022 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40023 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40024 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
40025 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
40026 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
40027 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
40028 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
40029 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
40030 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40031 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
40032 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
40033 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
40034 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
40035 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
40036 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
40037 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
40038 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
40039 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
40040 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
40041 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
40042 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
40043 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
40044 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
40045 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
40046 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
40047 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
40048 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
40049 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
40050 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
40051 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
40052 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
40053 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40054 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40055 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
40056 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
40057 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40058 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
40059 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
40060 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
40061 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
40062 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
40063 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
40064 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
40065 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
40066 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
40067 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
40068 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
40069 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
40070 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
40071 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
40072 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
40073 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
40074 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
40075 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
40076 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
40077 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
40078 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
40079 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
40080 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
40081 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
40082 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
40083 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
40084 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
40085 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
40086 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
40087 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
40088 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40089 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40090 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
40091 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
40092 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40093 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40094 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
40095 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
40100 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40102 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
40103 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
40105 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
40106 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
40108 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
40109 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40111 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
40112 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40114 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
40115 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
40117 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
40118 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40120 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
40121 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
40123 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
40124 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40126 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40129 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40130 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40132 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40133 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40135 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40136 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40138 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40139 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40141 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40142 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40144 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40145 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40147 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40148 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40150 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40151 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40153 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40154 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40156 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40157 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40159 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40160 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40162 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40163 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40165 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40166 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40168 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40169 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40171 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40172 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40174 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40175 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40177 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40178 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40180 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40181 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40183 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40184 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40186 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40187 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40189 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40190 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40192 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40193 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40195 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40196 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40198 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40199 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40201 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40202 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40204 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40205 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40207 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40208 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40210 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40211 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40213 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40214 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40216 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40217 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40219 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40220 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40222 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40223 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40225 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40226 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40228 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40229 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40231 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
40232 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40234 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
40235 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40237 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
40238 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40240 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
40241 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
40243 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
40244 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
40246 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40247 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40249 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40250 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40252 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40255 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40256 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40258 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40259 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40261 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40262 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40264 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40265 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40267 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40268 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40270 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
40271 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
40273 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
40274 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
40276 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
40277 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
40279 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
40280 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
40282 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
40283 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
40285 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
40286 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40288 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
40289 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
40291 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
40292 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
40294 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
40295 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40297 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
40298 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40300 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
40301 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
40303 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
40304 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
40306 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
40307 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
40309 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
40310 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
40312 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
40313 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
40315 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
40316 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
40318 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
40319 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
40321 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
40322 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
40324 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40325 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
40327 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40328 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
40330 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40331 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
40333 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40334 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40336 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40337 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40339 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40340 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40342 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40343 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40345 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40346 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40348 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40349 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40351 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40352 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40354 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40357 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40360 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40361 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40363 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40364 return (void *)((wxObject
*) ((wxSizer
*) x
));
40366 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40367 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40369 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40370 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40372 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40373 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40375 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40376 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40378 static void *_p_wxImageTo_p_wxObject(void *x
) {
40379 return (void *)((wxObject
*) ((wxImage
*) x
));
40381 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40382 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40384 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40385 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40387 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40388 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40390 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40391 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40393 static void *_p_wxControlTo_p_wxObject(void *x
) {
40394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40396 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40397 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40399 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40400 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40402 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40403 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40405 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40406 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40408 static void *_p_wxEventTo_p_wxObject(void *x
) {
40409 return (void *)((wxObject
*) ((wxEvent
*) x
));
40411 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40412 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40414 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40415 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40417 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40418 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40420 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40421 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40423 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40424 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40426 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40427 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40429 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40430 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40432 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40433 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40435 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40438 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40439 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40441 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40442 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40444 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40445 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40447 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40448 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40450 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40451 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40453 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40454 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40456 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40457 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40459 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40460 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40462 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40463 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40465 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40466 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40468 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40469 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40471 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40472 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40474 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40475 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40477 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40478 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40480 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40481 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40483 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40484 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40486 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40487 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40489 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40490 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40492 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40493 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40495 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40496 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40498 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40499 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40501 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40502 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40504 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40505 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40507 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40508 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40510 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40511 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40513 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40514 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40516 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40517 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40519 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40520 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40522 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40523 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40525 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40526 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40528 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40531 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40532 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40534 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40535 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40537 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40538 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40540 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40541 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40543 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40544 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40546 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40547 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40549 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40550 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40552 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40553 return (void *)((wxWindow
*) ((wxControl
*) x
));
40555 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40556 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40558 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40559 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40561 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
40562 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40564 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
40565 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
40567 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
40568 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40570 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
40571 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40573 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
40574 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40576 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
40577 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40579 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
40580 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40582 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
40583 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40585 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
40586 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
40588 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
40589 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
40590 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
40591 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
40592 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
40593 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
40594 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}};
40595 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
40596 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
40597 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
40598 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
40599 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
40600 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
40601 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}};
40602 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}};
40603 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
40604 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
40605 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
40606 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
40607 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
40608 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
40609 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
40610 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
40611 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
40612 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
40613 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
40614 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
40615 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
40616 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
40617 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
40618 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
40619 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
40620 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
40621 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
40622 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
40623 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
40624 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
40625 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
40626 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
40627 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
40628 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
40629 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
40630 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
40631 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
40632 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
40633 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
40634 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
40635 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
40636 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
40637 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
40638 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
40639 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
40640 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
40641 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
40642 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
40643 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
40644 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
40645 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
40646 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
40647 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
40648 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
40649 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
40650 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
40651 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}};
40652 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
40653 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}};
40654 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}};
40655 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}};
40656 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}};
40657 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
40658 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
40659 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
40660 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
40661 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
40662 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
40663 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
40664 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
40665 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
40666 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
40667 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
40668 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
40669 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
40670 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
40671 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
40672 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
40673 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}};
40674 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
40675 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
40676 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
40677 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
40678 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
40679 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
40680 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
40681 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}};
40682 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
40683 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
40684 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
40685 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
40686 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
40687 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
40688 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
40689 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
40690 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
40691 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
40692 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}};
40693 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
40694 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
40695 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
40696 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
40697 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
40698 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
40699 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
40700 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
40701 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
40703 static swig_type_info
*swig_types_initial
[] = {
40704 _swigt__p_wxLayoutConstraints
,
40705 _swigt__p_wxRealPoint
,
40706 _swigt__p_wxSizerItem
,
40707 _swigt__p_wxGBSizerItem
,
40708 _swigt__p_wxScrollEvent
,
40709 _swigt__p_wxIndividualLayoutConstraint
,
40711 _swigt__p_wxBoxSizer
,
40712 _swigt__p_wxStaticBoxSizer
,
40713 _swigt__p_wxGridBagSizer
,
40714 _swigt__p_wxAcceleratorEntry
,
40715 _swigt__p_wxUpdateUIEvent
,
40718 _swigt__p_wxGridSizer
,
40719 _swigt__p_wxFlexGridSizer
,
40720 _swigt__p_wxInitDialogEvent
,
40721 _swigt__p_wxItemContainer
,
40722 _swigt__p_wxNcPaintEvent
,
40723 _swigt__p_wxPaintEvent
,
40724 _swigt__p_wxSysColourChangedEvent
,
40725 _swigt__p_wxMouseCaptureChangedEvent
,
40726 _swigt__p_wxDisplayChangedEvent
,
40727 _swigt__p_wxPaletteChangedEvent
,
40728 _swigt__p_wxControl
,
40730 _swigt__p_wxMenuBarBase
,
40731 _swigt__p_wxSetCursorEvent
,
40732 _swigt__p_wxFSFile
,
40734 _swigt__p_wxRegion
,
40735 _swigt__p_wxPoint2D
,
40739 _swigt__p_wxPySizer
,
40740 _swigt__p_wxNotifyEvent
,
40741 _swigt__p_wxPyEvent
,
40742 _swigt__p_wxPropagationDisabler
,
40743 _swigt__p_wxAppTraits
,
40744 _swigt__p_wxArrayString
,
40745 _swigt__p_wxShowEvent
,
40746 _swigt__p_wxToolTip
,
40747 _swigt__p_wxMaximizeEvent
,
40748 _swigt__p_wxIconizeEvent
,
40749 _swigt__p_wxActivateEvent
,
40750 _swigt__p_wxMoveEvent
,
40751 _swigt__p_wxSizeEvent
,
40752 _swigt__p_wxQueryNewPaletteEvent
,
40753 _swigt__p_wxWindowCreateEvent
,
40754 _swigt__p_wxIdleEvent
,
40755 _swigt__p_wxMenuItem
,
40756 _swigt__p_wxStaticBox
,
40758 _swigt__p_wxTIFFHandler
,
40759 _swigt__p_wxXPMHandler
,
40760 _swigt__p_wxPNMHandler
,
40761 _swigt__p_wxJPEGHandler
,
40762 _swigt__p_wxPCXHandler
,
40763 _swigt__p_wxGIFHandler
,
40764 _swigt__p_wxPNGHandler
,
40765 _swigt__p_wxANIHandler
,
40766 _swigt__p_wxMemoryFSHandler
,
40767 _swigt__p_wxEvtHandler
,
40768 _swigt__p_wxCURHandler
,
40769 _swigt__p_wxICOHandler
,
40770 _swigt__p_wxBMPHandler
,
40771 _swigt__p_wxImageHandler
,
40772 _swigt__p_wxFileSystemHandler
,
40773 _swigt__p_wxPyFileSystemHandler
,
40774 _swigt__p_wxInternetFSHandler
,
40775 _swigt__p_wxZipFSHandler
,
40777 _swigt__p_wxGBSpan
,
40778 _swigt__p_wxPropagateOnce
,
40779 _swigt__p_wxAcceleratorTable
,
40781 _swigt__p_wxGBPosition
,
40784 _swigt__p_wxScrollWinEvent
,
40785 _swigt__p_wxImageHistogram
,
40788 _swigt__p_wxCursor
,
40789 _swigt__p_wxObject
,
40790 _swigt__p_wxPyInputStream
,
40791 _swigt__p_wxOutputStream
,
40792 _swigt__p_wxInputStream
,
40793 _swigt__p_wxDateTime
,
40794 _swigt__p_wxKeyEvent
,
40795 _swigt__p_wxNavigationKeyEvent
,
40796 _swigt__p_wxWindowDestroyEvent
,
40797 _swigt__p_wxWindow
,
40798 _swigt__p_wxMenuBar
,
40799 _swigt__p_wxFileSystem
,
40800 _swigt__p_wxBitmap
,
40801 _swigt__p_wxMenuEvent
,
40802 _swigt__p_wxContextMenuEvent
,
40803 _swigt__p_unsigned_char
,
40804 _swigt__p_wxCloseEvent
,
40805 _swigt__p_wxEraseEvent
,
40806 _swigt__p_wxMouseEvent
,
40808 _swigt__p_wxCommandEvent
,
40809 _swigt__p_wxPyCommandEvent
,
40810 _swigt__p_wxPyDropTarget
,
40811 _swigt__p_wxChildFocusEvent
,
40812 _swigt__p_wxFocusEvent
,
40813 _swigt__p_wxDropFilesEvent
,
40814 _swigt__p_wxControlWithItems
,
40815 _swigt__p_wxColour
,
40816 _swigt__p_wxValidator
,
40817 _swigt__p_wxPyValidator
,
40822 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40824 static swig_const_info swig_const_table
[] = {
40834 SWIGEXPORT(void) SWIG_init(void) {
40835 static PyObject
*SWIG_globals
= 0;
40836 static int typeinit
= 0;
40839 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
40840 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40841 d
= PyModule_GetDict(m
);
40844 for (i
= 0; swig_types_initial
[i
]; i
++) {
40845 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
40849 SWIG_InstallConstants(d
,swig_const_table
);
40852 #ifndef wxPyUSE_EXPORT
40853 // Make our API structure a CObject so other modules can import it
40854 // from this module.
40855 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
40856 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
40860 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_PyObj_FromInt((int)wxNOT_FOUND
));
40861 PyDict_SetItemString(d
,"VSCROLL", SWIG_PyObj_FromInt((int)wxVSCROLL
));
40862 PyDict_SetItemString(d
,"HSCROLL", SWIG_PyObj_FromInt((int)wxHSCROLL
));
40863 PyDict_SetItemString(d
,"CAPTION", SWIG_PyObj_FromInt((int)wxCAPTION
));
40864 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_PyObj_FromInt((int)wxDOUBLE_BORDER
));
40865 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_PyObj_FromInt((int)wxSUNKEN_BORDER
));
40866 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_PyObj_FromInt((int)wxRAISED_BORDER
));
40867 PyDict_SetItemString(d
,"BORDER", SWIG_PyObj_FromInt((int)wxBORDER
));
40868 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_PyObj_FromInt((int)wxSIMPLE_BORDER
));
40869 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_PyObj_FromInt((int)wxSTATIC_BORDER
));
40870 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_PyObj_FromInt((int)wxTRANSPARENT_WINDOW
));
40871 PyDict_SetItemString(d
,"NO_BORDER", SWIG_PyObj_FromInt((int)wxNO_BORDER
));
40872 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_PyObj_FromInt((int)wxUSER_COLOURS
));
40873 PyDict_SetItemString(d
,"NO_3D", SWIG_PyObj_FromInt((int)wxNO_3D
));
40874 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_PyObj_FromInt((int)wxTAB_TRAVERSAL
));
40875 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_PyObj_FromInt((int)wxWANTS_CHARS
));
40876 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_PyObj_FromInt((int)wxPOPUP_WINDOW
));
40877 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_PyObj_FromInt((int)wxCENTER_FRAME
));
40878 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxCENTRE_ON_SCREEN
));
40879 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_PyObj_FromInt((int)wxCENTER_ON_SCREEN
));
40880 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_PyObj_FromInt((int)wxSTAY_ON_TOP
));
40881 PyDict_SetItemString(d
,"ICONIZE", SWIG_PyObj_FromInt((int)wxICONIZE
));
40882 PyDict_SetItemString(d
,"MINIMIZE", SWIG_PyObj_FromInt((int)wxMINIMIZE
));
40883 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_PyObj_FromInt((int)wxMAXIMIZE
));
40884 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_PyObj_FromInt((int)wxCLOSE_BOX
));
40885 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_PyObj_FromInt((int)wxTHICK_FRAME
));
40886 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_PyObj_FromInt((int)wxSYSTEM_MENU
));
40887 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_PyObj_FromInt((int)wxMINIMIZE_BOX
));
40888 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_PyObj_FromInt((int)wxMAXIMIZE_BOX
));
40889 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_PyObj_FromInt((int)wxTINY_CAPTION_HORIZ
));
40890 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_PyObj_FromInt((int)wxTINY_CAPTION_VERT
));
40891 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_PyObj_FromInt((int)wxRESIZE_BOX
));
40892 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_PyObj_FromInt((int)wxRESIZE_BORDER
));
40893 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_PyObj_FromInt((int)wxDIALOG_MODAL
));
40894 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_PyObj_FromInt((int)wxDIALOG_MODELESS
));
40895 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_PyObj_FromInt((int)wxDIALOG_NO_PARENT
));
40896 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_PyObj_FromInt((int)wxDEFAULT_FRAME_STYLE
));
40897 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_PyObj_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
40898 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_PyObj_FromInt((int)wxFRAME_TOOL_WINDOW
));
40899 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_PyObj_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
40900 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_PyObj_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
40901 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_PyObj_FromInt((int)wxFRAME_NO_TASKBAR
));
40902 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_PyObj_FromInt((int)wxFRAME_SHAPED
));
40903 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_PyObj_FromInt((int)wxED_CLIENT_MARGIN
));
40904 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_PyObj_FromInt((int)wxED_BUTTONS_BOTTOM
));
40905 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_PyObj_FromInt((int)wxED_BUTTONS_RIGHT
));
40906 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_PyObj_FromInt((int)wxED_STATIC_LINE
));
40907 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_PyObj_FromInt((int)wxEXT_DIALOG_STYLE
));
40908 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_PyObj_FromInt((int)wxCLIP_CHILDREN
));
40909 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_PyObj_FromInt((int)wxCLIP_SIBLINGS
));
40910 PyDict_SetItemString(d
,"RETAINED", SWIG_PyObj_FromInt((int)wxRETAINED
));
40911 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_PyObj_FromInt((int)wxBACKINGSTORE
));
40912 PyDict_SetItemString(d
,"COLOURED", SWIG_PyObj_FromInt((int)wxCOLOURED
));
40913 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_PyObj_FromInt((int)wxFIXED_LENGTH
));
40914 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_PyObj_FromInt((int)wxLB_NEEDED_SB
));
40915 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_PyObj_FromInt((int)wxLB_ALWAYS_SB
));
40916 PyDict_SetItemString(d
,"LB_SORT", SWIG_PyObj_FromInt((int)wxLB_SORT
));
40917 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_PyObj_FromInt((int)wxLB_SINGLE
));
40918 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_PyObj_FromInt((int)wxLB_MULTIPLE
));
40919 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_PyObj_FromInt((int)wxLB_EXTENDED
));
40920 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_PyObj_FromInt((int)wxLB_OWNERDRAW
));
40921 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_PyObj_FromInt((int)wxLB_HSCROLL
));
40922 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxPROCESS_ENTER
));
40923 PyDict_SetItemString(d
,"PASSWORD", SWIG_PyObj_FromInt((int)wxPASSWORD
));
40924 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_PyObj_FromInt((int)wxCB_SIMPLE
));
40925 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_PyObj_FromInt((int)wxCB_DROPDOWN
));
40926 PyDict_SetItemString(d
,"CB_SORT", SWIG_PyObj_FromInt((int)wxCB_SORT
));
40927 PyDict_SetItemString(d
,"CB_READONLY", SWIG_PyObj_FromInt((int)wxCB_READONLY
));
40928 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxRA_HORIZONTAL
));
40929 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_PyObj_FromInt((int)wxRA_VERTICAL
));
40930 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_PyObj_FromInt((int)wxRA_SPECIFY_ROWS
));
40931 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_PyObj_FromInt((int)wxRA_SPECIFY_COLS
));
40932 PyDict_SetItemString(d
,"RB_GROUP", SWIG_PyObj_FromInt((int)wxRB_GROUP
));
40933 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_PyObj_FromInt((int)wxRB_SINGLE
));
40934 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSL_HORIZONTAL
));
40935 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_PyObj_FromInt((int)wxSL_VERTICAL
));
40936 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_PyObj_FromInt((int)wxSL_AUTOTICKS
));
40937 PyDict_SetItemString(d
,"SL_LABELS", SWIG_PyObj_FromInt((int)wxSL_LABELS
));
40938 PyDict_SetItemString(d
,"SL_LEFT", SWIG_PyObj_FromInt((int)wxSL_LEFT
));
40939 PyDict_SetItemString(d
,"SL_TOP", SWIG_PyObj_FromInt((int)wxSL_TOP
));
40940 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_PyObj_FromInt((int)wxSL_RIGHT
));
40941 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_PyObj_FromInt((int)wxSL_BOTTOM
));
40942 PyDict_SetItemString(d
,"SL_BOTH", SWIG_PyObj_FromInt((int)wxSL_BOTH
));
40943 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_PyObj_FromInt((int)wxSL_SELRANGE
));
40944 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSB_HORIZONTAL
));
40945 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_PyObj_FromInt((int)wxSB_VERTICAL
));
40946 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_PyObj_FromInt((int)wxST_SIZEGRIP
));
40947 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_PyObj_FromInt((int)wxST_NO_AUTORESIZE
));
40948 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_PyObj_FromInt((int)wxFLOOD_SURFACE
));
40949 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_PyObj_FromInt((int)wxFLOOD_BORDER
));
40950 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_PyObj_FromInt((int)wxODDEVEN_RULE
));
40951 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_PyObj_FromInt((int)wxWINDING_RULE
));
40952 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_PyObj_FromInt((int)wxTOOL_TOP
));
40953 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_PyObj_FromInt((int)wxTOOL_BOTTOM
));
40954 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_PyObj_FromInt((int)wxTOOL_LEFT
));
40955 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_PyObj_FromInt((int)wxTOOL_RIGHT
));
40956 PyDict_SetItemString(d
,"OK", SWIG_PyObj_FromInt((int)wxOK
));
40957 PyDict_SetItemString(d
,"YES_NO", SWIG_PyObj_FromInt((int)wxYES_NO
));
40958 PyDict_SetItemString(d
,"CANCEL", SWIG_PyObj_FromInt((int)wxCANCEL
));
40959 PyDict_SetItemString(d
,"YES", SWIG_PyObj_FromInt((int)wxYES
));
40960 PyDict_SetItemString(d
,"NO", SWIG_PyObj_FromInt((int)wxNO
));
40961 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_PyObj_FromInt((int)wxNO_DEFAULT
));
40962 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_PyObj_FromInt((int)wxYES_DEFAULT
));
40963 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_PyObj_FromInt((int)wxICON_EXCLAMATION
));
40964 PyDict_SetItemString(d
,"ICON_HAND", SWIG_PyObj_FromInt((int)wxICON_HAND
));
40965 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_PyObj_FromInt((int)wxICON_QUESTION
));
40966 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_PyObj_FromInt((int)wxICON_INFORMATION
));
40967 PyDict_SetItemString(d
,"ICON_STOP", SWIG_PyObj_FromInt((int)wxICON_STOP
));
40968 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_PyObj_FromInt((int)wxICON_ASTERISK
));
40969 PyDict_SetItemString(d
,"ICON_MASK", SWIG_PyObj_FromInt((int)wxICON_MASK
));
40970 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_PyObj_FromInt((int)wxICON_WARNING
));
40971 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_PyObj_FromInt((int)wxICON_ERROR
));
40972 PyDict_SetItemString(d
,"FORWARD", SWIG_PyObj_FromInt((int)wxFORWARD
));
40973 PyDict_SetItemString(d
,"BACKWARD", SWIG_PyObj_FromInt((int)wxBACKWARD
));
40974 PyDict_SetItemString(d
,"RESET", SWIG_PyObj_FromInt((int)wxRESET
));
40975 PyDict_SetItemString(d
,"HELP", SWIG_PyObj_FromInt((int)wxHELP
));
40976 PyDict_SetItemString(d
,"MORE", SWIG_PyObj_FromInt((int)wxMORE
));
40977 PyDict_SetItemString(d
,"SETUP", SWIG_PyObj_FromInt((int)wxSETUP
));
40978 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_PyObj_FromInt((int)wxSIZE_AUTO_WIDTH
));
40979 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_PyObj_FromInt((int)wxSIZE_AUTO_HEIGHT
));
40980 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_PyObj_FromInt((int)wxSIZE_AUTO
));
40981 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_PyObj_FromInt((int)wxSIZE_USE_EXISTING
));
40982 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_PyObj_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
40983 PyDict_SetItemString(d
,"PORTRAIT", SWIG_PyObj_FromInt((int)wxPORTRAIT
));
40984 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_PyObj_FromInt((int)wxLANDSCAPE
));
40985 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_HIGH
));
40986 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
40987 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_LOW
));
40988 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_DRAFT
));
40989 PyDict_SetItemString(d
,"ID_ANY", SWIG_PyObj_FromInt((int)wxID_ANY
));
40990 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_PyObj_FromInt((int)wxID_SEPARATOR
));
40991 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_PyObj_FromInt((int)wxID_LOWEST
));
40992 PyDict_SetItemString(d
,"ID_OPEN", SWIG_PyObj_FromInt((int)wxID_OPEN
));
40993 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_PyObj_FromInt((int)wxID_CLOSE
));
40994 PyDict_SetItemString(d
,"ID_NEW", SWIG_PyObj_FromInt((int)wxID_NEW
));
40995 PyDict_SetItemString(d
,"ID_SAVE", SWIG_PyObj_FromInt((int)wxID_SAVE
));
40996 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_PyObj_FromInt((int)wxID_SAVEAS
));
40997 PyDict_SetItemString(d
,"ID_REVERT", SWIG_PyObj_FromInt((int)wxID_REVERT
));
40998 PyDict_SetItemString(d
,"ID_EXIT", SWIG_PyObj_FromInt((int)wxID_EXIT
));
40999 PyDict_SetItemString(d
,"ID_UNDO", SWIG_PyObj_FromInt((int)wxID_UNDO
));
41000 PyDict_SetItemString(d
,"ID_REDO", SWIG_PyObj_FromInt((int)wxID_REDO
));
41001 PyDict_SetItemString(d
,"ID_HELP", SWIG_PyObj_FromInt((int)wxID_HELP
));
41002 PyDict_SetItemString(d
,"ID_PRINT", SWIG_PyObj_FromInt((int)wxID_PRINT
));
41003 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_PyObj_FromInt((int)wxID_PRINT_SETUP
));
41004 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_PyObj_FromInt((int)wxID_PREVIEW
));
41005 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_PyObj_FromInt((int)wxID_ABOUT
));
41006 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_PyObj_FromInt((int)wxID_HELP_CONTENTS
));
41007 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_PyObj_FromInt((int)wxID_HELP_COMMANDS
));
41008 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_PyObj_FromInt((int)wxID_HELP_PROCEDURES
));
41009 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_PyObj_FromInt((int)wxID_HELP_CONTEXT
));
41010 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_PyObj_FromInt((int)wxID_CLOSE_ALL
));
41011 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_PyObj_FromInt((int)wxID_PREFERENCES
));
41012 PyDict_SetItemString(d
,"ID_CUT", SWIG_PyObj_FromInt((int)wxID_CUT
));
41013 PyDict_SetItemString(d
,"ID_COPY", SWIG_PyObj_FromInt((int)wxID_COPY
));
41014 PyDict_SetItemString(d
,"ID_PASTE", SWIG_PyObj_FromInt((int)wxID_PASTE
));
41015 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_PyObj_FromInt((int)wxID_CLEAR
));
41016 PyDict_SetItemString(d
,"ID_FIND", SWIG_PyObj_FromInt((int)wxID_FIND
));
41017 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_PyObj_FromInt((int)wxID_DUPLICATE
));
41018 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_PyObj_FromInt((int)wxID_SELECTALL
));
41019 PyDict_SetItemString(d
,"ID_DELETE", SWIG_PyObj_FromInt((int)wxID_DELETE
));
41020 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_PyObj_FromInt((int)wxID_REPLACE
));
41021 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_PyObj_FromInt((int)wxID_REPLACE_ALL
));
41022 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_PyObj_FromInt((int)wxID_PROPERTIES
));
41023 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_PyObj_FromInt((int)wxID_VIEW_DETAILS
));
41024 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_PyObj_FromInt((int)wxID_VIEW_LARGEICONS
));
41025 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_PyObj_FromInt((int)wxID_VIEW_SMALLICONS
));
41026 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_PyObj_FromInt((int)wxID_VIEW_LIST
));
41027 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTDATE
));
41028 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTNAME
));
41029 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTSIZE
));
41030 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTTYPE
));
41031 PyDict_SetItemString(d
,"ID_FILE1", SWIG_PyObj_FromInt((int)wxID_FILE1
));
41032 PyDict_SetItemString(d
,"ID_FILE2", SWIG_PyObj_FromInt((int)wxID_FILE2
));
41033 PyDict_SetItemString(d
,"ID_FILE3", SWIG_PyObj_FromInt((int)wxID_FILE3
));
41034 PyDict_SetItemString(d
,"ID_FILE4", SWIG_PyObj_FromInt((int)wxID_FILE4
));
41035 PyDict_SetItemString(d
,"ID_FILE5", SWIG_PyObj_FromInt((int)wxID_FILE5
));
41036 PyDict_SetItemString(d
,"ID_FILE6", SWIG_PyObj_FromInt((int)wxID_FILE6
));
41037 PyDict_SetItemString(d
,"ID_FILE7", SWIG_PyObj_FromInt((int)wxID_FILE7
));
41038 PyDict_SetItemString(d
,"ID_FILE8", SWIG_PyObj_FromInt((int)wxID_FILE8
));
41039 PyDict_SetItemString(d
,"ID_FILE9", SWIG_PyObj_FromInt((int)wxID_FILE9
));
41040 PyDict_SetItemString(d
,"ID_OK", SWIG_PyObj_FromInt((int)wxID_OK
));
41041 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_PyObj_FromInt((int)wxID_CANCEL
));
41042 PyDict_SetItemString(d
,"ID_APPLY", SWIG_PyObj_FromInt((int)wxID_APPLY
));
41043 PyDict_SetItemString(d
,"ID_YES", SWIG_PyObj_FromInt((int)wxID_YES
));
41044 PyDict_SetItemString(d
,"ID_NO", SWIG_PyObj_FromInt((int)wxID_NO
));
41045 PyDict_SetItemString(d
,"ID_STATIC", SWIG_PyObj_FromInt((int)wxID_STATIC
));
41046 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_PyObj_FromInt((int)wxID_FORWARD
));
41047 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_PyObj_FromInt((int)wxID_BACKWARD
));
41048 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_PyObj_FromInt((int)wxID_DEFAULT
));
41049 PyDict_SetItemString(d
,"ID_MORE", SWIG_PyObj_FromInt((int)wxID_MORE
));
41050 PyDict_SetItemString(d
,"ID_SETUP", SWIG_PyObj_FromInt((int)wxID_SETUP
));
41051 PyDict_SetItemString(d
,"ID_RESET", SWIG_PyObj_FromInt((int)wxID_RESET
));
41052 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_PyObj_FromInt((int)wxID_CONTEXT_HELP
));
41053 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_PyObj_FromInt((int)wxID_YESTOALL
));
41054 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_PyObj_FromInt((int)wxID_NOTOALL
));
41055 PyDict_SetItemString(d
,"ID_ABORT", SWIG_PyObj_FromInt((int)wxID_ABORT
));
41056 PyDict_SetItemString(d
,"ID_RETRY", SWIG_PyObj_FromInt((int)wxID_RETRY
));
41057 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_PyObj_FromInt((int)wxID_IGNORE
));
41058 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_PyObj_FromInt((int)wxID_HIGHEST
));
41059 PyDict_SetItemString(d
,"OPEN", SWIG_PyObj_FromInt((int)wxOPEN
));
41060 PyDict_SetItemString(d
,"SAVE", SWIG_PyObj_FromInt((int)wxSAVE
));
41061 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_PyObj_FromInt((int)wxHIDE_READONLY
));
41062 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_PyObj_FromInt((int)wxOVERWRITE_PROMPT
));
41063 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_PyObj_FromInt((int)wxFILE_MUST_EXIST
));
41064 PyDict_SetItemString(d
,"MULTIPLE", SWIG_PyObj_FromInt((int)wxMULTIPLE
));
41065 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_PyObj_FromInt((int)wxCHANGE_DIR
));
41066 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_PyObj_FromInt((int)wxACCEL_ALT
));
41067 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_PyObj_FromInt((int)wxACCEL_CTRL
));
41068 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_PyObj_FromInt((int)wxACCEL_SHIFT
));
41069 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_PyObj_FromInt((int)wxACCEL_NORMAL
));
41070 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_PyObj_FromInt((int)wxPD_AUTO_HIDE
));
41071 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_PyObj_FromInt((int)wxPD_APP_MODAL
));
41072 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_PyObj_FromInt((int)wxPD_CAN_ABORT
));
41073 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_PyObj_FromInt((int)wxPD_ELAPSED_TIME
));
41074 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_PyObj_FromInt((int)wxPD_ESTIMATED_TIME
));
41075 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_PyObj_FromInt((int)wxPD_REMAINING_TIME
));
41076 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_PyObj_FromInt((int)wxDD_NEW_DIR_BUTTON
));
41077 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxDD_DEFAULT_STYLE
));
41078 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_PyObj_FromInt((int)wxMENU_TEAROFF
));
41079 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_PyObj_FromInt((int)wxMB_DOCKABLE
));
41080 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_PyObj_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
41081 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_PyObj_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
41082 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLI_HORIZONTAL
));
41083 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_PyObj_FromInt((int)wxLI_VERTICAL
));
41084 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_PyObj_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
41085 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_PyObj_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
41086 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_PyObj_FromInt((int)wxWS_EX_TRANSIENT
));
41087 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_PyObj_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
41088 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_PyObj_FromInt((int)wxWS_EX_PROCESS_IDLE
));
41089 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_PyObj_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
41090 PyDict_SetItemString(d
,"MM_TEXT", SWIG_PyObj_FromInt((int)wxMM_TEXT
));
41091 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_PyObj_FromInt((int)wxMM_LOMETRIC
));
41092 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_PyObj_FromInt((int)wxMM_HIMETRIC
));
41093 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_PyObj_FromInt((int)wxMM_LOENGLISH
));
41094 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_PyObj_FromInt((int)wxMM_HIENGLISH
));
41095 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_PyObj_FromInt((int)wxMM_TWIPS
));
41096 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_PyObj_FromInt((int)wxMM_ISOTROPIC
));
41097 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_PyObj_FromInt((int)wxMM_ANISOTROPIC
));
41098 PyDict_SetItemString(d
,"MM_POINTS", SWIG_PyObj_FromInt((int)wxMM_POINTS
));
41099 PyDict_SetItemString(d
,"MM_METRIC", SWIG_PyObj_FromInt((int)wxMM_METRIC
));
41100 PyDict_SetItemString(d
,"CENTRE", SWIG_PyObj_FromInt((int)wxCENTRE
));
41101 PyDict_SetItemString(d
,"CENTER", SWIG_PyObj_FromInt((int)wxCENTER
));
41102 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_PyObj_FromInt((int)wxHORIZONTAL
));
41103 PyDict_SetItemString(d
,"VERTICAL", SWIG_PyObj_FromInt((int)wxVERTICAL
));
41104 PyDict_SetItemString(d
,"BOTH", SWIG_PyObj_FromInt((int)wxBOTH
));
41105 PyDict_SetItemString(d
,"LEFT", SWIG_PyObj_FromInt((int)wxLEFT
));
41106 PyDict_SetItemString(d
,"RIGHT", SWIG_PyObj_FromInt((int)wxRIGHT
));
41107 PyDict_SetItemString(d
,"UP", SWIG_PyObj_FromInt((int)wxUP
));
41108 PyDict_SetItemString(d
,"DOWN", SWIG_PyObj_FromInt((int)wxDOWN
));
41109 PyDict_SetItemString(d
,"TOP", SWIG_PyObj_FromInt((int)wxTOP
));
41110 PyDict_SetItemString(d
,"BOTTOM", SWIG_PyObj_FromInt((int)wxBOTTOM
));
41111 PyDict_SetItemString(d
,"NORTH", SWIG_PyObj_FromInt((int)wxNORTH
));
41112 PyDict_SetItemString(d
,"SOUTH", SWIG_PyObj_FromInt((int)wxSOUTH
));
41113 PyDict_SetItemString(d
,"WEST", SWIG_PyObj_FromInt((int)wxWEST
));
41114 PyDict_SetItemString(d
,"EAST", SWIG_PyObj_FromInt((int)wxEAST
));
41115 PyDict_SetItemString(d
,"ALL", SWIG_PyObj_FromInt((int)wxALL
));
41116 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_PyObj_FromInt((int)wxALIGN_NOT
));
41117 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
41118 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
41119 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxALIGN_LEFT
));
41120 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_PyObj_FromInt((int)wxALIGN_TOP
));
41121 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_PyObj_FromInt((int)wxALIGN_RIGHT
));
41122 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_PyObj_FromInt((int)wxALIGN_BOTTOM
));
41123 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTER_VERTICAL
));
41124 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
41125 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_PyObj_FromInt((int)wxALIGN_CENTER
));
41126 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE
));
41127 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_PyObj_FromInt((int)wxALIGN_MASK
));
41128 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_PyObj_FromInt((int)wxSTRETCH_NOT
));
41129 PyDict_SetItemString(d
,"SHRINK", SWIG_PyObj_FromInt((int)wxSHRINK
));
41130 PyDict_SetItemString(d
,"GROW", SWIG_PyObj_FromInt((int)wxGROW
));
41131 PyDict_SetItemString(d
,"EXPAND", SWIG_PyObj_FromInt((int)wxEXPAND
));
41132 PyDict_SetItemString(d
,"SHAPED", SWIG_PyObj_FromInt((int)wxSHAPED
));
41133 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_PyObj_FromInt((int)wxADJUST_MINSIZE
));
41134 PyDict_SetItemString(d
,"TILE", SWIG_PyObj_FromInt((int)wxTILE
));
41135 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_PyObj_FromInt((int)wxBORDER_DEFAULT
));
41136 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_PyObj_FromInt((int)wxBORDER_NONE
));
41137 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_PyObj_FromInt((int)wxBORDER_STATIC
));
41138 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_PyObj_FromInt((int)wxBORDER_SIMPLE
));
41139 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_PyObj_FromInt((int)wxBORDER_RAISED
));
41140 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_PyObj_FromInt((int)wxBORDER_SUNKEN
));
41141 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_PyObj_FromInt((int)wxBORDER_DOUBLE
));
41142 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_PyObj_FromInt((int)wxBORDER_MASK
));
41143 PyDict_SetItemString(d
,"DEFAULT", SWIG_PyObj_FromInt((int)wxDEFAULT
));
41144 PyDict_SetItemString(d
,"DECORATIVE", SWIG_PyObj_FromInt((int)wxDECORATIVE
));
41145 PyDict_SetItemString(d
,"ROMAN", SWIG_PyObj_FromInt((int)wxROMAN
));
41146 PyDict_SetItemString(d
,"SCRIPT", SWIG_PyObj_FromInt((int)wxSCRIPT
));
41147 PyDict_SetItemString(d
,"SWISS", SWIG_PyObj_FromInt((int)wxSWISS
));
41148 PyDict_SetItemString(d
,"MODERN", SWIG_PyObj_FromInt((int)wxMODERN
));
41149 PyDict_SetItemString(d
,"TELETYPE", SWIG_PyObj_FromInt((int)wxTELETYPE
));
41150 PyDict_SetItemString(d
,"VARIABLE", SWIG_PyObj_FromInt((int)wxVARIABLE
));
41151 PyDict_SetItemString(d
,"FIXED", SWIG_PyObj_FromInt((int)wxFIXED
));
41152 PyDict_SetItemString(d
,"NORMAL", SWIG_PyObj_FromInt((int)wxNORMAL
));
41153 PyDict_SetItemString(d
,"LIGHT", SWIG_PyObj_FromInt((int)wxLIGHT
));
41154 PyDict_SetItemString(d
,"BOLD", SWIG_PyObj_FromInt((int)wxBOLD
));
41155 PyDict_SetItemString(d
,"ITALIC", SWIG_PyObj_FromInt((int)wxITALIC
));
41156 PyDict_SetItemString(d
,"SLANT", SWIG_PyObj_FromInt((int)wxSLANT
));
41157 PyDict_SetItemString(d
,"SOLID", SWIG_PyObj_FromInt((int)wxSOLID
));
41158 PyDict_SetItemString(d
,"DOT", SWIG_PyObj_FromInt((int)wxDOT
));
41159 PyDict_SetItemString(d
,"LONG_DASH", SWIG_PyObj_FromInt((int)wxLONG_DASH
));
41160 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_PyObj_FromInt((int)wxSHORT_DASH
));
41161 PyDict_SetItemString(d
,"DOT_DASH", SWIG_PyObj_FromInt((int)wxDOT_DASH
));
41162 PyDict_SetItemString(d
,"USER_DASH", SWIG_PyObj_FromInt((int)wxUSER_DASH
));
41163 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_PyObj_FromInt((int)wxTRANSPARENT
));
41164 PyDict_SetItemString(d
,"STIPPLE", SWIG_PyObj_FromInt((int)wxSTIPPLE
));
41165 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_PyObj_FromInt((int)wxBDIAGONAL_HATCH
));
41166 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_PyObj_FromInt((int)wxCROSSDIAG_HATCH
));
41167 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_PyObj_FromInt((int)wxFDIAGONAL_HATCH
));
41168 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_PyObj_FromInt((int)wxCROSS_HATCH
));
41169 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_PyObj_FromInt((int)wxHORIZONTAL_HATCH
));
41170 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_PyObj_FromInt((int)wxVERTICAL_HATCH
));
41171 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_PyObj_FromInt((int)wxJOIN_BEVEL
));
41172 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_PyObj_FromInt((int)wxJOIN_MITER
));
41173 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_PyObj_FromInt((int)wxJOIN_ROUND
));
41174 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_PyObj_FromInt((int)wxCAP_ROUND
));
41175 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_PyObj_FromInt((int)wxCAP_PROJECTING
));
41176 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_PyObj_FromInt((int)wxCAP_BUTT
));
41177 PyDict_SetItemString(d
,"CLEAR", SWIG_PyObj_FromInt((int)wxCLEAR
));
41178 PyDict_SetItemString(d
,"XOR", SWIG_PyObj_FromInt((int)wxXOR
));
41179 PyDict_SetItemString(d
,"INVERT", SWIG_PyObj_FromInt((int)wxINVERT
));
41180 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_PyObj_FromInt((int)wxOR_REVERSE
));
41181 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_PyObj_FromInt((int)wxAND_REVERSE
));
41182 PyDict_SetItemString(d
,"COPY", SWIG_PyObj_FromInt((int)wxCOPY
));
41183 PyDict_SetItemString(d
,"AND", SWIG_PyObj_FromInt((int)wxAND
));
41184 PyDict_SetItemString(d
,"AND_INVERT", SWIG_PyObj_FromInt((int)wxAND_INVERT
));
41185 PyDict_SetItemString(d
,"NO_OP", SWIG_PyObj_FromInt((int)wxNO_OP
));
41186 PyDict_SetItemString(d
,"NOR", SWIG_PyObj_FromInt((int)wxNOR
));
41187 PyDict_SetItemString(d
,"EQUIV", SWIG_PyObj_FromInt((int)wxEQUIV
));
41188 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_PyObj_FromInt((int)wxSRC_INVERT
));
41189 PyDict_SetItemString(d
,"OR_INVERT", SWIG_PyObj_FromInt((int)wxOR_INVERT
));
41190 PyDict_SetItemString(d
,"NAND", SWIG_PyObj_FromInt((int)wxNAND
));
41191 PyDict_SetItemString(d
,"OR", SWIG_PyObj_FromInt((int)wxOR
));
41192 PyDict_SetItemString(d
,"SET", SWIG_PyObj_FromInt((int)wxSET
));
41193 PyDict_SetItemString(d
,"WXK_BACK", SWIG_PyObj_FromInt((int)WXK_BACK
));
41194 PyDict_SetItemString(d
,"WXK_TAB", SWIG_PyObj_FromInt((int)WXK_TAB
));
41195 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_PyObj_FromInt((int)WXK_RETURN
));
41196 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_PyObj_FromInt((int)WXK_ESCAPE
));
41197 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_PyObj_FromInt((int)WXK_SPACE
));
41198 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_PyObj_FromInt((int)WXK_DELETE
));
41199 PyDict_SetItemString(d
,"WXK_START", SWIG_PyObj_FromInt((int)WXK_START
));
41200 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_PyObj_FromInt((int)WXK_LBUTTON
));
41201 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_PyObj_FromInt((int)WXK_RBUTTON
));
41202 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_PyObj_FromInt((int)WXK_CANCEL
));
41203 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_PyObj_FromInt((int)WXK_MBUTTON
));
41204 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_PyObj_FromInt((int)WXK_CLEAR
));
41205 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_PyObj_FromInt((int)WXK_SHIFT
));
41206 PyDict_SetItemString(d
,"WXK_ALT", SWIG_PyObj_FromInt((int)WXK_ALT
));
41207 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_PyObj_FromInt((int)WXK_CONTROL
));
41208 PyDict_SetItemString(d
,"WXK_MENU", SWIG_PyObj_FromInt((int)WXK_MENU
));
41209 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_PyObj_FromInt((int)WXK_PAUSE
));
41210 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_PyObj_FromInt((int)WXK_CAPITAL
));
41211 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_PyObj_FromInt((int)WXK_PRIOR
));
41212 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_PyObj_FromInt((int)WXK_NEXT
));
41213 PyDict_SetItemString(d
,"WXK_END", SWIG_PyObj_FromInt((int)WXK_END
));
41214 PyDict_SetItemString(d
,"WXK_HOME", SWIG_PyObj_FromInt((int)WXK_HOME
));
41215 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_PyObj_FromInt((int)WXK_LEFT
));
41216 PyDict_SetItemString(d
,"WXK_UP", SWIG_PyObj_FromInt((int)WXK_UP
));
41217 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_PyObj_FromInt((int)WXK_RIGHT
));
41218 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_PyObj_FromInt((int)WXK_DOWN
));
41219 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_PyObj_FromInt((int)WXK_SELECT
));
41220 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_PyObj_FromInt((int)WXK_PRINT
));
41221 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_PyObj_FromInt((int)WXK_EXECUTE
));
41222 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_PyObj_FromInt((int)WXK_SNAPSHOT
));
41223 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_PyObj_FromInt((int)WXK_INSERT
));
41224 PyDict_SetItemString(d
,"WXK_HELP", SWIG_PyObj_FromInt((int)WXK_HELP
));
41225 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_PyObj_FromInt((int)WXK_NUMPAD0
));
41226 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_PyObj_FromInt((int)WXK_NUMPAD1
));
41227 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_PyObj_FromInt((int)WXK_NUMPAD2
));
41228 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_PyObj_FromInt((int)WXK_NUMPAD3
));
41229 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_PyObj_FromInt((int)WXK_NUMPAD4
));
41230 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_PyObj_FromInt((int)WXK_NUMPAD5
));
41231 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_PyObj_FromInt((int)WXK_NUMPAD6
));
41232 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_PyObj_FromInt((int)WXK_NUMPAD7
));
41233 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_PyObj_FromInt((int)WXK_NUMPAD8
));
41234 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_PyObj_FromInt((int)WXK_NUMPAD9
));
41235 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_PyObj_FromInt((int)WXK_MULTIPLY
));
41236 PyDict_SetItemString(d
,"WXK_ADD", SWIG_PyObj_FromInt((int)WXK_ADD
));
41237 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_PyObj_FromInt((int)WXK_SEPARATOR
));
41238 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_PyObj_FromInt((int)WXK_SUBTRACT
));
41239 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_PyObj_FromInt((int)WXK_DECIMAL
));
41240 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_PyObj_FromInt((int)WXK_DIVIDE
));
41241 PyDict_SetItemString(d
,"WXK_F1", SWIG_PyObj_FromInt((int)WXK_F1
));
41242 PyDict_SetItemString(d
,"WXK_F2", SWIG_PyObj_FromInt((int)WXK_F2
));
41243 PyDict_SetItemString(d
,"WXK_F3", SWIG_PyObj_FromInt((int)WXK_F3
));
41244 PyDict_SetItemString(d
,"WXK_F4", SWIG_PyObj_FromInt((int)WXK_F4
));
41245 PyDict_SetItemString(d
,"WXK_F5", SWIG_PyObj_FromInt((int)WXK_F5
));
41246 PyDict_SetItemString(d
,"WXK_F6", SWIG_PyObj_FromInt((int)WXK_F6
));
41247 PyDict_SetItemString(d
,"WXK_F7", SWIG_PyObj_FromInt((int)WXK_F7
));
41248 PyDict_SetItemString(d
,"WXK_F8", SWIG_PyObj_FromInt((int)WXK_F8
));
41249 PyDict_SetItemString(d
,"WXK_F9", SWIG_PyObj_FromInt((int)WXK_F9
));
41250 PyDict_SetItemString(d
,"WXK_F10", SWIG_PyObj_FromInt((int)WXK_F10
));
41251 PyDict_SetItemString(d
,"WXK_F11", SWIG_PyObj_FromInt((int)WXK_F11
));
41252 PyDict_SetItemString(d
,"WXK_F12", SWIG_PyObj_FromInt((int)WXK_F12
));
41253 PyDict_SetItemString(d
,"WXK_F13", SWIG_PyObj_FromInt((int)WXK_F13
));
41254 PyDict_SetItemString(d
,"WXK_F14", SWIG_PyObj_FromInt((int)WXK_F14
));
41255 PyDict_SetItemString(d
,"WXK_F15", SWIG_PyObj_FromInt((int)WXK_F15
));
41256 PyDict_SetItemString(d
,"WXK_F16", SWIG_PyObj_FromInt((int)WXK_F16
));
41257 PyDict_SetItemString(d
,"WXK_F17", SWIG_PyObj_FromInt((int)WXK_F17
));
41258 PyDict_SetItemString(d
,"WXK_F18", SWIG_PyObj_FromInt((int)WXK_F18
));
41259 PyDict_SetItemString(d
,"WXK_F19", SWIG_PyObj_FromInt((int)WXK_F19
));
41260 PyDict_SetItemString(d
,"WXK_F20", SWIG_PyObj_FromInt((int)WXK_F20
));
41261 PyDict_SetItemString(d
,"WXK_F21", SWIG_PyObj_FromInt((int)WXK_F21
));
41262 PyDict_SetItemString(d
,"WXK_F22", SWIG_PyObj_FromInt((int)WXK_F22
));
41263 PyDict_SetItemString(d
,"WXK_F23", SWIG_PyObj_FromInt((int)WXK_F23
));
41264 PyDict_SetItemString(d
,"WXK_F24", SWIG_PyObj_FromInt((int)WXK_F24
));
41265 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_PyObj_FromInt((int)WXK_NUMLOCK
));
41266 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_PyObj_FromInt((int)WXK_SCROLL
));
41267 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_PyObj_FromInt((int)WXK_PAGEUP
));
41268 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_PyObj_FromInt((int)WXK_PAGEDOWN
));
41269 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SPACE
));
41270 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_PyObj_FromInt((int)WXK_NUMPAD_TAB
));
41271 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_PyObj_FromInt((int)WXK_NUMPAD_ENTER
));
41272 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F1
));
41273 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F2
));
41274 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F3
));
41275 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F4
));
41276 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_PyObj_FromInt((int)WXK_NUMPAD_HOME
));
41277 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_LEFT
));
41278 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_PyObj_FromInt((int)WXK_NUMPAD_UP
));
41279 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_RIGHT
));
41280 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DOWN
));
41281 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PRIOR
));
41282 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PAGEUP
));
41283 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_NEXT
));
41284 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
41285 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_PyObj_FromInt((int)WXK_NUMPAD_END
));
41286 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_BEGIN
));
41287 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_INSERT
));
41288 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DELETE
));
41289 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_PyObj_FromInt((int)WXK_NUMPAD_EQUAL
));
41290 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_PyObj_FromInt((int)WXK_NUMPAD_MULTIPLY
));
41291 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_PyObj_FromInt((int)WXK_NUMPAD_ADD
));
41292 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SEPARATOR
));
41293 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SUBTRACT
));
41294 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DECIMAL
));
41295 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DIVIDE
));
41296 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_PyObj_FromInt((int)WXK_WINDOWS_LEFT
));
41297 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_PyObj_FromInt((int)WXK_WINDOWS_RIGHT
));
41298 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_PyObj_FromInt((int)WXK_WINDOWS_MENU
));
41299 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_PyObj_FromInt((int)wxPAPER_NONE
));
41300 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_PyObj_FromInt((int)wxPAPER_LETTER
));
41301 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_PyObj_FromInt((int)wxPAPER_LEGAL
));
41302 PyDict_SetItemString(d
,"PAPER_A4", SWIG_PyObj_FromInt((int)wxPAPER_A4
));
41303 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_PyObj_FromInt((int)wxPAPER_CSHEET
));
41304 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_PyObj_FromInt((int)wxPAPER_DSHEET
));
41305 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_PyObj_FromInt((int)wxPAPER_ESHEET
));
41306 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_PyObj_FromInt((int)wxPAPER_LETTERSMALL
));
41307 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_PyObj_FromInt((int)wxPAPER_TABLOID
));
41308 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_PyObj_FromInt((int)wxPAPER_LEDGER
));
41309 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_PyObj_FromInt((int)wxPAPER_STATEMENT
));
41310 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_PyObj_FromInt((int)wxPAPER_EXECUTIVE
));
41311 PyDict_SetItemString(d
,"PAPER_A3", SWIG_PyObj_FromInt((int)wxPAPER_A3
));
41312 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_PyObj_FromInt((int)wxPAPER_A4SMALL
));
41313 PyDict_SetItemString(d
,"PAPER_A5", SWIG_PyObj_FromInt((int)wxPAPER_A5
));
41314 PyDict_SetItemString(d
,"PAPER_B4", SWIG_PyObj_FromInt((int)wxPAPER_B4
));
41315 PyDict_SetItemString(d
,"PAPER_B5", SWIG_PyObj_FromInt((int)wxPAPER_B5
));
41316 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_PyObj_FromInt((int)wxPAPER_FOLIO
));
41317 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_PyObj_FromInt((int)wxPAPER_QUARTO
));
41318 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_PyObj_FromInt((int)wxPAPER_10X14
));
41319 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_PyObj_FromInt((int)wxPAPER_11X17
));
41320 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_PyObj_FromInt((int)wxPAPER_NOTE
));
41321 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_PyObj_FromInt((int)wxPAPER_ENV_9
));
41322 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_PyObj_FromInt((int)wxPAPER_ENV_10
));
41323 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_PyObj_FromInt((int)wxPAPER_ENV_11
));
41324 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_PyObj_FromInt((int)wxPAPER_ENV_12
));
41325 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_PyObj_FromInt((int)wxPAPER_ENV_14
));
41326 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_PyObj_FromInt((int)wxPAPER_ENV_DL
));
41327 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C5
));
41328 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C3
));
41329 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C4
));
41330 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C6
));
41331 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C65
));
41332 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B4
));
41333 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B5
));
41334 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B6
));
41335 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_PyObj_FromInt((int)wxPAPER_ENV_ITALY
));
41336 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_PyObj_FromInt((int)wxPAPER_ENV_MONARCH
));
41337 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_PyObj_FromInt((int)wxPAPER_ENV_PERSONAL
));
41338 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_US
));
41339 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
41340 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
41341 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_PyObj_FromInt((int)wxPAPER_ISO_B4
));
41342 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_PyObj_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
41343 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_PyObj_FromInt((int)wxPAPER_9X11
));
41344 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_PyObj_FromInt((int)wxPAPER_10X11
));
41345 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_PyObj_FromInt((int)wxPAPER_15X11
));
41346 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_PyObj_FromInt((int)wxPAPER_ENV_INVITE
));
41347 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_EXTRA
));
41348 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_LEGAL_EXTRA
));
41349 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_TABLOID_EXTRA
));
41350 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A4_EXTRA
));
41351 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
41352 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A4_TRANSVERSE
));
41353 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
41354 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_A_PLUS
));
41355 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_B_PLUS
));
41356 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_PLUS
));
41357 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_A4_PLUS
));
41358 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A5_TRANSVERSE
));
41359 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_B5_TRANSVERSE
));
41360 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A3_EXTRA
));
41361 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A5_EXTRA
));
41362 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_B5_EXTRA
));
41363 PyDict_SetItemString(d
,"PAPER_A2", SWIG_PyObj_FromInt((int)wxPAPER_A2
));
41364 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A3_TRANSVERSE
));
41365 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
41366 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_PyObj_FromInt((int)wxDUPLEX_SIMPLEX
));
41367 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_PyObj_FromInt((int)wxDUPLEX_HORIZONTAL
));
41368 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_PyObj_FromInt((int)wxDUPLEX_VERTICAL
));
41369 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_PyObj_FromInt((int)wxITEM_SEPARATOR
));
41370 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_PyObj_FromInt((int)wxITEM_NORMAL
));
41371 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_PyObj_FromInt((int)wxITEM_CHECK
));
41372 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_PyObj_FromInt((int)wxITEM_RADIO
));
41373 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_PyObj_FromInt((int)wxITEM_MAX
));
41374 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_PyObj_FromInt((int)wxHT_NOWHERE
));
41375 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_FIRST
));
41376 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
41377 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
41378 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
41379 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
41380 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_THUMB
));
41381 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
41382 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
41383 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_LAST
));
41384 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_PyObj_FromInt((int)wxHT_WINDOW_OUTSIDE
));
41385 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_PyObj_FromInt((int)wxHT_WINDOW_INSIDE
));
41386 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_PyObj_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
41387 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_PyObj_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
41388 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_PyObj_FromInt((int)wxHT_WINDOW_CORNER
));
41389 PyDict_SetItemString(d
,"HT_MAX", SWIG_PyObj_FromInt((int)wxHT_MAX
));
41390 PyDict_SetItemString(d
,"MOD_NONE", SWIG_PyObj_FromInt((int)wxMOD_NONE
));
41391 PyDict_SetItemString(d
,"MOD_ALT", SWIG_PyObj_FromInt((int)wxMOD_ALT
));
41392 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_PyObj_FromInt((int)wxMOD_CONTROL
));
41393 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_PyObj_FromInt((int)wxMOD_SHIFT
));
41394 PyDict_SetItemString(d
,"MOD_WIN", SWIG_PyObj_FromInt((int)wxMOD_WIN
));
41395 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_NONE
));
41396 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_RECURSE
));
41397 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_FROMIDLE
));
41398 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
41399 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
41400 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_INVALID
));
41401 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_BMP
));
41402 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ICO
));
41403 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_CUR
));
41404 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XBM
));
41405 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
41406 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XPM
));
41407 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
41408 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_TIF
));
41409 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_GIF
));
41410 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PNG
));
41411 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_JPEG
));
41412 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PNM
));
41413 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PCX
));
41414 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PICT
));
41415 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ICON
));
41416 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ANI
));
41417 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_IFF
));
41418 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
41419 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ANY
));
41420 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_PyObj_FromInt((int)wxCURSOR_NONE
));
41421 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_ARROW
));
41422 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_RIGHT_ARROW
));
41423 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_PyObj_FromInt((int)wxCURSOR_BULLSEYE
));
41424 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_PyObj_FromInt((int)wxCURSOR_CHAR
));
41425 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_PyObj_FromInt((int)wxCURSOR_CROSS
));
41426 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_PyObj_FromInt((int)wxCURSOR_HAND
));
41427 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_PyObj_FromInt((int)wxCURSOR_IBEAM
));
41428 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_LEFT_BUTTON
));
41429 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_PyObj_FromInt((int)wxCURSOR_MAGNIFIER
));
41430 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
41431 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_PyObj_FromInt((int)wxCURSOR_NO_ENTRY
));
41432 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_PyObj_FromInt((int)wxCURSOR_PAINT_BRUSH
));
41433 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_PyObj_FromInt((int)wxCURSOR_PENCIL
));
41434 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_PyObj_FromInt((int)wxCURSOR_POINT_LEFT
));
41435 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_PyObj_FromInt((int)wxCURSOR_POINT_RIGHT
));
41436 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_QUESTION_ARROW
));
41437 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
41438 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENESW
));
41439 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENS
));
41440 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENWSE
));
41441 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_PyObj_FromInt((int)wxCURSOR_SIZEWE
));
41442 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_PyObj_FromInt((int)wxCURSOR_SIZING
));
41443 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_PyObj_FromInt((int)wxCURSOR_SPRAYCAN
));
41444 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_PyObj_FromInt((int)wxCURSOR_WAIT
));
41445 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_PyObj_FromInt((int)wxCURSOR_WATCH
));
41446 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_PyObj_FromInt((int)wxCURSOR_BLANK
));
41447 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_PyObj_FromInt((int)wxCURSOR_DEFAULT
));
41448 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_COPY_ARROW
));
41449 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_PyObj_FromInt((int)wxCURSOR_ARROWWAIT
));
41450 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_PyObj_FromInt((int)wxCURSOR_MAX
));
41451 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
41452 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
41453 PyDict_SetItemString(d
,"FromStart", SWIG_PyObj_FromInt((int)wxFromStart
));
41454 PyDict_SetItemString(d
,"FromCurrent", SWIG_PyObj_FromInt((int)wxFromCurrent
));
41455 PyDict_SetItemString(d
,"FromEnd", SWIG_PyObj_FromInt((int)wxFromEnd
));
41457 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
41460 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
41462 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
41463 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
41464 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
41465 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
41466 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
41467 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
41468 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_PyObj_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
41469 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_PyObj_FromInt((int)wxIMAGE_RESOLUTION_CM
));
41470 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_PyObj_FromInt((int)wxBMP_24BPP
));
41471 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_PyObj_FromInt((int)wxBMP_8BPP
));
41472 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_PyObj_FromInt((int)wxBMP_8BPP_GREY
));
41473 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_PyObj_FromInt((int)wxBMP_8BPP_GRAY
));
41474 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_PyObj_FromInt((int)wxBMP_8BPP_RED
));
41475 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_PyObj_FromInt((int)wxBMP_8BPP_PALETTE
));
41476 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_PyObj_FromInt((int)wxBMP_4BPP
));
41477 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_PyObj_FromInt((int)wxBMP_1BPP
));
41478 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_PyObj_FromInt((int)wxBMP_1BPP_BW
));
41479 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_PyObj_FromInt((int)wxEVENT_PROPAGATE_NONE
));
41480 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_PyObj_FromInt((int)wxEVENT_PROPAGATE_MAX
));
41481 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
41482 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
41483 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
41484 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
41485 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
41486 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
41487 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
41488 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
41489 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
41490 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
41491 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
41492 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
41493 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
41494 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
41495 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
41496 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
41497 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
41498 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
41499 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
41500 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
41501 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
41502 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
41503 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
41504 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
41505 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
41506 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
41507 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
41508 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
41509 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
41510 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
41511 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
41512 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
41513 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
41514 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
41515 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
41516 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
41517 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
41518 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
41519 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
41520 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
41521 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
41522 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
41523 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
41524 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
41525 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
41526 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
41527 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
41528 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
41529 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
41530 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
41531 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
41532 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
41533 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
41534 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
41535 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
41536 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
41537 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
41538 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
41539 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
41540 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
41541 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
41542 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
41543 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
41544 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
41545 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
41546 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
41547 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
41548 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
41549 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
41550 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
41551 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
41552 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
41553 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
41554 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
41555 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
41556 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
41557 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
41558 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
41559 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
41560 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
41561 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
41562 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
41563 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
41564 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
41565 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
41566 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
41567 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
41568 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
41569 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
41570 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
41571 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
41572 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
41573 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
41574 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
41575 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
41576 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
41577 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
41578 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
41579 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
41580 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
41581 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
41582 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
41583 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
41584 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
41585 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
41586 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
41587 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
41588 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
41589 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
41590 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
41591 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
41592 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
41593 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
41594 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
41595 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_ANY
));
41596 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_NONE
));
41597 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_LEFT
));
41598 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_MIDDLE
));
41599 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_RIGHT
));
41600 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_PyObj_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
41601 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_PyObj_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
41602 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_PyObj_FromInt((int)wxIDLE_PROCESS_ALL
));
41603 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_PyObj_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
41604 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
41605 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
41606 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
41607 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_LOG
));
41608 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_PyObj_FromInt((int)wxPRINT_WINDOWS
));
41609 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_PyObj_FromInt((int)wxPRINT_POSTSCRIPT
));
41610 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
41611 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
41612 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
41613 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
41614 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_NONE
));
41615 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
41616 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_ALL
));
41617 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
41618 PyDict_SetItemString(d
,"Left", SWIG_PyObj_FromInt((int)wxLeft
));
41619 PyDict_SetItemString(d
,"Top", SWIG_PyObj_FromInt((int)wxTop
));
41620 PyDict_SetItemString(d
,"Right", SWIG_PyObj_FromInt((int)wxRight
));
41621 PyDict_SetItemString(d
,"Bottom", SWIG_PyObj_FromInt((int)wxBottom
));
41622 PyDict_SetItemString(d
,"Width", SWIG_PyObj_FromInt((int)wxWidth
));
41623 PyDict_SetItemString(d
,"Height", SWIG_PyObj_FromInt((int)wxHeight
));
41624 PyDict_SetItemString(d
,"Centre", SWIG_PyObj_FromInt((int)wxCentre
));
41625 PyDict_SetItemString(d
,"Center", SWIG_PyObj_FromInt((int)wxCenter
));
41626 PyDict_SetItemString(d
,"CentreX", SWIG_PyObj_FromInt((int)wxCentreX
));
41627 PyDict_SetItemString(d
,"CentreY", SWIG_PyObj_FromInt((int)wxCentreY
));
41628 PyDict_SetItemString(d
,"Unconstrained", SWIG_PyObj_FromInt((int)wxUnconstrained
));
41629 PyDict_SetItemString(d
,"AsIs", SWIG_PyObj_FromInt((int)wxAsIs
));
41630 PyDict_SetItemString(d
,"PercentOf", SWIG_PyObj_FromInt((int)wxPercentOf
));
41631 PyDict_SetItemString(d
,"Above", SWIG_PyObj_FromInt((int)wxAbove
));
41632 PyDict_SetItemString(d
,"Below", SWIG_PyObj_FromInt((int)wxBelow
));
41633 PyDict_SetItemString(d
,"LeftOf", SWIG_PyObj_FromInt((int)wxLeftOf
));
41634 PyDict_SetItemString(d
,"RightOf", SWIG_PyObj_FromInt((int)wxRightOf
));
41635 PyDict_SetItemString(d
,"SameAs", SWIG_PyObj_FromInt((int)wxSameAs
));
41636 PyDict_SetItemString(d
,"Absolute", SWIG_PyObj_FromInt((int)wxAbsolute
));
41638 // Initialize threading, some globals and such
41642 // Although these are defined in __version__ they need to be here too so
41643 // that an assert can be done to ensure that the wxPython and the wxWindows
41645 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
41646 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
41647 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));