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 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1436 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1437 wxPyBeginBlockThreads();
1438 PyObject
* tup
= PyTuple_New(2);
1439 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1440 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1441 wxPyEndBlockThreads();
1444 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1445 self
->SetRowspan(rowspan
);
1446 self
->SetColspan(colspan
);
1448 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1449 wxPyBeginBlockThreads();
1450 PyObject
* tup
= PyTuple_New(2);
1451 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1452 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1453 wxPyEndBlockThreads();
1456 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1458 wxPyUserData
* data
= NULL
;
1459 wxPyBeginBlockThreads();
1460 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1461 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1462 data
= new wxPyUserData(userData
);
1463 wxPyEndBlockThreads();
1465 // Now call the real Add method if a valid item type was found
1467 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1468 else if ( info
.sizer
)
1469 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1470 else if (info
.gotSize
)
1471 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1472 pos
, span
, flag
, border
, data
);
1480 static int _wrap_EmptyString_set(PyObject
*) {
1481 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1486 static PyObject
*_wrap_EmptyString_get() {
1491 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1493 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1500 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
*resultobj
;
1502 wxObject
*arg1
= (wxObject
*) 0 ;
1504 PyObject
* obj0
= 0 ;
1506 (char *) "self", NULL
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 result
= wxObject_GetClassName(arg1
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) SWIG_fail
;
1520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1531 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
*resultobj
;
1533 wxObject
*arg1
= (wxObject
*) 0 ;
1534 PyObject
* obj0
= 0 ;
1536 (char *) "self", NULL
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1543 wxObject_Destroy(arg1
);
1545 wxPyEndAllowThreads(__tstate
);
1546 if (PyErr_Occurred()) SWIG_fail
;
1548 Py_INCREF(Py_None
); resultobj
= Py_None
;
1555 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1558 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1560 return Py_BuildValue((char *)"");
1562 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
*resultobj
;
1564 wxSize
*arg1
= (wxSize
*) 0 ;
1566 PyObject
* obj0
= 0 ;
1567 PyObject
* obj1
= 0 ;
1569 (char *) "self",(char *) "x", NULL
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1575 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1576 if (PyErr_Occurred()) SWIG_fail
;
1578 if (arg1
) (arg1
)->x
= arg2
;
1580 Py_INCREF(Py_None
); resultobj
= Py_None
;
1587 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxSize
*arg1
= (wxSize
*) 0 ;
1591 PyObject
* obj0
= 0 ;
1593 (char *) "self", NULL
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1598 result
= (int) ((arg1
)->x
);
1600 resultobj
= SWIG_PyObj_FromInt((int)result
);
1607 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
*resultobj
;
1609 wxSize
*arg1
= (wxSize
*) 0 ;
1611 PyObject
* obj0
= 0 ;
1612 PyObject
* obj1
= 0 ;
1614 (char *) "self",(char *) "y", NULL
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1620 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1621 if (PyErr_Occurred()) SWIG_fail
;
1623 if (arg1
) (arg1
)->y
= arg2
;
1625 Py_INCREF(Py_None
); resultobj
= Py_None
;
1632 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
*resultobj
;
1634 wxSize
*arg1
= (wxSize
*) 0 ;
1636 PyObject
* obj0
= 0 ;
1638 (char *) "self", NULL
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1643 result
= (int) ((arg1
)->y
);
1645 resultobj
= SWIG_PyObj_FromInt((int)result
);
1652 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
*resultobj
;
1654 int arg1
= (int) 0 ;
1655 int arg2
= (int) 0 ;
1657 PyObject
* obj0
= 0 ;
1658 PyObject
* obj1
= 0 ;
1660 (char *) "w",(char *) "h", NULL
1663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1666 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1667 if (PyErr_Occurred()) SWIG_fail
;
1672 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1673 if (PyErr_Occurred()) SWIG_fail
;
1677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1678 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1680 wxPyEndAllowThreads(__tstate
);
1681 if (PyErr_Occurred()) SWIG_fail
;
1683 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1690 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
*resultobj
;
1692 wxSize
*arg1
= (wxSize
*) 0 ;
1693 PyObject
* obj0
= 0 ;
1695 (char *) "self", NULL
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 wxPyEndAllowThreads(__tstate
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1707 Py_INCREF(Py_None
); resultobj
= Py_None
;
1714 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
*resultobj
;
1716 wxSize
*arg1
= (wxSize
*) 0 ;
1720 PyObject
* obj0
= 0 ;
1721 PyObject
* obj1
= 0 ;
1723 (char *) "self",(char *) "sz", NULL
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1730 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) SWIG_fail
;
1739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1746 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
*resultobj
;
1748 wxSize
*arg1
= (wxSize
*) 0 ;
1752 PyObject
* obj0
= 0 ;
1753 PyObject
* obj1
= 0 ;
1755 (char *) "self",(char *) "sz", NULL
1758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1762 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1766 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
1768 wxPyEndAllowThreads(__tstate
);
1769 if (PyErr_Occurred()) SWIG_fail
;
1771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1778 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
*resultobj
;
1780 wxSize
*arg1
= (wxSize
*) 0 ;
1784 PyObject
* obj0
= 0 ;
1785 PyObject
* obj1
= 0 ;
1787 (char *) "self",(char *) "sz", NULL
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1794 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1798 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1800 wxPyEndAllowThreads(__tstate
);
1801 if (PyErr_Occurred()) SWIG_fail
;
1805 resultptr
= new wxSize((wxSize
&) result
);
1806 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1814 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
*resultobj
;
1816 wxSize
*arg1
= (wxSize
*) 0 ;
1820 PyObject
* obj0
= 0 ;
1821 PyObject
* obj1
= 0 ;
1823 (char *) "self",(char *) "sz", NULL
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1830 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1841 resultptr
= new wxSize((wxSize
&) result
);
1842 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1850 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
*resultobj
;
1852 wxSize
*arg1
= (wxSize
*) 0 ;
1855 PyObject
* obj0
= 0 ;
1856 PyObject
* obj1
= 0 ;
1858 (char *) "self",(char *) "sz", NULL
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1865 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 (arg1
)->IncTo((wxSize
const &)*arg2
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) SWIG_fail
;
1874 Py_INCREF(Py_None
); resultobj
= Py_None
;
1881 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
*resultobj
;
1883 wxSize
*arg1
= (wxSize
*) 0 ;
1886 PyObject
* obj0
= 0 ;
1887 PyObject
* obj1
= 0 ;
1889 (char *) "self",(char *) "sz", NULL
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1896 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 (arg1
)->DecTo((wxSize
const &)*arg2
);
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) SWIG_fail
;
1905 Py_INCREF(Py_None
); resultobj
= Py_None
;
1912 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
*resultobj
;
1914 wxSize
*arg1
= (wxSize
*) 0 ;
1917 PyObject
* obj0
= 0 ;
1918 PyObject
* obj1
= 0 ;
1919 PyObject
* obj2
= 0 ;
1921 (char *) "self",(char *) "w",(char *) "h", NULL
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1927 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1928 if (PyErr_Occurred()) SWIG_fail
;
1931 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1932 if (PyErr_Occurred()) SWIG_fail
;
1935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1936 (arg1
)->Set(arg2
,arg3
);
1938 wxPyEndAllowThreads(__tstate
);
1939 if (PyErr_Occurred()) SWIG_fail
;
1941 Py_INCREF(Py_None
); resultobj
= Py_None
;
1948 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
*resultobj
;
1950 wxSize
*arg1
= (wxSize
*) 0 ;
1952 PyObject
* obj0
= 0 ;
1953 PyObject
* obj1
= 0 ;
1955 (char *) "self",(char *) "w", NULL
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1961 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 (arg1
)->SetWidth(arg2
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1971 Py_INCREF(Py_None
); resultobj
= Py_None
;
1978 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
*resultobj
;
1980 wxSize
*arg1
= (wxSize
*) 0 ;
1982 PyObject
* obj0
= 0 ;
1983 PyObject
* obj1
= 0 ;
1985 (char *) "self",(char *) "h", NULL
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
1989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1991 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1992 if (PyErr_Occurred()) SWIG_fail
;
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1996 (arg1
)->SetHeight(arg2
);
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2001 Py_INCREF(Py_None
); resultobj
= Py_None
;
2008 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
*resultobj
;
2010 wxSize
*arg1
= (wxSize
*) 0 ;
2012 PyObject
* obj0
= 0 ;
2014 (char *) "self", NULL
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2026 resultobj
= SWIG_PyObj_FromInt((int)result
);
2033 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
*resultobj
;
2035 wxSize
*arg1
= (wxSize
*) 0 ;
2037 PyObject
* obj0
= 0 ;
2039 (char *) "self", NULL
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) SWIG_fail
;
2051 resultobj
= SWIG_PyObj_FromInt((int)result
);
2058 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
*resultobj
;
2060 wxSize
*arg1
= (wxSize
*) 0 ;
2062 PyObject
* obj0
= 0 ;
2064 (char *) "self", NULL
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 result
= (PyObject
*)wxSize_Get(arg1
);
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) SWIG_fail
;
2083 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2086 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2088 return Py_BuildValue((char *)"");
2090 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
*resultobj
;
2092 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2094 PyObject
* obj0
= 0 ;
2095 PyObject
* obj1
= 0 ;
2097 (char *) "self",(char *) "x", NULL
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2103 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2104 if (PyErr_Occurred()) SWIG_fail
;
2106 if (arg1
) (arg1
)->x
= arg2
;
2108 Py_INCREF(Py_None
); resultobj
= Py_None
;
2115 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
*resultobj
;
2117 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2119 PyObject
* obj0
= 0 ;
2121 (char *) "self", NULL
2124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2126 result
= (double) ((arg1
)->x
);
2128 resultobj
= SWIG_PyObj_FromDouble((double)result
);
2135 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
*resultobj
;
2137 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2139 PyObject
* obj0
= 0 ;
2140 PyObject
* obj1
= 0 ;
2142 (char *) "self",(char *) "y", NULL
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2148 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2149 if (PyErr_Occurred()) SWIG_fail
;
2151 if (arg1
) (arg1
)->y
= arg2
;
2153 Py_INCREF(Py_None
); resultobj
= Py_None
;
2160 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
*resultobj
;
2162 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2164 PyObject
* obj0
= 0 ;
2166 (char *) "self", NULL
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2171 result
= (double) ((arg1
)->y
);
2173 resultobj
= SWIG_PyObj_FromDouble((double)result
);
2180 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
*resultobj
;
2182 double arg1
= (double) 0.0 ;
2183 double arg2
= (double) 0.0 ;
2184 wxRealPoint
*result
;
2185 PyObject
* obj0
= 0 ;
2186 PyObject
* obj1
= 0 ;
2188 (char *) "x",(char *) "y", NULL
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2194 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
2195 if (PyErr_Occurred()) SWIG_fail
;
2200 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2206 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2208 wxPyEndAllowThreads(__tstate
);
2209 if (PyErr_Occurred()) SWIG_fail
;
2211 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
2218 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2219 PyObject
*resultobj
;
2220 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2221 PyObject
* obj0
= 0 ;
2223 (char *) "self", NULL
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2235 Py_INCREF(Py_None
); resultobj
= Py_None
;
2242 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
*resultobj
;
2244 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2245 wxRealPoint
*arg2
= 0 ;
2248 PyObject
* obj0
= 0 ;
2249 PyObject
* obj1
= 0 ;
2251 (char *) "self",(char *) "pt", NULL
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2258 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2262 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2264 wxPyEndAllowThreads(__tstate
);
2265 if (PyErr_Occurred()) SWIG_fail
;
2267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2274 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
*resultobj
;
2276 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2277 wxRealPoint
*arg2
= 0 ;
2280 PyObject
* obj0
= 0 ;
2281 PyObject
* obj1
= 0 ;
2283 (char *) "self",(char *) "pt", NULL
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2290 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2294 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2296 wxPyEndAllowThreads(__tstate
);
2297 if (PyErr_Occurred()) SWIG_fail
;
2299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2306 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2307 PyObject
*resultobj
;
2308 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2309 wxRealPoint
*arg2
= 0 ;
2312 PyObject
* obj0
= 0 ;
2313 PyObject
* obj1
= 0 ;
2315 (char *) "self",(char *) "pt", NULL
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2322 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2332 wxRealPoint
* resultptr
;
2333 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2334 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2342 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
*resultobj
;
2344 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2345 wxRealPoint
*arg2
= 0 ;
2348 PyObject
* obj0
= 0 ;
2349 PyObject
* obj1
= 0 ;
2351 (char *) "self",(char *) "pt", NULL
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2358 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2362 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2364 wxPyEndAllowThreads(__tstate
);
2365 if (PyErr_Occurred()) SWIG_fail
;
2368 wxRealPoint
* resultptr
;
2369 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2370 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2378 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
*resultobj
;
2380 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2383 PyObject
* obj0
= 0 ;
2384 PyObject
* obj1
= 0 ;
2385 PyObject
* obj2
= 0 ;
2387 (char *) "self",(char *) "x",(char *) "y", NULL
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2393 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2394 if (PyErr_Occurred()) SWIG_fail
;
2397 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2398 if (PyErr_Occurred()) SWIG_fail
;
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 wxRealPoint_Set(arg1
,arg2
,arg3
);
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2407 Py_INCREF(Py_None
); resultobj
= Py_None
;
2414 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
*resultobj
;
2416 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2418 PyObject
* obj0
= 0 ;
2420 (char *) "self", NULL
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2429 wxPyEndAllowThreads(__tstate
);
2430 if (PyErr_Occurred()) SWIG_fail
;
2439 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2442 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2444 return Py_BuildValue((char *)"");
2446 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
*resultobj
;
2448 wxPoint
*arg1
= (wxPoint
*) 0 ;
2450 PyObject
* obj0
= 0 ;
2451 PyObject
* obj1
= 0 ;
2453 (char *) "self",(char *) "x", NULL
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2459 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2460 if (PyErr_Occurred()) SWIG_fail
;
2462 if (arg1
) (arg1
)->x
= arg2
;
2464 Py_INCREF(Py_None
); resultobj
= Py_None
;
2471 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
*resultobj
;
2473 wxPoint
*arg1
= (wxPoint
*) 0 ;
2475 PyObject
* obj0
= 0 ;
2477 (char *) "self", NULL
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2482 result
= (int) ((arg1
)->x
);
2484 resultobj
= SWIG_PyObj_FromInt((int)result
);
2491 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2493 wxPoint
*arg1
= (wxPoint
*) 0 ;
2495 PyObject
* obj0
= 0 ;
2496 PyObject
* obj1
= 0 ;
2498 (char *) "self",(char *) "y", NULL
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2504 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2505 if (PyErr_Occurred()) SWIG_fail
;
2507 if (arg1
) (arg1
)->y
= arg2
;
2509 Py_INCREF(Py_None
); resultobj
= Py_None
;
2516 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
*resultobj
;
2518 wxPoint
*arg1
= (wxPoint
*) 0 ;
2520 PyObject
* obj0
= 0 ;
2522 (char *) "self", NULL
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2527 result
= (int) ((arg1
)->y
);
2529 resultobj
= SWIG_PyObj_FromInt((int)result
);
2536 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 int arg1
= (int) 0 ;
2539 int arg2
= (int) 0 ;
2541 PyObject
* obj0
= 0 ;
2542 PyObject
* obj1
= 0 ;
2544 (char *) "x",(char *) "y", NULL
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2550 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2551 if (PyErr_Occurred()) SWIG_fail
;
2556 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2567 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2574 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
*resultobj
;
2576 wxPoint
*arg1
= (wxPoint
*) 0 ;
2577 PyObject
* obj0
= 0 ;
2579 (char *) "self", NULL
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 wxPyEndAllowThreads(__tstate
);
2589 if (PyErr_Occurred()) SWIG_fail
;
2591 Py_INCREF(Py_None
); resultobj
= Py_None
;
2598 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
*resultobj
;
2600 wxPoint
*arg1
= (wxPoint
*) 0 ;
2604 PyObject
* obj0
= 0 ;
2605 PyObject
* obj1
= 0 ;
2607 (char *) "self",(char *) "pt", NULL
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2614 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2630 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
*resultobj
;
2632 wxPoint
*arg1
= (wxPoint
*) 0 ;
2636 PyObject
* obj0
= 0 ;
2637 PyObject
* obj1
= 0 ;
2639 (char *) "self",(char *) "pt", NULL
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2646 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2662 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
*resultobj
;
2664 wxPoint
*arg1
= (wxPoint
*) 0 ;
2668 PyObject
* obj0
= 0 ;
2669 PyObject
* obj1
= 0 ;
2671 (char *) "self",(char *) "pt", NULL
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2678 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2688 wxPoint
* resultptr
;
2689 resultptr
= new wxPoint((wxPoint
&) result
);
2690 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2698 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
*resultobj
;
2700 wxPoint
*arg1
= (wxPoint
*) 0 ;
2704 PyObject
* obj0
= 0 ;
2705 PyObject
* obj1
= 0 ;
2707 (char *) "self",(char *) "pt", NULL
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2714 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2718 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2720 wxPyEndAllowThreads(__tstate
);
2721 if (PyErr_Occurred()) SWIG_fail
;
2724 wxPoint
* resultptr
;
2725 resultptr
= new wxPoint((wxPoint
&) result
);
2726 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2734 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
*resultobj
;
2736 wxPoint
*arg1
= (wxPoint
*) 0 ;
2740 PyObject
* obj0
= 0 ;
2741 PyObject
* obj1
= 0 ;
2743 (char *) "self",(char *) "pt", NULL
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2750 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2756 result
= (wxPoint
*) &_result_ref
;
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) SWIG_fail
;
2762 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2769 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
*resultobj
;
2771 wxPoint
*arg1
= (wxPoint
*) 0 ;
2775 PyObject
* obj0
= 0 ;
2776 PyObject
* obj1
= 0 ;
2778 (char *) "self",(char *) "pt", NULL
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2785 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2791 result
= (wxPoint
*) &_result_ref
;
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) SWIG_fail
;
2797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2804 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
*resultobj
;
2806 wxPoint
*arg1
= (wxPoint
*) 0 ;
2809 PyObject
* obj0
= 0 ;
2810 PyObject
* obj1
= 0 ;
2811 PyObject
* obj2
= 0 ;
2813 (char *) "self",(char *) "x",(char *) "y", NULL
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2819 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2823 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2828 wxPoint_Set(arg1
,arg2
,arg3
);
2830 wxPyEndAllowThreads(__tstate
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2833 Py_INCREF(Py_None
); resultobj
= Py_None
;
2840 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
*resultobj
;
2842 wxPoint
*arg1
= (wxPoint
*) 0 ;
2844 PyObject
* obj0
= 0 ;
2846 (char *) "self", NULL
2849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
2850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 result
= (PyObject
*)wxPoint_Get(arg1
);
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) SWIG_fail
;
2865 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2868 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2870 return Py_BuildValue((char *)"");
2872 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2873 PyObject
*resultobj
;
2874 int arg1
= (int) 0 ;
2875 int arg2
= (int) 0 ;
2876 int arg3
= (int) 0 ;
2877 int arg4
= (int) 0 ;
2879 PyObject
* obj0
= 0 ;
2880 PyObject
* obj1
= 0 ;
2881 PyObject
* obj2
= 0 ;
2882 PyObject
* obj3
= 0 ;
2884 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2890 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2896 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2902 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2908 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2914 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2916 wxPyEndAllowThreads(__tstate
);
2917 if (PyErr_Occurred()) SWIG_fail
;
2919 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2926 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
*resultobj
;
2933 PyObject
* obj0
= 0 ;
2934 PyObject
* obj1
= 0 ;
2936 (char *) "topLeft",(char *) "bottomRight", NULL
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2942 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2946 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2950 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2952 wxPyEndAllowThreads(__tstate
);
2953 if (PyErr_Occurred()) SWIG_fail
;
2955 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2962 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
*resultobj
;
2969 PyObject
* obj0
= 0 ;
2970 PyObject
* obj1
= 0 ;
2972 (char *) "pos",(char *) "size", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2978 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2982 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2991 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2998 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxRect
*arg1
= (wxRect
*) 0 ;
3001 PyObject
* obj0
= 0 ;
3003 (char *) "self", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 wxPyEndAllowThreads(__tstate
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3015 Py_INCREF(Py_None
); resultobj
= Py_None
;
3022 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
*resultobj
;
3024 wxRect
*arg1
= (wxRect
*) 0 ;
3026 PyObject
* obj0
= 0 ;
3028 (char *) "self", NULL
3031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 result
= (int)((wxRect
const *)arg1
)->GetX();
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) SWIG_fail
;
3040 resultobj
= SWIG_PyObj_FromInt((int)result
);
3047 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
*resultobj
;
3049 wxRect
*arg1
= (wxRect
*) 0 ;
3051 PyObject
* obj0
= 0 ;
3052 PyObject
* obj1
= 0 ;
3054 (char *) "self",(char *) "x", NULL
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3060 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3061 if (PyErr_Occurred()) SWIG_fail
;
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) SWIG_fail
;
3070 Py_INCREF(Py_None
); resultobj
= Py_None
;
3077 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
*resultobj
;
3079 wxRect
*arg1
= (wxRect
*) 0 ;
3081 PyObject
* obj0
= 0 ;
3083 (char *) "self", NULL
3086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3090 result
= (int)(arg1
)->GetY();
3092 wxPyEndAllowThreads(__tstate
);
3093 if (PyErr_Occurred()) SWIG_fail
;
3095 resultobj
= SWIG_PyObj_FromInt((int)result
);
3102 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
;
3104 wxRect
*arg1
= (wxRect
*) 0 ;
3106 PyObject
* obj0
= 0 ;
3107 PyObject
* obj1
= 0 ;
3109 (char *) "self",(char *) "y", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3115 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3125 Py_INCREF(Py_None
); resultobj
= Py_None
;
3132 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
*resultobj
;
3134 wxRect
*arg1
= (wxRect
*) 0 ;
3136 PyObject
* obj0
= 0 ;
3138 (char *) "self", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3145 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3147 wxPyEndAllowThreads(__tstate
);
3148 if (PyErr_Occurred()) SWIG_fail
;
3150 resultobj
= SWIG_PyObj_FromInt((int)result
);
3157 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
;
3159 wxRect
*arg1
= (wxRect
*) 0 ;
3161 PyObject
* obj0
= 0 ;
3162 PyObject
* obj1
= 0 ;
3164 (char *) "self",(char *) "w", NULL
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3170 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 (arg1
)->SetWidth(arg2
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3180 Py_INCREF(Py_None
); resultobj
= Py_None
;
3187 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
*resultobj
;
3189 wxRect
*arg1
= (wxRect
*) 0 ;
3191 PyObject
* obj0
= 0 ;
3193 (char *) "self", NULL
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3202 wxPyEndAllowThreads(__tstate
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3205 resultobj
= SWIG_PyObj_FromInt((int)result
);
3212 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
*resultobj
;
3214 wxRect
*arg1
= (wxRect
*) 0 ;
3216 PyObject
* obj0
= 0 ;
3217 PyObject
* obj1
= 0 ;
3219 (char *) "self",(char *) "h", NULL
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3225 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3226 if (PyErr_Occurred()) SWIG_fail
;
3229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3230 (arg1
)->SetHeight(arg2
);
3232 wxPyEndAllowThreads(__tstate
);
3233 if (PyErr_Occurred()) SWIG_fail
;
3235 Py_INCREF(Py_None
); resultobj
= Py_None
;
3242 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
*resultobj
;
3244 wxRect
*arg1
= (wxRect
*) 0 ;
3246 PyObject
* obj0
= 0 ;
3248 (char *) "self", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 result
= ((wxRect
const *)arg1
)->GetPosition();
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3261 wxPoint
* resultptr
;
3262 resultptr
= new wxPoint((wxPoint
&) result
);
3263 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3271 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3273 wxRect
*arg1
= (wxRect
*) 0 ;
3276 PyObject
* obj0
= 0 ;
3277 PyObject
* obj1
= 0 ;
3279 (char *) "self",(char *) "p", NULL
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3286 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3295 Py_INCREF(Py_None
); resultobj
= Py_None
;
3302 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 wxRect
*arg1
= (wxRect
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3308 (char *) "self", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 result
= ((wxRect
const *)arg1
)->GetSize();
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3322 resultptr
= new wxSize((wxSize
&) result
);
3323 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3331 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
;
3333 wxRect
*arg1
= (wxRect
*) 0 ;
3336 PyObject
* obj0
= 0 ;
3337 PyObject
* obj1
= 0 ;
3339 (char *) "self",(char *) "s", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3346 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 (arg1
)->SetSize((wxSize
const &)*arg2
);
3352 wxPyEndAllowThreads(__tstate
);
3353 if (PyErr_Occurred()) SWIG_fail
;
3355 Py_INCREF(Py_None
); resultobj
= Py_None
;
3362 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
*resultobj
;
3364 wxRect
*arg1
= (wxRect
*) 0 ;
3366 PyObject
* obj0
= 0 ;
3368 (char *) "self", NULL
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3381 wxPoint
* resultptr
;
3382 resultptr
= new wxPoint((wxPoint
&) result
);
3383 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3391 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxRect
*arg1
= (wxRect
*) 0 ;
3396 PyObject
* obj0
= 0 ;
3397 PyObject
* obj1
= 0 ;
3399 (char *) "self",(char *) "p", NULL
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3406 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3410 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3412 wxPyEndAllowThreads(__tstate
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3415 Py_INCREF(Py_None
); resultobj
= Py_None
;
3422 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3424 wxRect
*arg1
= (wxRect
*) 0 ;
3426 PyObject
* obj0
= 0 ;
3428 (char *) "self", NULL
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3441 wxPoint
* resultptr
;
3442 resultptr
= new wxPoint((wxPoint
&) result
);
3443 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3451 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxRect
*arg1
= (wxRect
*) 0 ;
3456 PyObject
* obj0
= 0 ;
3457 PyObject
* obj1
= 0 ;
3459 (char *) "self",(char *) "p", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3466 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 Py_INCREF(Py_None
); resultobj
= Py_None
;
3482 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
*resultobj
;
3484 wxRect
*arg1
= (wxRect
*) 0 ;
3486 PyObject
* obj0
= 0 ;
3488 (char *) "self", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 resultobj
= SWIG_PyObj_FromInt((int)result
);
3507 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
*resultobj
;
3509 wxRect
*arg1
= (wxRect
*) 0 ;
3511 PyObject
* obj0
= 0 ;
3513 (char *) "self", NULL
3516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 result
= (int)((wxRect
const *)arg1
)->GetTop();
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 resultobj
= SWIG_PyObj_FromInt((int)result
);
3532 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxRect
*arg1
= (wxRect
*) 0 ;
3536 PyObject
* obj0
= 0 ;
3538 (char *) "self", NULL
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 resultobj
= SWIG_PyObj_FromInt((int)result
);
3557 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3559 wxRect
*arg1
= (wxRect
*) 0 ;
3561 PyObject
* obj0
= 0 ;
3563 (char *) "self", NULL
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (int)((wxRect
const *)arg1
)->GetRight();
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 resultobj
= SWIG_PyObj_FromInt((int)result
);
3582 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxRect
*arg1
= (wxRect
*) 0 ;
3586 PyObject
* obj0
= 0 ;
3587 PyObject
* obj1
= 0 ;
3589 (char *) "self",(char *) "left", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3595 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 (arg1
)->SetLeft(arg2
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3605 Py_INCREF(Py_None
); resultobj
= Py_None
;
3612 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
*resultobj
;
3614 wxRect
*arg1
= (wxRect
*) 0 ;
3616 PyObject
* obj0
= 0 ;
3617 PyObject
* obj1
= 0 ;
3619 (char *) "self",(char *) "right", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3625 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 (arg1
)->SetRight(arg2
);
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3635 Py_INCREF(Py_None
); resultobj
= Py_None
;
3642 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
*resultobj
;
3644 wxRect
*arg1
= (wxRect
*) 0 ;
3646 PyObject
* obj0
= 0 ;
3647 PyObject
* obj1
= 0 ;
3649 (char *) "self",(char *) "top", NULL
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
3653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3655 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 (arg1
)->SetTop(arg2
);
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3665 Py_INCREF(Py_None
); resultobj
= Py_None
;
3672 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxRect
*arg1
= (wxRect
*) 0 ;
3676 PyObject
* obj0
= 0 ;
3677 PyObject
* obj1
= 0 ;
3679 (char *) "self",(char *) "bottom", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3685 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 (arg1
)->SetBottom(arg2
);
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3695 Py_INCREF(Py_None
); resultobj
= Py_None
;
3702 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
*resultobj
;
3704 wxRect
*arg1
= (wxRect
*) 0 ;
3708 PyObject
* obj0
= 0 ;
3709 PyObject
* obj1
= 0 ;
3710 PyObject
* obj2
= 0 ;
3712 (char *) "self",(char *) "dx",(char *) "dy", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3718 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3722 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3729 result
= (wxRect
*) &_result_ref
;
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3735 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3742 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
;
3744 wxRect
*arg1
= (wxRect
*) 0 ;
3748 PyObject
* obj0
= 0 ;
3749 PyObject
* obj1
= 0 ;
3750 PyObject
* obj2
= 0 ;
3752 (char *) "self",(char *) "dx",(char *) "dy", NULL
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3758 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3762 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3769 result
= (wxRect
*) &_result_ref
;
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3775 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3782 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
*resultobj
;
3784 wxRect
*arg1
= (wxRect
*) 0 ;
3787 PyObject
* obj0
= 0 ;
3788 PyObject
* obj1
= 0 ;
3789 PyObject
* obj2
= 0 ;
3791 (char *) "self",(char *) "dx",(char *) "dy", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3797 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3801 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 (arg1
)->Offset(arg2
,arg3
);
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) SWIG_fail
;
3811 Py_INCREF(Py_None
); resultobj
= Py_None
;
3818 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
;
3820 wxRect
*arg1
= (wxRect
*) 0 ;
3823 PyObject
* obj0
= 0 ;
3824 PyObject
* obj1
= 0 ;
3826 (char *) "self",(char *) "pt", NULL
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3833 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 (arg1
)->Offset((wxPoint
const &)*arg2
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 Py_INCREF(Py_None
); resultobj
= Py_None
;
3849 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
*resultobj
;
3851 wxRect
*arg1
= (wxRect
*) 0 ;
3855 PyObject
* obj0
= 0 ;
3856 PyObject
* obj1
= 0 ;
3858 (char *) "self",(char *) "rect", NULL
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3865 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3871 result
= (wxRect
*) &_result_ref
;
3874 wxPyEndAllowThreads(__tstate
);
3875 if (PyErr_Occurred()) SWIG_fail
;
3877 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3884 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
*resultobj
;
3886 wxRect
*arg1
= (wxRect
*) 0 ;
3890 PyObject
* obj0
= 0 ;
3891 PyObject
* obj1
= 0 ;
3893 (char *) "self",(char *) "rect", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3900 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3911 resultptr
= new wxRect((wxRect
&) result
);
3912 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3920 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
;
3922 wxRect
*arg1
= (wxRect
*) 0 ;
3926 PyObject
* obj0
= 0 ;
3927 PyObject
* obj1
= 0 ;
3929 (char *) "self",(char *) "rect", NULL
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3936 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3942 result
= (wxRect
*) &_result_ref
;
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3955 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3957 wxRect
*arg1
= (wxRect
*) 0 ;
3961 PyObject
* obj0
= 0 ;
3962 PyObject
* obj1
= 0 ;
3964 (char *) "self",(char *) "rect", NULL
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3971 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3987 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
*resultobj
;
3989 wxRect
*arg1
= (wxRect
*) 0 ;
3993 PyObject
* obj0
= 0 ;
3994 PyObject
* obj1
= 0 ;
3996 (char *) "self",(char *) "rect", NULL
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4003 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4019 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
;
4021 wxRect
*arg1
= (wxRect
*) 0 ;
4025 PyObject
* obj0
= 0 ;
4026 PyObject
* obj1
= 0 ;
4027 PyObject
* obj2
= 0 ;
4029 (char *) "self",(char *) "x",(char *) "y", NULL
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4035 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4039 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4044 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4046 wxPyEndAllowThreads(__tstate
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4056 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4058 wxRect
*arg1
= (wxRect
*) 0 ;
4062 PyObject
* obj0
= 0 ;
4063 PyObject
* obj1
= 0 ;
4065 (char *) "self",(char *) "pt", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4088 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
*resultobj
;
4090 wxRect
*arg1
= (wxRect
*) 0 ;
4094 PyObject
* obj0
= 0 ;
4095 PyObject
* obj1
= 0 ;
4097 (char *) "self",(char *) "rect", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4104 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4120 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
;
4122 wxRect
*arg1
= (wxRect
*) 0 ;
4124 PyObject
* obj0
= 0 ;
4125 PyObject
* obj1
= 0 ;
4127 (char *) "self",(char *) "x", NULL
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4133 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4136 if (arg1
) (arg1
)->x
= arg2
;
4138 Py_INCREF(Py_None
); resultobj
= Py_None
;
4145 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
;
4147 wxRect
*arg1
= (wxRect
*) 0 ;
4149 PyObject
* obj0
= 0 ;
4151 (char *) "self", NULL
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4156 result
= (int) ((arg1
)->x
);
4158 resultobj
= SWIG_PyObj_FromInt((int)result
);
4165 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
;
4167 wxRect
*arg1
= (wxRect
*) 0 ;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4172 (char *) "self",(char *) "y", NULL
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4178 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 if (arg1
) (arg1
)->y
= arg2
;
4183 Py_INCREF(Py_None
); resultobj
= Py_None
;
4190 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
;
4192 wxRect
*arg1
= (wxRect
*) 0 ;
4194 PyObject
* obj0
= 0 ;
4196 (char *) "self", NULL
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4201 result
= (int) ((arg1
)->y
);
4203 resultobj
= SWIG_PyObj_FromInt((int)result
);
4210 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 wxRect
*arg1
= (wxRect
*) 0 ;
4214 PyObject
* obj0
= 0 ;
4215 PyObject
* obj1
= 0 ;
4217 (char *) "self",(char *) "width", NULL
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4223 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4226 if (arg1
) (arg1
)->width
= arg2
;
4228 Py_INCREF(Py_None
); resultobj
= Py_None
;
4235 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 wxRect
*arg1
= (wxRect
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4241 (char *) "self", NULL
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4246 result
= (int) ((arg1
)->width
);
4248 resultobj
= SWIG_PyObj_FromInt((int)result
);
4255 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
;
4257 wxRect
*arg1
= (wxRect
*) 0 ;
4259 PyObject
* obj0
= 0 ;
4260 PyObject
* obj1
= 0 ;
4262 (char *) "self",(char *) "height", NULL
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4268 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 if (arg1
) (arg1
)->height
= arg2
;
4273 Py_INCREF(Py_None
); resultobj
= Py_None
;
4280 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
*resultobj
;
4282 wxRect
*arg1
= (wxRect
*) 0 ;
4284 PyObject
* obj0
= 0 ;
4286 (char *) "self", NULL
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4291 result
= (int) ((arg1
)->height
);
4293 resultobj
= SWIG_PyObj_FromInt((int)result
);
4300 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
;
4302 wxRect
*arg1
= (wxRect
*) 0 ;
4303 int arg2
= (int) 0 ;
4304 int arg3
= (int) 0 ;
4305 int arg4
= (int) 0 ;
4306 int arg5
= (int) 0 ;
4307 PyObject
* obj0
= 0 ;
4308 PyObject
* obj1
= 0 ;
4309 PyObject
* obj2
= 0 ;
4310 PyObject
* obj3
= 0 ;
4311 PyObject
* obj4
= 0 ;
4313 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4320 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4326 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4332 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4338 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4349 Py_INCREF(Py_None
); resultobj
= Py_None
;
4356 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
;
4358 wxRect
*arg1
= (wxRect
*) 0 ;
4360 PyObject
* obj0
= 0 ;
4362 (char *) "self", NULL
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 result
= (PyObject
*)wxRect_Get(arg1
);
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4381 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4384 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4386 return Py_BuildValue((char *)"");
4388 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
;
4390 wxRect
*arg1
= (wxRect
*) 0 ;
4391 wxRect
*arg2
= (wxRect
*) 0 ;
4393 PyObject
* obj0
= 0 ;
4394 PyObject
* obj1
= 0 ;
4396 (char *) "r1",(char *) "r2", NULL
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4401 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4416 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
;
4418 double arg1
= (double) 0.0 ;
4419 double arg2
= (double) 0.0 ;
4421 PyObject
* obj0
= 0 ;
4422 PyObject
* obj1
= 0 ;
4424 (char *) "x",(char *) "y", NULL
4427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4430 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4436 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4454 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4456 wxPoint2D
*arg1
= 0 ;
4459 PyObject
* obj0
= 0 ;
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4467 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4483 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4488 PyObject
* obj0
= 0 ;
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4496 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4512 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4515 int *arg2
= (int *) 0 ;
4516 int *arg3
= (int *) 0 ;
4519 PyObject
* obj0
= 0 ;
4521 (char *) "self", NULL
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4535 Py_INCREF(Py_None
); resultobj
= Py_None
;
4537 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4538 resultobj
= t_output_helper(resultobj
,o
);
4541 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4542 resultobj
= t_output_helper(resultobj
,o
);
4550 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4553 int *arg2
= (int *) 0 ;
4554 int *arg3
= (int *) 0 ;
4557 PyObject
* obj0
= 0 ;
4559 (char *) "self", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4573 Py_INCREF(Py_None
); resultobj
= Py_None
;
4575 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4576 resultobj
= t_output_helper(resultobj
,o
);
4579 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4580 resultobj
= t_output_helper(resultobj
,o
);
4588 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4592 PyObject
* obj0
= 0 ;
4594 (char *) "self", NULL
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4606 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4613 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
*resultobj
;
4615 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4617 PyObject
* obj0
= 0 ;
4619 (char *) "self", NULL
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4638 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4645 (char *) "self",(char *) "length", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4651 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 (arg1
)->SetVectorLength(arg2
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 Py_INCREF(Py_None
); resultobj
= Py_None
;
4668 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
;
4670 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4672 PyObject
* obj0
= 0 ;
4673 PyObject
* obj1
= 0 ;
4675 (char *) "self",(char *) "degrees", NULL
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
4679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4681 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 (arg1
)->SetVectorAngle(arg2
);
4688 wxPyEndAllowThreads(__tstate
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4691 Py_INCREF(Py_None
); resultobj
= Py_None
;
4698 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
*resultobj
;
4700 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4701 wxPoint2D
*arg2
= 0 ;
4704 PyObject
* obj0
= 0 ;
4705 PyObject
* obj1
= 0 ;
4707 (char *) "self",(char *) "pt", NULL
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4714 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4730 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4733 wxPoint2D
*arg2
= 0 ;
4736 PyObject
* obj0
= 0 ;
4737 PyObject
* obj1
= 0 ;
4739 (char *) "self",(char *) "pt", NULL
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4746 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4762 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
;
4764 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4765 wxPoint2D
*arg2
= 0 ;
4768 PyObject
* obj0
= 0 ;
4769 PyObject
* obj1
= 0 ;
4771 (char *) "self",(char *) "vec", NULL
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4778 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4787 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4794 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
*resultobj
;
4796 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4797 wxPoint2D
*arg2
= 0 ;
4800 PyObject
* obj0
= 0 ;
4801 PyObject
* obj1
= 0 ;
4803 (char *) "self",(char *) "vec", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4810 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4826 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
*resultobj
;
4828 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4830 PyObject
* obj0
= 0 ;
4832 (char *) "self", NULL
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 result
= (arg1
)->operator -();
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4845 wxPoint2D
* resultptr
;
4846 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4847 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4855 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
;
4857 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4858 wxPoint2D
*arg2
= 0 ;
4861 PyObject
* obj0
= 0 ;
4862 PyObject
* obj1
= 0 ;
4864 (char *) "self",(char *) "pt", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4871 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4877 result
= (wxPoint2D
*) &_result_ref
;
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4890 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
;
4892 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4893 wxPoint2D
*arg2
= 0 ;
4896 PyObject
* obj0
= 0 ;
4897 PyObject
* obj1
= 0 ;
4899 (char *) "self",(char *) "pt", NULL
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4906 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4912 result
= (wxPoint2D
*) &_result_ref
;
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4918 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4925 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
*resultobj
;
4927 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4928 wxPoint2D
*arg2
= 0 ;
4931 PyObject
* obj0
= 0 ;
4932 PyObject
* obj1
= 0 ;
4934 (char *) "self",(char *) "pt", NULL
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4941 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4947 result
= (wxPoint2D
*) &_result_ref
;
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4960 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4963 wxPoint2D
*arg2
= 0 ;
4966 PyObject
* obj0
= 0 ;
4967 PyObject
* obj1
= 0 ;
4969 (char *) "self",(char *) "pt", NULL
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4976 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4982 result
= (wxPoint2D
*) &_result_ref
;
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4995 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4998 wxPoint2D
*arg2
= 0 ;
5001 PyObject
* obj0
= 0 ;
5002 PyObject
* obj1
= 0 ;
5004 (char *) "self",(char *) "pt", NULL
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5011 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5027 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5030 wxPoint2D
*arg2
= 0 ;
5033 PyObject
* obj0
= 0 ;
5034 PyObject
* obj1
= 0 ;
5036 (char *) "self",(char *) "pt", NULL
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5043 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5059 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
;
5061 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5063 PyObject
* obj0
= 0 ;
5064 PyObject
* obj1
= 0 ;
5066 (char *) "self",(char *) "m_x", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5072 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 if (arg1
) (arg1
)->m_x
= arg2
;
5077 Py_INCREF(Py_None
); resultobj
= Py_None
;
5084 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
;
5086 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5088 PyObject
* obj0
= 0 ;
5090 (char *) "self", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5095 result
= (double) ((arg1
)->m_x
);
5097 resultobj
= SWIG_PyObj_FromDouble((double)result
);
5104 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
*resultobj
;
5106 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5108 PyObject
* obj0
= 0 ;
5109 PyObject
* obj1
= 0 ;
5111 (char *) "self",(char *) "m_y", NULL
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5117 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 if (arg1
) (arg1
)->m_y
= arg2
;
5122 Py_INCREF(Py_None
); resultobj
= Py_None
;
5129 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
;
5131 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5133 PyObject
* obj0
= 0 ;
5135 (char *) "self", NULL
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5140 result
= (double) ((arg1
)->m_y
);
5142 resultobj
= SWIG_PyObj_FromDouble((double)result
);
5149 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
;
5151 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5152 double arg2
= (double) 0 ;
5153 double arg3
= (double) 0 ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5156 PyObject
* obj2
= 0 ;
5158 (char *) "self",(char *) "x",(char *) "y", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5165 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5171 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 wxPoint2D_Set(arg1
,arg2
,arg3
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 Py_INCREF(Py_None
); resultobj
= Py_None
;
5189 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
;
5191 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5195 (char *) "self", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5214 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5217 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5219 return Py_BuildValue((char *)"");
5221 static int _wrap_DefaultPosition_set(PyObject
*) {
5222 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5227 static PyObject
*_wrap_DefaultPosition_get() {
5230 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
5235 static int _wrap_DefaultSize_set(PyObject
*) {
5236 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5241 static PyObject
*_wrap_DefaultSize_get() {
5244 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
5249 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 PyObject
*arg1
= (PyObject
*) 0 ;
5252 wxPyInputStream
*result
;
5253 PyObject
* obj0
= 0 ;
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
5274 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
*resultobj
;
5276 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5277 PyObject
* obj0
= 0 ;
5279 (char *) "self", NULL
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 Py_INCREF(Py_None
); resultobj
= Py_None
;
5298 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5301 PyObject
* obj0
= 0 ;
5303 (char *) "self", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5315 Py_INCREF(Py_None
); resultobj
= Py_None
;
5322 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
*resultobj
;
5324 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5326 PyObject
* obj0
= 0 ;
5328 (char *) "self", NULL
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5335 result
= (bool)(arg1
)->eof();
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5347 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5350 int arg2
= (int) -1 ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5355 (char *) "self",(char *) "size", NULL
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5362 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 result
= (PyObject
*)(arg1
)->read(arg2
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5380 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
;
5382 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5383 int arg2
= (int) -1 ;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5388 (char *) "self",(char *) "size", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5395 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5401 result
= (PyObject
*)(arg1
)->readline(arg2
);
5403 wxPyEndAllowThreads(__tstate
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5413 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
;
5415 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5416 int arg2
= (int) -1 ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5421 (char *) "self",(char *) "sizehint", NULL
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5428 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5446 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
;
5448 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5450 int arg3
= (int) 0 ;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5453 PyObject
* obj2
= 0 ;
5455 (char *) "self",(char *) "offset",(char *) "whence", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5461 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5466 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 (arg1
)->seek(arg2
,arg3
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5477 Py_INCREF(Py_None
); resultobj
= Py_None
;
5484 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
*resultobj
;
5486 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5488 PyObject
* obj0
= 0 ;
5490 (char *) "self", NULL
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 result
= (int)(arg1
)->tell();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5502 resultobj
= SWIG_PyObj_FromInt((int)result
);
5509 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
*resultobj
;
5511 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5513 PyObject
* obj0
= 0 ;
5515 (char *) "self", NULL
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 result
= (char)(arg1
)->Peek();
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5527 resultobj
= SWIG_PyObj_FromChar((char)result
);
5534 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5538 PyObject
* obj0
= 0 ;
5540 (char *) "self", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5547 result
= (char)(arg1
)->GetC();
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5552 resultobj
= SWIG_PyObj_FromChar((char)result
);
5559 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
;
5561 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5563 PyObject
* obj0
= 0 ;
5565 (char *) "self", NULL
5568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 result
= (size_t)(arg1
)->LastRead();
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
5584 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
;
5586 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5588 PyObject
* obj0
= 0 ;
5590 (char *) "self", NULL
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 result
= (bool)(arg1
)->CanRead();
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5609 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5613 PyObject
* obj0
= 0 ;
5615 (char *) "self", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 result
= (bool)(arg1
)->Eof();
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5634 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
;
5636 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5639 PyObject
* obj0
= 0 ;
5640 PyObject
* obj1
= 0 ;
5642 (char *) "self",(char *) "c", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
5646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5648 arg2
= (char) SWIG_PyObj_AsChar(obj1
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5653 result
= (bool)(arg1
)->Ungetch(arg2
);
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5665 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
;
5667 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5669 int arg3
= (int) wxFromStart
;
5671 PyObject
* obj0
= 0 ;
5672 PyObject
* obj1
= 0 ;
5673 PyObject
* obj2
= 0 ;
5675 (char *) "self",(char *) "pos",(char *) "mode", NULL
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5681 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5686 arg3
= (wxSeekMode
) SWIG_PyObj_AsInt(obj2
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5697 resultobj
= SWIG_PyObj_FromLong((long)result
);
5704 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
*resultobj
;
5706 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5708 PyObject
* obj0
= 0 ;
5710 (char *) "self", NULL
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 result
= (long)(arg1
)->TellI();
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5722 resultobj
= SWIG_PyObj_FromLong((long)result
);
5729 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5732 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5734 return Py_BuildValue((char *)"");
5736 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5739 PyObject
*arg2
= (PyObject
*) 0 ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5743 (char *) "self",(char *) "obj", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 wxOutputStream_write(arg1
,arg2
);
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5756 Py_INCREF(Py_None
); resultobj
= Py_None
;
5763 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5766 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5768 return Py_BuildValue((char *)"");
5770 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5773 wxString
*arg2
= 0 ;
5774 wxString
*arg3
= 0 ;
5775 wxString
*arg4
= 0 ;
5778 wxPyInputStream
*temp1
;
5780 bool temp2
= False
;
5781 bool temp3
= False
;
5782 bool temp4
= False
;
5784 PyObject
* obj0
= 0 ;
5785 PyObject
* obj1
= 0 ;
5786 PyObject
* obj2
= 0 ;
5787 PyObject
* obj3
= 0 ;
5788 PyObject
* obj4
= 0 ;
5790 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5795 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5796 arg1
= temp1
->m_wxis
;
5799 PyErr_Clear(); // clear the failure of the wxPyConvert above
5800 arg1
= wxPyCBInputStream_create(obj0
, False
);
5802 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5809 arg2
= wxString_in_helper(obj1
);
5810 if (arg2
== NULL
) SWIG_fail
;
5814 arg3
= wxString_in_helper(obj2
);
5815 if (arg3
== NULL
) SWIG_fail
;
5819 arg4
= wxString_in_helper(obj3
);
5820 if (arg4
== NULL
) SWIG_fail
;
5823 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= wxPyMake_wxObject(result
);
5873 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5876 PyObject
* obj0
= 0 ;
5878 (char *) "self", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 Py_INCREF(Py_None
); resultobj
= Py_None
;
5897 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
;
5899 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5900 wxInputStream
*result
;
5901 PyObject
* obj0
= 0 ;
5903 (char *) "self", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 result
= (wxInputStream
*)(arg1
)->GetStream();
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5916 wxPyInputStream
* _ptr
= NULL
;
5919 _ptr
= new wxPyInputStream(result
);
5921 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
5929 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
*resultobj
;
5931 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5933 PyObject
* obj0
= 0 ;
5935 (char *) "self", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5944 result
= (wxString
*) &_result_ref
;
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5952 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5954 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5963 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
;
5965 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5967 PyObject
* obj0
= 0 ;
5969 (char *) "self", NULL
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 wxString
const &_result_ref
= (arg1
)->GetLocation();
5978 result
= (wxString
*) &_result_ref
;
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5988 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5997 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
*resultobj
;
5999 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6001 PyObject
* obj0
= 0 ;
6003 (char *) "self", NULL
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6012 result
= (wxString
*) &_result_ref
;
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6022 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6031 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
;
6033 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6035 PyObject
* obj0
= 0 ;
6037 (char *) "self", NULL
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 result
= (arg1
)->GetModificationTime();
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6050 wxDateTime
* resultptr
;
6051 resultptr
= new wxDateTime((wxDateTime
&) result
);
6052 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
6060 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6063 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6065 return Py_BuildValue((char *)"");
6067 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6070 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6072 return Py_BuildValue((char *)"");
6074 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxPyFileSystemHandler
*result
;
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6089 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6096 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
*resultobj
;
6098 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6099 PyObject
*arg2
= (PyObject
*) 0 ;
6100 PyObject
*arg3
= (PyObject
*) 0 ;
6101 PyObject
* obj0
= 0 ;
6102 PyObject
* obj1
= 0 ;
6103 PyObject
* obj2
= 0 ;
6105 (char *) "self",(char *) "self",(char *) "_class", NULL
6108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 Py_INCREF(Py_None
); resultobj
= Py_None
;
6126 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6129 wxString
*arg2
= 0 ;
6131 bool temp2
= False
;
6132 PyObject
* obj0
= 0 ;
6133 PyObject
* obj1
= 0 ;
6135 (char *) "self",(char *) "location", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6141 arg2
= wxString_in_helper(obj1
);
6142 if (arg2
== NULL
) SWIG_fail
;
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6167 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6170 wxFileSystem
*arg2
= 0 ;
6171 wxString
*arg3
= 0 ;
6173 bool temp3
= False
;
6174 PyObject
* obj0
= 0 ;
6175 PyObject
* obj1
= 0 ;
6176 PyObject
* obj2
= 0 ;
6178 (char *) "self",(char *) "fs",(char *) "location", NULL
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6183 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6185 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6188 arg3
= wxString_in_helper(obj2
);
6189 if (arg3
== NULL
) SWIG_fail
;
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6196 wxPyEndAllowThreads(__tstate
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= wxPyMake_wxObject(result
);
6216 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6219 wxString
*arg2
= 0 ;
6220 int arg3
= (int) 0 ;
6222 bool temp2
= False
;
6223 PyObject
* obj0
= 0 ;
6224 PyObject
* obj1
= 0 ;
6225 PyObject
* obj2
= 0 ;
6227 (char *) "self",(char *) "spec",(char *) "flags", NULL
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6233 arg2
= wxString_in_helper(obj1
);
6234 if (arg2
== NULL
) SWIG_fail
;
6239 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6271 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
;
6273 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6275 PyObject
* obj0
= 0 ;
6277 (char *) "self", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 result
= (arg1
)->FindNext();
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6302 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
*resultobj
;
6304 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6305 wxString
*arg2
= 0 ;
6307 bool temp2
= False
;
6308 PyObject
* obj0
= 0 ;
6309 PyObject
* obj1
= 0 ;
6311 (char *) "self",(char *) "location", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6317 arg2
= wxString_in_helper(obj1
);
6318 if (arg2
== NULL
) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6349 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6352 wxString
*arg2
= 0 ;
6354 bool temp2
= False
;
6355 PyObject
* obj0
= 0 ;
6356 PyObject
* obj1
= 0 ;
6358 (char *) "self",(char *) "location", NULL
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6364 arg2
= wxString_in_helper(obj1
);
6365 if (arg2
== NULL
) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6396 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
;
6398 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6399 wxString
*arg2
= 0 ;
6401 bool temp2
= False
;
6402 PyObject
* obj0
= 0 ;
6403 PyObject
* obj1
= 0 ;
6405 (char *) "self",(char *) "location", NULL
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6411 arg2
= wxString_in_helper(obj1
);
6412 if (arg2
== NULL
) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6443 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6446 wxString
*arg2
= 0 ;
6448 bool temp2
= False
;
6449 PyObject
* obj0
= 0 ;
6450 PyObject
* obj1
= 0 ;
6452 (char *) "self",(char *) "location", NULL
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6458 arg2
= wxString_in_helper(obj1
);
6459 if (arg2
== NULL
) SWIG_fail
;
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6490 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6493 wxString
*arg2
= 0 ;
6495 bool temp2
= False
;
6496 PyObject
* obj0
= 0 ;
6497 PyObject
* obj1
= 0 ;
6499 (char *) "self",(char *) "location", NULL
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6505 arg2
= wxString_in_helper(obj1
);
6506 if (arg2
== NULL
) SWIG_fail
;
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6537 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6540 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6542 return Py_BuildValue((char *)"");
6544 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
*resultobj
;
6546 wxFileSystem
*result
;
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 result
= (wxFileSystem
*)new wxFileSystem();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= wxPyMake_wxObject(result
);
6568 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6571 PyObject
* obj0
= 0 ;
6573 (char *) "self", NULL
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 Py_INCREF(Py_None
); resultobj
= Py_None
;
6592 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
;
6594 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6595 wxString
*arg2
= 0 ;
6596 bool arg3
= (bool) False
;
6597 bool temp2
= False
;
6598 PyObject
* obj0
= 0 ;
6599 PyObject
* obj1
= 0 ;
6600 PyObject
* obj2
= 0 ;
6602 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6608 arg2
= wxString_in_helper(obj1
);
6609 if (arg2
== NULL
) SWIG_fail
;
6614 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 Py_INCREF(Py_None
); resultobj
= Py_None
;
6640 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6644 PyObject
* obj0
= 0 ;
6646 (char *) "self", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= (arg1
)->GetPath();
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6671 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6674 wxString
*arg2
= 0 ;
6676 bool temp2
= False
;
6677 PyObject
* obj0
= 0 ;
6678 PyObject
* obj1
= 0 ;
6680 (char *) "self",(char *) "location", NULL
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6686 arg2
= wxString_in_helper(obj1
);
6687 if (arg2
== NULL
) SWIG_fail
;
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= wxPyMake_wxObject(result
);
6714 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
;
6716 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6717 wxString
*arg2
= 0 ;
6718 int arg3
= (int) 0 ;
6720 bool temp2
= False
;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6723 PyObject
* obj2
= 0 ;
6725 (char *) "self",(char *) "spec",(char *) "flags", NULL
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6731 arg2
= wxString_in_helper(obj1
);
6732 if (arg2
== NULL
) SWIG_fail
;
6737 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6769 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
;
6771 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6773 PyObject
* obj0
= 0 ;
6775 (char *) "self", NULL
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 result
= (arg1
)->FindNext();
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6800 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6805 (char *) "handler", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 wxFileSystem::AddHandler(arg1
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 Py_INCREF(Py_None
); resultobj
= Py_None
;
6824 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
;
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 wxFileSystem::CleanUpHandlers();
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 Py_INCREF(Py_None
); resultobj
= Py_None
;
6845 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxString
*arg1
= 0 ;
6849 bool temp1
= False
;
6850 PyObject
* obj0
= 0 ;
6852 (char *) "filename", NULL
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6857 arg1
= wxString_in_helper(obj0
);
6858 if (arg1
== NULL
) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6889 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6892 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6894 return Py_BuildValue((char *)"");
6896 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
;
6898 wxString
*arg1
= 0 ;
6900 bool temp1
= False
;
6901 PyObject
* obj0
= 0 ;
6903 (char *) "url", NULL
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6908 arg1
= wxString_in_helper(obj0
);
6909 if (arg1
== NULL
) SWIG_fail
;
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6940 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
*resultobj
;
6942 wxInternetFSHandler
*result
;
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6962 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6965 wxString
*arg2
= 0 ;
6967 bool temp2
= False
;
6968 PyObject
* obj0
= 0 ;
6969 PyObject
* obj1
= 0 ;
6971 (char *) "self",(char *) "location", NULL
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6977 arg2
= wxString_in_helper(obj1
);
6978 if (arg2
== NULL
) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7003 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
;
7005 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7006 wxFileSystem
*arg2
= 0 ;
7007 wxString
*arg3
= 0 ;
7009 bool temp3
= False
;
7010 PyObject
* obj0
= 0 ;
7011 PyObject
* obj1
= 0 ;
7012 PyObject
* obj2
= 0 ;
7014 (char *) "self",(char *) "fs",(char *) "location", NULL
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7019 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7021 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7024 arg3
= wxString_in_helper(obj2
);
7025 if (arg3
== NULL
) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= wxPyMake_wxObject(result
);
7052 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7055 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7057 return Py_BuildValue((char *)"");
7059 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
;
7061 wxZipFSHandler
*result
;
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
7081 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
;
7083 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7084 wxString
*arg2
= 0 ;
7086 bool temp2
= False
;
7087 PyObject
* obj0
= 0 ;
7088 PyObject
* obj1
= 0 ;
7090 (char *) "self",(char *) "location", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7096 arg2
= wxString_in_helper(obj1
);
7097 if (arg2
== NULL
) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7122 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7125 wxFileSystem
*arg2
= 0 ;
7126 wxString
*arg3
= 0 ;
7128 bool temp3
= False
;
7129 PyObject
* obj0
= 0 ;
7130 PyObject
* obj1
= 0 ;
7131 PyObject
* obj2
= 0 ;
7133 (char *) "self",(char *) "fs",(char *) "location", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7138 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7140 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7143 arg3
= wxString_in_helper(obj2
);
7144 if (arg3
== NULL
) SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7155 resultobj
= wxPyMake_wxObject(result
);
7171 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
*resultobj
;
7173 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7174 wxString
*arg2
= 0 ;
7175 int arg3
= (int) 0 ;
7177 bool temp2
= False
;
7178 PyObject
* obj0
= 0 ;
7179 PyObject
* obj1
= 0 ;
7180 PyObject
* obj2
= 0 ;
7182 (char *) "self",(char *) "spec",(char *) "flags", NULL
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7188 arg2
= wxString_in_helper(obj1
);
7189 if (arg2
== NULL
) SWIG_fail
;
7194 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7226 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7230 PyObject
* obj0
= 0 ;
7232 (char *) "self", NULL
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= (arg1
)->FindNext();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7257 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7260 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7262 return Py_BuildValue((char *)"");
7264 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
;
7266 wxString
*arg1
= 0 ;
7269 bool temp1
= False
;
7270 PyObject
* obj0
= 0 ;
7271 PyObject
* obj1
= 0 ;
7272 PyObject
* obj2
= 0 ;
7274 (char *) "filename",(char *) "image",(char *) "type", NULL
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7279 arg1
= wxString_in_helper(obj0
);
7280 if (arg1
== NULL
) SWIG_fail
;
7283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7285 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7288 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7298 Py_INCREF(Py_None
); resultobj
= Py_None
;
7313 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
*resultobj
;
7315 wxString
*arg1
= 0 ;
7316 wxBitmap
*arg2
= 0 ;
7318 bool temp1
= False
;
7319 PyObject
* obj0
= 0 ;
7320 PyObject
* obj1
= 0 ;
7321 PyObject
* obj2
= 0 ;
7323 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7328 arg1
= wxString_in_helper(obj0
);
7329 if (arg1
== NULL
) SWIG_fail
;
7332 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7334 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7337 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 Py_INCREF(Py_None
); resultobj
= Py_None
;
7362 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxString
*arg1
= 0 ;
7365 PyObject
*arg2
= (PyObject
*) 0 ;
7366 bool temp1
= False
;
7367 PyObject
* obj0
= 0 ;
7368 PyObject
* obj1
= 0 ;
7370 (char *) "filename",(char *) "data", NULL
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7375 arg1
= wxString_in_helper(obj0
);
7376 if (arg1
== NULL
) SWIG_fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 Py_INCREF(Py_None
); resultobj
= Py_None
;
7402 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
;
7404 wxMemoryFSHandler
*result
;
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
7424 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxString
*arg1
= 0 ;
7427 bool temp1
= False
;
7428 PyObject
* obj0
= 0 ;
7430 (char *) "filename", NULL
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7435 arg1
= wxString_in_helper(obj0
);
7436 if (arg1
== NULL
) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 Py_INCREF(Py_None
); resultobj
= Py_None
;
7461 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7462 PyObject
*resultobj
;
7463 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7464 wxString
*arg2
= 0 ;
7466 bool temp2
= False
;
7467 PyObject
* obj0
= 0 ;
7468 PyObject
* obj1
= 0 ;
7470 (char *) "self",(char *) "location", NULL
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7476 arg2
= wxString_in_helper(obj1
);
7477 if (arg2
== NULL
) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7502 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7504 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7505 wxFileSystem
*arg2
= 0 ;
7506 wxString
*arg3
= 0 ;
7508 bool temp3
= False
;
7509 PyObject
* obj0
= 0 ;
7510 PyObject
* obj1
= 0 ;
7511 PyObject
* obj2
= 0 ;
7513 (char *) "self",(char *) "fs",(char *) "location", NULL
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7518 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7520 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7523 arg3
= wxString_in_helper(obj2
);
7524 if (arg3
== NULL
) SWIG_fail
;
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7535 resultobj
= wxPyMake_wxObject(result
);
7551 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
*resultobj
;
7553 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7554 wxString
*arg2
= 0 ;
7555 int arg3
= (int) 0 ;
7557 bool temp2
= False
;
7558 PyObject
* obj0
= 0 ;
7559 PyObject
* obj1
= 0 ;
7560 PyObject
* obj2
= 0 ;
7562 (char *) "self",(char *) "spec",(char *) "flags", NULL
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7568 arg2
= wxString_in_helper(obj1
);
7569 if (arg2
== NULL
) SWIG_fail
;
7574 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7606 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
;
7608 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7610 PyObject
* obj0
= 0 ;
7612 (char *) "self", NULL
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 result
= (arg1
)->FindNext();
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7637 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7640 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7642 return Py_BuildValue((char *)"");
7644 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
*resultobj
;
7646 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7648 PyObject
* obj0
= 0 ;
7650 (char *) "self", NULL
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
7654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 result
= (arg1
)->GetName();
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7675 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
;
7677 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7679 PyObject
* obj0
= 0 ;
7681 (char *) "self", NULL
7684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
7685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 result
= (arg1
)->GetExtension();
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7706 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7708 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7712 (char *) "self", NULL
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
7716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 result
= (long)(arg1
)->GetType();
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= SWIG_PyObj_FromLong((long)result
);
7731 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
;
7733 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7735 PyObject
* obj0
= 0 ;
7737 (char *) "self", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 result
= (arg1
)->GetMimeType();
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7762 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7765 wxString
*arg2
= 0 ;
7767 bool temp2
= False
;
7768 PyObject
* obj0
= 0 ;
7769 PyObject
* obj1
= 0 ;
7771 (char *) "self",(char *) "name", NULL
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7777 arg2
= wxString_in_helper(obj1
);
7778 if (arg2
== NULL
) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7803 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
;
7805 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7806 wxString
*arg2
= 0 ;
7807 bool temp2
= False
;
7808 PyObject
* obj0
= 0 ;
7809 PyObject
* obj1
= 0 ;
7811 (char *) "self",(char *) "name", NULL
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7817 arg2
= wxString_in_helper(obj1
);
7818 if (arg2
== NULL
) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 (arg1
)->SetName((wxString
const &)*arg2
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 Py_INCREF(Py_None
); resultobj
= Py_None
;
7843 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7846 wxString
*arg2
= 0 ;
7847 bool temp2
= False
;
7848 PyObject
* obj0
= 0 ;
7849 PyObject
* obj1
= 0 ;
7851 (char *) "self",(char *) "extension", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7857 arg2
= wxString_in_helper(obj1
);
7858 if (arg2
== NULL
) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 (arg1
)->SetExtension((wxString
const &)*arg2
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7868 Py_INCREF(Py_None
); resultobj
= Py_None
;
7883 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
*resultobj
;
7885 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7887 PyObject
* obj0
= 0 ;
7888 PyObject
* obj1
= 0 ;
7890 (char *) "self",(char *) "type", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
7894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7896 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 (arg1
)->SetType(arg2
);
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 Py_INCREF(Py_None
); resultobj
= Py_None
;
7913 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
*resultobj
;
7915 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7916 wxString
*arg2
= 0 ;
7917 bool temp2
= False
;
7918 PyObject
* obj0
= 0 ;
7919 PyObject
* obj1
= 0 ;
7921 (char *) "self",(char *) "mimetype", NULL
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7927 arg2
= wxString_in_helper(obj1
);
7928 if (arg2
== NULL
) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 Py_INCREF(Py_None
); resultobj
= Py_None
;
7953 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7956 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7958 return Py_BuildValue((char *)"");
7960 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxImageHistogram
*result
;
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 result
= (wxImageHistogram
*)new wxImageHistogram();
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7982 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 unsigned char arg1
;
7985 unsigned char arg2
;
7986 unsigned char arg3
;
7987 unsigned long result
;
7988 PyObject
* obj0
= 0 ;
7989 PyObject
* obj1
= 0 ;
7990 PyObject
* obj2
= 0 ;
7992 (char *) "r",(char *) "g",(char *) "b", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7997 arg1
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj0
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8001 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8005 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
8022 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
*resultobj
;
8024 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8025 unsigned char *arg2
= (unsigned char *) 0 ;
8026 unsigned char *arg3
= (unsigned char *) 0 ;
8027 unsigned char *arg4
= (unsigned char *) 0 ;
8028 unsigned char arg5
= (unsigned char) 1 ;
8029 unsigned char arg6
= (unsigned char) 0 ;
8030 unsigned char arg7
= (unsigned char) 0 ;
8032 unsigned char temp2
;
8033 unsigned char temp3
;
8034 unsigned char temp4
;
8035 PyObject
* obj0
= 0 ;
8036 PyObject
* obj1
= 0 ;
8037 PyObject
* obj2
= 0 ;
8038 PyObject
* obj3
= 0 ;
8040 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8050 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8056 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8062 arg7
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8075 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8076 resultobj
= t_output_helper(resultobj
,o
);
8079 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8080 resultobj
= t_output_helper(resultobj
,o
);
8083 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8084 resultobj
= t_output_helper(resultobj
,o
);
8092 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8095 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8097 return Py_BuildValue((char *)"");
8099 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxString
*arg1
= 0 ;
8102 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8103 int arg3
= (int) -1 ;
8105 bool temp1
= False
;
8106 PyObject
* obj0
= 0 ;
8107 PyObject
* obj1
= 0 ;
8108 PyObject
* obj2
= 0 ;
8110 (char *) "name",(char *) "type",(char *) "index", NULL
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8115 arg1
= wxString_in_helper(obj0
);
8116 if (arg1
== NULL
) SWIG_fail
;
8121 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8127 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8153 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxImage
*arg1
= (wxImage
*) 0 ;
8156 PyObject
* obj0
= 0 ;
8158 (char *) "self", NULL
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 Py_INCREF(Py_None
); resultobj
= Py_None
;
8177 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxString
*arg1
= 0 ;
8180 wxString
*arg2
= 0 ;
8181 int arg3
= (int) -1 ;
8183 bool temp1
= False
;
8184 bool temp2
= False
;
8185 PyObject
* obj0
= 0 ;
8186 PyObject
* obj1
= 0 ;
8187 PyObject
* obj2
= 0 ;
8189 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8194 arg1
= wxString_in_helper(obj0
);
8195 if (arg1
== NULL
) SWIG_fail
;
8199 arg2
= wxString_in_helper(obj1
);
8200 if (arg2
== NULL
) SWIG_fail
;
8205 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8239 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
;
8241 wxInputStream
*arg1
= 0 ;
8242 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8243 int arg3
= (int) -1 ;
8245 wxPyInputStream
*temp1
;
8247 PyObject
* obj0
= 0 ;
8248 PyObject
* obj1
= 0 ;
8249 PyObject
* obj2
= 0 ;
8251 (char *) "stream",(char *) "type",(char *) "index", NULL
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8256 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8257 arg1
= temp1
->m_wxis
;
8260 PyErr_Clear(); // clear the failure of the wxPyConvert above
8261 arg1
= wxPyCBInputStream_create(obj0
, False
);
8263 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8271 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8277 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8303 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
;
8305 wxInputStream
*arg1
= 0 ;
8306 wxString
*arg2
= 0 ;
8307 int arg3
= (int) -1 ;
8309 wxPyInputStream
*temp1
;
8311 bool temp2
= False
;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8314 PyObject
* obj2
= 0 ;
8316 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8321 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8322 arg1
= temp1
->m_wxis
;
8325 PyErr_Clear(); // clear the failure of the wxPyConvert above
8326 arg1
= wxPyCBInputStream_create(obj0
, False
);
8328 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8335 arg2
= wxString_in_helper(obj1
);
8336 if (arg2
== NULL
) SWIG_fail
;
8341 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8352 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8375 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
;
8377 int arg1
= (int) 0 ;
8378 int arg2
= (int) 0 ;
8379 bool arg3
= (bool) True
;
8381 PyObject
* obj0
= 0 ;
8382 PyObject
* obj1
= 0 ;
8383 PyObject
* obj2
= 0 ;
8385 (char *) "width",(char *) "height",(char *) "clear", NULL
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8391 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8397 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8403 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8421 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxBitmap
*arg1
= 0 ;
8425 PyObject
* obj0
= 0 ;
8427 (char *) "bitmap", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8449 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8453 unsigned char *arg3
= (unsigned char *) 0 ;
8455 PyObject
* obj0
= 0 ;
8456 PyObject
* obj1
= 0 ;
8457 PyObject
* obj2
= 0 ;
8459 (char *) "width",(char *) "height",(char *) "data", NULL
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8464 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8468 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8471 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8486 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 wxImage
*arg1
= (wxImage
*) 0 ;
8491 PyObject
* obj0
= 0 ;
8492 PyObject
* obj1
= 0 ;
8493 PyObject
* obj2
= 0 ;
8495 (char *) "self",(char *) "width",(char *) "height", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8501 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8505 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 (arg1
)->Create(arg2
,arg3
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 Py_INCREF(Py_None
); resultobj
= Py_None
;
8522 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
*resultobj
;
8524 wxImage
*arg1
= (wxImage
*) 0 ;
8525 PyObject
* obj0
= 0 ;
8527 (char *) "self", NULL
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 Py_INCREF(Py_None
); resultobj
= Py_None
;
8546 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
*resultobj
;
8548 wxImage
*arg1
= (wxImage
*) 0 ;
8551 SwigValueWrapper
< wxImage
> result
;
8552 PyObject
* obj0
= 0 ;
8553 PyObject
* obj1
= 0 ;
8554 PyObject
* obj2
= 0 ;
8556 (char *) "self",(char *) "width",(char *) "height", NULL
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8562 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8566 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 result
= (arg1
)->Scale(arg2
,arg3
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8577 wxImage
* resultptr
;
8578 resultptr
= new wxImage((wxImage
&) result
);
8579 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8587 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
;
8589 wxImage
*arg1
= (wxImage
*) 0 ;
8592 SwigValueWrapper
< wxImage
> result
;
8593 PyObject
* obj0
= 0 ;
8594 PyObject
* obj1
= 0 ;
8595 PyObject
* obj2
= 0 ;
8597 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8603 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8607 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8618 wxImage
* resultptr
;
8619 resultptr
= new wxImage((wxImage
&) result
);
8620 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8628 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
*resultobj
;
8630 wxImage
*arg1
= (wxImage
*) 0 ;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8636 PyObject
* obj2
= 0 ;
8638 (char *) "self",(char *) "width",(char *) "height", NULL
8641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8644 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8648 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
8655 result
= (wxImage
*) &_result_ref
;
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
8668 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxImage
*arg1
= (wxImage
*) 0 ;
8673 unsigned char arg4
;
8674 unsigned char arg5
;
8675 unsigned char arg6
;
8676 PyObject
* obj0
= 0 ;
8677 PyObject
* obj1
= 0 ;
8678 PyObject
* obj2
= 0 ;
8679 PyObject
* obj3
= 0 ;
8680 PyObject
* obj4
= 0 ;
8681 PyObject
* obj5
= 0 ;
8683 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8689 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8693 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8697 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8701 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj4
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8705 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj5
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 Py_INCREF(Py_None
); resultobj
= Py_None
;
8722 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
;
8724 wxImage
*arg1
= (wxImage
*) 0 ;
8727 unsigned char result
;
8728 PyObject
* obj0
= 0 ;
8729 PyObject
* obj1
= 0 ;
8730 PyObject
* obj2
= 0 ;
8732 (char *) "self",(char *) "x",(char *) "y", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8738 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8742 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8759 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
;
8761 wxImage
*arg1
= (wxImage
*) 0 ;
8764 unsigned char result
;
8765 PyObject
* obj0
= 0 ;
8766 PyObject
* obj1
= 0 ;
8767 PyObject
* obj2
= 0 ;
8769 (char *) "self",(char *) "x",(char *) "y", NULL
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8775 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8779 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8796 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
*resultobj
;
8798 wxImage
*arg1
= (wxImage
*) 0 ;
8801 unsigned char result
;
8802 PyObject
* obj0
= 0 ;
8803 PyObject
* obj1
= 0 ;
8804 PyObject
* obj2
= 0 ;
8806 (char *) "self",(char *) "x",(char *) "y", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8812 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8816 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8833 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
*resultobj
;
8835 wxImage
*arg1
= (wxImage
*) 0 ;
8838 unsigned char arg4
;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8841 PyObject
* obj2
= 0 ;
8842 PyObject
* obj3
= 0 ;
8844 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
8847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8850 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8854 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8858 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8868 Py_INCREF(Py_None
); resultobj
= Py_None
;
8875 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 wxImage
*arg1
= (wxImage
*) 0 ;
8880 unsigned char result
;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8883 PyObject
* obj2
= 0 ;
8885 (char *) "self",(char *) "x",(char *) "y", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8891 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8895 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8912 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxImage
*arg1
= (wxImage
*) 0 ;
8916 PyObject
* obj0
= 0 ;
8918 (char *) "self", NULL
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 result
= (bool)(arg1
)->HasAlpha();
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8937 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
;
8939 wxImage
*arg1
= (wxImage
*) 0 ;
8940 byte
*arg2
= (byte
*) 0 ;
8941 byte
*arg3
= (byte
*) 0 ;
8942 byte
*arg4
= (byte
*) 0 ;
8943 byte arg5
= (byte
) 0 ;
8944 byte arg6
= (byte
) 0 ;
8945 byte arg7
= (byte
) 0 ;
8950 PyObject
* obj0
= 0 ;
8951 PyObject
* obj1
= 0 ;
8952 PyObject
* obj2
= 0 ;
8953 PyObject
* obj3
= 0 ;
8955 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8965 arg5
= (byte
) SWIG_PyObj_AsUnsignedChar(obj1
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8971 arg6
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8977 arg7
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8990 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8991 resultobj
= t_output_helper(resultobj
,o
);
8994 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8995 resultobj
= t_output_helper(resultobj
,o
);
8998 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8999 resultobj
= t_output_helper(resultobj
,o
);
9007 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
;
9009 wxImage
*arg1
= (wxImage
*) 0 ;
9015 PyObject
* obj0
= 0 ;
9016 PyObject
* obj1
= 0 ;
9017 PyObject
* obj2
= 0 ;
9018 PyObject
* obj3
= 0 ;
9019 PyObject
* obj4
= 0 ;
9021 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9026 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9028 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9031 arg3
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9035 arg4
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9039 arg5
= (byte
) SWIG_PyObj_AsUnsignedChar(obj4
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9044 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9046 wxPyEndAllowThreads(__tstate
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9056 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
*resultobj
;
9058 wxString
*arg1
= 0 ;
9060 bool temp1
= False
;
9061 PyObject
* obj0
= 0 ;
9063 (char *) "name", NULL
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9068 arg1
= wxString_in_helper(obj0
);
9069 if (arg1
== NULL
) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9094 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
;
9096 wxString
*arg1
= 0 ;
9097 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9099 bool temp1
= False
;
9100 PyObject
* obj0
= 0 ;
9101 PyObject
* obj1
= 0 ;
9103 (char *) "name",(char *) "type", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9108 arg1
= wxString_in_helper(obj0
);
9109 if (arg1
== NULL
) SWIG_fail
;
9114 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 resultobj
= SWIG_PyObj_FromInt((int)result
);
9140 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
;
9142 wxImage
*arg1
= (wxImage
*) 0 ;
9143 wxString
*arg2
= 0 ;
9144 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9145 int arg4
= (int) -1 ;
9147 bool temp2
= False
;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9150 PyObject
* obj2
= 0 ;
9151 PyObject
* obj3
= 0 ;
9153 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9159 arg2
= wxString_in_helper(obj1
);
9160 if (arg2
== NULL
) SWIG_fail
;
9165 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9171 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9197 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
;
9199 wxImage
*arg1
= (wxImage
*) 0 ;
9200 wxString
*arg2
= 0 ;
9201 wxString
*arg3
= 0 ;
9202 int arg4
= (int) -1 ;
9204 bool temp2
= False
;
9205 bool temp3
= False
;
9206 PyObject
* obj0
= 0 ;
9207 PyObject
* obj1
= 0 ;
9208 PyObject
* obj2
= 0 ;
9209 PyObject
* obj3
= 0 ;
9211 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9217 arg2
= wxString_in_helper(obj1
);
9218 if (arg2
== NULL
) SWIG_fail
;
9222 arg3
= wxString_in_helper(obj2
);
9223 if (arg3
== NULL
) SWIG_fail
;
9228 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9262 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxImage
*arg1
= (wxImage
*) 0 ;
9265 wxString
*arg2
= 0 ;
9268 bool temp2
= False
;
9269 PyObject
* obj0
= 0 ;
9270 PyObject
* obj1
= 0 ;
9271 PyObject
* obj2
= 0 ;
9273 (char *) "self",(char *) "name",(char *) "type", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9279 arg2
= wxString_in_helper(obj1
);
9280 if (arg2
== NULL
) SWIG_fail
;
9284 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9309 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxImage
*arg1
= (wxImage
*) 0 ;
9312 wxString
*arg2
= 0 ;
9313 wxString
*arg3
= 0 ;
9315 bool temp2
= False
;
9316 bool temp3
= False
;
9317 PyObject
* obj0
= 0 ;
9318 PyObject
* obj1
= 0 ;
9319 PyObject
* obj2
= 0 ;
9321 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9327 arg2
= wxString_in_helper(obj1
);
9328 if (arg2
== NULL
) SWIG_fail
;
9332 arg3
= wxString_in_helper(obj2
);
9333 if (arg3
== NULL
) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9366 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9367 PyObject
*resultobj
;
9368 wxInputStream
*arg1
= 0 ;
9370 wxPyInputStream
*temp1
;
9372 PyObject
* obj0
= 0 ;
9374 (char *) "stream", NULL
9377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9379 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9380 arg1
= temp1
->m_wxis
;
9383 PyErr_Clear(); // clear the failure of the wxPyConvert above
9384 arg1
= wxPyCBInputStream_create(obj0
, False
);
9386 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 result
= (bool)wxImage::CanRead(*arg1
);
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9414 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
;
9416 wxImage
*arg1
= (wxImage
*) 0 ;
9417 wxInputStream
*arg2
= 0 ;
9418 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9419 int arg4
= (int) -1 ;
9421 wxPyInputStream
*temp2
;
9423 PyObject
* obj0
= 0 ;
9424 PyObject
* obj1
= 0 ;
9425 PyObject
* obj2
= 0 ;
9426 PyObject
* obj3
= 0 ;
9428 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9434 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9435 arg2
= temp2
->m_wxis
;
9438 PyErr_Clear(); // clear the failure of the wxPyConvert above
9439 arg2
= wxPyCBInputStream_create(obj1
, False
);
9441 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9449 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9455 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9481 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxImage
*arg1
= (wxImage
*) 0 ;
9484 wxInputStream
*arg2
= 0 ;
9485 wxString
*arg3
= 0 ;
9486 int arg4
= (int) -1 ;
9488 wxPyInputStream
*temp2
;
9490 bool temp3
= False
;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9493 PyObject
* obj2
= 0 ;
9494 PyObject
* obj3
= 0 ;
9496 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9502 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9503 arg2
= temp2
->m_wxis
;
9506 PyErr_Clear(); // clear the failure of the wxPyConvert above
9507 arg2
= wxPyCBInputStream_create(obj1
, False
);
9509 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9516 arg3
= wxString_in_helper(obj2
);
9517 if (arg3
== NULL
) SWIG_fail
;
9522 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9556 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 wxImage
*arg1
= (wxImage
*) 0 ;
9560 PyObject
* obj0
= 0 ;
9562 (char *) "self", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= (bool)(arg1
)->Ok();
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9581 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9582 PyObject
*resultobj
;
9583 wxImage
*arg1
= (wxImage
*) 0 ;
9585 PyObject
* obj0
= 0 ;
9587 (char *) "self", NULL
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 result
= (int)(arg1
)->GetWidth();
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9599 resultobj
= SWIG_PyObj_FromInt((int)result
);
9606 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
*resultobj
;
9608 wxImage
*arg1
= (wxImage
*) 0 ;
9610 PyObject
* obj0
= 0 ;
9612 (char *) "self", NULL
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (int)(arg1
)->GetHeight();
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9624 resultobj
= SWIG_PyObj_FromInt((int)result
);
9631 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
*resultobj
;
9633 wxImage
*arg1
= (wxImage
*) 0 ;
9635 SwigValueWrapper
< wxImage
> result
;
9637 PyObject
* obj0
= 0 ;
9638 PyObject
* obj1
= 0 ;
9640 (char *) "self",(char *) "rect", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
9644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9647 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9657 wxImage
* resultptr
;
9658 resultptr
= new wxImage((wxImage
&) result
);
9659 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9667 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxImage
*arg1
= (wxImage
*) 0 ;
9670 SwigValueWrapper
< wxImage
> result
;
9671 PyObject
* obj0
= 0 ;
9673 (char *) "self", NULL
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
9677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (arg1
)->Copy();
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9686 wxImage
* resultptr
;
9687 resultptr
= new wxImage((wxImage
&) result
);
9688 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9696 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9698 wxImage
*arg1
= (wxImage
*) 0 ;
9702 PyObject
* obj0
= 0 ;
9703 PyObject
* obj1
= 0 ;
9704 PyObject
* obj2
= 0 ;
9705 PyObject
* obj3
= 0 ;
9707 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
9710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9712 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9714 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9717 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9721 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 Py_INCREF(Py_None
); resultobj
= Py_None
;
9738 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
;
9740 wxImage
*arg1
= (wxImage
*) 0 ;
9742 PyObject
* obj0
= 0 ;
9744 (char *) "self", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
9748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (PyObject
*)wxImage_GetData(arg1
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9763 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
;
9765 wxImage
*arg1
= (wxImage
*) 0 ;
9766 PyObject
*arg2
= (PyObject
*) 0 ;
9767 PyObject
* obj0
= 0 ;
9768 PyObject
* obj1
= 0 ;
9770 (char *) "self",(char *) "data", NULL
9773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
9774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 wxImage_SetData(arg1
,arg2
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 Py_INCREF(Py_None
); resultobj
= Py_None
;
9790 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
;
9792 wxImage
*arg1
= (wxImage
*) 0 ;
9794 PyObject
* obj0
= 0 ;
9796 (char *) "self", NULL
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
9800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9815 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxImage
*arg1
= (wxImage
*) 0 ;
9818 PyObject
*arg2
= (PyObject
*) 0 ;
9819 PyObject
* obj0
= 0 ;
9820 PyObject
* obj1
= 0 ;
9822 (char *) "self",(char *) "data", NULL
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 wxImage_SetDataBuffer(arg1
,arg2
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 Py_INCREF(Py_None
); resultobj
= Py_None
;
9842 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 wxImage
*arg1
= (wxImage
*) 0 ;
9846 PyObject
* obj0
= 0 ;
9848 (char *) "self", NULL
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
9852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9867 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
;
9869 wxImage
*arg1
= (wxImage
*) 0 ;
9870 PyObject
*arg2
= (PyObject
*) 0 ;
9871 PyObject
* obj0
= 0 ;
9872 PyObject
* obj1
= 0 ;
9874 (char *) "self",(char *) "data", NULL
9877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
9878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 wxImage_SetAlphaData(arg1
,arg2
);
9884 wxPyEndAllowThreads(__tstate
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9887 Py_INCREF(Py_None
); resultobj
= Py_None
;
9894 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
*resultobj
;
9896 wxImage
*arg1
= (wxImage
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9900 (char *) "self", NULL
9903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
9904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9919 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxImage
*arg1
= (wxImage
*) 0 ;
9922 PyObject
*arg2
= (PyObject
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9924 PyObject
* obj1
= 0 ;
9926 (char *) "self",(char *) "data", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 wxImage_SetAlphaBuffer(arg1
,arg2
);
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9939 Py_INCREF(Py_None
); resultobj
= Py_None
;
9946 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 wxImage
*arg1
= (wxImage
*) 0 ;
9949 unsigned char arg2
;
9950 unsigned char arg3
;
9951 unsigned char arg4
;
9952 PyObject
* obj0
= 0 ;
9953 PyObject
* obj1
= 0 ;
9954 PyObject
* obj2
= 0 ;
9955 PyObject
* obj3
= 0 ;
9957 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9963 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9967 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9971 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 Py_INCREF(Py_None
); resultobj
= Py_None
;
9988 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
*resultobj
;
9990 wxImage
*arg1
= (wxImage
*) 0 ;
9991 unsigned char result
;
9992 PyObject
* obj0
= 0 ;
9994 (char *) "self", NULL
9997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
9998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 result
= (unsigned char)(arg1
)->GetMaskRed();
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10006 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10013 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxImage
*arg1
= (wxImage
*) 0 ;
10016 unsigned char result
;
10017 PyObject
* obj0
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "self", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (unsigned char)(arg1
)->GetMaskGreen();
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10038 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxImage
*arg1
= (wxImage
*) 0 ;
10041 unsigned char result
;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= (unsigned char)(arg1
)->GetMaskBlue();
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10063 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxImage
*arg1
= (wxImage
*) 0 ;
10066 bool arg2
= (bool) True
;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self",(char *) "mask", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10077 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 (arg1
)->SetMask(arg2
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 Py_INCREF(Py_None
); resultobj
= Py_None
;
10095 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
*resultobj
;
10097 wxImage
*arg1
= (wxImage
*) 0 ;
10099 PyObject
* obj0
= 0 ;
10100 char *kwnames
[] = {
10101 (char *) "self", NULL
10104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 result
= (bool)(arg1
)->HasMask();
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10120 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10122 wxImage
*arg1
= (wxImage
*) 0 ;
10124 wxPoint
*arg3
= 0 ;
10125 bool arg4
= (bool) True
;
10126 wxPoint
*arg5
= (wxPoint
*) NULL
;
10127 SwigValueWrapper
< wxImage
> result
;
10129 PyObject
* obj0
= 0 ;
10130 PyObject
* obj1
= 0 ;
10131 PyObject
* obj2
= 0 ;
10132 PyObject
* obj3
= 0 ;
10133 PyObject
* obj4
= 0 ;
10134 char *kwnames
[] = {
10135 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10141 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10146 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10150 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10155 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10165 wxImage
* resultptr
;
10166 resultptr
= new wxImage((wxImage
&) result
);
10167 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10175 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 wxImage
*arg1
= (wxImage
*) 0 ;
10178 bool arg2
= (bool) True
;
10179 SwigValueWrapper
< wxImage
> result
;
10180 PyObject
* obj0
= 0 ;
10181 PyObject
* obj1
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self",(char *) "clockwise", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10190 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (arg1
)->Rotate90(arg2
);
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10202 wxImage
* resultptr
;
10203 resultptr
= new wxImage((wxImage
&) result
);
10204 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10212 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
;
10214 wxImage
*arg1
= (wxImage
*) 0 ;
10215 bool arg2
= (bool) True
;
10216 SwigValueWrapper
< wxImage
> result
;
10217 PyObject
* obj0
= 0 ;
10218 PyObject
* obj1
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self",(char *) "horizontally", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10227 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (arg1
)->Mirror(arg2
);
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10239 wxImage
* resultptr
;
10240 resultptr
= new wxImage((wxImage
&) result
);
10241 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10249 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
*resultobj
;
10251 wxImage
*arg1
= (wxImage
*) 0 ;
10252 unsigned char arg2
;
10253 unsigned char arg3
;
10254 unsigned char arg4
;
10255 unsigned char arg5
;
10256 unsigned char arg6
;
10257 unsigned char arg7
;
10258 PyObject
* obj0
= 0 ;
10259 PyObject
* obj1
= 0 ;
10260 PyObject
* obj2
= 0 ;
10261 PyObject
* obj3
= 0 ;
10262 PyObject
* obj4
= 0 ;
10263 PyObject
* obj5
= 0 ;
10264 PyObject
* obj6
= 0 ;
10265 char *kwnames
[] = {
10266 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10272 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10276 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10277 if (PyErr_Occurred()) SWIG_fail
;
10280 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10284 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj4
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10288 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj5
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10292 arg7
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj6
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10299 wxPyEndAllowThreads(__tstate
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10302 Py_INCREF(Py_None
); resultobj
= Py_None
;
10309 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10310 PyObject
*resultobj
;
10311 wxImage
*arg1
= (wxImage
*) 0 ;
10312 unsigned char arg2
;
10313 unsigned char arg3
;
10314 unsigned char arg4
;
10315 SwigValueWrapper
< wxImage
> result
;
10316 PyObject
* obj0
= 0 ;
10317 PyObject
* obj1
= 0 ;
10318 PyObject
* obj2
= 0 ;
10319 PyObject
* obj3
= 0 ;
10320 char *kwnames
[] = {
10321 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10327 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10331 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10335 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10346 wxImage
* resultptr
;
10347 resultptr
= new wxImage((wxImage
&) result
);
10348 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10356 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxImage
*arg1
= (wxImage
*) 0 ;
10359 wxString
*arg2
= 0 ;
10360 wxString
*arg3
= 0 ;
10361 bool temp2
= False
;
10362 bool temp3
= False
;
10363 PyObject
* obj0
= 0 ;
10364 PyObject
* obj1
= 0 ;
10365 PyObject
* obj2
= 0 ;
10366 char *kwnames
[] = {
10367 (char *) "self",(char *) "name",(char *) "value", NULL
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10373 arg2
= wxString_in_helper(obj1
);
10374 if (arg2
== NULL
) SWIG_fail
;
10378 arg3
= wxString_in_helper(obj2
);
10379 if (arg3
== NULL
) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 Py_INCREF(Py_None
); resultobj
= Py_None
;
10412 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxImage
*arg1
= (wxImage
*) 0 ;
10415 wxString
*arg2
= 0 ;
10417 bool temp2
= False
;
10418 PyObject
* obj0
= 0 ;
10419 PyObject
* obj1
= 0 ;
10420 PyObject
* obj2
= 0 ;
10421 char *kwnames
[] = {
10422 (char *) "self",(char *) "name",(char *) "value", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10428 arg2
= wxString_in_helper(obj1
);
10429 if (arg2
== NULL
) SWIG_fail
;
10433 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 Py_INCREF(Py_None
); resultobj
= Py_None
;
10458 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxImage
*arg1
= (wxImage
*) 0 ;
10461 wxString
*arg2
= 0 ;
10463 bool temp2
= False
;
10464 PyObject
* obj0
= 0 ;
10465 PyObject
* obj1
= 0 ;
10466 char *kwnames
[] = {
10467 (char *) "self",(char *) "name", NULL
10470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10473 arg2
= wxString_in_helper(obj1
);
10474 if (arg2
== NULL
) SWIG_fail
;
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10505 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxImage
*arg1
= (wxImage
*) 0 ;
10508 wxString
*arg2
= 0 ;
10510 bool temp2
= False
;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self",(char *) "name", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10520 arg2
= wxString_in_helper(obj1
);
10521 if (arg2
== NULL
) SWIG_fail
;
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 resultobj
= SWIG_PyObj_FromInt((int)result
);
10546 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
;
10548 wxImage
*arg1
= (wxImage
*) 0 ;
10549 wxString
*arg2
= 0 ;
10551 bool temp2
= False
;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 char *kwnames
[] = {
10555 (char *) "self",(char *) "name", NULL
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10561 arg2
= wxString_in_helper(obj1
);
10562 if (arg2
== NULL
) SWIG_fail
;
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10587 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
;
10589 wxImage
*arg1
= (wxImage
*) 0 ;
10590 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10591 unsigned long result
;
10592 PyObject
* obj0
= 0 ;
10593 PyObject
* obj1
= 0 ;
10594 char *kwnames
[] = {
10595 (char *) "self",(char *) "stopafter", NULL
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10602 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
10620 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
;
10622 wxImage
*arg1
= (wxImage
*) 0 ;
10623 wxImageHistogram
*arg2
= 0 ;
10624 unsigned long result
;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 char *kwnames
[] = {
10628 (char *) "self",(char *) "h", NULL
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
10632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10633 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10634 if (arg2
== NULL
) {
10635 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
10651 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10654 PyObject
* obj0
= 0 ;
10655 char *kwnames
[] = {
10656 (char *) "handler", NULL
10659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
10660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 wxImage::AddHandler(arg1
);
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 Py_INCREF(Py_None
); resultobj
= Py_None
;
10675 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10678 PyObject
* obj0
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "handler", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 wxImage::InsertHandler(arg1
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 Py_INCREF(Py_None
); resultobj
= Py_None
;
10699 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxString
*arg1
= 0 ;
10703 bool temp1
= False
;
10704 PyObject
* obj0
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "name", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
10711 arg1
= wxString_in_helper(obj0
);
10712 if (arg1
== NULL
) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10737 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
;
10740 char *kwnames
[] = {
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 result
= wxImage::GetImageExtWildcard();
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10765 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxImage
*arg1
= (wxImage
*) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "self", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
10775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 result
= wxImage_ConvertToBitmap(arg1
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10784 wxBitmap
* resultptr
;
10785 resultptr
= new wxBitmap((wxBitmap
&) result
);
10786 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
10794 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxImage
*arg1
= (wxImage
*) 0 ;
10797 unsigned char arg2
;
10798 unsigned char arg3
;
10799 unsigned char arg4
;
10801 PyObject
* obj0
= 0 ;
10802 PyObject
* obj1
= 0 ;
10803 PyObject
* obj2
= 0 ;
10804 PyObject
* obj3
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10812 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10816 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10820 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10831 wxBitmap
* resultptr
;
10832 resultptr
= new wxBitmap((wxBitmap
&) result
);
10833 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
10841 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
10843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10844 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
10846 return Py_BuildValue((char *)"");
10848 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
;
10850 char *kwnames
[] = {
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 wxInitAllImageHandlers();
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10862 Py_INCREF(Py_None
); resultobj
= Py_None
;
10869 static int _wrap_NullImage_set(PyObject
*) {
10870 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
10875 static PyObject
*_wrap_NullImage_get() {
10878 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
10883 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
10884 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
10889 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
10894 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
10896 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
10903 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
10904 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
10909 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
10914 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10916 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10923 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
10924 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
10929 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
10934 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10936 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10943 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
10944 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
10949 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
10954 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10956 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10963 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
10964 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
10969 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
10974 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10976 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10983 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxBMPHandler
*result
;
10986 char *kwnames
[] = {
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (wxBMPHandler
*)new wxBMPHandler();
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
11005 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11008 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11010 return Py_BuildValue((char *)"");
11012 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxICOHandler
*result
;
11015 char *kwnames
[] = {
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 result
= (wxICOHandler
*)new wxICOHandler();
11024 wxPyEndAllowThreads(__tstate
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11027 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
11034 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11037 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11039 return Py_BuildValue((char *)"");
11041 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
;
11043 wxCURHandler
*result
;
11044 char *kwnames
[] = {
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 result
= (wxCURHandler
*)new wxCURHandler();
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
11063 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11066 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11068 return Py_BuildValue((char *)"");
11070 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
;
11072 wxANIHandler
*result
;
11073 char *kwnames
[] = {
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (wxANIHandler
*)new wxANIHandler();
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
11092 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11095 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11097 return Py_BuildValue((char *)"");
11099 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
*resultobj
;
11101 wxPNGHandler
*result
;
11102 char *kwnames
[] = {
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 result
= (wxPNGHandler
*)new wxPNGHandler();
11111 wxPyEndAllowThreads(__tstate
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11114 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
11121 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11124 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11126 return Py_BuildValue((char *)"");
11128 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11129 PyObject
*resultobj
;
11130 wxGIFHandler
*result
;
11131 char *kwnames
[] = {
11135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 result
= (wxGIFHandler
*)new wxGIFHandler();
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11143 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
11150 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11153 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11155 return Py_BuildValue((char *)"");
11157 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11158 PyObject
*resultobj
;
11159 wxPCXHandler
*result
;
11160 char *kwnames
[] = {
11164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 result
= (wxPCXHandler
*)new wxPCXHandler();
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11172 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
11179 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11182 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11184 return Py_BuildValue((char *)"");
11186 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
;
11188 wxJPEGHandler
*result
;
11189 char *kwnames
[] = {
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
11208 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11211 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11213 return Py_BuildValue((char *)"");
11215 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
;
11217 wxPNMHandler
*result
;
11218 char *kwnames
[] = {
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 result
= (wxPNMHandler
*)new wxPNMHandler();
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
11237 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11240 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11242 return Py_BuildValue((char *)"");
11244 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
;
11246 wxXPMHandler
*result
;
11247 char *kwnames
[] = {
11251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11254 result
= (wxXPMHandler
*)new wxXPMHandler();
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
11266 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11269 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11271 return Py_BuildValue((char *)"");
11273 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxTIFFHandler
*result
;
11276 char *kwnames
[] = {
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11288 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
11295 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11298 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11300 return Py_BuildValue((char *)"");
11302 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11303 PyObject
*resultobj
;
11304 wxEvtHandler
*result
;
11305 char *kwnames
[] = {
11309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 result
= (wxEvtHandler
*)new wxEvtHandler();
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= wxPyMake_wxObject(result
);
11326 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11329 wxEvtHandler
*result
;
11330 PyObject
* obj0
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= wxPyMake_wxObject(result
);
11353 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
;
11355 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11356 wxEvtHandler
*result
;
11357 PyObject
* obj0
= 0 ;
11358 char *kwnames
[] = {
11359 (char *) "self", NULL
11362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11372 resultobj
= wxPyMake_wxObject(result
);
11380 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
;
11382 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11383 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11384 PyObject
* obj0
= 0 ;
11385 PyObject
* obj1
= 0 ;
11386 char *kwnames
[] = {
11387 (char *) "self",(char *) "handler", NULL
11390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11392 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 (arg1
)->SetNextHandler(arg2
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11400 Py_INCREF(Py_None
); resultobj
= Py_None
;
11407 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11408 PyObject
*resultobj
;
11409 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11410 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11411 PyObject
* obj0
= 0 ;
11412 PyObject
* obj1
= 0 ;
11413 char *kwnames
[] = {
11414 (char *) "self",(char *) "handler", NULL
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 (arg1
)->SetPreviousHandler(arg2
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 Py_INCREF(Py_None
); resultobj
= Py_None
;
11434 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11435 PyObject
*resultobj
;
11436 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11438 PyObject
* obj0
= 0 ;
11439 char *kwnames
[] = {
11440 (char *) "self", NULL
11443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11459 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
;
11461 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self",(char *) "enabled", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11472 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 (arg1
)->SetEvtHandlerEnabled(arg2
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 Py_INCREF(Py_None
); resultobj
= Py_None
;
11489 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11490 PyObject
*resultobj
;
11491 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11492 wxEvent
*arg2
= 0 ;
11494 PyObject
* obj0
= 0 ;
11495 PyObject
* obj1
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self",(char *) "event", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11502 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11503 if (arg2
== NULL
) {
11504 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11520 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
;
11522 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11523 wxEvent
*arg2
= 0 ;
11524 PyObject
* obj0
= 0 ;
11525 PyObject
* obj1
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self",(char *) "event", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11532 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11533 if (arg2
== NULL
) {
11534 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 (arg1
)->AddPendingEvent(*arg2
);
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 Py_INCREF(Py_None
); resultobj
= Py_None
;
11550 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
;
11552 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11553 PyObject
* obj0
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 (arg1
)->ProcessPendingEvents();
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 Py_INCREF(Py_None
); resultobj
= Py_None
;
11574 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11580 PyObject
*arg5
= (PyObject
*) 0 ;
11581 PyObject
* obj0
= 0 ;
11582 PyObject
* obj1
= 0 ;
11583 PyObject
* obj2
= 0 ;
11584 PyObject
* obj3
= 0 ;
11585 PyObject
* obj4
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11593 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11597 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11601 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
11609 wxPyEndAllowThreads(__tstate
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11612 Py_INCREF(Py_None
); resultobj
= Py_None
;
11619 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
*resultobj
;
11621 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11623 int arg3
= (int) -1 ;
11624 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
11626 PyObject
* obj0
= 0 ;
11627 PyObject
* obj1
= 0 ;
11628 PyObject
* obj2
= 0 ;
11629 PyObject
* obj3
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11637 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11642 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11648 arg4
= (wxEventType
) SWIG_PyObj_AsInt(obj3
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11666 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
;
11668 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11669 PyObject
*arg2
= (PyObject
*) 0 ;
11670 PyObject
* obj0
= 0 ;
11671 PyObject
* obj1
= 0 ;
11672 char *kwnames
[] = {
11673 (char *) "self",(char *) "_self", NULL
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
11677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 wxEvtHandler__setOORInfo(arg1
,arg2
);
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 Py_INCREF(Py_None
); resultobj
= Py_None
;
11693 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11696 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
11698 return Py_BuildValue((char *)"");
11700 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
;
11702 wxEventType result
;
11703 char *kwnames
[] = {
11707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (wxEventType
)wxNewEventType();
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11715 resultobj
= SWIG_PyObj_FromInt((int)result
);
11722 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11723 PyObject
*resultobj
;
11724 wxEvent
*arg1
= (wxEvent
*) 0 ;
11725 PyObject
* obj0
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
11731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 Py_INCREF(Py_None
); resultobj
= Py_None
;
11746 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
;
11748 wxEvent
*arg1
= (wxEvent
*) 0 ;
11750 PyObject
* obj0
= 0 ;
11751 PyObject
* obj1
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "self",(char *) "typ", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
11757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11759 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 (arg1
)->SetEventType(arg2
);
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11769 Py_INCREF(Py_None
); resultobj
= Py_None
;
11776 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11777 PyObject
*resultobj
;
11778 wxEvent
*arg1
= (wxEvent
*) 0 ;
11779 wxEventType result
;
11780 PyObject
* obj0
= 0 ;
11781 char *kwnames
[] = {
11782 (char *) "self", NULL
11785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
11786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 resultobj
= SWIG_PyObj_FromInt((int)result
);
11801 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxEvent
*arg1
= (wxEvent
*) 0 ;
11805 PyObject
* obj0
= 0 ;
11806 char *kwnames
[] = {
11807 (char *) "self", NULL
11810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
11811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11820 resultobj
= wxPyMake_wxObject(result
);
11828 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
;
11830 wxEvent
*arg1
= (wxEvent
*) 0 ;
11831 wxObject
*arg2
= (wxObject
*) 0 ;
11832 PyObject
* obj0
= 0 ;
11833 PyObject
* obj1
= 0 ;
11834 char *kwnames
[] = {
11835 (char *) "self",(char *) "obj", NULL
11838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
11839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11840 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 (arg1
)->SetEventObject(arg2
);
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 Py_INCREF(Py_None
); resultobj
= Py_None
;
11855 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
;
11857 wxEvent
*arg1
= (wxEvent
*) 0 ;
11859 PyObject
* obj0
= 0 ;
11860 char *kwnames
[] = {
11861 (char *) "self", NULL
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
11865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= SWIG_PyObj_FromLong((long)result
);
11880 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11881 PyObject
*resultobj
;
11882 wxEvent
*arg1
= (wxEvent
*) 0 ;
11883 long arg2
= (long) 0 ;
11884 PyObject
* obj0
= 0 ;
11885 PyObject
* obj1
= 0 ;
11886 char *kwnames
[] = {
11887 (char *) "self",(char *) "ts", NULL
11890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
11891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11894 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 (arg1
)->SetTimestamp(arg2
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 Py_INCREF(Py_None
); resultobj
= Py_None
;
11912 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 wxEvent
*arg1
= (wxEvent
*) 0 ;
11916 PyObject
* obj0
= 0 ;
11917 char *kwnames
[] = {
11918 (char *) "self", NULL
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
11922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 result
= (int)((wxEvent
const *)arg1
)->GetId();
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11930 resultobj
= SWIG_PyObj_FromInt((int)result
);
11937 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxEvent
*arg1
= (wxEvent
*) 0 ;
11941 PyObject
* obj0
= 0 ;
11942 PyObject
* obj1
= 0 ;
11943 char *kwnames
[] = {
11944 (char *) "self",(char *) "Id", NULL
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
11948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11950 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 (arg1
)->SetId(arg2
);
11957 wxPyEndAllowThreads(__tstate
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11960 Py_INCREF(Py_None
); resultobj
= Py_None
;
11967 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
;
11969 wxEvent
*arg1
= (wxEvent
*) 0 ;
11971 PyObject
* obj0
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
11977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11992 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
;
11994 wxEvent
*arg1
= (wxEvent
*) 0 ;
11995 bool arg2
= (bool) True
;
11996 PyObject
* obj0
= 0 ;
11997 PyObject
* obj1
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self",(char *) "skip", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12006 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 (arg1
)->Skip(arg2
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 Py_INCREF(Py_None
); resultobj
= Py_None
;
12024 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
;
12026 wxEvent
*arg1
= (wxEvent
*) 0 ;
12028 PyObject
* obj0
= 0 ;
12029 char *kwnames
[] = {
12030 (char *) "self", NULL
12033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12049 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxEvent
*arg1
= (wxEvent
*) 0 ;
12053 PyObject
* obj0
= 0 ;
12054 char *kwnames
[] = {
12055 (char *) "self", NULL
12058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12074 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxEvent
*arg1
= (wxEvent
*) 0 ;
12078 PyObject
* obj0
= 0 ;
12079 char *kwnames
[] = {
12080 (char *) "self", NULL
12083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 result
= (int)(arg1
)->StopPropagation();
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 resultobj
= SWIG_PyObj_FromInt((int)result
);
12099 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxEvent
*arg1
= (wxEvent
*) 0 ;
12103 PyObject
* obj0
= 0 ;
12104 PyObject
* obj1
= 0 ;
12105 char *kwnames
[] = {
12106 (char *) "self",(char *) "propagationLevel", NULL
12109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12112 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 (arg1
)->ResumePropagation(arg2
);
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 Py_INCREF(Py_None
); resultobj
= Py_None
;
12129 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
;
12131 wxEvent
*arg1
= (wxEvent
*) 0 ;
12133 PyObject
* obj0
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "self", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= (wxEvent
*)(arg1
)->Clone();
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
12154 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12157 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12159 return Py_BuildValue((char *)"");
12161 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxEvent
*arg1
= 0 ;
12164 wxPropagationDisabler
*result
;
12165 PyObject
* obj0
= 0 ;
12166 char *kwnames
[] = {
12167 (char *) "event", NULL
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12172 if (arg1
== NULL
) {
12173 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
12189 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
;
12191 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12192 PyObject
* obj0
= 0 ;
12193 char *kwnames
[] = {
12194 (char *) "self", NULL
12197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12206 Py_INCREF(Py_None
); resultobj
= Py_None
;
12213 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12216 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12218 return Py_BuildValue((char *)"");
12220 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
;
12222 wxEvent
*arg1
= 0 ;
12223 wxPropagateOnce
*result
;
12224 PyObject
* obj0
= 0 ;
12225 char *kwnames
[] = {
12226 (char *) "event", NULL
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12231 if (arg1
== NULL
) {
12232 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
12248 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
;
12250 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12251 PyObject
* obj0
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "self", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 Py_INCREF(Py_None
); resultobj
= Py_None
;
12272 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12275 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12277 return Py_BuildValue((char *)"");
12279 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12282 int arg2
= (int) 0 ;
12283 wxCommandEvent
*result
;
12284 PyObject
* obj0
= 0 ;
12285 PyObject
* obj1
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "commandType",(char *) "winid", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12293 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12299 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
12317 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12321 PyObject
* obj0
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= SWIG_PyObj_FromInt((int)result
);
12342 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12345 wxString
*arg2
= 0 ;
12346 bool temp2
= False
;
12347 PyObject
* obj0
= 0 ;
12348 PyObject
* obj1
= 0 ;
12349 char *kwnames
[] = {
12350 (char *) "self",(char *) "s", NULL
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12356 arg2
= wxString_in_helper(obj1
);
12357 if (arg2
== NULL
) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 (arg1
)->SetString((wxString
const &)*arg2
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 Py_INCREF(Py_None
); resultobj
= Py_None
;
12382 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 char *kwnames
[] = {
12388 (char *) "self", NULL
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12413 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
;
12415 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12417 PyObject
* obj0
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12438 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
;
12440 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12442 PyObject
* obj0
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12463 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12467 PyObject
* obj0
= 0 ;
12468 PyObject
* obj1
= 0 ;
12469 char *kwnames
[] = {
12470 (char *) "self",(char *) "extraLong", NULL
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12476 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 (arg1
)->SetExtraLong(arg2
);
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 Py_INCREF(Py_None
); resultobj
= Py_None
;
12493 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
;
12495 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12497 PyObject
* obj0
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 resultobj
= SWIG_PyObj_FromLong((long)result
);
12518 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12519 PyObject
*resultobj
;
12520 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12522 PyObject
* obj0
= 0 ;
12523 PyObject
* obj1
= 0 ;
12524 char *kwnames
[] = {
12525 (char *) "self",(char *) "i", NULL
12528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12531 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 (arg1
)->SetInt(arg2
);
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12541 Py_INCREF(Py_None
); resultobj
= Py_None
;
12548 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
;
12550 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12552 PyObject
* obj0
= 0 ;
12553 char *kwnames
[] = {
12554 (char *) "self", NULL
12557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= SWIG_PyObj_FromLong((long)result
);
12573 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12577 PyObject
* obj0
= 0 ;
12578 char *kwnames
[] = {
12579 (char *) "self", NULL
12582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
12598 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12601 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
12603 return Py_BuildValue((char *)"");
12605 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
;
12607 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12608 int arg2
= (int) 0 ;
12609 wxNotifyEvent
*result
;
12610 PyObject
* obj0
= 0 ;
12611 PyObject
* obj1
= 0 ;
12612 char *kwnames
[] = {
12613 (char *) "commandType",(char *) "winid", NULL
12616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12619 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12625 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
12643 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
*resultobj
;
12645 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
12652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 Py_INCREF(Py_None
); resultobj
= Py_None
;
12667 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12670 PyObject
* obj0
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "self", NULL
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
12676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12684 Py_INCREF(Py_None
); resultobj
= Py_None
;
12691 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
;
12693 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12695 PyObject
* obj0
= 0 ;
12696 char *kwnames
[] = {
12697 (char *) "self", NULL
12700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
12701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 result
= (bool)(arg1
)->IsAllowed();
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12716 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12719 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
12721 return Py_BuildValue((char *)"");
12723 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
;
12725 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12726 int arg2
= (int) 0 ;
12727 int arg3
= (int) 0 ;
12728 int arg4
= (int) 0 ;
12729 wxScrollEvent
*result
;
12730 PyObject
* obj0
= 0 ;
12731 PyObject
* obj1
= 0 ;
12732 PyObject
* obj2
= 0 ;
12733 PyObject
* obj3
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12741 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12747 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12753 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12759 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
12777 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
;
12779 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 char *kwnames
[] = {
12783 (char *) "self", NULL
12786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
12787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= SWIG_PyObj_FromInt((int)result
);
12802 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
;
12804 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12806 PyObject
* obj0
= 0 ;
12807 char *kwnames
[] = {
12808 (char *) "self", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12815 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= SWIG_PyObj_FromInt((int)result
);
12827 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
;
12829 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12831 PyObject
* obj0
= 0 ;
12832 PyObject
* obj1
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self",(char *) "orient", NULL
12837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
12838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12840 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 (arg1
)->SetOrientation(arg2
);
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 Py_INCREF(Py_None
); resultobj
= Py_None
;
12857 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
;
12859 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12861 PyObject
* obj0
= 0 ;
12862 PyObject
* obj1
= 0 ;
12863 char *kwnames
[] = {
12864 (char *) "self",(char *) "pos", NULL
12867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12870 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 (arg1
)->SetPosition(arg2
);
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 Py_INCREF(Py_None
); resultobj
= Py_None
;
12887 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12890 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
12892 return Py_BuildValue((char *)"");
12894 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12895 PyObject
*resultobj
;
12896 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12897 int arg2
= (int) 0 ;
12898 int arg3
= (int) 0 ;
12899 wxScrollWinEvent
*result
;
12900 PyObject
* obj0
= 0 ;
12901 PyObject
* obj1
= 0 ;
12902 PyObject
* obj2
= 0 ;
12903 char *kwnames
[] = {
12904 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
12907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12910 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12916 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12922 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
12940 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 char *kwnames
[] = {
12946 (char *) "self", NULL
12949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
12950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= SWIG_PyObj_FromInt((int)result
);
12965 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12969 PyObject
* obj0
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= SWIG_PyObj_FromInt((int)result
);
12990 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
;
12992 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12994 PyObject
* obj0
= 0 ;
12995 PyObject
* obj1
= 0 ;
12996 char *kwnames
[] = {
12997 (char *) "self",(char *) "orient", NULL
13000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13003 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 (arg1
)->SetOrientation(arg2
);
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 Py_INCREF(Py_None
); resultobj
= Py_None
;
13020 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
;
13022 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13024 PyObject
* obj0
= 0 ;
13025 PyObject
* obj1
= 0 ;
13026 char *kwnames
[] = {
13027 (char *) "self",(char *) "pos", NULL
13030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13033 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 (arg1
)->SetPosition(arg2
);
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 Py_INCREF(Py_None
); resultobj
= Py_None
;
13050 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13053 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13055 return Py_BuildValue((char *)"");
13057 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13060 wxMouseEvent
*result
;
13061 PyObject
* obj0
= 0 ;
13062 char *kwnames
[] = {
13063 (char *) "mouseType", NULL
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13069 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13081 resultobj
= wxPyMake_wxObject(result
);
13089 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
;
13091 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13093 PyObject
* obj0
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13114 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13117 int arg2
= (int) wxMOUSE_BTN_ANY
;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self",(char *) "but", NULL
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13129 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13147 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13150 int arg2
= (int) wxMOUSE_BTN_ANY
;
13152 PyObject
* obj0
= 0 ;
13153 PyObject
* obj1
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "self",(char *) "but", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13162 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13180 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
;
13182 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13183 int arg2
= (int) wxMOUSE_BTN_ANY
;
13185 PyObject
* obj0
= 0 ;
13186 PyObject
* obj1
= 0 ;
13187 char *kwnames
[] = {
13188 (char *) "self",(char *) "but", NULL
13191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13195 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13213 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13218 PyObject
* obj0
= 0 ;
13219 PyObject
* obj1
= 0 ;
13220 char *kwnames
[] = {
13221 (char *) "self",(char *) "but", NULL
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13227 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13244 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
;
13246 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13249 PyObject
* obj0
= 0 ;
13250 PyObject
* obj1
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self",(char *) "but", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13258 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13275 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
;
13277 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13279 PyObject
* obj0
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= SWIG_PyObj_FromInt((int)result
);
13300 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13325 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
;
13327 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13350 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13354 PyObject
* obj0
= 0 ;
13355 char *kwnames
[] = {
13356 (char *) "self", NULL
13359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13375 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13400 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
;
13402 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13404 PyObject
* obj0
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13425 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13429 PyObject
* obj0
= 0 ;
13430 char *kwnames
[] = {
13431 (char *) "self", NULL
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13450 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
;
13452 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13454 PyObject
* obj0
= 0 ;
13455 char *kwnames
[] = {
13456 (char *) "self", NULL
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13465 wxPyEndAllowThreads(__tstate
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13475 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13488 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13500 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
;
13502 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13504 PyObject
* obj0
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13525 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
;
13527 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13529 PyObject
* obj0
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "self", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13550 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13554 PyObject
* obj0
= 0 ;
13555 char *kwnames
[] = {
13556 (char *) "self", NULL
13559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
13560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13575 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
;
13577 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13579 PyObject
* obj0
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
13585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13600 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13601 PyObject
*resultobj
;
13602 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13604 PyObject
* obj0
= 0 ;
13605 char *kwnames
[] = {
13606 (char *) "self", NULL
13609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
13610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13625 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
;
13627 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13629 PyObject
* obj0
= 0 ;
13630 char *kwnames
[] = {
13631 (char *) "self", NULL
13634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
13635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 result
= (bool)(arg1
)->LeftIsDown();
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13650 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13654 PyObject
* obj0
= 0 ;
13655 char *kwnames
[] = {
13656 (char *) "self", NULL
13659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
13660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (bool)(arg1
)->MiddleIsDown();
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13675 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
;
13677 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13679 PyObject
* obj0
= 0 ;
13680 char *kwnames
[] = {
13681 (char *) "self", NULL
13684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
13685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 result
= (bool)(arg1
)->RightIsDown();
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13700 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13701 PyObject
*resultobj
;
13702 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13704 PyObject
* obj0
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
13710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13725 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
;
13727 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13729 PyObject
* obj0
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "self", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
13735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13750 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
;
13752 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13754 PyObject
* obj0
= 0 ;
13755 char *kwnames
[] = {
13756 (char *) "self", NULL
13759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
13760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
13765 wxPyEndAllowThreads(__tstate
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13775 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13779 PyObject
* obj0
= 0 ;
13780 char *kwnames
[] = {
13781 (char *) "self", NULL
13784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
13785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13800 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
;
13802 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 char *kwnames
[] = {
13806 (char *) "self", NULL
13809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 result
= (arg1
)->GetPosition();
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13819 wxPoint
* resultptr
;
13820 resultptr
= new wxPoint((wxPoint
&) result
);
13821 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13829 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13830 PyObject
*resultobj
;
13831 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13832 long *arg2
= (long *) 0 ;
13833 long *arg3
= (long *) 0 ;
13836 PyObject
* obj0
= 0 ;
13837 char *kwnames
[] = {
13838 (char *) "self", NULL
13843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
13844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 (arg1
)->GetPosition(arg2
,arg3
);
13849 wxPyEndAllowThreads(__tstate
);
13850 if (PyErr_Occurred()) SWIG_fail
;
13852 Py_INCREF(Py_None
); resultobj
= Py_None
;
13854 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13855 resultobj
= t_output_helper(resultobj
,o
);
13858 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13859 resultobj
= t_output_helper(resultobj
,o
);
13867 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
;
13869 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13872 PyObject
* obj0
= 0 ;
13873 PyObject
* obj1
= 0 ;
13874 char *kwnames
[] = {
13875 (char *) "self",(char *) "dc", NULL
13878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13880 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13881 if (arg2
== NULL
) {
13882 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13892 wxPoint
* resultptr
;
13893 resultptr
= new wxPoint((wxPoint
&) result
);
13894 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13902 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
;
13904 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13906 PyObject
* obj0
= 0 ;
13907 char *kwnames
[] = {
13908 (char *) "self", NULL
13911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
13912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= SWIG_PyObj_FromInt((int)result
);
13927 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
;
13929 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13931 PyObject
* obj0
= 0 ;
13932 char *kwnames
[] = {
13933 (char *) "self", NULL
13936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
13937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= SWIG_PyObj_FromInt((int)result
);
13952 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13956 PyObject
* obj0
= 0 ;
13957 char *kwnames
[] = {
13958 (char *) "self", NULL
13961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
13962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13965 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
13967 wxPyEndAllowThreads(__tstate
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= SWIG_PyObj_FromInt((int)result
);
13977 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13981 PyObject
* obj0
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13995 resultobj
= SWIG_PyObj_FromInt((int)result
);
14002 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
;
14004 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14006 PyObject
* obj0
= 0 ;
14007 char *kwnames
[] = {
14008 (char *) "self", NULL
14011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14017 wxPyEndAllowThreads(__tstate
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14020 resultobj
= SWIG_PyObj_FromInt((int)result
);
14027 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
;
14029 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14031 PyObject
* obj0
= 0 ;
14032 char *kwnames
[] = {
14033 (char *) "self", NULL
14036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14052 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14053 PyObject
*resultobj
;
14054 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14056 PyObject
* obj0
= 0 ;
14057 PyObject
* obj1
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self",(char *) "m_x", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14065 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14068 if (arg1
) (arg1
)->m_x
= arg2
;
14070 Py_INCREF(Py_None
); resultobj
= Py_None
;
14077 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
;
14079 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14081 PyObject
* obj0
= 0 ;
14082 char *kwnames
[] = {
14083 (char *) "self", NULL
14086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14088 result
= (int) ((arg1
)->m_x
);
14090 resultobj
= SWIG_PyObj_FromInt((int)result
);
14097 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14098 PyObject
*resultobj
;
14099 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14101 PyObject
* obj0
= 0 ;
14102 PyObject
* obj1
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self",(char *) "m_y", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14110 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14113 if (arg1
) (arg1
)->m_y
= arg2
;
14115 Py_INCREF(Py_None
); resultobj
= Py_None
;
14122 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14123 PyObject
*resultobj
;
14124 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14126 PyObject
* obj0
= 0 ;
14127 char *kwnames
[] = {
14128 (char *) "self", NULL
14131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14133 result
= (int) ((arg1
)->m_y
);
14135 resultobj
= SWIG_PyObj_FromInt((int)result
);
14142 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14143 PyObject
*resultobj
;
14144 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14146 PyObject
* obj0
= 0 ;
14147 PyObject
* obj1
= 0 ;
14148 char *kwnames
[] = {
14149 (char *) "self",(char *) "m_leftDown", NULL
14152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14155 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14160 Py_INCREF(Py_None
); resultobj
= Py_None
;
14167 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14171 PyObject
* obj0
= 0 ;
14172 char *kwnames
[] = {
14173 (char *) "self", NULL
14176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14178 result
= (bool) ((arg1
)->m_leftDown
);
14180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14187 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14188 PyObject
*resultobj
;
14189 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14191 PyObject
* obj0
= 0 ;
14192 PyObject
* obj1
= 0 ;
14193 char *kwnames
[] = {
14194 (char *) "self",(char *) "m_middleDown", NULL
14197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14200 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14205 Py_INCREF(Py_None
); resultobj
= Py_None
;
14212 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
*resultobj
;
14214 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 char *kwnames
[] = {
14218 (char *) "self", NULL
14221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14223 result
= (bool) ((arg1
)->m_middleDown
);
14225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14232 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14233 PyObject
*resultobj
;
14234 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14236 PyObject
* obj0
= 0 ;
14237 PyObject
* obj1
= 0 ;
14238 char *kwnames
[] = {
14239 (char *) "self",(char *) "m_rightDown", NULL
14242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14245 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14248 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14250 Py_INCREF(Py_None
); resultobj
= Py_None
;
14257 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14258 PyObject
*resultobj
;
14259 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14261 PyObject
* obj0
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "self", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14268 result
= (bool) ((arg1
)->m_rightDown
);
14270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14277 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
;
14279 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14281 PyObject
* obj0
= 0 ;
14282 PyObject
* obj1
= 0 ;
14283 char *kwnames
[] = {
14284 (char *) "self",(char *) "m_controlDown", NULL
14287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14290 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14293 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14295 Py_INCREF(Py_None
); resultobj
= Py_None
;
14302 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 char *kwnames
[] = {
14308 (char *) "self", NULL
14311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14313 result
= (bool) ((arg1
)->m_controlDown
);
14315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14322 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14326 PyObject
* obj0
= 0 ;
14327 PyObject
* obj1
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "self",(char *) "m_shiftDown", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14335 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14338 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14340 Py_INCREF(Py_None
); resultobj
= Py_None
;
14347 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 char *kwnames
[] = {
14353 (char *) "self", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14358 result
= (bool) ((arg1
)->m_shiftDown
);
14360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14367 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
;
14369 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14371 PyObject
* obj0
= 0 ;
14372 PyObject
* obj1
= 0 ;
14373 char *kwnames
[] = {
14374 (char *) "self",(char *) "m_altDown", NULL
14377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14380 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14383 if (arg1
) (arg1
)->m_altDown
= arg2
;
14385 Py_INCREF(Py_None
); resultobj
= Py_None
;
14392 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14396 PyObject
* obj0
= 0 ;
14397 char *kwnames
[] = {
14398 (char *) "self", NULL
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14403 result
= (bool) ((arg1
)->m_altDown
);
14405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14412 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 PyObject
* obj1
= 0 ;
14418 char *kwnames
[] = {
14419 (char *) "self",(char *) "m_metaDown", NULL
14422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14425 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14428 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14430 Py_INCREF(Py_None
); resultobj
= Py_None
;
14437 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14439 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14441 PyObject
* obj0
= 0 ;
14442 char *kwnames
[] = {
14443 (char *) "self", NULL
14446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14448 result
= (bool) ((arg1
)->m_metaDown
);
14450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14457 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 PyObject
* obj1
= 0 ;
14463 char *kwnames
[] = {
14464 (char *) "self",(char *) "m_wheelRotation", NULL
14467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14470 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14473 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14475 Py_INCREF(Py_None
); resultobj
= Py_None
;
14482 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
;
14484 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14486 PyObject
* obj0
= 0 ;
14487 char *kwnames
[] = {
14488 (char *) "self", NULL
14491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14493 result
= (int) ((arg1
)->m_wheelRotation
);
14495 resultobj
= SWIG_PyObj_FromInt((int)result
);
14502 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
;
14504 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14506 PyObject
* obj0
= 0 ;
14507 PyObject
* obj1
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self",(char *) "m_wheelDelta", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14515 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14518 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
14520 Py_INCREF(Py_None
); resultobj
= Py_None
;
14527 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14531 PyObject
* obj0
= 0 ;
14532 char *kwnames
[] = {
14533 (char *) "self", NULL
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
14537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14538 result
= (int) ((arg1
)->m_wheelDelta
);
14540 resultobj
= SWIG_PyObj_FromInt((int)result
);
14547 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14548 PyObject
*resultobj
;
14549 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14551 PyObject
* obj0
= 0 ;
14552 PyObject
* obj1
= 0 ;
14553 char *kwnames
[] = {
14554 (char *) "self",(char *) "m_linesPerAction", NULL
14557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14560 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14563 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
14565 Py_INCREF(Py_None
); resultobj
= Py_None
;
14572 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 char *kwnames
[] = {
14578 (char *) "self", NULL
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
14582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14583 result
= (int) ((arg1
)->m_linesPerAction
);
14585 resultobj
= SWIG_PyObj_FromInt((int)result
);
14592 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14595 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
14597 return Py_BuildValue((char *)"");
14599 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 int arg1
= (int) 0 ;
14602 int arg2
= (int) 0 ;
14603 wxSetCursorEvent
*result
;
14604 PyObject
* obj0
= 0 ;
14605 PyObject
* obj1
= 0 ;
14606 char *kwnames
[] = {
14607 (char *) "x",(char *) "y", NULL
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14613 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14619 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
14637 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
14647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= SWIG_PyObj_FromInt((int)result
);
14662 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "self", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
14672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14675 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14680 resultobj
= SWIG_PyObj_FromInt((int)result
);
14687 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14688 PyObject
*resultobj
;
14689 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14690 wxCursor
*arg2
= 0 ;
14691 PyObject
* obj0
= 0 ;
14692 PyObject
* obj1
= 0 ;
14693 char *kwnames
[] = {
14694 (char *) "self",(char *) "cursor", NULL
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
14698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14699 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14700 if (arg2
== NULL
) {
14701 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 Py_INCREF(Py_None
); resultobj
= Py_None
;
14717 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
;
14719 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14721 PyObject
* obj0
= 0 ;
14722 char *kwnames
[] = {
14723 (char *) "self", NULL
14726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
14727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
14732 result
= (wxCursor
*) &_result_ref
;
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
14745 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
;
14747 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
14755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14758 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
14760 wxPyEndAllowThreads(__tstate
);
14761 if (PyErr_Occurred()) SWIG_fail
;
14763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14770 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14773 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
14775 return Py_BuildValue((char *)"");
14777 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
;
14779 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14780 wxKeyEvent
*result
;
14781 PyObject
* obj0
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "keyType", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
14789 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
14807 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14811 PyObject
* obj0
= 0 ;
14812 char *kwnames
[] = {
14813 (char *) "self", NULL
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14832 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14833 PyObject
*resultobj
;
14834 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14836 PyObject
* obj0
= 0 ;
14837 char *kwnames
[] = {
14838 (char *) "self", NULL
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14845 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
14847 wxPyEndAllowThreads(__tstate
);
14848 if (PyErr_Occurred()) SWIG_fail
;
14850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14857 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14858 PyObject
*resultobj
;
14859 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14861 PyObject
* obj0
= 0 ;
14862 char *kwnames
[] = {
14863 (char *) "self", NULL
14866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14882 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
;
14884 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14886 PyObject
* obj0
= 0 ;
14887 char *kwnames
[] = {
14888 (char *) "self", NULL
14891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
14897 wxPyEndAllowThreads(__tstate
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14907 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
;
14909 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14911 PyObject
* obj0
= 0 ;
14912 char *kwnames
[] = {
14913 (char *) "self", NULL
14916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
14917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14932 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
14942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= SWIG_PyObj_FromInt((int)result
);
14957 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14961 PyObject
* obj0
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 result
= (int)wxKeyEvent_GetUniChar(arg1
);
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14975 resultobj
= SWIG_PyObj_FromInt((int)result
);
14982 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
;
14984 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14985 unsigned int result
;
14986 PyObject
* obj0
= 0 ;
14987 char *kwnames
[] = {
14988 (char *) "self", NULL
14991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
14992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15000 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15007 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
;
15009 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15010 unsigned int result
;
15011 PyObject
* obj0
= 0 ;
15012 char *kwnames
[] = {
15013 (char *) "self", NULL
15016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15025 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15032 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15036 PyObject
* obj0
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 result
= (arg1
)->GetPosition();
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15051 wxPoint
* resultptr
;
15052 resultptr
= new wxPoint((wxPoint
&) result
);
15053 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15061 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15064 long *arg2
= (long *) 0 ;
15065 long *arg3
= (long *) 0 ;
15068 PyObject
* obj0
= 0 ;
15069 char *kwnames
[] = {
15070 (char *) "self", NULL
15075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 (arg1
)->GetPosition(arg2
,arg3
);
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15084 Py_INCREF(Py_None
); resultobj
= Py_None
;
15086 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15087 resultobj
= t_output_helper(resultobj
,o
);
15090 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15091 resultobj
= t_output_helper(resultobj
,o
);
15099 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15103 PyObject
* obj0
= 0 ;
15104 char *kwnames
[] = {
15105 (char *) "self", NULL
15108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= SWIG_PyObj_FromInt((int)result
);
15124 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15128 PyObject
* obj0
= 0 ;
15129 char *kwnames
[] = {
15130 (char *) "self", NULL
15133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15142 resultobj
= SWIG_PyObj_FromInt((int)result
);
15149 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
;
15151 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15153 PyObject
* obj0
= 0 ;
15154 PyObject
* obj1
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "self",(char *) "m_x", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15162 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15165 if (arg1
) (arg1
)->m_x
= arg2
;
15167 Py_INCREF(Py_None
); resultobj
= Py_None
;
15174 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
;
15176 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15178 PyObject
* obj0
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15185 result
= (int) ((arg1
)->m_x
);
15187 resultobj
= SWIG_PyObj_FromInt((int)result
);
15194 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15198 PyObject
* obj0
= 0 ;
15199 PyObject
* obj1
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self",(char *) "m_y", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15207 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 if (arg1
) (arg1
)->m_y
= arg2
;
15212 Py_INCREF(Py_None
); resultobj
= Py_None
;
15219 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15223 PyObject
* obj0
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "self", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15230 result
= (int) ((arg1
)->m_y
);
15232 resultobj
= SWIG_PyObj_FromInt((int)result
);
15239 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
;
15241 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "self",(char *) "m_keyCode", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15252 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15257 Py_INCREF(Py_None
); resultobj
= Py_None
;
15264 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15265 PyObject
*resultobj
;
15266 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15268 PyObject
* obj0
= 0 ;
15269 char *kwnames
[] = {
15270 (char *) "self", NULL
15273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15275 result
= (long) ((arg1
)->m_keyCode
);
15277 resultobj
= SWIG_PyObj_FromLong((long)result
);
15284 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
;
15286 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15288 PyObject
* obj0
= 0 ;
15289 PyObject
* obj1
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "self",(char *) "m_controlDown", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15297 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15302 Py_INCREF(Py_None
); resultobj
= Py_None
;
15309 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15311 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15313 PyObject
* obj0
= 0 ;
15314 char *kwnames
[] = {
15315 (char *) "self", NULL
15318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15320 result
= (bool) ((arg1
)->m_controlDown
);
15322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15329 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15333 PyObject
* obj0
= 0 ;
15334 PyObject
* obj1
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self",(char *) "m_shiftDown", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15342 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15345 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15347 Py_INCREF(Py_None
); resultobj
= Py_None
;
15354 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15358 PyObject
* obj0
= 0 ;
15359 char *kwnames
[] = {
15360 (char *) "self", NULL
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15365 result
= (bool) ((arg1
)->m_shiftDown
);
15367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15374 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
;
15376 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15378 PyObject
* obj0
= 0 ;
15379 PyObject
* obj1
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self",(char *) "m_altDown", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15387 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15390 if (arg1
) (arg1
)->m_altDown
= arg2
;
15392 Py_INCREF(Py_None
); resultobj
= Py_None
;
15399 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
;
15401 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15403 PyObject
* obj0
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15410 result
= (bool) ((arg1
)->m_altDown
);
15412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15419 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
;
15421 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15423 PyObject
* obj0
= 0 ;
15424 PyObject
* obj1
= 0 ;
15425 char *kwnames
[] = {
15426 (char *) "self",(char *) "m_metaDown", NULL
15429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15432 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15437 Py_INCREF(Py_None
); resultobj
= Py_None
;
15444 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15445 PyObject
*resultobj
;
15446 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 char *kwnames
[] = {
15450 (char *) "self", NULL
15453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15455 result
= (bool) ((arg1
)->m_metaDown
);
15457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15464 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
;
15466 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15468 PyObject
* obj0
= 0 ;
15469 PyObject
* obj1
= 0 ;
15470 char *kwnames
[] = {
15471 (char *) "self",(char *) "m_scanCode", NULL
15474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15477 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 if (arg1
) (arg1
)->m_scanCode
= arg2
;
15482 Py_INCREF(Py_None
); resultobj
= Py_None
;
15489 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
;
15491 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15493 PyObject
* obj0
= 0 ;
15494 char *kwnames
[] = {
15495 (char *) "self", NULL
15498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
15499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15500 result
= (bool) ((arg1
)->m_scanCode
);
15502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15509 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15510 PyObject
*resultobj
;
15511 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15512 unsigned int arg2
;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 char *kwnames
[] = {
15516 (char *) "self",(char *) "m_rawCode", NULL
15519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15522 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15525 if (arg1
) (arg1
)->m_rawCode
= arg2
;
15527 Py_INCREF(Py_None
); resultobj
= Py_None
;
15534 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15536 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15537 unsigned int result
;
15538 PyObject
* obj0
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "self", NULL
15543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
15544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15545 result
= (unsigned int) ((arg1
)->m_rawCode
);
15547 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15554 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15555 PyObject
*resultobj
;
15556 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15557 unsigned int arg2
;
15558 PyObject
* obj0
= 0 ;
15559 PyObject
* obj1
= 0 ;
15560 char *kwnames
[] = {
15561 (char *) "self",(char *) "m_rawFlags", NULL
15564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15567 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
15572 Py_INCREF(Py_None
); resultobj
= Py_None
;
15579 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
;
15581 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15582 unsigned int result
;
15583 PyObject
* obj0
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "self", NULL
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
15589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15590 result
= (unsigned int) ((arg1
)->m_rawFlags
);
15592 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15599 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15602 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
15604 return Py_BuildValue((char *)"");
15606 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
;
15608 wxSize
const &arg1_defvalue
= wxDefaultSize
;
15609 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
15610 int arg2
= (int) 0 ;
15611 wxSizeEvent
*result
;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "sz",(char *) "winid", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15623 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
15628 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
15646 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
;
15648 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15650 PyObject
* obj0
= 0 ;
15651 char *kwnames
[] = {
15652 (char *) "self", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
15656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15665 wxSize
* resultptr
;
15666 resultptr
= new wxSize((wxSize
&) result
);
15667 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15675 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15679 PyObject
* obj0
= 0 ;
15680 char *kwnames
[] = {
15681 (char *) "self", NULL
15684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15694 wxRect
* resultptr
;
15695 resultptr
= new wxRect((wxRect
&) result
);
15696 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
15704 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
;
15706 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15709 PyObject
* obj0
= 0 ;
15710 PyObject
* obj1
= 0 ;
15711 char *kwnames
[] = {
15712 (char *) "self",(char *) "rect", NULL
15715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15717 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 (arg1
)->SetRect(arg2
);
15723 wxPyEndAllowThreads(__tstate
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15726 Py_INCREF(Py_None
); resultobj
= Py_None
;
15733 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
;
15735 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 PyObject
* obj1
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self",(char *) "size", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15746 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 wxSizeEvent_SetSize(arg1
,arg2
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 Py_INCREF(Py_None
); resultobj
= Py_None
;
15762 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
;
15764 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15765 wxSize
*arg2
= (wxSize
*) 0 ;
15766 PyObject
* obj0
= 0 ;
15767 PyObject
* obj1
= 0 ;
15768 char *kwnames
[] = {
15769 (char *) "self",(char *) "m_size", NULL
15772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15774 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15775 if (arg1
) (arg1
)->m_size
= *arg2
;
15777 Py_INCREF(Py_None
); resultobj
= Py_None
;
15784 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
;
15786 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15788 PyObject
* obj0
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "self", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
15794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15795 result
= (wxSize
*)& ((arg1
)->m_size
);
15797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
15804 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
;
15806 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15807 wxRect
*arg2
= (wxRect
*) 0 ;
15808 PyObject
* obj0
= 0 ;
15809 PyObject
* obj1
= 0 ;
15810 char *kwnames
[] = {
15811 (char *) "self",(char *) "m_rect", NULL
15814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15816 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15817 if (arg1
) (arg1
)->m_rect
= *arg2
;
15819 Py_INCREF(Py_None
); resultobj
= Py_None
;
15826 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15828 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15830 PyObject
* obj0
= 0 ;
15831 char *kwnames
[] = {
15832 (char *) "self", NULL
15835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
15836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15837 result
= (wxRect
*)& ((arg1
)->m_rect
);
15839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
15846 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15849 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
15851 return Py_BuildValue((char *)"");
15853 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15854 PyObject
*resultobj
;
15855 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
15856 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
15857 int arg2
= (int) 0 ;
15858 wxMoveEvent
*result
;
15860 PyObject
* obj0
= 0 ;
15861 PyObject
* obj1
= 0 ;
15862 char *kwnames
[] = {
15863 (char *) "pos",(char *) "winid", NULL
15866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15870 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
15875 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15886 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
15893 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
;
15895 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15897 PyObject
* obj0
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "self", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15912 wxPoint
* resultptr
;
15913 resultptr
= new wxPoint((wxPoint
&) result
);
15914 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15922 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15923 PyObject
*resultobj
;
15924 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15926 PyObject
* obj0
= 0 ;
15927 char *kwnames
[] = {
15928 (char *) "self", NULL
15931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15941 wxRect
* resultptr
;
15942 resultptr
= new wxRect((wxRect
&) result
);
15943 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
15951 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15952 PyObject
*resultobj
;
15953 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 PyObject
* obj1
= 0 ;
15958 char *kwnames
[] = {
15959 (char *) "self",(char *) "rect", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15964 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 (arg1
)->SetRect(arg2
);
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 Py_INCREF(Py_None
); resultobj
= Py_None
;
15980 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
;
15982 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15985 PyObject
* obj0
= 0 ;
15986 PyObject
* obj1
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "self",(char *) "pos", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15993 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15997 wxMoveEvent_SetPosition(arg1
,arg2
);
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16002 Py_INCREF(Py_None
); resultobj
= Py_None
;
16009 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
;
16011 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16012 wxPoint
*arg2
= (wxPoint
*) 0 ;
16013 PyObject
* obj0
= 0 ;
16014 PyObject
* obj1
= 0 ;
16015 char *kwnames
[] = {
16016 (char *) "self",(char *) "m_pos", NULL
16019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16022 if (arg1
) (arg1
)->m_pos
= *arg2
;
16024 Py_INCREF(Py_None
); resultobj
= Py_None
;
16031 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16035 PyObject
* obj0
= 0 ;
16036 char *kwnames
[] = {
16037 (char *) "self", NULL
16040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16042 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16051 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16054 wxRect
*arg2
= (wxRect
*) 0 ;
16055 PyObject
* obj0
= 0 ;
16056 PyObject
* obj1
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self",(char *) "m_rect", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16064 if (arg1
) (arg1
)->m_rect
= *arg2
;
16066 Py_INCREF(Py_None
); resultobj
= Py_None
;
16073 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16074 PyObject
*resultobj
;
16075 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16077 PyObject
* obj0
= 0 ;
16078 char *kwnames
[] = {
16079 (char *) "self", NULL
16082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16084 result
= (wxRect
*)& ((arg1
)->m_rect
);
16086 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
16093 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16096 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16098 return Py_BuildValue((char *)"");
16100 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 int arg1
= (int) 0 ;
16103 wxPaintEvent
*result
;
16104 PyObject
* obj0
= 0 ;
16105 char *kwnames
[] = {
16106 (char *) "Id", NULL
16109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16112 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16118 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16120 wxPyEndAllowThreads(__tstate
);
16121 if (PyErr_Occurred()) SWIG_fail
;
16123 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
16130 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16133 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16135 return Py_BuildValue((char *)"");
16137 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16138 PyObject
*resultobj
;
16139 int arg1
= (int) 0 ;
16140 wxNcPaintEvent
*result
;
16141 PyObject
* obj0
= 0 ;
16142 char *kwnames
[] = {
16143 (char *) "winid", NULL
16146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16149 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
16167 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16170 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16172 return Py_BuildValue((char *)"");
16174 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 int arg1
= (int) 0 ;
16177 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16178 wxEraseEvent
*result
;
16179 PyObject
* obj0
= 0 ;
16180 PyObject
* obj1
= 0 ;
16181 char *kwnames
[] = {
16182 (char *) "Id",(char *) "dc", NULL
16185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16188 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16193 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16202 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
16209 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
;
16211 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16213 PyObject
* obj0
= 0 ;
16214 char *kwnames
[] = {
16215 (char *) "self", NULL
16218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= wxPyMake_wxObject(result
);
16236 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16239 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16241 return Py_BuildValue((char *)"");
16243 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16246 int arg2
= (int) 0 ;
16247 wxFocusEvent
*result
;
16248 PyObject
* obj0
= 0 ;
16249 PyObject
* obj1
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "type",(char *) "winid", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16257 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16263 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16274 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
16281 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
;
16283 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16285 PyObject
* obj0
= 0 ;
16286 char *kwnames
[] = {
16287 (char *) "self", NULL
16290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16294 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16300 resultobj
= wxPyMake_wxObject(result
);
16308 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
;
16310 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16311 wxWindow
*arg2
= (wxWindow
*) 0 ;
16312 PyObject
* obj0
= 0 ;
16313 PyObject
* obj1
= 0 ;
16314 char *kwnames
[] = {
16315 (char *) "self",(char *) "win", NULL
16318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16323 (arg1
)->SetWindow(arg2
);
16325 wxPyEndAllowThreads(__tstate
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16328 Py_INCREF(Py_None
); resultobj
= Py_None
;
16335 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16338 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16340 return Py_BuildValue((char *)"");
16342 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxWindow
*arg1
= (wxWindow
*) NULL
;
16345 wxChildFocusEvent
*result
;
16346 PyObject
* obj0
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "win", NULL
16351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16362 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
16369 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
;
16371 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= wxPyMake_wxObject(result
);
16396 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16399 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16401 return Py_BuildValue((char *)"");
16403 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16404 PyObject
*resultobj
;
16405 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16406 bool arg2
= (bool) True
;
16407 int arg3
= (int) 0 ;
16408 wxActivateEvent
*result
;
16409 PyObject
* obj0
= 0 ;
16410 PyObject
* obj1
= 0 ;
16411 PyObject
* obj2
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "type",(char *) "active",(char *) "Id", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16419 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16425 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16431 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
16449 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
16453 PyObject
* obj0
= 0 ;
16454 char *kwnames
[] = {
16455 (char *) "self", NULL
16458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
16459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16474 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16477 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
16479 return Py_BuildValue((char *)"");
16481 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 int arg1
= (int) 0 ;
16484 wxInitDialogEvent
*result
;
16485 PyObject
* obj0
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "Id", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
16493 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
16511 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16514 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
16516 return Py_BuildValue((char *)"");
16518 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
;
16520 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16521 int arg2
= (int) 0 ;
16522 wxMenu
*arg3
= (wxMenu
*) NULL
;
16523 wxMenuEvent
*result
;
16524 PyObject
* obj0
= 0 ;
16525 PyObject
* obj1
= 0 ;
16526 PyObject
* obj2
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "type",(char *) "winid",(char *) "menu", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16534 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16540 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16545 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16554 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
16561 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
;
16563 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16565 PyObject
* obj0
= 0 ;
16566 char *kwnames
[] = {
16567 (char *) "self", NULL
16570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
16571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= SWIG_PyObj_FromInt((int)result
);
16586 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16587 PyObject
*resultobj
;
16588 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16590 PyObject
* obj0
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "self", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
16596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16611 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16615 PyObject
* obj0
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
16621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= wxPyMake_wxObject(result
);
16638 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16641 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
16643 return Py_BuildValue((char *)"");
16645 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16648 int arg2
= (int) 0 ;
16649 wxCloseEvent
*result
;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "type",(char *) "winid", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16659 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16665 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16676 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
16683 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
;
16685 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16687 PyObject
* obj0
= 0 ;
16688 PyObject
* obj1
= 0 ;
16689 char *kwnames
[] = {
16690 (char *) "self",(char *) "logOff", NULL
16693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
16694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16696 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 (arg1
)->SetLoggingOff(arg2
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16706 Py_INCREF(Py_None
); resultobj
= Py_None
;
16713 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16717 PyObject
* obj0
= 0 ;
16718 char *kwnames
[] = {
16719 (char *) "self", NULL
16722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
16723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16726 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
16728 wxPyEndAllowThreads(__tstate
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16738 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
;
16740 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16741 bool arg2
= (bool) True
;
16742 PyObject
* obj0
= 0 ;
16743 PyObject
* obj1
= 0 ;
16744 char *kwnames
[] = {
16745 (char *) "self",(char *) "veto", NULL
16748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
16749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16752 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 (arg1
)->Veto(arg2
);
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16763 Py_INCREF(Py_None
); resultobj
= Py_None
;
16770 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
;
16772 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16774 PyObject
* obj0
= 0 ;
16775 PyObject
* obj1
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "self",(char *) "canVeto", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
16781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16783 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 (arg1
)->SetCanVeto(arg2
);
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 Py_INCREF(Py_None
); resultobj
= Py_None
;
16800 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
;
16802 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16804 PyObject
* obj0
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "self", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
16810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16825 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
;
16827 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16829 PyObject
* obj0
= 0 ;
16830 char *kwnames
[] = {
16831 (char *) "self", NULL
16834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
16835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16850 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16853 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
16855 return Py_BuildValue((char *)"");
16857 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16858 PyObject
*resultobj
;
16859 int arg1
= (int) 0 ;
16860 bool arg2
= (bool) False
;
16861 wxShowEvent
*result
;
16862 PyObject
* obj0
= 0 ;
16863 PyObject
* obj1
= 0 ;
16864 char *kwnames
[] = {
16865 (char *) "winid",(char *) "show", NULL
16868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16871 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16877 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16883 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
16895 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
;
16897 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
16899 PyObject
* obj0
= 0 ;
16900 PyObject
* obj1
= 0 ;
16901 char *kwnames
[] = {
16902 (char *) "self",(char *) "show", NULL
16905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
16906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16908 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16913 (arg1
)->SetShow(arg2
);
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16918 Py_INCREF(Py_None
); resultobj
= Py_None
;
16925 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16926 PyObject
*resultobj
;
16927 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
16929 PyObject
* obj0
= 0 ;
16930 char *kwnames
[] = {
16931 (char *) "self", NULL
16934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
16935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16950 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16953 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
16955 return Py_BuildValue((char *)"");
16957 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
;
16959 int arg1
= (int) 0 ;
16960 bool arg2
= (bool) True
;
16961 wxIconizeEvent
*result
;
16962 PyObject
* obj0
= 0 ;
16963 PyObject
* obj1
= 0 ;
16964 char *kwnames
[] = {
16965 (char *) "id",(char *) "iconized", NULL
16968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16971 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16977 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
16995 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
16999 PyObject
* obj0
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 result
= (bool)(arg1
)->Iconized();
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17020 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17023 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17025 return Py_BuildValue((char *)"");
17027 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17029 int arg1
= (int) 0 ;
17030 wxMaximizeEvent
*result
;
17031 PyObject
* obj0
= 0 ;
17032 char *kwnames
[] = {
17033 (char *) "id", NULL
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17039 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17047 wxPyEndAllowThreads(__tstate
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17050 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
17057 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17060 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17062 return Py_BuildValue((char *)"");
17064 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17068 PyObject
* obj0
= 0 ;
17069 char *kwnames
[] = {
17070 (char *) "self", NULL
17073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 result
= (arg1
)->GetPosition();
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17083 wxPoint
* resultptr
;
17084 resultptr
= new wxPoint((wxPoint
&) result
);
17085 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17093 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17094 PyObject
*resultobj
;
17095 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17097 PyObject
* obj0
= 0 ;
17098 char *kwnames
[] = {
17099 (char *) "self", NULL
17102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 result
= (int)(arg1
)->GetNumberOfFiles();
17108 wxPyEndAllowThreads(__tstate
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17111 resultobj
= SWIG_PyObj_FromInt((int)result
);
17118 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17119 PyObject
*resultobj
;
17120 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17122 PyObject
* obj0
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "self", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= result
;
17143 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17146 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17148 return Py_BuildValue((char *)"");
17150 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17152 int arg1
= (int) 0 ;
17153 wxUpdateUIEvent
*result
;
17154 PyObject
* obj0
= 0 ;
17155 char *kwnames
[] = {
17156 (char *) "commandId", NULL
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17162 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
17180 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17184 PyObject
* obj0
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17205 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
;
17207 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17209 PyObject
* obj0
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17230 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17234 PyObject
* obj0
= 0 ;
17235 char *kwnames
[] = {
17236 (char *) "self", NULL
17239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17261 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
;
17263 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17265 PyObject
* obj0
= 0 ;
17266 char *kwnames
[] = {
17267 (char *) "self", NULL
17270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17274 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17286 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17287 PyObject
*resultobj
;
17288 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17290 PyObject
* obj0
= 0 ;
17291 char *kwnames
[] = {
17292 (char *) "self", NULL
17295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17299 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17311 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
;
17313 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17315 PyObject
* obj0
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17336 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
;
17338 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17340 PyObject
* obj0
= 0 ;
17341 PyObject
* obj1
= 0 ;
17342 char *kwnames
[] = {
17343 (char *) "self",(char *) "check", NULL
17346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17349 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 (arg1
)->Check(arg2
);
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17359 Py_INCREF(Py_None
); resultobj
= Py_None
;
17366 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17370 PyObject
* obj0
= 0 ;
17371 PyObject
* obj1
= 0 ;
17372 char *kwnames
[] = {
17373 (char *) "self",(char *) "enable", NULL
17376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17379 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17384 (arg1
)->Enable(arg2
);
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 Py_INCREF(Py_None
); resultobj
= Py_None
;
17396 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17397 PyObject
*resultobj
;
17398 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17399 wxString
*arg2
= 0 ;
17400 bool temp2
= False
;
17401 PyObject
* obj0
= 0 ;
17402 PyObject
* obj1
= 0 ;
17403 char *kwnames
[] = {
17404 (char *) "self",(char *) "text", NULL
17407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17410 arg2
= wxString_in_helper(obj1
);
17411 if (arg2
== NULL
) SWIG_fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 (arg1
)->SetText((wxString
const &)*arg2
);
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 Py_INCREF(Py_None
); resultobj
= Py_None
;
17436 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
;
17439 PyObject
* obj0
= 0 ;
17440 char *kwnames
[] = {
17441 (char *) "updateInterval", NULL
17444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
17446 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17451 wxUpdateUIEvent::SetUpdateInterval(arg1
);
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17456 Py_INCREF(Py_None
); resultobj
= Py_None
;
17463 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17464 PyObject
*resultobj
;
17466 char *kwnames
[] = {
17470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= SWIG_PyObj_FromLong((long)result
);
17485 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 wxWindow
*arg1
= (wxWindow
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "win", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
17495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17510 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17511 PyObject
*resultobj
;
17512 char *kwnames
[] = {
17516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 wxUpdateUIEvent::ResetUpdateTime();
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 Py_INCREF(Py_None
); resultobj
= Py_None
;
17531 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
;
17534 PyObject
* obj0
= 0 ;
17535 char *kwnames
[] = {
17536 (char *) "mode", NULL
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
17541 arg1
= (wxUpdateUIMode
) SWIG_PyObj_AsInt(obj0
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
17548 wxPyEndAllowThreads(__tstate
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17551 Py_INCREF(Py_None
); resultobj
= Py_None
;
17558 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
;
17561 char *kwnames
[] = {
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 result
= (int)wxUpdateUIEvent::GetMode();
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 resultobj
= SWIG_PyObj_FromInt((int)result
);
17580 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17583 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
17585 return Py_BuildValue((char *)"");
17587 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17588 PyObject
*resultobj
;
17589 wxSysColourChangedEvent
*result
;
17590 char *kwnames
[] = {
17594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
17609 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17612 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
17614 return Py_BuildValue((char *)"");
17616 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 int arg1
= (int) 0 ;
17619 wxWindow
*arg2
= (wxWindow
*) NULL
;
17620 wxMouseCaptureChangedEvent
*result
;
17621 PyObject
* obj0
= 0 ;
17622 PyObject
* obj1
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "winid",(char *) "gainedCapture", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17630 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17635 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17639 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
17651 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
17655 PyObject
* obj0
= 0 ;
17656 char *kwnames
[] = {
17657 (char *) "self", NULL
17660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
17661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= wxPyMake_wxObject(result
);
17678 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17681 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
17683 return Py_BuildValue((char *)"");
17685 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17687 wxDisplayChangedEvent
*result
;
17688 char *kwnames
[] = {
17692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
17707 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17710 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
17712 return Py_BuildValue((char *)"");
17714 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
;
17716 int arg1
= (int) 0 ;
17717 wxPaletteChangedEvent
*result
;
17718 PyObject
* obj0
= 0 ;
17719 char *kwnames
[] = {
17720 (char *) "id", NULL
17723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
17726 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
17744 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
;
17746 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
17747 wxWindow
*arg2
= (wxWindow
*) 0 ;
17748 PyObject
* obj0
= 0 ;
17749 PyObject
* obj1
= 0 ;
17750 char *kwnames
[] = {
17751 (char *) "self",(char *) "win", NULL
17754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17756 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17759 (arg1
)->SetChangedWindow(arg2
);
17761 wxPyEndAllowThreads(__tstate
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 Py_INCREF(Py_None
); resultobj
= Py_None
;
17771 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17772 PyObject
*resultobj
;
17773 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
17775 PyObject
* obj0
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "self", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
17781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= wxPyMake_wxObject(result
);
17798 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17801 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
17803 return Py_BuildValue((char *)"");
17805 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17806 PyObject
*resultobj
;
17807 int arg1
= (int) 0 ;
17808 wxQueryNewPaletteEvent
*result
;
17809 PyObject
* obj0
= 0 ;
17810 char *kwnames
[] = {
17811 (char *) "winid", NULL
17814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
17817 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
17835 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17837 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
17839 PyObject
* obj0
= 0 ;
17840 PyObject
* obj1
= 0 ;
17841 char *kwnames
[] = {
17842 (char *) "self",(char *) "realized", NULL
17845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
17846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17848 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 (arg1
)->SetPaletteRealized(arg2
);
17855 wxPyEndAllowThreads(__tstate
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17858 Py_INCREF(Py_None
); resultobj
= Py_None
;
17865 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
17869 PyObject
* obj0
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "self", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
17875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17878 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17890 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17893 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
17895 return Py_BuildValue((char *)"");
17897 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxNavigationKeyEvent
*result
;
17900 char *kwnames
[] = {
17904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
17919 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17923 PyObject
* obj0
= 0 ;
17924 char *kwnames
[] = {
17925 (char *) "self", NULL
17928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
17929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17944 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
;
17946 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17948 PyObject
* obj0
= 0 ;
17949 PyObject
* obj1
= 0 ;
17950 char *kwnames
[] = {
17951 (char *) "self",(char *) "bForward", NULL
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
17955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17957 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 (arg1
)->SetDirection(arg2
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 Py_INCREF(Py_None
); resultobj
= Py_None
;
17974 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
;
17976 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17978 PyObject
* obj0
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17999 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
;
18001 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18003 PyObject
* obj0
= 0 ;
18004 PyObject
* obj1
= 0 ;
18005 char *kwnames
[] = {
18006 (char *) "self",(char *) "bIs", NULL
18009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18012 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 (arg1
)->SetWindowChange(arg2
);
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 Py_INCREF(Py_None
); resultobj
= Py_None
;
18029 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
;
18031 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18033 PyObject
* obj0
= 0 ;
18034 char *kwnames
[] = {
18035 (char *) "self", NULL
18038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= wxPyMake_wxObject(result
);
18056 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18058 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18059 wxWindow
*arg2
= (wxWindow
*) 0 ;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self",(char *) "win", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18068 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 (arg1
)->SetCurrentFocus(arg2
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 Py_INCREF(Py_None
); resultobj
= Py_None
;
18083 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18086 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18088 return Py_BuildValue((char *)"");
18090 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxWindow
*arg1
= (wxWindow
*) NULL
;
18093 wxWindowCreateEvent
*result
;
18094 PyObject
* obj0
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "win", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
18117 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18121 PyObject
* obj0
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= wxPyMake_wxObject(result
);
18144 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18147 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18149 return Py_BuildValue((char *)"");
18151 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18152 PyObject
*resultobj
;
18153 wxWindow
*arg1
= (wxWindow
*) NULL
;
18154 wxWindowDestroyEvent
*result
;
18155 PyObject
* obj0
= 0 ;
18156 char *kwnames
[] = {
18157 (char *) "win", NULL
18160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18178 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18182 PyObject
* obj0
= 0 ;
18183 char *kwnames
[] = {
18184 (char *) "self", NULL
18187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18197 resultobj
= wxPyMake_wxObject(result
);
18205 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18208 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18210 return Py_BuildValue((char *)"");
18212 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
;
18214 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18215 int arg2
= (int) 0 ;
18216 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18217 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18218 wxContextMenuEvent
*result
;
18220 PyObject
* obj0
= 0 ;
18221 PyObject
* obj1
= 0 ;
18222 PyObject
* obj2
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "type",(char *) "winid",(char *) "pt", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18230 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18236 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18243 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18253 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
18260 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18261 PyObject
*resultobj
;
18262 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18275 result
= (wxPoint
*) &_result_ref
;
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
18288 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18289 PyObject
*resultobj
;
18290 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18291 wxPoint
*arg2
= 0 ;
18293 PyObject
* obj0
= 0 ;
18294 PyObject
* obj1
= 0 ;
18295 char *kwnames
[] = {
18296 (char *) "self",(char *) "pos", NULL
18299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18303 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 Py_INCREF(Py_None
); resultobj
= Py_None
;
18319 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18322 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18324 return Py_BuildValue((char *)"");
18326 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
;
18328 wxIdleEvent
*result
;
18329 char *kwnames
[] = {
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (wxIdleEvent
*)new wxIdleEvent();
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
18348 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18351 bool arg2
= (bool) True
;
18352 PyObject
* obj0
= 0 ;
18353 PyObject
* obj1
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self",(char *) "needMore", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18362 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18368 (arg1
)->RequestMore(arg2
);
18370 wxPyEndAllowThreads(__tstate
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18373 Py_INCREF(Py_None
); resultobj
= Py_None
;
18380 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18381 PyObject
*resultobj
;
18382 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18384 PyObject
* obj0
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "self", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18405 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18408 PyObject
* obj0
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "mode", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18415 arg1
= (wxIdleMode
) SWIG_PyObj_AsInt(obj0
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 Py_INCREF(Py_None
); resultobj
= Py_None
;
18432 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
;
18435 char *kwnames
[] = {
18439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 result
= (int)wxIdleEvent::GetMode();
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18447 resultobj
= SWIG_PyObj_FromInt((int)result
);
18454 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxWindow
*arg1
= (wxWindow
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "win", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
18464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 result
= (bool)wxIdleEvent::CanSend(arg1
);
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18479 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18482 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
18484 return Py_BuildValue((char *)"");
18486 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18487 PyObject
*resultobj
;
18488 int arg1
= (int) 0 ;
18489 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
18491 PyObject
* obj0
= 0 ;
18492 PyObject
* obj1
= 0 ;
18493 char *kwnames
[] = {
18494 (char *) "winid",(char *) "commandType", NULL
18497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18500 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18506 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
18524 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18527 PyObject
* obj0
= 0 ;
18528 char *kwnames
[] = {
18529 (char *) "self", NULL
18532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
18533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18541 Py_INCREF(Py_None
); resultobj
= Py_None
;
18548 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18551 PyObject
*arg2
= (PyObject
*) 0 ;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self",(char *) "self", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 (arg1
)->SetSelf(arg2
);
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 Py_INCREF(Py_None
); resultobj
= Py_None
;
18575 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
;
18577 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18579 PyObject
* obj0
= 0 ;
18580 char *kwnames
[] = {
18581 (char *) "self", NULL
18584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 result
= (PyObject
*)(arg1
)->GetSelf();
18590 wxPyEndAllowThreads(__tstate
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18593 resultobj
= result
;
18600 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18603 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
18605 return Py_BuildValue((char *)"");
18607 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
;
18609 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18610 int arg2
= (int) 0 ;
18611 wxPyCommandEvent
*result
;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "commandType",(char *) "id", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18621 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18627 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
18645 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
;
18647 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18648 PyObject
* obj0
= 0 ;
18649 char *kwnames
[] = {
18650 (char *) "self", NULL
18653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
18654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18662 Py_INCREF(Py_None
); resultobj
= Py_None
;
18669 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18672 PyObject
*arg2
= (PyObject
*) 0 ;
18673 PyObject
* obj0
= 0 ;
18674 PyObject
* obj1
= 0 ;
18675 char *kwnames
[] = {
18676 (char *) "self",(char *) "self", NULL
18679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 (arg1
)->SetSelf(arg2
);
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 Py_INCREF(Py_None
); resultobj
= Py_None
;
18696 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18700 PyObject
* obj0
= 0 ;
18701 char *kwnames
[] = {
18702 (char *) "self", NULL
18705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 result
= (PyObject
*)(arg1
)->GetSelf();
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= result
;
18721 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18724 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
18726 return Py_BuildValue((char *)"");
18728 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18731 char *kwnames
[] = {
18735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
18737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18738 result
= (wxPyApp
*)new_wxPyApp();
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= wxPyMake_wxObject(result
);
18752 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
;
18754 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18755 PyObject
* obj0
= 0 ;
18756 char *kwnames
[] = {
18757 (char *) "self", NULL
18760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
18761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18769 Py_INCREF(Py_None
); resultobj
= Py_None
;
18776 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
;
18778 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18779 PyObject
*arg2
= (PyObject
*) 0 ;
18780 PyObject
*arg3
= (PyObject
*) 0 ;
18781 PyObject
* obj0
= 0 ;
18782 PyObject
* obj1
= 0 ;
18783 PyObject
* obj2
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self",(char *) "self",(char *) "_class", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 Py_INCREF(Py_None
); resultobj
= Py_None
;
18806 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18810 PyObject
* obj0
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "self", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
18816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 result
= ((wxPyApp
const *)arg1
)->GetAppName();
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18837 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
;
18839 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18840 wxString
*arg2
= 0 ;
18841 bool temp2
= False
;
18842 PyObject
* obj0
= 0 ;
18843 PyObject
* obj1
= 0 ;
18844 char *kwnames
[] = {
18845 (char *) "self",(char *) "name", NULL
18848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18851 arg2
= wxString_in_helper(obj1
);
18852 if (arg2
== NULL
) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 (arg1
)->SetAppName((wxString
const &)*arg2
);
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 Py_INCREF(Py_None
); resultobj
= Py_None
;
18877 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18878 PyObject
*resultobj
;
18879 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18881 PyObject
* obj0
= 0 ;
18882 char *kwnames
[] = {
18883 (char *) "self", NULL
18886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
18887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 result
= ((wxPyApp
const *)arg1
)->GetClassName();
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18908 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18911 wxString
*arg2
= 0 ;
18912 bool temp2
= False
;
18913 PyObject
* obj0
= 0 ;
18914 PyObject
* obj1
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "self",(char *) "name", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
18920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18922 arg2
= wxString_in_helper(obj1
);
18923 if (arg2
== NULL
) SWIG_fail
;
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 (arg1
)->SetClassName((wxString
const &)*arg2
);
18930 wxPyEndAllowThreads(__tstate
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18933 Py_INCREF(Py_None
); resultobj
= Py_None
;
18948 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
18958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
18963 result
= (wxString
*) &_result_ref
;
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18971 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18973 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18982 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
;
18984 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18985 wxString
*arg2
= 0 ;
18986 bool temp2
= False
;
18987 PyObject
* obj0
= 0 ;
18988 PyObject
* obj1
= 0 ;
18989 char *kwnames
[] = {
18990 (char *) "self",(char *) "name", NULL
18993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18996 arg2
= wxString_in_helper(obj1
);
18997 if (arg2
== NULL
) SWIG_fail
;
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 Py_INCREF(Py_None
); resultobj
= Py_None
;
19022 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19025 wxAppTraits
*result
;
19026 PyObject
* obj0
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19035 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
19047 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19050 PyObject
* obj0
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 (arg1
)->ProcessPendingEvents();
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 Py_INCREF(Py_None
); resultobj
= Py_None
;
19071 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
;
19073 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19074 bool arg2
= (bool) False
;
19076 PyObject
* obj0
= 0 ;
19077 PyObject
* obj1
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self",(char *) "onlyIfNeeded", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19086 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19092 result
= (bool)(arg1
)->Yield(arg2
);
19094 wxPyEndAllowThreads(__tstate
);
19095 if (PyErr_Occurred()) SWIG_fail
;
19097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19104 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19105 PyObject
*resultobj
;
19106 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19107 PyObject
* obj0
= 0 ;
19108 char *kwnames
[] = {
19109 (char *) "self", NULL
19112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 (arg1
)->WakeUpIdle();
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 Py_INCREF(Py_None
); resultobj
= Py_None
;
19128 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 char *kwnames
[] = {
19134 (char *) "self", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 result
= (int)(arg1
)->MainLoop();
19143 wxPyEndAllowThreads(__tstate
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19146 resultobj
= SWIG_PyObj_FromInt((int)result
);
19153 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
;
19155 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19156 PyObject
* obj0
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19170 Py_INCREF(Py_None
); resultobj
= Py_None
;
19177 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19178 PyObject
*resultobj
;
19179 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19180 PyObject
* obj0
= 0 ;
19181 char *kwnames
[] = {
19182 (char *) "self", NULL
19185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 (arg1
)->ExitMainLoop();
19191 wxPyEndAllowThreads(__tstate
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 Py_INCREF(Py_None
); resultobj
= Py_None
;
19201 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19202 PyObject
*resultobj
;
19203 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19205 PyObject
* obj0
= 0 ;
19206 char *kwnames
[] = {
19207 (char *) "self", NULL
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 result
= (bool)(arg1
)->Pending();
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19226 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19227 PyObject
*resultobj
;
19228 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19230 PyObject
* obj0
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 result
= (bool)(arg1
)->Dispatch();
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19251 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19252 PyObject
*resultobj
;
19253 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19255 PyObject
* obj0
= 0 ;
19256 char *kwnames
[] = {
19257 (char *) "self", NULL
19260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 result
= (bool)(arg1
)->ProcessIdle();
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19276 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19277 PyObject
*resultobj
;
19278 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19279 wxWindow
*arg2
= (wxWindow
*) 0 ;
19280 wxIdleEvent
*arg3
= 0 ;
19282 PyObject
* obj0
= 0 ;
19283 PyObject
* obj1
= 0 ;
19284 PyObject
* obj2
= 0 ;
19285 char *kwnames
[] = {
19286 (char *) "self",(char *) "win",(char *) "event", NULL
19289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19291 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19292 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19293 if (arg3
== NULL
) {
19294 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19310 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
;
19312 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19314 PyObject
* obj0
= 0 ;
19315 char *kwnames
[] = {
19316 (char *) "self", NULL
19319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19335 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
;
19337 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19338 wxWindow
*arg2
= (wxWindow
*) 0 ;
19339 PyObject
* obj0
= 0 ;
19340 PyObject
* obj1
= 0 ;
19341 char *kwnames
[] = {
19342 (char *) "self",(char *) "win", NULL
19345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19347 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 (arg1
)->SetTopWindow(arg2
);
19352 wxPyEndAllowThreads(__tstate
);
19353 if (PyErr_Occurred()) SWIG_fail
;
19355 Py_INCREF(Py_None
); resultobj
= Py_None
;
19362 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19364 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19366 PyObject
* obj0
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19377 wxPyEndAllowThreads(__tstate
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19381 resultobj
= wxPyMake_wxObject(result
);
19389 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
;
19391 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19393 PyObject
* obj0
= 0 ;
19394 PyObject
* obj1
= 0 ;
19395 char *kwnames
[] = {
19396 (char *) "self",(char *) "flag", NULL
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
19400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19402 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 (arg1
)->SetExitOnFrameDelete(arg2
);
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 Py_INCREF(Py_None
); resultobj
= Py_None
;
19419 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19423 PyObject
* obj0
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
19429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19444 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
;
19446 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19448 PyObject
* obj0
= 0 ;
19449 PyObject
* obj1
= 0 ;
19450 char *kwnames
[] = {
19451 (char *) "self",(char *) "flag", NULL
19454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
19455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19457 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 (arg1
)->SetUseBestVisual(arg2
);
19464 wxPyEndAllowThreads(__tstate
);
19465 if (PyErr_Occurred()) SWIG_fail
;
19467 Py_INCREF(Py_None
); resultobj
= Py_None
;
19474 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19475 PyObject
*resultobj
;
19476 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19478 PyObject
* obj0
= 0 ;
19479 char *kwnames
[] = {
19480 (char *) "self", NULL
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
19484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19499 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
;
19501 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19503 PyObject
* obj0
= 0 ;
19504 PyObject
* obj1
= 0 ;
19505 char *kwnames
[] = {
19506 (char *) "self",(char *) "mode", NULL
19509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19512 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19513 if (PyErr_Occurred()) SWIG_fail
;
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19517 (arg1
)->SetPrintMode(arg2
);
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19522 Py_INCREF(Py_None
); resultobj
= Py_None
;
19529 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19533 PyObject
* obj0
= 0 ;
19534 char *kwnames
[] = {
19535 (char *) "self", NULL
19538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19547 resultobj
= SWIG_PyObj_FromInt((int)result
);
19554 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
;
19556 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19558 PyObject
* obj0
= 0 ;
19559 PyObject
* obj1
= 0 ;
19560 char *kwnames
[] = {
19561 (char *) "self",(char *) "mode", NULL
19564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19567 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19572 (arg1
)->SetAssertMode(arg2
);
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19577 Py_INCREF(Py_None
); resultobj
= Py_None
;
19584 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
;
19586 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19588 PyObject
* obj0
= 0 ;
19589 char *kwnames
[] = {
19590 (char *) "self", NULL
19593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
19594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 result
= (int)(arg1
)->GetAssertMode();
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19602 resultobj
= SWIG_PyObj_FromInt((int)result
);
19609 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
;
19612 char *kwnames
[] = {
19616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19631 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19632 PyObject
*resultobj
;
19634 char *kwnames
[] = {
19638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 result
= (long)wxPyApp::GetMacAboutMenuItemId();
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19646 resultobj
= SWIG_PyObj_FromLong((long)result
);
19653 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19656 char *kwnames
[] = {
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19668 resultobj
= SWIG_PyObj_FromLong((long)result
);
19675 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19678 char *kwnames
[] = {
19682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 result
= (long)wxPyApp::GetMacExitMenuItemId();
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 resultobj
= SWIG_PyObj_FromLong((long)result
);
19697 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
;
19700 char *kwnames
[] = {
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
19706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 result
= wxPyApp::GetMacHelpMenuTitleName();
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19725 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19728 PyObject
* obj0
= 0 ;
19729 char *kwnames
[] = {
19730 (char *) "val", NULL
19733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
19735 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
19736 if (PyErr_Occurred()) SWIG_fail
;
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19745 Py_INCREF(Py_None
); resultobj
= Py_None
;
19752 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
;
19755 PyObject
* obj0
= 0 ;
19756 char *kwnames
[] = {
19757 (char *) "val", NULL
19760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
19762 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 wxPyApp::SetMacAboutMenuItemId(arg1
);
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 Py_INCREF(Py_None
); resultobj
= Py_None
;
19779 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19782 PyObject
* obj0
= 0 ;
19783 char *kwnames
[] = {
19784 (char *) "val", NULL
19787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
19789 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 Py_INCREF(Py_None
); resultobj
= Py_None
;
19806 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19809 PyObject
* obj0
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "val", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
19816 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 wxPyApp::SetMacExitMenuItemId(arg1
);
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19826 Py_INCREF(Py_None
); resultobj
= Py_None
;
19833 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxString
*arg1
= 0 ;
19836 bool temp1
= False
;
19837 PyObject
* obj0
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "val", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
19844 arg1
= wxString_in_helper(obj0
);
19845 if (arg1
== NULL
) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 Py_INCREF(Py_None
); resultobj
= Py_None
;
19870 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
19879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 (arg1
)->_BootstrapApp();
19884 wxPyEndAllowThreads(__tstate
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19887 Py_INCREF(Py_None
); resultobj
= Py_None
;
19894 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19895 PyObject
*resultobj
;
19897 char *kwnames
[] = {
19901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 result
= (int)wxPyApp::GetComCtl32Version();
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= SWIG_PyObj_FromInt((int)result
);
19916 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
19918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19919 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
19921 return Py_BuildValue((char *)"");
19923 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 char *kwnames
[] = {
19929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19937 Py_INCREF(Py_None
); resultobj
= Py_None
;
19944 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
;
19947 char *kwnames
[] = {
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (bool)wxYield();
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19966 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19969 char *kwnames
[] = {
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 result
= (bool)wxYieldIfNeeded();
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19988 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
;
19990 wxWindow
*arg1
= (wxWindow
*) NULL
;
19991 bool arg2
= (bool) False
;
19993 PyObject
* obj0
= 0 ;
19994 PyObject
* obj1
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "win",(char *) "onlyIfNeeded", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20005 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20011 result
= (bool)wxSafeYield(arg1
,arg2
);
20013 wxPyEndAllowThreads(__tstate
);
20014 if (PyErr_Occurred()) SWIG_fail
;
20016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20023 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20024 PyObject
*resultobj
;
20025 char *kwnames
[] = {
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20037 Py_INCREF(Py_None
); resultobj
= Py_None
;
20044 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20045 PyObject
*resultobj
;
20046 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20047 wxEvent
*arg2
= 0 ;
20048 PyObject
* obj0
= 0 ;
20049 PyObject
* obj1
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "dest",(char *) "event", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20056 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20057 if (arg2
== NULL
) {
20058 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 wxPostEvent(arg1
,*arg2
);
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20067 Py_INCREF(Py_None
); resultobj
= Py_None
;
20074 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20075 PyObject
*resultobj
;
20076 char *kwnames
[] = {
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 Py_INCREF(Py_None
); resultobj
= Py_None
;
20095 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20098 char *kwnames
[] = {
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 result
= (wxPyApp
*)wxGetApp();
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= wxPyMake_wxObject(result
);
20119 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 int arg1
= (int) 0 ;
20122 int arg2
= (int) 0 ;
20123 int arg3
= (int) 0 ;
20124 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20125 wxAcceleratorEntry
*result
;
20126 PyObject
* obj0
= 0 ;
20127 PyObject
* obj1
= 0 ;
20128 PyObject
* obj2
= 0 ;
20129 PyObject
* obj3
= 0 ;
20130 char *kwnames
[] = {
20131 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20137 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20143 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20149 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20154 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
20170 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20171 PyObject
*resultobj
;
20172 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20173 PyObject
* obj0
= 0 ;
20174 char *kwnames
[] = {
20175 (char *) "self", NULL
20178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 Py_INCREF(Py_None
); resultobj
= Py_None
;
20194 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
;
20196 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20200 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20201 PyObject
* obj0
= 0 ;
20202 PyObject
* obj1
= 0 ;
20203 PyObject
* obj2
= 0 ;
20204 PyObject
* obj3
= 0 ;
20205 PyObject
* obj4
= 0 ;
20206 char *kwnames
[] = {
20207 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20213 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20217 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20221 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20225 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 Py_INCREF(Py_None
); resultobj
= Py_None
;
20241 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20242 PyObject
*resultobj
;
20243 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20244 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20245 PyObject
* obj0
= 0 ;
20246 PyObject
* obj1
= 0 ;
20247 char *kwnames
[] = {
20248 (char *) "self",(char *) "item", NULL
20251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20253 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20256 (arg1
)->SetMenuItem(arg2
);
20258 wxPyEndAllowThreads(__tstate
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20261 Py_INCREF(Py_None
); resultobj
= Py_None
;
20268 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20269 PyObject
*resultobj
;
20270 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20271 wxMenuItem
*result
;
20272 PyObject
* obj0
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20281 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20283 wxPyEndAllowThreads(__tstate
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= wxPyMake_wxObject(result
);
20295 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20296 PyObject
*resultobj
;
20297 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20299 PyObject
* obj0
= 0 ;
20300 char *kwnames
[] = {
20301 (char *) "self", NULL
20304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 result
= (int)(arg1
)->GetFlags();
20310 wxPyEndAllowThreads(__tstate
);
20311 if (PyErr_Occurred()) SWIG_fail
;
20313 resultobj
= SWIG_PyObj_FromInt((int)result
);
20320 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20321 PyObject
*resultobj
;
20322 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20324 PyObject
* obj0
= 0 ;
20325 char *kwnames
[] = {
20326 (char *) "self", NULL
20329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 result
= (int)(arg1
)->GetKeyCode();
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= SWIG_PyObj_FromInt((int)result
);
20345 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20349 PyObject
* obj0
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 result
= (int)(arg1
)->GetCommand();
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20363 resultobj
= SWIG_PyObj_FromInt((int)result
);
20370 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20373 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20375 return Py_BuildValue((char *)"");
20377 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20380 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20381 wxAcceleratorTable
*result
;
20382 PyObject
* obj0
= 0 ;
20383 char *kwnames
[] = {
20387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20389 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20390 if (arg2
) arg1
= PyList_Size(obj0
);
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
20413 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
;
20415 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20416 PyObject
* obj0
= 0 ;
20417 char *kwnames
[] = {
20418 (char *) "self", NULL
20421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20430 Py_INCREF(Py_None
); resultobj
= Py_None
;
20437 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
;
20439 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20441 PyObject
* obj0
= 0 ;
20442 char *kwnames
[] = {
20443 (char *) "self", NULL
20446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
20447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20450 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20462 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
20464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20465 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
20467 return Py_BuildValue((char *)"");
20469 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
20470 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
20475 static PyObject
*_wrap_NullAcceleratorTable_get() {
20478 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
20483 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
;
20485 wxString
*arg1
= 0 ;
20486 wxAcceleratorEntry
*result
;
20487 bool temp1
= False
;
20488 PyObject
* obj0
= 0 ;
20489 char *kwnames
[] = {
20490 (char *) "label", NULL
20493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
20495 arg1
= wxString_in_helper(obj0
);
20496 if (arg1
== NULL
) SWIG_fail
;
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20506 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
20521 static int _wrap_PanelNameStr_set(PyObject
*) {
20522 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
20527 static PyObject
*_wrap_PanelNameStr_get() {
20532 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20534 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20541 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxWindow
*arg1
= (wxWindow
*) 0 ;
20545 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20546 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20547 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20548 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20549 long arg5
= (long) 0 ;
20550 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20551 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20555 bool temp6
= False
;
20556 PyObject
* obj0
= 0 ;
20557 PyObject
* obj1
= 0 ;
20558 PyObject
* obj2
= 0 ;
20559 PyObject
* obj3
= 0 ;
20560 PyObject
* obj4
= 0 ;
20561 PyObject
* obj5
= 0 ;
20562 char *kwnames
[] = {
20563 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20569 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20575 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20581 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20586 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20592 arg6
= wxString_in_helper(obj5
);
20593 if (arg6
== NULL
) SWIG_fail
;
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20605 resultobj
= wxPyMake_wxObject(result
);
20621 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20622 PyObject
*resultobj
;
20624 char *kwnames
[] = {
20628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= (wxWindow
*)new wxWindow();
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20637 resultobj
= wxPyMake_wxObject(result
);
20645 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20646 PyObject
*resultobj
;
20647 wxWindow
*arg1
= (wxWindow
*) 0 ;
20648 wxWindow
*arg2
= (wxWindow
*) 0 ;
20650 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20651 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20652 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20653 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20654 long arg6
= (long) 0 ;
20655 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20656 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20660 bool temp7
= False
;
20661 PyObject
* obj0
= 0 ;
20662 PyObject
* obj1
= 0 ;
20663 PyObject
* obj2
= 0 ;
20664 PyObject
* obj3
= 0 ;
20665 PyObject
* obj4
= 0 ;
20666 PyObject
* obj5
= 0 ;
20667 PyObject
* obj6
= 0 ;
20668 char *kwnames
[] = {
20669 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20676 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20682 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20688 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20693 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20699 arg7
= wxString_in_helper(obj6
);
20700 if (arg7
== NULL
) SWIG_fail
;
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20726 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
;
20728 wxWindow
*arg1
= (wxWindow
*) 0 ;
20729 bool arg2
= (bool) False
;
20731 PyObject
* obj0
= 0 ;
20732 PyObject
* obj1
= 0 ;
20733 char *kwnames
[] = {
20734 (char *) "self",(char *) "force", NULL
20737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
20738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20741 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20747 result
= (bool)(arg1
)->Close(arg2
);
20749 wxPyEndAllowThreads(__tstate
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20759 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
;
20761 wxWindow
*arg1
= (wxWindow
*) 0 ;
20763 PyObject
* obj0
= 0 ;
20764 char *kwnames
[] = {
20765 (char *) "self", NULL
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
20769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= (bool)(arg1
)->Destroy();
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20784 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxWindow
*arg1
= (wxWindow
*) 0 ;
20788 PyObject
* obj0
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "self", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
20794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= (bool)(arg1
)->DestroyChildren();
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20809 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
;
20811 wxWindow
*arg1
= (wxWindow
*) 0 ;
20813 PyObject
* obj0
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
20819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20834 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
;
20836 wxWindow
*arg1
= (wxWindow
*) 0 ;
20837 wxString
*arg2
= 0 ;
20838 bool temp2
= False
;
20839 PyObject
* obj0
= 0 ;
20840 PyObject
* obj1
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "self",(char *) "title", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
20846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20848 arg2
= wxString_in_helper(obj1
);
20849 if (arg2
== NULL
) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 (arg1
)->SetTitle((wxString
const &)*arg2
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 Py_INCREF(Py_None
); resultobj
= Py_None
;
20874 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
;
20876 wxWindow
*arg1
= (wxWindow
*) 0 ;
20878 PyObject
* obj0
= 0 ;
20879 char *kwnames
[] = {
20880 (char *) "self", NULL
20883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
20884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 result
= ((wxWindow
const *)arg1
)->GetTitle();
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20905 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
;
20907 wxWindow
*arg1
= (wxWindow
*) 0 ;
20908 wxString
*arg2
= 0 ;
20909 bool temp2
= False
;
20910 PyObject
* obj0
= 0 ;
20911 PyObject
* obj1
= 0 ;
20912 char *kwnames
[] = {
20913 (char *) "self",(char *) "label", NULL
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20919 arg2
= wxString_in_helper(obj1
);
20920 if (arg2
== NULL
) SWIG_fail
;
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 (arg1
)->SetLabel((wxString
const &)*arg2
);
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 Py_INCREF(Py_None
); resultobj
= Py_None
;
20945 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20946 PyObject
*resultobj
;
20947 wxWindow
*arg1
= (wxWindow
*) 0 ;
20949 PyObject
* obj0
= 0 ;
20950 char *kwnames
[] = {
20951 (char *) "self", NULL
20954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
20955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= ((wxWindow
const *)arg1
)->GetLabel();
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20976 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
;
20978 wxWindow
*arg1
= (wxWindow
*) 0 ;
20979 wxString
*arg2
= 0 ;
20980 bool temp2
= False
;
20981 PyObject
* obj0
= 0 ;
20982 PyObject
* obj1
= 0 ;
20983 char *kwnames
[] = {
20984 (char *) "self",(char *) "name", NULL
20987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
20988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20990 arg2
= wxString_in_helper(obj1
);
20991 if (arg2
== NULL
) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 (arg1
)->SetName((wxString
const &)*arg2
);
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 Py_INCREF(Py_None
); resultobj
= Py_None
;
21016 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
;
21018 wxWindow
*arg1
= (wxWindow
*) 0 ;
21020 PyObject
* obj0
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "self", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 result
= ((wxWindow
const *)arg1
)->GetName();
21031 wxPyEndAllowThreads(__tstate
);
21032 if (PyErr_Occurred()) SWIG_fail
;
21036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21047 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
;
21049 wxWindow
*arg1
= (wxWindow
*) 0 ;
21051 PyObject
* obj0
= 0 ;
21052 PyObject
* obj1
= 0 ;
21053 char *kwnames
[] = {
21054 (char *) "self",(char *) "winid", NULL
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21060 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21061 if (PyErr_Occurred()) SWIG_fail
;
21064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21065 (arg1
)->SetId(arg2
);
21067 wxPyEndAllowThreads(__tstate
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21070 Py_INCREF(Py_None
); resultobj
= Py_None
;
21077 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21078 PyObject
*resultobj
;
21079 wxWindow
*arg1
= (wxWindow
*) 0 ;
21081 PyObject
* obj0
= 0 ;
21082 char *kwnames
[] = {
21083 (char *) "self", NULL
21086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= (int)((wxWindow
const *)arg1
)->GetId();
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= SWIG_PyObj_FromInt((int)result
);
21102 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
;
21105 char *kwnames
[] = {
21109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 result
= (int)wxWindow::NewControlId();
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21117 resultobj
= SWIG_PyObj_FromInt((int)result
);
21124 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21125 PyObject
*resultobj
;
21128 PyObject
* obj0
= 0 ;
21129 char *kwnames
[] = {
21130 (char *) "winid", NULL
21133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21135 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 result
= (int)wxWindow::NextControlId(arg1
);
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21145 resultobj
= SWIG_PyObj_FromInt((int)result
);
21152 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21156 PyObject
* obj0
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "winid", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
21163 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 result
= (int)wxWindow::PrevControlId(arg1
);
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21173 resultobj
= SWIG_PyObj_FromInt((int)result
);
21180 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
;
21182 wxWindow
*arg1
= (wxWindow
*) 0 ;
21185 PyObject
* obj0
= 0 ;
21186 PyObject
* obj1
= 0 ;
21187 char *kwnames
[] = {
21188 (char *) "self",(char *) "size", NULL
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21195 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 (arg1
)->SetSize((wxSize
const &)*arg2
);
21201 wxPyEndAllowThreads(__tstate
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21204 Py_INCREF(Py_None
); resultobj
= Py_None
;
21211 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
;
21213 wxWindow
*arg1
= (wxWindow
*) 0 ;
21218 int arg6
= (int) wxSIZE_AUTO
;
21219 PyObject
* obj0
= 0 ;
21220 PyObject
* obj1
= 0 ;
21221 PyObject
* obj2
= 0 ;
21222 PyObject
* obj3
= 0 ;
21223 PyObject
* obj4
= 0 ;
21224 PyObject
* obj5
= 0 ;
21225 char *kwnames
[] = {
21226 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21232 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21236 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21240 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21244 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21249 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21260 Py_INCREF(Py_None
); resultobj
= Py_None
;
21267 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
;
21269 wxWindow
*arg1
= (wxWindow
*) 0 ;
21271 int arg3
= (int) wxSIZE_AUTO
;
21273 PyObject
* obj0
= 0 ;
21274 PyObject
* obj1
= 0 ;
21275 PyObject
* obj2
= 0 ;
21276 char *kwnames
[] = {
21277 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21284 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21288 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21299 Py_INCREF(Py_None
); resultobj
= Py_None
;
21306 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21307 PyObject
*resultobj
;
21308 wxWindow
*arg1
= (wxWindow
*) 0 ;
21311 PyObject
* obj0
= 0 ;
21312 PyObject
* obj1
= 0 ;
21313 PyObject
* obj2
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "self",(char *) "width",(char *) "height", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21321 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21325 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21330 (arg1
)->SetSize(arg2
,arg3
);
21332 wxPyEndAllowThreads(__tstate
);
21333 if (PyErr_Occurred()) SWIG_fail
;
21335 Py_INCREF(Py_None
); resultobj
= Py_None
;
21342 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
;
21344 wxWindow
*arg1
= (wxWindow
*) 0 ;
21345 wxPoint
*arg2
= 0 ;
21346 int arg3
= (int) wxSIZE_USE_EXISTING
;
21348 PyObject
* obj0
= 0 ;
21349 PyObject
* obj1
= 0 ;
21350 PyObject
* obj2
= 0 ;
21351 char *kwnames
[] = {
21352 (char *) "self",(char *) "pt",(char *) "flags", NULL
21355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21359 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21363 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 Py_INCREF(Py_None
); resultobj
= Py_None
;
21381 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21382 PyObject
*resultobj
;
21383 wxWindow
*arg1
= (wxWindow
*) 0 ;
21386 int arg4
= (int) wxSIZE_USE_EXISTING
;
21387 PyObject
* obj0
= 0 ;
21388 PyObject
* obj1
= 0 ;
21389 PyObject
* obj2
= 0 ;
21390 PyObject
* obj3
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21398 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21402 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21407 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 (arg1
)->Move(arg2
,arg3
,arg4
);
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21418 Py_INCREF(Py_None
); resultobj
= Py_None
;
21425 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21426 PyObject
*resultobj
;
21427 wxWindow
*arg1
= (wxWindow
*) 0 ;
21428 PyObject
* obj0
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "self", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
21434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 wxPyEndAllowThreads(__tstate
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21442 Py_INCREF(Py_None
); resultobj
= Py_None
;
21449 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21450 PyObject
*resultobj
;
21451 wxWindow
*arg1
= (wxWindow
*) 0 ;
21452 PyObject
* obj0
= 0 ;
21453 char *kwnames
[] = {
21454 (char *) "self", NULL
21457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
21458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21466 Py_INCREF(Py_None
); resultobj
= Py_None
;
21473 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21474 PyObject
*resultobj
;
21475 wxWindow
*arg1
= (wxWindow
*) 0 ;
21478 PyObject
* obj0
= 0 ;
21479 PyObject
* obj1
= 0 ;
21480 char *kwnames
[] = {
21481 (char *) "self",(char *) "size", NULL
21484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21488 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21492 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
21494 wxPyEndAllowThreads(__tstate
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21497 Py_INCREF(Py_None
); resultobj
= Py_None
;
21504 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21505 PyObject
*resultobj
;
21506 wxWindow
*arg1
= (wxWindow
*) 0 ;
21509 PyObject
* obj0
= 0 ;
21510 PyObject
* obj1
= 0 ;
21511 PyObject
* obj2
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self",(char *) "width",(char *) "height", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21519 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21523 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 (arg1
)->SetClientSize(arg2
,arg3
);
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21533 Py_INCREF(Py_None
); resultobj
= Py_None
;
21540 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
;
21542 wxWindow
*arg1
= (wxWindow
*) 0 ;
21545 PyObject
* obj0
= 0 ;
21546 PyObject
* obj1
= 0 ;
21547 char *kwnames
[] = {
21548 (char *) "self",(char *) "rect", NULL
21551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
21552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21555 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21559 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
21561 wxPyEndAllowThreads(__tstate
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21564 Py_INCREF(Py_None
); resultobj
= Py_None
;
21571 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxWindow
*arg1
= (wxWindow
*) 0 ;
21575 PyObject
* obj0
= 0 ;
21576 char *kwnames
[] = {
21577 (char *) "self", NULL
21580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
21581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (arg1
)->GetPosition();
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21590 wxPoint
* resultptr
;
21591 resultptr
= new wxPoint((wxPoint
&) result
);
21592 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21600 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21601 PyObject
*resultobj
;
21602 wxWindow
*arg1
= (wxWindow
*) 0 ;
21603 int *arg2
= (int *) 0 ;
21604 int *arg3
= (int *) 0 ;
21607 PyObject
* obj0
= 0 ;
21608 char *kwnames
[] = {
21609 (char *) "self", NULL
21614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
21615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 (arg1
)->GetPosition(arg2
,arg3
);
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 Py_INCREF(Py_None
); resultobj
= Py_None
;
21625 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21626 resultobj
= t_output_helper(resultobj
,o
);
21629 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21630 resultobj
= t_output_helper(resultobj
,o
);
21638 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
;
21640 wxWindow
*arg1
= (wxWindow
*) 0 ;
21642 PyObject
* obj0
= 0 ;
21643 char *kwnames
[] = {
21644 (char *) "self", NULL
21647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
21648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 result
= ((wxWindow
const *)arg1
)->GetSize();
21653 wxPyEndAllowThreads(__tstate
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21657 wxSize
* resultptr
;
21658 resultptr
= new wxSize((wxSize
&) result
);
21659 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21667 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21668 PyObject
*resultobj
;
21669 wxWindow
*arg1
= (wxWindow
*) 0 ;
21670 int *arg2
= (int *) 0 ;
21671 int *arg3
= (int *) 0 ;
21674 PyObject
* obj0
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self", NULL
21681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
21682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 Py_INCREF(Py_None
); resultobj
= Py_None
;
21692 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21693 resultobj
= t_output_helper(resultobj
,o
);
21696 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21697 resultobj
= t_output_helper(resultobj
,o
);
21705 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21706 PyObject
*resultobj
;
21707 wxWindow
*arg1
= (wxWindow
*) 0 ;
21709 PyObject
* obj0
= 0 ;
21710 char *kwnames
[] = {
21711 (char *) "self", NULL
21714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
21715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= ((wxWindow
const *)arg1
)->GetRect();
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21724 wxRect
* resultptr
;
21725 resultptr
= new wxRect((wxRect
&) result
);
21726 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
21734 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
;
21736 wxWindow
*arg1
= (wxWindow
*) 0 ;
21738 PyObject
* obj0
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
21744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= ((wxWindow
const *)arg1
)->GetClientSize();
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21753 wxSize
* resultptr
;
21754 resultptr
= new wxSize((wxSize
&) result
);
21755 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21763 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
;
21765 wxWindow
*arg1
= (wxWindow
*) 0 ;
21766 int *arg2
= (int *) 0 ;
21767 int *arg3
= (int *) 0 ;
21770 PyObject
* obj0
= 0 ;
21771 char *kwnames
[] = {
21772 (char *) "self", NULL
21777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
21778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 Py_INCREF(Py_None
); resultobj
= Py_None
;
21788 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21789 resultobj
= t_output_helper(resultobj
,o
);
21792 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21793 resultobj
= t_output_helper(resultobj
,o
);
21801 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
;
21803 wxWindow
*arg1
= (wxWindow
*) 0 ;
21805 PyObject
* obj0
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
21811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21820 wxPoint
* resultptr
;
21821 resultptr
= new wxPoint((wxPoint
&) result
);
21822 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21830 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
;
21832 wxWindow
*arg1
= (wxWindow
*) 0 ;
21834 PyObject
* obj0
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "self", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
21840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21843 result
= ((wxWindow
const *)arg1
)->GetClientRect();
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21849 wxRect
* resultptr
;
21850 resultptr
= new wxRect((wxRect
&) result
);
21851 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
21859 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21860 PyObject
*resultobj
;
21861 wxWindow
*arg1
= (wxWindow
*) 0 ;
21863 PyObject
* obj0
= 0 ;
21864 char *kwnames
[] = {
21865 (char *) "self", NULL
21868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
21869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 result
= ((wxWindow
const *)arg1
)->GetBestSize();
21874 wxPyEndAllowThreads(__tstate
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21878 wxSize
* resultptr
;
21879 resultptr
= new wxSize((wxSize
&) result
);
21880 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21888 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
;
21890 wxWindow
*arg1
= (wxWindow
*) 0 ;
21891 int *arg2
= (int *) 0 ;
21892 int *arg3
= (int *) 0 ;
21895 PyObject
* obj0
= 0 ;
21896 char *kwnames
[] = {
21897 (char *) "self", NULL
21902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
21903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21906 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21911 Py_INCREF(Py_None
); resultobj
= Py_None
;
21913 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21914 resultobj
= t_output_helper(resultobj
,o
);
21917 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21918 resultobj
= t_output_helper(resultobj
,o
);
21926 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxWindow
*arg1
= (wxWindow
*) 0 ;
21930 PyObject
* obj0
= 0 ;
21931 char *kwnames
[] = {
21932 (char *) "self", NULL
21935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
21936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21939 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21945 wxSize
* resultptr
;
21946 resultptr
= new wxSize((wxSize
&) result
);
21947 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21955 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
;
21957 wxWindow
*arg1
= (wxWindow
*) 0 ;
21958 int arg2
= (int) wxBOTH
;
21959 PyObject
* obj0
= 0 ;
21960 PyObject
* obj1
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "direction", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
21966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21969 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 (arg1
)->Center(arg2
);
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 Py_INCREF(Py_None
); resultobj
= Py_None
;
21987 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
;
21989 wxWindow
*arg1
= (wxWindow
*) 0 ;
21990 int arg2
= (int) wxBOTH
;
21991 PyObject
* obj0
= 0 ;
21992 PyObject
* obj1
= 0 ;
21993 char *kwnames
[] = {
21994 (char *) "self",(char *) "dir", NULL
21997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
21998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22001 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 (arg1
)->CenterOnScreen(arg2
);
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 Py_INCREF(Py_None
); resultobj
= Py_None
;
22019 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22020 PyObject
*resultobj
;
22021 wxWindow
*arg1
= (wxWindow
*) 0 ;
22022 int arg2
= (int) wxBOTH
;
22023 PyObject
* obj0
= 0 ;
22024 PyObject
* obj1
= 0 ;
22025 char *kwnames
[] = {
22026 (char *) "self",(char *) "dir", NULL
22029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22033 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 (arg1
)->CenterOnParent(arg2
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22044 Py_INCREF(Py_None
); resultobj
= Py_None
;
22051 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxWindow
*arg1
= (wxWindow
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 Py_INCREF(Py_None
); resultobj
= Py_None
;
22075 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
;
22077 wxWindow
*arg1
= (wxWindow
*) 0 ;
22078 PyObject
* obj0
= 0 ;
22079 char *kwnames
[] = {
22080 (char *) "self", NULL
22083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 (arg1
)->FitInside();
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22092 Py_INCREF(Py_None
); resultobj
= Py_None
;
22099 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
;
22101 wxWindow
*arg1
= (wxWindow
*) 0 ;
22104 int arg4
= (int) -1 ;
22105 int arg5
= (int) -1 ;
22106 int arg6
= (int) -1 ;
22107 int arg7
= (int) -1 ;
22108 PyObject
* obj0
= 0 ;
22109 PyObject
* obj1
= 0 ;
22110 PyObject
* obj2
= 0 ;
22111 PyObject
* obj3
= 0 ;
22112 PyObject
* obj4
= 0 ;
22113 PyObject
* obj5
= 0 ;
22114 PyObject
* obj6
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22122 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22126 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22131 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22137 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22143 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22149 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22160 Py_INCREF(Py_None
); resultobj
= Py_None
;
22167 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
;
22169 wxWindow
*arg1
= (wxWindow
*) 0 ;
22172 int arg4
= (int) -1 ;
22173 int arg5
= (int) -1 ;
22174 PyObject
* obj0
= 0 ;
22175 PyObject
* obj1
= 0 ;
22176 PyObject
* obj2
= 0 ;
22177 PyObject
* obj3
= 0 ;
22178 PyObject
* obj4
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22186 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22190 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22195 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22201 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 Py_INCREF(Py_None
); resultobj
= Py_None
;
22219 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
;
22221 wxWindow
*arg1
= (wxWindow
*) 0 ;
22223 PyObject
* obj0
= 0 ;
22224 char *kwnames
[] = {
22225 (char *) "self", NULL
22228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
22229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 resultobj
= SWIG_PyObj_FromInt((int)result
);
22244 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxWindow
*arg1
= (wxWindow
*) 0 ;
22248 PyObject
* obj0
= 0 ;
22249 char *kwnames
[] = {
22250 (char *) "self", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
22254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= SWIG_PyObj_FromInt((int)result
);
22269 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
;
22271 wxWindow
*arg1
= (wxWindow
*) 0 ;
22273 PyObject
* obj0
= 0 ;
22274 char *kwnames
[] = {
22275 (char *) "self", NULL
22278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
22279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22282 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= SWIG_PyObj_FromInt((int)result
);
22294 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
;
22296 wxWindow
*arg1
= (wxWindow
*) 0 ;
22298 PyObject
* obj0
= 0 ;
22299 char *kwnames
[] = {
22300 (char *) "self", NULL
22303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
22304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= SWIG_PyObj_FromInt((int)result
);
22319 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxWindow
*arg1
= (wxWindow
*) 0 ;
22323 PyObject
* obj0
= 0 ;
22324 char *kwnames
[] = {
22325 (char *) "self", NULL
22328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
22329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22332 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22338 wxSize
* resultptr
;
22339 resultptr
= new wxSize((wxSize
&) result
);
22340 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22348 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
;
22350 wxWindow
*arg1
= (wxWindow
*) 0 ;
22353 PyObject
* obj0
= 0 ;
22354 PyObject
* obj1
= 0 ;
22355 char *kwnames
[] = {
22356 (char *) "self",(char *) "size", NULL
22359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22363 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 Py_INCREF(Py_None
); resultobj
= Py_None
;
22379 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22380 PyObject
*resultobj
;
22381 wxWindow
*arg1
= (wxWindow
*) 0 ;
22384 PyObject
* obj0
= 0 ;
22385 PyObject
* obj1
= 0 ;
22386 PyObject
* obj2
= 0 ;
22387 char *kwnames
[] = {
22388 (char *) "self",(char *) "w",(char *) "h", NULL
22391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22394 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22398 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 (arg1
)->SetVirtualSize(arg2
,arg3
);
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22408 Py_INCREF(Py_None
); resultobj
= Py_None
;
22415 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22416 PyObject
*resultobj
;
22417 wxWindow
*arg1
= (wxWindow
*) 0 ;
22419 PyObject
* obj0
= 0 ;
22420 char *kwnames
[] = {
22421 (char *) "self", NULL
22424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
22425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22434 wxSize
* resultptr
;
22435 resultptr
= new wxSize((wxSize
&) result
);
22436 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22444 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22445 PyObject
*resultobj
;
22446 wxWindow
*arg1
= (wxWindow
*) 0 ;
22447 int *arg2
= (int *) 0 ;
22448 int *arg3
= (int *) 0 ;
22451 PyObject
* obj0
= 0 ;
22452 char *kwnames
[] = {
22453 (char *) "self", NULL
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
22459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 Py_INCREF(Py_None
); resultobj
= Py_None
;
22469 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22470 resultobj
= t_output_helper(resultobj
,o
);
22473 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22474 resultobj
= t_output_helper(resultobj
,o
);
22482 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
;
22484 wxWindow
*arg1
= (wxWindow
*) 0 ;
22486 PyObject
* obj0
= 0 ;
22487 char *kwnames
[] = {
22488 (char *) "self", NULL
22491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
22492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22501 wxSize
* resultptr
;
22502 resultptr
= new wxSize((wxSize
&) result
);
22503 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22511 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
;
22513 wxWindow
*arg1
= (wxWindow
*) 0 ;
22514 bool arg2
= (bool) True
;
22516 PyObject
* obj0
= 0 ;
22517 PyObject
* obj1
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "self",(char *) "show", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
22523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22526 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 result
= (bool)(arg1
)->Show(arg2
);
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22544 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxWindow
*arg1
= (wxWindow
*) 0 ;
22548 PyObject
* obj0
= 0 ;
22549 char *kwnames
[] = {
22550 (char *) "self", NULL
22553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
22554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 result
= (bool)(arg1
)->Hide();
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22569 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22570 PyObject
*resultobj
;
22571 wxWindow
*arg1
= (wxWindow
*) 0 ;
22572 bool arg2
= (bool) True
;
22574 PyObject
* obj0
= 0 ;
22575 PyObject
* obj1
= 0 ;
22576 char *kwnames
[] = {
22577 (char *) "self",(char *) "enable", NULL
22580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
22581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22584 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 result
= (bool)(arg1
)->Enable(arg2
);
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22602 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
;
22604 wxWindow
*arg1
= (wxWindow
*) 0 ;
22606 PyObject
* obj0
= 0 ;
22607 char *kwnames
[] = {
22608 (char *) "self", NULL
22611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
22612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 result
= (bool)(arg1
)->Disable();
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22627 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22629 wxWindow
*arg1
= (wxWindow
*) 0 ;
22631 PyObject
* obj0
= 0 ;
22632 char *kwnames
[] = {
22633 (char *) "self", NULL
22636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
22637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22652 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22654 wxWindow
*arg1
= (wxWindow
*) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
22662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22665 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
22667 wxPyEndAllowThreads(__tstate
);
22668 if (PyErr_Occurred()) SWIG_fail
;
22670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22677 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22678 PyObject
*resultobj
;
22679 wxWindow
*arg1
= (wxWindow
*) 0 ;
22681 PyObject
* obj0
= 0 ;
22682 PyObject
* obj1
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "self",(char *) "style", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22690 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 (arg1
)->SetWindowStyleFlag(arg2
);
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 Py_INCREF(Py_None
); resultobj
= Py_None
;
22707 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22709 wxWindow
*arg1
= (wxWindow
*) 0 ;
22711 PyObject
* obj0
= 0 ;
22712 char *kwnames
[] = {
22713 (char *) "self", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
22717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22725 resultobj
= SWIG_PyObj_FromLong((long)result
);
22732 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
;
22734 wxWindow
*arg1
= (wxWindow
*) 0 ;
22736 PyObject
* obj0
= 0 ;
22737 PyObject
* obj1
= 0 ;
22738 char *kwnames
[] = {
22739 (char *) "self",(char *) "style", NULL
22742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
22743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22745 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 (arg1
)->SetWindowStyle(arg2
);
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 Py_INCREF(Py_None
); resultobj
= Py_None
;
22762 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22763 PyObject
*resultobj
;
22764 wxWindow
*arg1
= (wxWindow
*) 0 ;
22766 PyObject
* obj0
= 0 ;
22767 char *kwnames
[] = {
22768 (char *) "self", NULL
22771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
22772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22780 resultobj
= SWIG_PyObj_FromLong((long)result
);
22787 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
;
22789 wxWindow
*arg1
= (wxWindow
*) 0 ;
22792 PyObject
* obj0
= 0 ;
22793 PyObject
* obj1
= 0 ;
22794 char *kwnames
[] = {
22795 (char *) "self",(char *) "flag", NULL
22798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22801 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22818 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22819 PyObject
*resultobj
;
22820 wxWindow
*arg1
= (wxWindow
*) 0 ;
22822 PyObject
* obj0
= 0 ;
22823 char *kwnames
[] = {
22824 (char *) "self", NULL
22827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
22828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22843 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
;
22845 wxWindow
*arg1
= (wxWindow
*) 0 ;
22847 PyObject
* obj0
= 0 ;
22848 PyObject
* obj1
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "self",(char *) "exStyle", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
22854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22856 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 (arg1
)->SetExtraStyle(arg2
);
22863 wxPyEndAllowThreads(__tstate
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22866 Py_INCREF(Py_None
); resultobj
= Py_None
;
22873 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
;
22875 wxWindow
*arg1
= (wxWindow
*) 0 ;
22877 PyObject
* obj0
= 0 ;
22878 char *kwnames
[] = {
22879 (char *) "self", NULL
22882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
22883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_PyObj_FromLong((long)result
);
22898 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
;
22900 wxWindow
*arg1
= (wxWindow
*) 0 ;
22901 bool arg2
= (bool) True
;
22902 PyObject
* obj0
= 0 ;
22903 PyObject
* obj1
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "self",(char *) "modal", NULL
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
22909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22912 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22918 (arg1
)->MakeModal(arg2
);
22920 wxPyEndAllowThreads(__tstate
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22923 Py_INCREF(Py_None
); resultobj
= Py_None
;
22930 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22931 PyObject
*resultobj
;
22932 wxWindow
*arg1
= (wxWindow
*) 0 ;
22934 PyObject
* obj0
= 0 ;
22935 PyObject
* obj1
= 0 ;
22936 char *kwnames
[] = {
22937 (char *) "self",(char *) "enableTheme", NULL
22940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
22941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22943 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 (arg1
)->SetThemeEnabled(arg2
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 Py_INCREF(Py_None
); resultobj
= Py_None
;
22960 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxWindow
*arg1
= (wxWindow
*) 0 ;
22964 PyObject
* obj0
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "self", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
22970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22985 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
;
22987 wxWindow
*arg1
= (wxWindow
*) 0 ;
22989 PyObject
* obj0
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23010 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxWindow
*arg1
= (wxWindow
*) 0 ;
23013 PyObject
* obj0
= 0 ;
23014 char *kwnames
[] = {
23015 (char *) "self", NULL
23018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
23019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 (arg1
)->SetFocus();
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 Py_INCREF(Py_None
); resultobj
= Py_None
;
23034 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23035 PyObject
*resultobj
;
23036 wxWindow
*arg1
= (wxWindow
*) 0 ;
23037 PyObject
* obj0
= 0 ;
23038 char *kwnames
[] = {
23039 (char *) "self", NULL
23042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
23043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 (arg1
)->SetFocusFromKbd();
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 Py_INCREF(Py_None
); resultobj
= Py_None
;
23058 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23061 char *kwnames
[] = {
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (wxWindow
*)wxWindow::FindFocus();
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23074 resultobj
= wxPyMake_wxObject(result
);
23082 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
;
23084 wxWindow
*arg1
= (wxWindow
*) 0 ;
23086 PyObject
* obj0
= 0 ;
23087 char *kwnames
[] = {
23088 (char *) "self", NULL
23091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
23092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23095 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23107 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
;
23109 wxWindow
*arg1
= (wxWindow
*) 0 ;
23111 PyObject
* obj0
= 0 ;
23112 char *kwnames
[] = {
23113 (char *) "self", NULL
23116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
23117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23132 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
;
23134 wxWindow
*arg1
= (wxWindow
*) 0 ;
23136 PyObject
* obj0
= 0 ;
23137 char *kwnames
[] = {
23138 (char *) "self", NULL
23141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
23142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= wxPyMake_wxObject(result
);
23159 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxWindow
*arg1
= (wxWindow
*) 0 ;
23162 wxWindow
*arg2
= (wxWindow
*) 0 ;
23164 PyObject
* obj0
= 0 ;
23165 PyObject
* obj1
= 0 ;
23166 char *kwnames
[] = {
23167 (char *) "self",(char *) "child", NULL
23170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23172 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23175 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23181 resultobj
= wxPyMake_wxObject(result
);
23189 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23190 PyObject
*resultobj
;
23191 wxWindow
*arg1
= (wxWindow
*) 0 ;
23192 wxWindow
*arg2
= (wxWindow
*) 0 ;
23193 PyObject
* obj0
= 0 ;
23194 PyObject
* obj1
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self",(char *) "win", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23201 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 (arg1
)->SetTmpDefaultItem(arg2
);
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 Py_INCREF(Py_None
); resultobj
= Py_None
;
23216 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23218 wxWindow
*arg1
= (wxWindow
*) 0 ;
23220 PyObject
* obj0
= 0 ;
23221 char *kwnames
[] = {
23222 (char *) "self", NULL
23225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
23226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23229 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
23231 wxPyEndAllowThreads(__tstate
);
23232 if (PyErr_Occurred()) SWIG_fail
;
23234 resultobj
= result
;
23241 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23242 PyObject
*resultobj
;
23243 wxWindow
*arg1
= (wxWindow
*) 0 ;
23245 PyObject
* obj0
= 0 ;
23246 char *kwnames
[] = {
23247 (char *) "self", NULL
23250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
23251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23260 resultobj
= wxPyMake_wxObject(result
);
23268 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23269 PyObject
*resultobj
;
23270 wxWindow
*arg1
= (wxWindow
*) 0 ;
23272 PyObject
* obj0
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self", NULL
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
23278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23281 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23287 resultobj
= wxPyMake_wxObject(result
);
23295 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23296 PyObject
*resultobj
;
23297 wxWindow
*arg1
= (wxWindow
*) 0 ;
23299 PyObject
* obj0
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
23305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23320 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23321 PyObject
*resultobj
;
23322 wxWindow
*arg1
= (wxWindow
*) 0 ;
23323 wxWindow
*arg2
= (wxWindow
*) 0 ;
23325 PyObject
* obj0
= 0 ;
23326 PyObject
* obj1
= 0 ;
23327 char *kwnames
[] = {
23328 (char *) "self",(char *) "newParent", NULL
23331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
23332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 result
= (bool)(arg1
)->Reparent(arg2
);
23338 wxPyEndAllowThreads(__tstate
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23348 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23349 PyObject
*resultobj
;
23350 wxWindow
*arg1
= (wxWindow
*) 0 ;
23351 wxWindow
*arg2
= (wxWindow
*) 0 ;
23352 PyObject
* obj0
= 0 ;
23353 PyObject
* obj1
= 0 ;
23354 char *kwnames
[] = {
23355 (char *) "self",(char *) "child", NULL
23358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23360 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 (arg1
)->AddChild(arg2
);
23365 wxPyEndAllowThreads(__tstate
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23368 Py_INCREF(Py_None
); resultobj
= Py_None
;
23375 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23376 PyObject
*resultobj
;
23377 wxWindow
*arg1
= (wxWindow
*) 0 ;
23378 wxWindow
*arg2
= (wxWindow
*) 0 ;
23379 PyObject
* obj0
= 0 ;
23380 PyObject
* obj1
= 0 ;
23381 char *kwnames
[] = {
23382 (char *) "self",(char *) "child", NULL
23385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 (arg1
)->RemoveChild(arg2
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 Py_INCREF(Py_None
); resultobj
= Py_None
;
23402 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
;
23404 wxWindow
*arg1
= (wxWindow
*) 0 ;
23407 PyObject
* obj0
= 0 ;
23408 PyObject
* obj1
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "self",(char *) "winid", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
23414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23416 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23427 resultobj
= wxPyMake_wxObject(result
);
23435 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
;
23437 wxWindow
*arg1
= (wxWindow
*) 0 ;
23438 wxString
*arg2
= 0 ;
23440 bool temp2
= False
;
23441 PyObject
* obj0
= 0 ;
23442 PyObject
* obj1
= 0 ;
23443 char *kwnames
[] = {
23444 (char *) "self",(char *) "name", NULL
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
23448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23450 arg2
= wxString_in_helper(obj1
);
23451 if (arg2
== NULL
) SWIG_fail
;
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23462 resultobj
= wxPyMake_wxObject(result
);
23478 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23480 wxWindow
*arg1
= (wxWindow
*) 0 ;
23481 wxEvtHandler
*result
;
23482 PyObject
* obj0
= 0 ;
23483 char *kwnames
[] = {
23484 (char *) "self", NULL
23487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
23488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= wxPyMake_wxObject(result
);
23505 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
;
23507 wxWindow
*arg1
= (wxWindow
*) 0 ;
23508 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23509 PyObject
* obj0
= 0 ;
23510 PyObject
* obj1
= 0 ;
23511 char *kwnames
[] = {
23512 (char *) "self",(char *) "handler", NULL
23515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23517 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 (arg1
)->SetEventHandler(arg2
);
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23525 Py_INCREF(Py_None
); resultobj
= Py_None
;
23532 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
;
23534 wxWindow
*arg1
= (wxWindow
*) 0 ;
23535 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23536 PyObject
* obj0
= 0 ;
23537 PyObject
* obj1
= 0 ;
23538 char *kwnames
[] = {
23539 (char *) "self",(char *) "handler", NULL
23542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23544 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 (arg1
)->PushEventHandler(arg2
);
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 Py_INCREF(Py_None
); resultobj
= Py_None
;
23559 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
;
23561 wxWindow
*arg1
= (wxWindow
*) 0 ;
23562 bool arg2
= (bool) False
;
23563 wxEvtHandler
*result
;
23564 PyObject
* obj0
= 0 ;
23565 PyObject
* obj1
= 0 ;
23566 char *kwnames
[] = {
23567 (char *) "self",(char *) "deleteHandler", NULL
23570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23574 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23586 resultobj
= wxPyMake_wxObject(result
);
23594 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
;
23596 wxWindow
*arg1
= (wxWindow
*) 0 ;
23597 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23599 PyObject
* obj0
= 0 ;
23600 PyObject
* obj1
= 0 ;
23601 char *kwnames
[] = {
23602 (char *) "self",(char *) "handler", NULL
23605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23622 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxWindow
*arg1
= (wxWindow
*) 0 ;
23625 wxValidator
*arg2
= 0 ;
23626 PyObject
* obj0
= 0 ;
23627 PyObject
* obj1
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self",(char *) "validator", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
23633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23635 if (arg2
== NULL
) {
23636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23645 Py_INCREF(Py_None
); resultobj
= Py_None
;
23652 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
;
23654 wxWindow
*arg1
= (wxWindow
*) 0 ;
23655 wxValidator
*result
;
23656 PyObject
* obj0
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
23662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= (wxValidator
*)(arg1
)->GetValidator();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= wxPyMake_wxObject(result
);
23679 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23681 wxWindow
*arg1
= (wxWindow
*) 0 ;
23682 wxAcceleratorTable
*arg2
= 0 ;
23683 PyObject
* obj0
= 0 ;
23684 PyObject
* obj1
= 0 ;
23685 char *kwnames
[] = {
23686 (char *) "self",(char *) "accel", NULL
23689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
23690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23691 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23692 if (arg2
== NULL
) {
23693 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 Py_INCREF(Py_None
); resultobj
= Py_None
;
23709 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
;
23711 wxWindow
*arg1
= (wxWindow
*) 0 ;
23712 wxAcceleratorTable
*result
;
23713 PyObject
* obj0
= 0 ;
23714 char *kwnames
[] = {
23715 (char *) "self", NULL
23718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
23719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
23734 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23735 PyObject
*resultobj
;
23736 wxWindow
*arg1
= (wxWindow
*) 0 ;
23741 PyObject
* obj0
= 0 ;
23742 PyObject
* obj1
= 0 ;
23743 PyObject
* obj2
= 0 ;
23744 PyObject
* obj3
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23752 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23756 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23760 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23777 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
;
23779 wxWindow
*arg1
= (wxWindow
*) 0 ;
23782 PyObject
* obj0
= 0 ;
23783 PyObject
* obj1
= 0 ;
23784 char *kwnames
[] = {
23785 (char *) "self",(char *) "hotkeyId", NULL
23788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
23789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23791 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23792 if (PyErr_Occurred()) SWIG_fail
;
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23808 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
;
23810 wxWindow
*arg1
= (wxWindow
*) 0 ;
23811 wxPoint
*arg2
= 0 ;
23814 PyObject
* obj0
= 0 ;
23815 PyObject
* obj1
= 0 ;
23816 char *kwnames
[] = {
23817 (char *) "self",(char *) "pt", NULL
23820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
23821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23824 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23834 wxPoint
* resultptr
;
23835 resultptr
= new wxPoint((wxPoint
&) result
);
23836 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23844 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
;
23846 wxWindow
*arg1
= (wxWindow
*) 0 ;
23850 PyObject
* obj0
= 0 ;
23851 PyObject
* obj1
= 0 ;
23852 char *kwnames
[] = {
23853 (char *) "self",(char *) "sz", NULL
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
23857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23860 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23870 wxSize
* resultptr
;
23871 resultptr
= new wxSize((wxSize
&) result
);
23872 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
23880 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
;
23882 wxWindow
*arg1
= (wxWindow
*) 0 ;
23883 wxPoint
*arg2
= 0 ;
23886 PyObject
* obj0
= 0 ;
23887 PyObject
* obj1
= 0 ;
23888 char *kwnames
[] = {
23889 (char *) "self",(char *) "pt", NULL
23892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
23893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23896 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23906 wxPoint
* resultptr
;
23907 resultptr
= new wxPoint((wxPoint
&) result
);
23908 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23916 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
;
23918 wxWindow
*arg1
= (wxWindow
*) 0 ;
23922 PyObject
* obj0
= 0 ;
23923 PyObject
* obj1
= 0 ;
23924 char *kwnames
[] = {
23925 (char *) "self",(char *) "sz", NULL
23928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
23929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23932 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23942 wxSize
* resultptr
;
23943 resultptr
= new wxSize((wxSize
&) result
);
23944 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
23952 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
;
23954 wxWindow
*arg1
= (wxWindow
*) 0 ;
23955 wxPoint
*arg2
= 0 ;
23958 PyObject
* obj0
= 0 ;
23959 PyObject
* obj1
= 0 ;
23960 char *kwnames
[] = {
23961 (char *) "self",(char *) "pt", NULL
23964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23968 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23978 wxPoint
* resultptr
;
23979 resultptr
= new wxPoint((wxPoint
&) result
);
23980 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23988 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23989 PyObject
*resultobj
;
23990 wxWindow
*arg1
= (wxWindow
*) 0 ;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 char *kwnames
[] = {
23997 (char *) "self",(char *) "sz", NULL
24000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24004 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24014 wxSize
* resultptr
;
24015 resultptr
= new wxSize((wxSize
&) result
);
24016 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24024 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
;
24026 wxWindow
*arg1
= (wxWindow
*) 0 ;
24029 PyObject
* obj0
= 0 ;
24030 PyObject
* obj1
= 0 ;
24031 PyObject
* obj2
= 0 ;
24032 char *kwnames
[] = {
24033 (char *) "self",(char *) "x",(char *) "y", NULL
24036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24039 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24043 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 (arg1
)->WarpPointer(arg2
,arg3
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 Py_INCREF(Py_None
); resultobj
= Py_None
;
24060 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 wxWindow
*arg1
= (wxWindow
*) 0 ;
24063 PyObject
* obj0
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
24069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24072 (arg1
)->CaptureMouse();
24074 wxPyEndAllowThreads(__tstate
);
24075 if (PyErr_Occurred()) SWIG_fail
;
24077 Py_INCREF(Py_None
); resultobj
= Py_None
;
24084 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24085 PyObject
*resultobj
;
24086 wxWindow
*arg1
= (wxWindow
*) 0 ;
24087 PyObject
* obj0
= 0 ;
24088 char *kwnames
[] = {
24089 (char *) "self", NULL
24092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
24093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24096 (arg1
)->ReleaseMouse();
24098 wxPyEndAllowThreads(__tstate
);
24099 if (PyErr_Occurred()) SWIG_fail
;
24101 Py_INCREF(Py_None
); resultobj
= Py_None
;
24108 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24109 PyObject
*resultobj
;
24111 char *kwnames
[] = {
24115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 result
= (wxWindow
*)wxWindow::GetCapture();
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= wxPyMake_wxObject(result
);
24132 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24133 PyObject
*resultobj
;
24134 wxWindow
*arg1
= (wxWindow
*) 0 ;
24136 PyObject
* obj0
= 0 ;
24137 char *kwnames
[] = {
24138 (char *) "self", NULL
24141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
24142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24157 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24158 PyObject
*resultobj
;
24159 wxWindow
*arg1
= (wxWindow
*) 0 ;
24160 bool arg2
= (bool) True
;
24161 wxRect
*arg3
= (wxRect
*) NULL
;
24162 PyObject
* obj0
= 0 ;
24163 PyObject
* obj1
= 0 ;
24164 PyObject
* obj2
= 0 ;
24165 char *kwnames
[] = {
24166 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24173 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24178 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24187 Py_INCREF(Py_None
); resultobj
= Py_None
;
24194 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24195 PyObject
*resultobj
;
24196 wxWindow
*arg1
= (wxWindow
*) 0 ;
24199 PyObject
* obj0
= 0 ;
24200 PyObject
* obj1
= 0 ;
24201 char *kwnames
[] = {
24202 (char *) "self",(char *) "rect", NULL
24205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24209 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24218 Py_INCREF(Py_None
); resultobj
= Py_None
;
24225 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24226 PyObject
*resultobj
;
24227 wxWindow
*arg1
= (wxWindow
*) 0 ;
24228 PyObject
* obj0
= 0 ;
24229 char *kwnames
[] = {
24230 (char *) "self", NULL
24233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
24234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24242 Py_INCREF(Py_None
); resultobj
= Py_None
;
24249 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24250 PyObject
*resultobj
;
24251 wxWindow
*arg1
= (wxWindow
*) 0 ;
24252 PyObject
* obj0
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 (arg1
)->ClearBackground();
24263 wxPyEndAllowThreads(__tstate
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24266 Py_INCREF(Py_None
); resultobj
= Py_None
;
24273 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
;
24275 wxWindow
*arg1
= (wxWindow
*) 0 ;
24276 PyObject
* obj0
= 0 ;
24277 char *kwnames
[] = {
24278 (char *) "self", NULL
24281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
24282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 Py_INCREF(Py_None
); resultobj
= Py_None
;
24297 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
;
24299 wxWindow
*arg1
= (wxWindow
*) 0 ;
24300 PyObject
* obj0
= 0 ;
24301 char *kwnames
[] = {
24302 (char *) "self", NULL
24305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
24306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 Py_INCREF(Py_None
); resultobj
= Py_None
;
24321 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
;
24323 wxWindow
*arg1
= (wxWindow
*) 0 ;
24325 PyObject
* obj0
= 0 ;
24326 PyObject
* obj1
= 0 ;
24327 char *kwnames
[] = {
24328 (char *) "self",(char *) "dc", NULL
24331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24334 if (arg2
== NULL
) {
24335 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 (arg1
)->PrepareDC(*arg2
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24344 Py_INCREF(Py_None
); resultobj
= Py_None
;
24351 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
;
24353 wxWindow
*arg1
= (wxWindow
*) 0 ;
24355 PyObject
* obj0
= 0 ;
24356 char *kwnames
[] = {
24357 (char *) "self", NULL
24360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
24361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
24366 result
= (wxRegion
*) &_result_ref
;
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
24379 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
;
24381 wxWindow
*arg1
= (wxWindow
*) 0 ;
24383 PyObject
* obj0
= 0 ;
24384 char *kwnames
[] = {
24385 (char *) "self", NULL
24388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
24389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24398 wxRect
* resultptr
;
24399 resultptr
= new wxRect((wxRect
&) result
);
24400 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
24408 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
;
24410 wxWindow
*arg1
= (wxWindow
*) 0 ;
24413 int arg4
= (int) 1 ;
24414 int arg5
= (int) 1 ;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 PyObject
* obj2
= 0 ;
24419 PyObject
* obj3
= 0 ;
24420 PyObject
* obj4
= 0 ;
24421 char *kwnames
[] = {
24422 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24428 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
24429 if (PyErr_Occurred()) SWIG_fail
;
24432 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24437 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24443 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24461 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24462 PyObject
*resultobj
;
24463 wxWindow
*arg1
= (wxWindow
*) 0 ;
24464 wxPoint
*arg2
= 0 ;
24467 PyObject
* obj0
= 0 ;
24468 PyObject
* obj1
= 0 ;
24469 char *kwnames
[] = {
24470 (char *) "self",(char *) "pt", NULL
24473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24477 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24481 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
24483 wxPyEndAllowThreads(__tstate
);
24484 if (PyErr_Occurred()) SWIG_fail
;
24486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24493 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24494 PyObject
*resultobj
;
24495 wxWindow
*arg1
= (wxWindow
*) 0 ;
24499 PyObject
* obj0
= 0 ;
24500 PyObject
* obj1
= 0 ;
24501 char *kwnames
[] = {
24502 (char *) "self",(char *) "rect", NULL
24505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24509 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24525 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24526 PyObject
*resultobj
;
24527 wxWindow
*arg1
= (wxWindow
*) 0 ;
24528 wxColour
*arg2
= 0 ;
24531 PyObject
* obj0
= 0 ;
24532 PyObject
* obj1
= 0 ;
24533 char *kwnames
[] = {
24534 (char *) "self",(char *) "colour", NULL
24537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24541 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24557 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24558 PyObject
*resultobj
;
24559 wxWindow
*arg1
= (wxWindow
*) 0 ;
24560 wxColour
*arg2
= 0 ;
24563 PyObject
* obj0
= 0 ;
24564 PyObject
* obj1
= 0 ;
24565 char *kwnames
[] = {
24566 (char *) "self",(char *) "colour", NULL
24569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24573 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24577 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24579 wxPyEndAllowThreads(__tstate
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24589 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
;
24591 wxWindow
*arg1
= (wxWindow
*) 0 ;
24593 PyObject
* obj0
= 0 ;
24594 char *kwnames
[] = {
24595 (char *) "self", NULL
24598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
24599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24602 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24608 wxColour
* resultptr
;
24609 resultptr
= new wxColour((wxColour
&) result
);
24610 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24618 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
;
24620 wxWindow
*arg1
= (wxWindow
*) 0 ;
24622 PyObject
* obj0
= 0 ;
24623 char *kwnames
[] = {
24624 (char *) "self", NULL
24627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
24628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24637 wxColour
* resultptr
;
24638 resultptr
= new wxColour((wxColour
&) result
);
24639 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24647 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxWindow
*arg1
= (wxWindow
*) 0 ;
24650 wxCursor
*arg2
= 0 ;
24652 PyObject
* obj0
= 0 ;
24653 PyObject
* obj1
= 0 ;
24654 char *kwnames
[] = {
24655 (char *) "self",(char *) "cursor", NULL
24658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
24659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24660 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24661 if (arg2
== NULL
) {
24662 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
24668 wxPyEndAllowThreads(__tstate
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24678 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24679 PyObject
*resultobj
;
24680 wxWindow
*arg1
= (wxWindow
*) 0 ;
24682 PyObject
* obj0
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "self", NULL
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
24688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 wxCursor
&_result_ref
= (arg1
)->GetCursor();
24693 result
= (wxCursor
*) &_result_ref
;
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
24706 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24707 PyObject
*resultobj
;
24708 wxWindow
*arg1
= (wxWindow
*) 0 ;
24711 PyObject
* obj0
= 0 ;
24712 PyObject
* obj1
= 0 ;
24713 char *kwnames
[] = {
24714 (char *) "self",(char *) "font", NULL
24717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24719 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24720 if (arg2
== NULL
) {
24721 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24737 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
;
24739 wxWindow
*arg1
= (wxWindow
*) 0 ;
24741 PyObject
* obj0
= 0 ;
24742 char *kwnames
[] = {
24743 (char *) "self", NULL
24746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
24747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 wxFont
&_result_ref
= (arg1
)->GetFont();
24752 result
= (wxFont
*) &_result_ref
;
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24758 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
24765 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
;
24767 wxWindow
*arg1
= (wxWindow
*) 0 ;
24768 wxCaret
*arg2
= (wxCaret
*) 0 ;
24769 PyObject
* obj0
= 0 ;
24770 PyObject
* obj1
= 0 ;
24771 char *kwnames
[] = {
24772 (char *) "self",(char *) "caret", NULL
24775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
24776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 (arg1
)->SetCaret(arg2
);
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24785 Py_INCREF(Py_None
); resultobj
= Py_None
;
24792 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxWindow
*arg1
= (wxWindow
*) 0 ;
24796 PyObject
* obj0
= 0 ;
24797 char *kwnames
[] = {
24798 (char *) "self", NULL
24801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
24802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24810 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
24817 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxWindow
*arg1
= (wxWindow
*) 0 ;
24821 PyObject
* obj0
= 0 ;
24822 char *kwnames
[] = {
24823 (char *) "self", NULL
24826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
24827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24830 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24835 resultobj
= SWIG_PyObj_FromInt((int)result
);
24842 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24843 PyObject
*resultobj
;
24844 wxWindow
*arg1
= (wxWindow
*) 0 ;
24846 PyObject
* obj0
= 0 ;
24847 char *kwnames
[] = {
24848 (char *) "self", NULL
24851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
24852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24860 resultobj
= SWIG_PyObj_FromInt((int)result
);
24867 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
;
24869 wxWindow
*arg1
= (wxWindow
*) 0 ;
24870 wxString
*arg2
= 0 ;
24871 int *arg3
= (int *) 0 ;
24872 int *arg4
= (int *) 0 ;
24873 bool temp2
= False
;
24876 PyObject
* obj0
= 0 ;
24877 PyObject
* obj1
= 0 ;
24878 char *kwnames
[] = {
24879 (char *) "self",(char *) "string", NULL
24884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
24885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24887 arg2
= wxString_in_helper(obj1
);
24888 if (arg2
== NULL
) SWIG_fail
;
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24898 Py_INCREF(Py_None
); resultobj
= Py_None
;
24900 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24901 resultobj
= t_output_helper(resultobj
,o
);
24904 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24905 resultobj
= t_output_helper(resultobj
,o
);
24921 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
;
24923 wxWindow
*arg1
= (wxWindow
*) 0 ;
24924 wxString
*arg2
= 0 ;
24925 int *arg3
= (int *) 0 ;
24926 int *arg4
= (int *) 0 ;
24927 int *arg5
= (int *) 0 ;
24928 int *arg6
= (int *) 0 ;
24929 wxFont
*arg7
= (wxFont
*) NULL
;
24930 bool temp2
= False
;
24935 PyObject
* obj0
= 0 ;
24936 PyObject
* obj1
= 0 ;
24937 PyObject
* obj2
= 0 ;
24938 char *kwnames
[] = {
24939 (char *) "self",(char *) "string",(char *) "font", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24949 arg2
= wxString_in_helper(obj1
);
24950 if (arg2
== NULL
) SWIG_fail
;
24954 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24963 Py_INCREF(Py_None
); resultobj
= Py_None
;
24965 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24966 resultobj
= t_output_helper(resultobj
,o
);
24969 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24970 resultobj
= t_output_helper(resultobj
,o
);
24973 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
24974 resultobj
= t_output_helper(resultobj
,o
);
24977 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
24978 resultobj
= t_output_helper(resultobj
,o
);
24994 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
;
24996 wxWindow
*arg1
= (wxWindow
*) 0 ;
24997 int *arg2
= (int *) 0 ;
24998 int *arg3
= (int *) 0 ;
25001 PyObject
* obj0
= 0 ;
25002 PyObject
* obj1
= 0 ;
25003 PyObject
* obj2
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "self",(char *) "x",(char *) "y", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25011 temp2
= PyInt_AsLong(obj1
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25016 temp3
= PyInt_AsLong(obj2
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
25024 wxPyEndAllowThreads(__tstate
);
25025 if (PyErr_Occurred()) SWIG_fail
;
25027 Py_INCREF(Py_None
); resultobj
= Py_None
;
25029 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25030 resultobj
= t_output_helper(resultobj
,o
);
25033 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25034 resultobj
= t_output_helper(resultobj
,o
);
25042 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
;
25044 wxWindow
*arg1
= (wxWindow
*) 0 ;
25045 int *arg2
= (int *) 0 ;
25046 int *arg3
= (int *) 0 ;
25049 PyObject
* obj0
= 0 ;
25050 PyObject
* obj1
= 0 ;
25051 PyObject
* obj2
= 0 ;
25052 char *kwnames
[] = {
25053 (char *) "self",(char *) "x",(char *) "y", NULL
25056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25059 temp2
= PyInt_AsLong(obj1
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25064 temp3
= PyInt_AsLong(obj2
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25075 Py_INCREF(Py_None
); resultobj
= Py_None
;
25077 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25078 resultobj
= t_output_helper(resultobj
,o
);
25081 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25082 resultobj
= t_output_helper(resultobj
,o
);
25090 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25091 PyObject
*resultobj
;
25092 wxWindow
*arg1
= (wxWindow
*) 0 ;
25093 wxPoint
*arg2
= 0 ;
25096 PyObject
* obj0
= 0 ;
25097 PyObject
* obj1
= 0 ;
25098 char *kwnames
[] = {
25099 (char *) "self",(char *) "pt", NULL
25102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25106 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25116 wxPoint
* resultptr
;
25117 resultptr
= new wxPoint((wxPoint
&) result
);
25118 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
25126 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25127 PyObject
*resultobj
;
25128 wxWindow
*arg1
= (wxWindow
*) 0 ;
25129 wxPoint
*arg2
= 0 ;
25132 PyObject
* obj0
= 0 ;
25133 PyObject
* obj1
= 0 ;
25134 char *kwnames
[] = {
25135 (char *) "self",(char *) "pt", NULL
25138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
25139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25152 wxPoint
* resultptr
;
25153 resultptr
= new wxPoint((wxPoint
&) result
);
25154 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
25162 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
;
25164 wxWindow
*arg1
= (wxWindow
*) 0 ;
25168 PyObject
* obj0
= 0 ;
25169 PyObject
* obj1
= 0 ;
25170 PyObject
* obj2
= 0 ;
25171 char *kwnames
[] = {
25172 (char *) "self",(char *) "x",(char *) "y", NULL
25175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25178 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25182 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
25189 wxPyEndAllowThreads(__tstate
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= SWIG_PyObj_FromInt((int)result
);
25199 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25200 PyObject
*resultobj
;
25201 wxWindow
*arg1
= (wxWindow
*) 0 ;
25202 wxPoint
*arg2
= 0 ;
25205 PyObject
* obj0
= 0 ;
25206 PyObject
* obj1
= 0 ;
25207 char *kwnames
[] = {
25208 (char *) "self",(char *) "pt", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25215 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 resultobj
= SWIG_PyObj_FromInt((int)result
);
25231 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
;
25233 wxWindow
*arg1
= (wxWindow
*) 0 ;
25236 PyObject
* obj0
= 0 ;
25237 PyObject
* obj1
= 0 ;
25238 char *kwnames
[] = {
25239 (char *) "self",(char *) "flags", NULL
25242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetBorderFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
25243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25245 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= SWIG_PyObj_FromInt((int)result
);
25262 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25263 PyObject
*resultobj
;
25264 wxWindow
*arg1
= (wxWindow
*) 0 ;
25266 PyObject
* obj0
= 0 ;
25267 char *kwnames
[] = {
25268 (char *) "self", NULL
25271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
25272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25275 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25280 resultobj
= SWIG_PyObj_FromInt((int)result
);
25287 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25288 PyObject
*resultobj
;
25289 wxWindow
*arg1
= (wxWindow
*) 0 ;
25290 long arg2
= (long) wxUPDATE_UI_NONE
;
25291 PyObject
* obj0
= 0 ;
25292 PyObject
* obj1
= 0 ;
25293 char *kwnames
[] = {
25294 (char *) "self",(char *) "flags", NULL
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
25298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25301 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25307 (arg1
)->UpdateWindowUI(arg2
);
25309 wxPyEndAllowThreads(__tstate
);
25310 if (PyErr_Occurred()) SWIG_fail
;
25312 Py_INCREF(Py_None
); resultobj
= Py_None
;
25319 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25320 PyObject
*resultobj
;
25321 wxWindow
*arg1
= (wxWindow
*) 0 ;
25322 wxMenu
*arg2
= (wxMenu
*) 0 ;
25326 PyObject
* obj0
= 0 ;
25327 PyObject
* obj1
= 0 ;
25328 PyObject
* obj2
= 0 ;
25329 PyObject
* obj3
= 0 ;
25330 char *kwnames
[] = {
25331 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
25334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25338 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25342 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25359 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
;
25361 wxWindow
*arg1
= (wxWindow
*) 0 ;
25362 wxMenu
*arg2
= (wxMenu
*) 0 ;
25363 wxPoint
*arg3
= 0 ;
25366 PyObject
* obj0
= 0 ;
25367 PyObject
* obj1
= 0 ;
25368 PyObject
* obj2
= 0 ;
25369 char *kwnames
[] = {
25370 (char *) "self",(char *) "menu",(char *) "pos", NULL
25373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25378 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25394 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
;
25396 wxWindow
*arg1
= (wxWindow
*) 0 ;
25398 PyObject
* obj0
= 0 ;
25399 char *kwnames
[] = {
25400 (char *) "self", NULL
25403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
25404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25407 result
= (long)wxWindow_GetHandle(arg1
);
25409 wxPyEndAllowThreads(__tstate
);
25410 if (PyErr_Occurred()) SWIG_fail
;
25412 resultobj
= SWIG_PyObj_FromLong((long)result
);
25419 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25420 PyObject
*resultobj
;
25421 wxWindow
*arg1
= (wxWindow
*) 0 ;
25422 wxPaintEvent
*arg2
= 0 ;
25423 PyObject
* obj0
= 0 ;
25424 PyObject
* obj1
= 0 ;
25425 char *kwnames
[] = {
25426 (char *) "self",(char *) "event", NULL
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
25430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25431 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPaintEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25432 if (arg2
== NULL
) {
25433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25437 (arg1
)->OnPaint(*arg2
);
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25442 Py_INCREF(Py_None
); resultobj
= Py_None
;
25449 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25450 PyObject
*resultobj
;
25451 wxWindow
*arg1
= (wxWindow
*) 0 ;
25454 PyObject
* obj0
= 0 ;
25455 PyObject
* obj1
= 0 ;
25456 char *kwnames
[] = {
25457 (char *) "self",(char *) "orient", NULL
25460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
25461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25463 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25464 if (PyErr_Occurred()) SWIG_fail
;
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25480 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25481 PyObject
*resultobj
;
25482 wxWindow
*arg1
= (wxWindow
*) 0 ;
25487 bool arg6
= (bool) True
;
25488 PyObject
* obj0
= 0 ;
25489 PyObject
* obj1
= 0 ;
25490 PyObject
* obj2
= 0 ;
25491 PyObject
* obj3
= 0 ;
25492 PyObject
* obj4
= 0 ;
25493 PyObject
* obj5
= 0 ;
25494 char *kwnames
[] = {
25495 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
25498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25501 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25505 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25509 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25513 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25518 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
25519 if (PyErr_Occurred()) SWIG_fail
;
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25529 Py_INCREF(Py_None
); resultobj
= Py_None
;
25536 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25537 PyObject
*resultobj
;
25538 wxWindow
*arg1
= (wxWindow
*) 0 ;
25541 bool arg4
= (bool) True
;
25542 PyObject
* obj0
= 0 ;
25543 PyObject
* obj1
= 0 ;
25544 PyObject
* obj2
= 0 ;
25545 PyObject
* obj3
= 0 ;
25546 char *kwnames
[] = {
25547 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
25550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25553 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25557 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25562 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 Py_INCREF(Py_None
); resultobj
= Py_None
;
25580 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25581 PyObject
*resultobj
;
25582 wxWindow
*arg1
= (wxWindow
*) 0 ;
25585 PyObject
* obj0
= 0 ;
25586 PyObject
* obj1
= 0 ;
25587 char *kwnames
[] = {
25588 (char *) "self",(char *) "orient", NULL
25591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
25592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25594 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25599 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
25601 wxPyEndAllowThreads(__tstate
);
25602 if (PyErr_Occurred()) SWIG_fail
;
25604 resultobj
= SWIG_PyObj_FromInt((int)result
);
25611 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25612 PyObject
*resultobj
;
25613 wxWindow
*arg1
= (wxWindow
*) 0 ;
25616 PyObject
* obj0
= 0 ;
25617 PyObject
* obj1
= 0 ;
25618 char *kwnames
[] = {
25619 (char *) "self",(char *) "orient", NULL
25622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
25623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25625 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25630 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
25632 wxPyEndAllowThreads(__tstate
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= SWIG_PyObj_FromInt((int)result
);
25642 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25643 PyObject
*resultobj
;
25644 wxWindow
*arg1
= (wxWindow
*) 0 ;
25647 PyObject
* obj0
= 0 ;
25648 PyObject
* obj1
= 0 ;
25649 char *kwnames
[] = {
25650 (char *) "self",(char *) "orient", NULL
25653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
25654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25656 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25666 resultobj
= SWIG_PyObj_FromInt((int)result
);
25673 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
;
25675 wxWindow
*arg1
= (wxWindow
*) 0 ;
25678 wxRect
*arg4
= (wxRect
*) NULL
;
25679 PyObject
* obj0
= 0 ;
25680 PyObject
* obj1
= 0 ;
25681 PyObject
* obj2
= 0 ;
25682 PyObject
* obj3
= 0 ;
25683 char *kwnames
[] = {
25684 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
25687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25690 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25694 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25698 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
25704 wxPyEndAllowThreads(__tstate
);
25705 if (PyErr_Occurred()) SWIG_fail
;
25707 Py_INCREF(Py_None
); resultobj
= Py_None
;
25714 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25715 PyObject
*resultobj
;
25716 wxWindow
*arg1
= (wxWindow
*) 0 ;
25719 PyObject
* obj0
= 0 ;
25720 PyObject
* obj1
= 0 ;
25721 char *kwnames
[] = {
25722 (char *) "self",(char *) "lines", NULL
25725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
25726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25728 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 result
= (bool)(arg1
)->ScrollLines(arg2
);
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25745 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
;
25747 wxWindow
*arg1
= (wxWindow
*) 0 ;
25750 PyObject
* obj0
= 0 ;
25751 PyObject
* obj1
= 0 ;
25752 char *kwnames
[] = {
25753 (char *) "self",(char *) "pages", NULL
25756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
25757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25759 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25764 result
= (bool)(arg1
)->ScrollPages(arg2
);
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25776 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
;
25778 wxWindow
*arg1
= (wxWindow
*) 0 ;
25780 PyObject
* obj0
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "self", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
25786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25789 result
= (bool)(arg1
)->LineUp();
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25801 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
;
25803 wxWindow
*arg1
= (wxWindow
*) 0 ;
25805 PyObject
* obj0
= 0 ;
25806 char *kwnames
[] = {
25807 (char *) "self", NULL
25810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
25811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 result
= (bool)(arg1
)->LineDown();
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25826 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25827 PyObject
*resultobj
;
25828 wxWindow
*arg1
= (wxWindow
*) 0 ;
25830 PyObject
* obj0
= 0 ;
25831 char *kwnames
[] = {
25832 (char *) "self", NULL
25835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
25836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 result
= (bool)(arg1
)->PageUp();
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25851 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25852 PyObject
*resultobj
;
25853 wxWindow
*arg1
= (wxWindow
*) 0 ;
25855 PyObject
* obj0
= 0 ;
25856 char *kwnames
[] = {
25857 (char *) "self", NULL
25860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
25861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25864 result
= (bool)(arg1
)->PageDown();
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25876 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
;
25878 wxWindow
*arg1
= (wxWindow
*) 0 ;
25879 wxString
*arg2
= 0 ;
25880 bool temp2
= False
;
25881 PyObject
* obj0
= 0 ;
25882 PyObject
* obj1
= 0 ;
25883 char *kwnames
[] = {
25884 (char *) "self",(char *) "text", NULL
25887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
25888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25890 arg2
= wxString_in_helper(obj1
);
25891 if (arg2
== NULL
) SWIG_fail
;
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 (arg1
)->SetHelpText((wxString
const &)*arg2
);
25898 wxPyEndAllowThreads(__tstate
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25901 Py_INCREF(Py_None
); resultobj
= Py_None
;
25916 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25917 PyObject
*resultobj
;
25918 wxWindow
*arg1
= (wxWindow
*) 0 ;
25919 wxString
*arg2
= 0 ;
25920 bool temp2
= False
;
25921 PyObject
* obj0
= 0 ;
25922 PyObject
* obj1
= 0 ;
25923 char *kwnames
[] = {
25924 (char *) "self",(char *) "text", NULL
25927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
25928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25930 arg2
= wxString_in_helper(obj1
);
25931 if (arg2
== NULL
) SWIG_fail
;
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25941 Py_INCREF(Py_None
); resultobj
= Py_None
;
25956 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25957 PyObject
*resultobj
;
25958 wxWindow
*arg1
= (wxWindow
*) 0 ;
25960 PyObject
* obj0
= 0 ;
25961 char *kwnames
[] = {
25962 (char *) "self", NULL
25965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
25966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25969 result
= ((wxWindow
const *)arg1
)->GetHelpText();
25971 wxPyEndAllowThreads(__tstate
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25987 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
;
25989 wxWindow
*arg1
= (wxWindow
*) 0 ;
25990 wxString
*arg2
= 0 ;
25991 bool temp2
= False
;
25992 PyObject
* obj0
= 0 ;
25993 PyObject
* obj1
= 0 ;
25994 char *kwnames
[] = {
25995 (char *) "self",(char *) "tip", NULL
25998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
25999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26001 arg2
= wxString_in_helper(obj1
);
26002 if (arg2
== NULL
) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 (arg1
)->SetToolTip((wxString
const &)*arg2
);
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26012 Py_INCREF(Py_None
); resultobj
= Py_None
;
26027 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26028 PyObject
*resultobj
;
26029 wxWindow
*arg1
= (wxWindow
*) 0 ;
26030 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
26031 PyObject
* obj0
= 0 ;
26032 PyObject
* obj1
= 0 ;
26033 char *kwnames
[] = {
26034 (char *) "self",(char *) "tip", NULL
26037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
26038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26039 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 (arg1
)->SetToolTip(arg2
);
26044 wxPyEndAllowThreads(__tstate
);
26045 if (PyErr_Occurred()) SWIG_fail
;
26047 Py_INCREF(Py_None
); resultobj
= Py_None
;
26054 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26055 PyObject
*resultobj
;
26056 wxWindow
*arg1
= (wxWindow
*) 0 ;
26058 PyObject
* obj0
= 0 ;
26059 char *kwnames
[] = {
26060 (char *) "self", NULL
26063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
26064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
26069 wxPyEndAllowThreads(__tstate
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= wxPyMake_wxObject(result
);
26081 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26082 PyObject
*resultobj
;
26083 wxWindow
*arg1
= (wxWindow
*) 0 ;
26084 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
26085 PyObject
* obj0
= 0 ;
26086 PyObject
* obj1
= 0 ;
26087 char *kwnames
[] = {
26088 (char *) "self",(char *) "dropTarget", NULL
26091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
26092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26093 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26096 (arg1
)->SetDropTarget(arg2
);
26098 wxPyEndAllowThreads(__tstate
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26101 Py_INCREF(Py_None
); resultobj
= Py_None
;
26108 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26109 PyObject
*resultobj
;
26110 wxWindow
*arg1
= (wxWindow
*) 0 ;
26111 wxPyDropTarget
*result
;
26112 PyObject
* obj0
= 0 ;
26113 char *kwnames
[] = {
26114 (char *) "self", NULL
26117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
26118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 0);
26133 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26134 PyObject
*resultobj
;
26135 wxWindow
*arg1
= (wxWindow
*) 0 ;
26137 PyObject
* obj0
= 0 ;
26138 PyObject
* obj1
= 0 ;
26139 char *kwnames
[] = {
26140 (char *) "self",(char *) "accept", NULL
26143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
26144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26146 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26147 if (PyErr_Occurred()) SWIG_fail
;
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26151 (arg1
)->DragAcceptFiles(arg2
);
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26156 Py_INCREF(Py_None
); resultobj
= Py_None
;
26163 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
;
26165 wxWindow
*arg1
= (wxWindow
*) 0 ;
26166 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
26167 PyObject
* obj0
= 0 ;
26168 PyObject
* obj1
= 0 ;
26169 char *kwnames
[] = {
26170 (char *) "self",(char *) "constraints", NULL
26173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
26174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26175 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 (arg1
)->SetConstraints(arg2
);
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26183 Py_INCREF(Py_None
); resultobj
= Py_None
;
26190 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
;
26192 wxWindow
*arg1
= (wxWindow
*) 0 ;
26193 wxLayoutConstraints
*result
;
26194 PyObject
* obj0
= 0 ;
26195 char *kwnames
[] = {
26196 (char *) "self", NULL
26199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
26200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26203 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
26205 wxPyEndAllowThreads(__tstate
);
26206 if (PyErr_Occurred()) SWIG_fail
;
26208 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
26215 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26216 PyObject
*resultobj
;
26217 wxWindow
*arg1
= (wxWindow
*) 0 ;
26219 PyObject
* obj0
= 0 ;
26220 PyObject
* obj1
= 0 ;
26221 char *kwnames
[] = {
26222 (char *) "self",(char *) "autoLayout", NULL
26225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
26226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26228 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26233 (arg1
)->SetAutoLayout(arg2
);
26235 wxPyEndAllowThreads(__tstate
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26238 Py_INCREF(Py_None
); resultobj
= Py_None
;
26245 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26246 PyObject
*resultobj
;
26247 wxWindow
*arg1
= (wxWindow
*) 0 ;
26249 PyObject
* obj0
= 0 ;
26250 char *kwnames
[] = {
26251 (char *) "self", NULL
26254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
26255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26270 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
;
26272 wxWindow
*arg1
= (wxWindow
*) 0 ;
26274 PyObject
* obj0
= 0 ;
26275 char *kwnames
[] = {
26276 (char *) "self", NULL
26279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
26280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 result
= (bool)(arg1
)->Layout();
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26295 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26296 PyObject
*resultobj
;
26297 wxWindow
*arg1
= (wxWindow
*) 0 ;
26298 wxSizer
*arg2
= (wxSizer
*) 0 ;
26299 bool arg3
= (bool) True
;
26300 PyObject
* obj0
= 0 ;
26301 PyObject
* obj1
= 0 ;
26302 PyObject
* obj2
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26309 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26312 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26313 if (PyErr_Occurred()) SWIG_fail
;
26317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26318 (arg1
)->SetSizer(arg2
,arg3
);
26320 wxPyEndAllowThreads(__tstate
);
26321 if (PyErr_Occurred()) SWIG_fail
;
26323 Py_INCREF(Py_None
); resultobj
= Py_None
;
26330 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26331 PyObject
*resultobj
;
26332 wxWindow
*arg1
= (wxWindow
*) 0 ;
26333 wxSizer
*arg2
= (wxSizer
*) 0 ;
26334 bool arg3
= (bool) True
;
26335 PyObject
* obj0
= 0 ;
26336 PyObject
* obj1
= 0 ;
26337 PyObject
* obj2
= 0 ;
26338 char *kwnames
[] = {
26339 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26344 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26347 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 (arg1
)->SetSizerAndFit(arg2
,arg3
);
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26358 Py_INCREF(Py_None
); resultobj
= Py_None
;
26365 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26366 PyObject
*resultobj
;
26367 wxWindow
*arg1
= (wxWindow
*) 0 ;
26369 PyObject
* obj0
= 0 ;
26370 char *kwnames
[] = {
26371 (char *) "self", NULL
26374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
26375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26384 resultobj
= wxPyMake_wxSizer(result
);
26392 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26393 PyObject
*resultobj
;
26394 wxWindow
*arg1
= (wxWindow
*) 0 ;
26395 wxSizer
*arg2
= (wxSizer
*) 0 ;
26396 PyObject
* obj0
= 0 ;
26397 PyObject
* obj1
= 0 ;
26398 char *kwnames
[] = {
26399 (char *) "self",(char *) "sizer", NULL
26402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
26403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26404 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 (arg1
)->SetContainingSizer(arg2
);
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26412 Py_INCREF(Py_None
); resultobj
= Py_None
;
26419 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26420 PyObject
*resultobj
;
26421 wxWindow
*arg1
= (wxWindow
*) 0 ;
26423 PyObject
* obj0
= 0 ;
26424 char *kwnames
[] = {
26425 (char *) "self", NULL
26428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
26429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26432 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
26434 wxPyEndAllowThreads(__tstate
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26438 resultobj
= wxPyMake_wxSizer(result
);
26446 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
26448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26449 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
26451 return Py_BuildValue((char *)"");
26453 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
;
26456 wxWindow
*arg2
= (wxWindow
*) NULL
;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "id",(char *) "parent", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
26466 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26470 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
26476 wxPyEndAllowThreads(__tstate
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26480 resultobj
= wxPyMake_wxObject(result
);
26488 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26489 PyObject
*resultobj
;
26490 wxString
*arg1
= 0 ;
26491 wxWindow
*arg2
= (wxWindow
*) NULL
;
26493 bool temp1
= False
;
26494 PyObject
* obj0
= 0 ;
26495 PyObject
* obj1
= 0 ;
26496 char *kwnames
[] = {
26497 (char *) "name",(char *) "parent", NULL
26500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
26502 arg1
= wxString_in_helper(obj0
);
26503 if (arg1
== NULL
) SWIG_fail
;
26507 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26513 wxPyEndAllowThreads(__tstate
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26517 resultobj
= wxPyMake_wxObject(result
);
26533 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26534 PyObject
*resultobj
;
26535 wxString
*arg1
= 0 ;
26536 wxWindow
*arg2
= (wxWindow
*) NULL
;
26538 bool temp1
= False
;
26539 PyObject
* obj0
= 0 ;
26540 PyObject
* obj1
= 0 ;
26541 char *kwnames
[] = {
26542 (char *) "label",(char *) "parent", NULL
26545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26547 arg1
= wxString_in_helper(obj0
);
26548 if (arg1
== NULL
) SWIG_fail
;
26552 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26562 resultobj
= wxPyMake_wxObject(result
);
26578 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
;
26580 unsigned long arg1
;
26582 PyObject
* obj0
= 0 ;
26583 char *kwnames
[] = {
26584 (char *) "hWnd", NULL
26587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
26589 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26594 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
26596 wxPyEndAllowThreads(__tstate
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26600 resultobj
= wxPyMake_wxObject(result
);
26608 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26609 PyObject
*resultobj
;
26610 wxValidator
*result
;
26611 char *kwnames
[] = {
26615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 result
= (wxValidator
*)new wxValidator();
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= wxPyMake_wxObject(result
);
26632 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26633 PyObject
*resultobj
;
26634 wxValidator
*arg1
= (wxValidator
*) 0 ;
26635 wxValidator
*result
;
26636 PyObject
* obj0
= 0 ;
26637 char *kwnames
[] = {
26638 (char *) "self", NULL
26641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
26642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 result
= (wxValidator
*)(arg1
)->Clone();
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26651 resultobj
= wxPyMake_wxObject(result
);
26659 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26660 PyObject
*resultobj
;
26661 wxValidator
*arg1
= (wxValidator
*) 0 ;
26662 wxWindow
*arg2
= (wxWindow
*) 0 ;
26664 PyObject
* obj0
= 0 ;
26665 PyObject
* obj1
= 0 ;
26666 char *kwnames
[] = {
26667 (char *) "self",(char *) "parent", NULL
26670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
26671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26675 result
= (bool)(arg1
)->Validate(arg2
);
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26687 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
;
26689 wxValidator
*arg1
= (wxValidator
*) 0 ;
26691 PyObject
* obj0
= 0 ;
26692 char *kwnames
[] = {
26693 (char *) "self", NULL
26696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
26697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 result
= (bool)(arg1
)->TransferToWindow();
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26712 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
;
26714 wxValidator
*arg1
= (wxValidator
*) 0 ;
26716 PyObject
* obj0
= 0 ;
26717 char *kwnames
[] = {
26718 (char *) "self", NULL
26721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
26722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 result
= (bool)(arg1
)->TransferFromWindow();
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26737 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
;
26739 wxValidator
*arg1
= (wxValidator
*) 0 ;
26741 PyObject
* obj0
= 0 ;
26742 char *kwnames
[] = {
26743 (char *) "self", NULL
26746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
26747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 result
= (wxWindow
*)(arg1
)->GetWindow();
26752 wxPyEndAllowThreads(__tstate
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26756 resultobj
= wxPyMake_wxObject(result
);
26764 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26765 PyObject
*resultobj
;
26766 wxValidator
*arg1
= (wxValidator
*) 0 ;
26767 wxWindow
*arg2
= (wxWindow
*) 0 ;
26768 PyObject
* obj0
= 0 ;
26769 PyObject
* obj1
= 0 ;
26770 char *kwnames
[] = {
26771 (char *) "self",(char *) "window", NULL
26774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
26775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 (arg1
)->SetWindow(arg2
);
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26784 Py_INCREF(Py_None
); resultobj
= Py_None
;
26791 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26792 PyObject
*resultobj
;
26794 char *kwnames
[] = {
26798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 result
= (bool)wxValidator::IsSilent();
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26813 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
;
26815 int arg1
= (int) True
;
26816 PyObject
* obj0
= 0 ;
26817 char *kwnames
[] = {
26818 (char *) "doIt", NULL
26821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
26824 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 wxValidator::SetBellOnError(arg1
);
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26835 Py_INCREF(Py_None
); resultobj
= Py_None
;
26842 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
26844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26845 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
26847 return Py_BuildValue((char *)"");
26849 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26850 PyObject
*resultobj
;
26851 wxPyValidator
*result
;
26852 char *kwnames
[] = {
26856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 result
= (wxPyValidator
*)new wxPyValidator();
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
26871 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
;
26873 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
26874 PyObject
*arg2
= (PyObject
*) 0 ;
26875 PyObject
*arg3
= (PyObject
*) 0 ;
26876 int arg4
= (int) True
;
26877 PyObject
* obj0
= 0 ;
26878 PyObject
* obj1
= 0 ;
26879 PyObject
* obj2
= 0 ;
26880 PyObject
* obj3
= 0 ;
26881 char *kwnames
[] = {
26882 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26891 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26897 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26899 wxPyEndAllowThreads(__tstate
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26902 Py_INCREF(Py_None
); resultobj
= Py_None
;
26909 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
26911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26912 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
26914 return Py_BuildValue((char *)"");
26916 static int _wrap_DefaultValidator_set(PyObject
*) {
26917 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
26922 static PyObject
*_wrap_DefaultValidator_get() {
26925 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
26930 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26931 PyObject
*resultobj
;
26932 wxString
const &arg1_defvalue
= wxPyEmptyString
;
26933 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
26934 long arg2
= (long) 0 ;
26936 bool temp1
= False
;
26937 PyObject
* obj0
= 0 ;
26938 PyObject
* obj1
= 0 ;
26939 char *kwnames
[] = {
26940 (char *) "title",(char *) "style", NULL
26943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
26946 arg1
= wxString_in_helper(obj0
);
26947 if (arg1
== NULL
) SWIG_fail
;
26953 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26959 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26965 resultobj
= wxPyMake_wxObject(result
);
26981 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26982 PyObject
*resultobj
;
26983 wxMenu
*arg1
= (wxMenu
*) 0 ;
26985 wxString
*arg3
= 0 ;
26986 wxString
const &arg4_defvalue
= wxPyEmptyString
;
26987 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26988 int arg5
= (int) wxITEM_NORMAL
;
26989 wxMenuItem
*result
;
26990 bool temp3
= False
;
26991 bool temp4
= False
;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 PyObject
* obj2
= 0 ;
26995 PyObject
* obj3
= 0 ;
26996 PyObject
* obj4
= 0 ;
26997 char *kwnames
[] = {
26998 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27004 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27008 arg3
= wxString_in_helper(obj2
);
27009 if (arg3
== NULL
) SWIG_fail
;
27014 arg4
= wxString_in_helper(obj3
);
27015 if (arg4
== NULL
) SWIG_fail
;
27021 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27029 wxPyEndAllowThreads(__tstate
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27033 resultobj
= wxPyMake_wxObject(result
);
27057 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27058 PyObject
*resultobj
;
27059 wxMenu
*arg1
= (wxMenu
*) 0 ;
27060 wxMenuItem
*result
;
27061 PyObject
* obj0
= 0 ;
27062 char *kwnames
[] = {
27063 (char *) "self", NULL
27066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
27067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27070 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= wxPyMake_wxObject(result
);
27084 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
;
27086 wxMenu
*arg1
= (wxMenu
*) 0 ;
27088 wxString
*arg3
= 0 ;
27089 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27090 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27091 wxMenuItem
*result
;
27092 bool temp3
= False
;
27093 bool temp4
= False
;
27094 PyObject
* obj0
= 0 ;
27095 PyObject
* obj1
= 0 ;
27096 PyObject
* obj2
= 0 ;
27097 PyObject
* obj3
= 0 ;
27098 char *kwnames
[] = {
27099 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27105 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27109 arg3
= wxString_in_helper(obj2
);
27110 if (arg3
== NULL
) SWIG_fail
;
27115 arg4
= wxString_in_helper(obj3
);
27116 if (arg4
== NULL
) SWIG_fail
;
27121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27122 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27124 wxPyEndAllowThreads(__tstate
);
27125 if (PyErr_Occurred()) SWIG_fail
;
27128 resultobj
= wxPyMake_wxObject(result
);
27152 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
;
27154 wxMenu
*arg1
= (wxMenu
*) 0 ;
27156 wxString
*arg3
= 0 ;
27157 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27158 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27159 wxMenuItem
*result
;
27160 bool temp3
= False
;
27161 bool temp4
= False
;
27162 PyObject
* obj0
= 0 ;
27163 PyObject
* obj1
= 0 ;
27164 PyObject
* obj2
= 0 ;
27165 PyObject
* obj3
= 0 ;
27166 char *kwnames
[] = {
27167 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27173 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27177 arg3
= wxString_in_helper(obj2
);
27178 if (arg3
== NULL
) SWIG_fail
;
27183 arg4
= wxString_in_helper(obj3
);
27184 if (arg4
== NULL
) SWIG_fail
;
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= wxPyMake_wxObject(result
);
27220 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27221 PyObject
*resultobj
;
27222 wxMenu
*arg1
= (wxMenu
*) 0 ;
27224 wxString
*arg3
= 0 ;
27225 wxMenu
*arg4
= (wxMenu
*) 0 ;
27226 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27227 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27228 wxMenuItem
*result
;
27229 bool temp3
= False
;
27230 bool temp5
= False
;
27231 PyObject
* obj0
= 0 ;
27232 PyObject
* obj1
= 0 ;
27233 PyObject
* obj2
= 0 ;
27234 PyObject
* obj3
= 0 ;
27235 PyObject
* obj4
= 0 ;
27236 char *kwnames
[] = {
27237 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27243 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27247 arg3
= wxString_in_helper(obj2
);
27248 if (arg3
== NULL
) SWIG_fail
;
27251 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27254 arg5
= wxString_in_helper(obj4
);
27255 if (arg5
== NULL
) SWIG_fail
;
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27263 wxPyEndAllowThreads(__tstate
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27267 resultobj
= wxPyMake_wxObject(result
);
27291 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27292 PyObject
*resultobj
;
27293 wxMenu
*arg1
= (wxMenu
*) 0 ;
27294 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27295 wxMenuItem
*result
;
27296 PyObject
* obj0
= 0 ;
27297 PyObject
* obj1
= 0 ;
27298 char *kwnames
[] = {
27299 (char *) "self",(char *) "item", NULL
27302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27304 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27307 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27313 resultobj
= wxPyMake_wxObject(result
);
27321 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27322 PyObject
*resultobj
;
27323 wxMenu
*arg1
= (wxMenu
*) 0 ;
27324 PyObject
* obj0
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
27330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 wxPyEndAllowThreads(__tstate
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27338 Py_INCREF(Py_None
); resultobj
= Py_None
;
27345 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27346 PyObject
*resultobj
;
27347 wxMenu
*arg1
= (wxMenu
*) 0 ;
27349 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
27350 wxMenuItem
*result
;
27351 PyObject
* obj0
= 0 ;
27352 PyObject
* obj1
= 0 ;
27353 PyObject
* obj2
= 0 ;
27354 char *kwnames
[] = {
27355 (char *) "self",(char *) "pos",(char *) "item", NULL
27358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27361 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27364 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27373 resultobj
= wxPyMake_wxObject(result
);
27381 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27382 PyObject
*resultobj
;
27383 wxMenu
*arg1
= (wxMenu
*) 0 ;
27386 wxString
*arg4
= 0 ;
27387 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27388 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27389 int arg6
= (int) wxITEM_NORMAL
;
27390 wxMenuItem
*result
;
27391 bool temp4
= False
;
27392 bool temp5
= False
;
27393 PyObject
* obj0
= 0 ;
27394 PyObject
* obj1
= 0 ;
27395 PyObject
* obj2
= 0 ;
27396 PyObject
* obj3
= 0 ;
27397 PyObject
* obj4
= 0 ;
27398 PyObject
* obj5
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27406 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27410 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27414 arg4
= wxString_in_helper(obj3
);
27415 if (arg4
== NULL
) SWIG_fail
;
27420 arg5
= wxString_in_helper(obj4
);
27421 if (arg5
== NULL
) SWIG_fail
;
27427 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27433 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27439 resultobj
= wxPyMake_wxObject(result
);
27463 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27464 PyObject
*resultobj
;
27465 wxMenu
*arg1
= (wxMenu
*) 0 ;
27467 wxMenuItem
*result
;
27468 PyObject
* obj0
= 0 ;
27469 PyObject
* obj1
= 0 ;
27470 char *kwnames
[] = {
27471 (char *) "self",(char *) "pos", NULL
27474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
27475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27477 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27482 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
27484 wxPyEndAllowThreads(__tstate
);
27485 if (PyErr_Occurred()) SWIG_fail
;
27488 resultobj
= wxPyMake_wxObject(result
);
27496 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27497 PyObject
*resultobj
;
27498 wxMenu
*arg1
= (wxMenu
*) 0 ;
27501 wxString
*arg4
= 0 ;
27502 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27503 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27504 wxMenuItem
*result
;
27505 bool temp4
= False
;
27506 bool temp5
= False
;
27507 PyObject
* obj0
= 0 ;
27508 PyObject
* obj1
= 0 ;
27509 PyObject
* obj2
= 0 ;
27510 PyObject
* obj3
= 0 ;
27511 PyObject
* obj4
= 0 ;
27512 char *kwnames
[] = {
27513 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27519 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27523 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27524 if (PyErr_Occurred()) SWIG_fail
;
27527 arg4
= wxString_in_helper(obj3
);
27528 if (arg4
== NULL
) SWIG_fail
;
27533 arg5
= wxString_in_helper(obj4
);
27534 if (arg5
== NULL
) SWIG_fail
;
27539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27540 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27542 wxPyEndAllowThreads(__tstate
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27546 resultobj
= wxPyMake_wxObject(result
);
27570 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxMenu
*arg1
= (wxMenu
*) 0 ;
27575 wxString
*arg4
= 0 ;
27576 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27577 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27578 wxMenuItem
*result
;
27579 bool temp4
= False
;
27580 bool temp5
= False
;
27581 PyObject
* obj0
= 0 ;
27582 PyObject
* obj1
= 0 ;
27583 PyObject
* obj2
= 0 ;
27584 PyObject
* obj3
= 0 ;
27585 PyObject
* obj4
= 0 ;
27586 char *kwnames
[] = {
27587 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27593 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27597 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27601 arg4
= wxString_in_helper(obj3
);
27602 if (arg4
== NULL
) SWIG_fail
;
27607 arg5
= wxString_in_helper(obj4
);
27608 if (arg5
== NULL
) SWIG_fail
;
27613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27614 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27616 wxPyEndAllowThreads(__tstate
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27620 resultobj
= wxPyMake_wxObject(result
);
27644 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27645 PyObject
*resultobj
;
27646 wxMenu
*arg1
= (wxMenu
*) 0 ;
27649 wxString
*arg4
= 0 ;
27650 wxMenu
*arg5
= (wxMenu
*) 0 ;
27651 wxString
const &arg6_defvalue
= wxPyEmptyString
;
27652 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
27653 wxMenuItem
*result
;
27654 bool temp4
= False
;
27655 bool temp6
= False
;
27656 PyObject
* obj0
= 0 ;
27657 PyObject
* obj1
= 0 ;
27658 PyObject
* obj2
= 0 ;
27659 PyObject
* obj3
= 0 ;
27660 PyObject
* obj4
= 0 ;
27661 PyObject
* obj5
= 0 ;
27662 char *kwnames
[] = {
27663 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27669 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27673 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27677 arg4
= wxString_in_helper(obj3
);
27678 if (arg4
== NULL
) SWIG_fail
;
27681 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27684 arg6
= wxString_in_helper(obj5
);
27685 if (arg6
== NULL
) SWIG_fail
;
27690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27691 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27697 resultobj
= wxPyMake_wxObject(result
);
27721 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
;
27723 wxMenu
*arg1
= (wxMenu
*) 0 ;
27724 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27725 wxMenuItem
*result
;
27726 PyObject
* obj0
= 0 ;
27727 PyObject
* obj1
= 0 ;
27728 char *kwnames
[] = {
27729 (char *) "self",(char *) "item", NULL
27732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27734 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27737 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
27739 wxPyEndAllowThreads(__tstate
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27743 resultobj
= wxPyMake_wxObject(result
);
27751 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27752 PyObject
*resultobj
;
27753 wxMenu
*arg1
= (wxMenu
*) 0 ;
27755 wxString
*arg3
= 0 ;
27756 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27757 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27758 int arg5
= (int) wxITEM_NORMAL
;
27759 wxMenuItem
*result
;
27760 bool temp3
= False
;
27761 bool temp4
= False
;
27762 PyObject
* obj0
= 0 ;
27763 PyObject
* obj1
= 0 ;
27764 PyObject
* obj2
= 0 ;
27765 PyObject
* obj3
= 0 ;
27766 PyObject
* obj4
= 0 ;
27767 char *kwnames
[] = {
27768 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27774 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27778 arg3
= wxString_in_helper(obj2
);
27779 if (arg3
== NULL
) SWIG_fail
;
27784 arg4
= wxString_in_helper(obj3
);
27785 if (arg4
== NULL
) SWIG_fail
;
27791 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27797 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27799 wxPyEndAllowThreads(__tstate
);
27800 if (PyErr_Occurred()) SWIG_fail
;
27803 resultobj
= wxPyMake_wxObject(result
);
27827 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
;
27829 wxMenu
*arg1
= (wxMenu
*) 0 ;
27830 wxMenuItem
*result
;
27831 PyObject
* obj0
= 0 ;
27832 char *kwnames
[] = {
27833 (char *) "self", NULL
27836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
27837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27840 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
27842 wxPyEndAllowThreads(__tstate
);
27843 if (PyErr_Occurred()) SWIG_fail
;
27846 resultobj
= wxPyMake_wxObject(result
);
27854 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27855 PyObject
*resultobj
;
27856 wxMenu
*arg1
= (wxMenu
*) 0 ;
27858 wxString
*arg3
= 0 ;
27859 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27860 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27861 wxMenuItem
*result
;
27862 bool temp3
= False
;
27863 bool temp4
= False
;
27864 PyObject
* obj0
= 0 ;
27865 PyObject
* obj1
= 0 ;
27866 PyObject
* obj2
= 0 ;
27867 PyObject
* obj3
= 0 ;
27868 char *kwnames
[] = {
27869 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27875 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27876 if (PyErr_Occurred()) SWIG_fail
;
27879 arg3
= wxString_in_helper(obj2
);
27880 if (arg3
== NULL
) SWIG_fail
;
27885 arg4
= wxString_in_helper(obj3
);
27886 if (arg4
== NULL
) SWIG_fail
;
27891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27892 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27894 wxPyEndAllowThreads(__tstate
);
27895 if (PyErr_Occurred()) SWIG_fail
;
27898 resultobj
= wxPyMake_wxObject(result
);
27922 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27923 PyObject
*resultobj
;
27924 wxMenu
*arg1
= (wxMenu
*) 0 ;
27926 wxString
*arg3
= 0 ;
27927 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27928 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27929 wxMenuItem
*result
;
27930 bool temp3
= False
;
27931 bool temp4
= False
;
27932 PyObject
* obj0
= 0 ;
27933 PyObject
* obj1
= 0 ;
27934 PyObject
* obj2
= 0 ;
27935 PyObject
* obj3
= 0 ;
27936 char *kwnames
[] = {
27937 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27943 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27944 if (PyErr_Occurred()) SWIG_fail
;
27947 arg3
= wxString_in_helper(obj2
);
27948 if (arg3
== NULL
) SWIG_fail
;
27953 arg4
= wxString_in_helper(obj3
);
27954 if (arg4
== NULL
) SWIG_fail
;
27959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27960 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27962 wxPyEndAllowThreads(__tstate
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27966 resultobj
= wxPyMake_wxObject(result
);
27990 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27991 PyObject
*resultobj
;
27992 wxMenu
*arg1
= (wxMenu
*) 0 ;
27994 wxString
*arg3
= 0 ;
27995 wxMenu
*arg4
= (wxMenu
*) 0 ;
27996 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27997 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27998 wxMenuItem
*result
;
27999 bool temp3
= False
;
28000 bool temp5
= False
;
28001 PyObject
* obj0
= 0 ;
28002 PyObject
* obj1
= 0 ;
28003 PyObject
* obj2
= 0 ;
28004 PyObject
* obj3
= 0 ;
28005 PyObject
* obj4
= 0 ;
28006 char *kwnames
[] = {
28007 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28013 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28017 arg3
= wxString_in_helper(obj2
);
28018 if (arg3
== NULL
) SWIG_fail
;
28021 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28024 arg5
= wxString_in_helper(obj4
);
28025 if (arg5
== NULL
) SWIG_fail
;
28030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28031 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28033 wxPyEndAllowThreads(__tstate
);
28034 if (PyErr_Occurred()) SWIG_fail
;
28037 resultobj
= wxPyMake_wxObject(result
);
28061 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28062 PyObject
*resultobj
;
28063 wxMenu
*arg1
= (wxMenu
*) 0 ;
28065 wxMenuItem
*result
;
28066 PyObject
* obj0
= 0 ;
28067 PyObject
* obj1
= 0 ;
28068 char *kwnames
[] = {
28069 (char *) "self",(char *) "id", NULL
28072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
28073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28075 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28076 if (PyErr_Occurred()) SWIG_fail
;
28079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28080 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28086 resultobj
= wxPyMake_wxObject(result
);
28094 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28095 PyObject
*resultobj
;
28096 wxMenu
*arg1
= (wxMenu
*) 0 ;
28097 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28098 wxMenuItem
*result
;
28099 PyObject
* obj0
= 0 ;
28100 PyObject
* obj1
= 0 ;
28101 char *kwnames
[] = {
28102 (char *) "self",(char *) "item", NULL
28105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28110 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28112 wxPyEndAllowThreads(__tstate
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= wxPyMake_wxObject(result
);
28124 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28125 PyObject
*resultobj
;
28126 wxMenu
*arg1
= (wxMenu
*) 0 ;
28129 PyObject
* obj0
= 0 ;
28130 PyObject
* obj1
= 0 ;
28131 char *kwnames
[] = {
28132 (char *) "self",(char *) "id", NULL
28135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
28136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28138 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28139 if (PyErr_Occurred()) SWIG_fail
;
28142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28143 result
= (bool)(arg1
)->Delete(arg2
);
28145 wxPyEndAllowThreads(__tstate
);
28146 if (PyErr_Occurred()) SWIG_fail
;
28148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28155 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28156 PyObject
*resultobj
;
28157 wxMenu
*arg1
= (wxMenu
*) 0 ;
28158 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28160 PyObject
* obj0
= 0 ;
28161 PyObject
* obj1
= 0 ;
28162 char *kwnames
[] = {
28163 (char *) "self",(char *) "item", NULL
28166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28168 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28171 result
= (bool)(arg1
)->Delete(arg2
);
28173 wxPyEndAllowThreads(__tstate
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28183 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
;
28185 wxMenu
*arg1
= (wxMenu
*) 0 ;
28186 PyObject
* obj0
= 0 ;
28187 char *kwnames
[] = {
28188 (char *) "self", NULL
28191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
28192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 wxMenu_Destroy(arg1
);
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28200 Py_INCREF(Py_None
); resultobj
= Py_None
;
28207 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28208 PyObject
*resultobj
;
28209 wxMenu
*arg1
= (wxMenu
*) 0 ;
28212 PyObject
* obj0
= 0 ;
28213 PyObject
* obj1
= 0 ;
28214 char *kwnames
[] = {
28215 (char *) "self",(char *) "id", NULL
28218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
28219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28221 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28222 if (PyErr_Occurred()) SWIG_fail
;
28225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28226 result
= (bool)(arg1
)->Destroy(arg2
);
28228 wxPyEndAllowThreads(__tstate
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28238 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28239 PyObject
*resultobj
;
28240 wxMenu
*arg1
= (wxMenu
*) 0 ;
28241 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28243 PyObject
* obj0
= 0 ;
28244 PyObject
* obj1
= 0 ;
28245 char *kwnames
[] = {
28246 (char *) "self",(char *) "item", NULL
28249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28251 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 result
= (bool)(arg1
)->Destroy(arg2
);
28256 wxPyEndAllowThreads(__tstate
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28266 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28267 PyObject
*resultobj
;
28268 wxMenu
*arg1
= (wxMenu
*) 0 ;
28270 PyObject
* obj0
= 0 ;
28271 char *kwnames
[] = {
28272 (char *) "self", NULL
28275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
28276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28284 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
28291 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28292 PyObject
*resultobj
;
28293 wxMenu
*arg1
= (wxMenu
*) 0 ;
28295 PyObject
* obj0
= 0 ;
28296 char *kwnames
[] = {
28297 (char *) "self", NULL
28300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
28301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28304 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= result
;
28316 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28317 PyObject
*resultobj
;
28318 wxMenu
*arg1
= (wxMenu
*) 0 ;
28319 wxString
*arg2
= 0 ;
28321 bool temp2
= False
;
28322 PyObject
* obj0
= 0 ;
28323 PyObject
* obj1
= 0 ;
28324 char *kwnames
[] = {
28325 (char *) "self",(char *) "item", NULL
28328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28331 arg2
= wxString_in_helper(obj1
);
28332 if (arg2
== NULL
) SWIG_fail
;
28336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
28339 wxPyEndAllowThreads(__tstate
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28342 resultobj
= SWIG_PyObj_FromInt((int)result
);
28357 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28358 PyObject
*resultobj
;
28359 wxMenu
*arg1
= (wxMenu
*) 0 ;
28361 wxMenuItem
*result
;
28362 PyObject
* obj0
= 0 ;
28363 PyObject
* obj1
= 0 ;
28364 char *kwnames
[] = {
28365 (char *) "self",(char *) "id", NULL
28368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
28369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28371 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28376 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28382 resultobj
= wxPyMake_wxObject(result
);
28390 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
;
28392 wxMenu
*arg1
= (wxMenu
*) 0 ;
28394 wxMenuItem
*result
;
28395 PyObject
* obj0
= 0 ;
28396 PyObject
* obj1
= 0 ;
28397 char *kwnames
[] = {
28398 (char *) "self",(char *) "position", NULL
28401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28404 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
28405 if (PyErr_Occurred()) SWIG_fail
;
28408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28409 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
28411 wxPyEndAllowThreads(__tstate
);
28412 if (PyErr_Occurred()) SWIG_fail
;
28415 resultobj
= wxPyMake_wxObject(result
);
28423 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28424 PyObject
*resultobj
;
28425 wxMenu
*arg1
= (wxMenu
*) 0 ;
28428 PyObject
* obj0
= 0 ;
28429 PyObject
* obj1
= 0 ;
28430 PyObject
* obj2
= 0 ;
28431 char *kwnames
[] = {
28432 (char *) "self",(char *) "id",(char *) "enable", NULL
28435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28438 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28439 if (PyErr_Occurred()) SWIG_fail
;
28442 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28447 (arg1
)->Enable(arg2
,arg3
);
28449 wxPyEndAllowThreads(__tstate
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28452 Py_INCREF(Py_None
); resultobj
= Py_None
;
28459 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28460 PyObject
*resultobj
;
28461 wxMenu
*arg1
= (wxMenu
*) 0 ;
28464 PyObject
* obj0
= 0 ;
28465 PyObject
* obj1
= 0 ;
28466 char *kwnames
[] = {
28467 (char *) "self",(char *) "id", NULL
28470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
28471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28473 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28478 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
28480 wxPyEndAllowThreads(__tstate
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28490 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28491 PyObject
*resultobj
;
28492 wxMenu
*arg1
= (wxMenu
*) 0 ;
28495 PyObject
* obj0
= 0 ;
28496 PyObject
* obj1
= 0 ;
28497 PyObject
* obj2
= 0 ;
28498 char *kwnames
[] = {
28499 (char *) "self",(char *) "id",(char *) "check", NULL
28502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28505 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28506 if (PyErr_Occurred()) SWIG_fail
;
28509 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28510 if (PyErr_Occurred()) SWIG_fail
;
28513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28514 (arg1
)->Check(arg2
,arg3
);
28516 wxPyEndAllowThreads(__tstate
);
28517 if (PyErr_Occurred()) SWIG_fail
;
28519 Py_INCREF(Py_None
); resultobj
= Py_None
;
28526 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28527 PyObject
*resultobj
;
28528 wxMenu
*arg1
= (wxMenu
*) 0 ;
28531 PyObject
* obj0
= 0 ;
28532 PyObject
* obj1
= 0 ;
28533 char *kwnames
[] = {
28534 (char *) "self",(char *) "id", NULL
28537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
28538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28540 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28557 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28558 PyObject
*resultobj
;
28559 wxMenu
*arg1
= (wxMenu
*) 0 ;
28561 wxString
*arg3
= 0 ;
28562 bool temp3
= False
;
28563 PyObject
* obj0
= 0 ;
28564 PyObject
* obj1
= 0 ;
28565 PyObject
* obj2
= 0 ;
28566 char *kwnames
[] = {
28567 (char *) "self",(char *) "id",(char *) "label", NULL
28570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28573 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28577 arg3
= wxString_in_helper(obj2
);
28578 if (arg3
== NULL
) SWIG_fail
;
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
28585 wxPyEndAllowThreads(__tstate
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28588 Py_INCREF(Py_None
); resultobj
= Py_None
;
28603 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28604 PyObject
*resultobj
;
28605 wxMenu
*arg1
= (wxMenu
*) 0 ;
28608 PyObject
* obj0
= 0 ;
28609 PyObject
* obj1
= 0 ;
28610 char *kwnames
[] = {
28611 (char *) "self",(char *) "id", NULL
28614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28617 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28622 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28640 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28641 PyObject
*resultobj
;
28642 wxMenu
*arg1
= (wxMenu
*) 0 ;
28644 wxString
*arg3
= 0 ;
28645 bool temp3
= False
;
28646 PyObject
* obj0
= 0 ;
28647 PyObject
* obj1
= 0 ;
28648 PyObject
* obj2
= 0 ;
28649 char *kwnames
[] = {
28650 (char *) "self",(char *) "id",(char *) "helpString", NULL
28653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28656 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28660 arg3
= wxString_in_helper(obj2
);
28661 if (arg3
== NULL
) SWIG_fail
;
28665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28666 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
28668 wxPyEndAllowThreads(__tstate
);
28669 if (PyErr_Occurred()) SWIG_fail
;
28671 Py_INCREF(Py_None
); resultobj
= Py_None
;
28686 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28687 PyObject
*resultobj
;
28688 wxMenu
*arg1
= (wxMenu
*) 0 ;
28691 PyObject
* obj0
= 0 ;
28692 PyObject
* obj1
= 0 ;
28693 char *kwnames
[] = {
28694 (char *) "self",(char *) "id", NULL
28697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
28698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28700 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
28707 wxPyEndAllowThreads(__tstate
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28723 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28724 PyObject
*resultobj
;
28725 wxMenu
*arg1
= (wxMenu
*) 0 ;
28726 wxString
*arg2
= 0 ;
28727 bool temp2
= False
;
28728 PyObject
* obj0
= 0 ;
28729 PyObject
* obj1
= 0 ;
28730 char *kwnames
[] = {
28731 (char *) "self",(char *) "title", NULL
28734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
28735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28737 arg2
= wxString_in_helper(obj1
);
28738 if (arg2
== NULL
) SWIG_fail
;
28742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28743 (arg1
)->SetTitle((wxString
const &)*arg2
);
28745 wxPyEndAllowThreads(__tstate
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28748 Py_INCREF(Py_None
); resultobj
= Py_None
;
28763 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
;
28765 wxMenu
*arg1
= (wxMenu
*) 0 ;
28767 PyObject
* obj0
= 0 ;
28768 char *kwnames
[] = {
28769 (char *) "self", NULL
28772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
28773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28776 result
= ((wxMenu
const *)arg1
)->GetTitle();
28778 wxPyEndAllowThreads(__tstate
);
28779 if (PyErr_Occurred()) SWIG_fail
;
28783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28794 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
;
28796 wxMenu
*arg1
= (wxMenu
*) 0 ;
28797 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28798 PyObject
* obj0
= 0 ;
28799 PyObject
* obj1
= 0 ;
28800 char *kwnames
[] = {
28801 (char *) "self",(char *) "handler", NULL
28804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28806 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 (arg1
)->SetEventHandler(arg2
);
28811 wxPyEndAllowThreads(__tstate
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28814 Py_INCREF(Py_None
); resultobj
= Py_None
;
28821 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28822 PyObject
*resultobj
;
28823 wxMenu
*arg1
= (wxMenu
*) 0 ;
28824 wxEvtHandler
*result
;
28825 PyObject
* obj0
= 0 ;
28826 char *kwnames
[] = {
28827 (char *) "self", NULL
28830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
28836 wxPyEndAllowThreads(__tstate
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28840 resultobj
= wxPyMake_wxObject(result
);
28848 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28849 PyObject
*resultobj
;
28850 wxMenu
*arg1
= (wxMenu
*) 0 ;
28851 wxWindow
*arg2
= (wxWindow
*) 0 ;
28852 PyObject
* obj0
= 0 ;
28853 PyObject
* obj1
= 0 ;
28854 char *kwnames
[] = {
28855 (char *) "self",(char *) "win", NULL
28858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28860 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 (arg1
)->SetInvokingWindow(arg2
);
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28868 Py_INCREF(Py_None
); resultobj
= Py_None
;
28875 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28876 PyObject
*resultobj
;
28877 wxMenu
*arg1
= (wxMenu
*) 0 ;
28879 PyObject
* obj0
= 0 ;
28880 char *kwnames
[] = {
28881 (char *) "self", NULL
28884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
28885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28888 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
28890 wxPyEndAllowThreads(__tstate
);
28891 if (PyErr_Occurred()) SWIG_fail
;
28894 resultobj
= wxPyMake_wxObject(result
);
28902 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28903 PyObject
*resultobj
;
28904 wxMenu
*arg1
= (wxMenu
*) 0 ;
28906 PyObject
* obj0
= 0 ;
28907 char *kwnames
[] = {
28908 (char *) "self", NULL
28911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
28912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28920 resultobj
= SWIG_PyObj_FromLong((long)result
);
28927 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28928 PyObject
*resultobj
;
28929 wxMenu
*arg1
= (wxMenu
*) 0 ;
28930 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
28931 PyObject
* obj0
= 0 ;
28932 PyObject
* obj1
= 0 ;
28933 char *kwnames
[] = {
28934 (char *) "self",(char *) "source", NULL
28937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
28938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28944 (arg1
)->UpdateUI(arg2
);
28946 wxPyEndAllowThreads(__tstate
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28949 Py_INCREF(Py_None
); resultobj
= Py_None
;
28956 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28957 PyObject
*resultobj
;
28958 wxMenu
*arg1
= (wxMenu
*) 0 ;
28960 PyObject
* obj0
= 0 ;
28961 char *kwnames
[] = {
28962 (char *) "self", NULL
28965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
28966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28969 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
28971 wxPyEndAllowThreads(__tstate
);
28972 if (PyErr_Occurred()) SWIG_fail
;
28975 resultobj
= wxPyMake_wxObject(result
);
28983 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28984 PyObject
*resultobj
;
28985 wxMenu
*arg1
= (wxMenu
*) 0 ;
28986 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
28987 PyObject
* obj0
= 0 ;
28988 PyObject
* obj1
= 0 ;
28989 char *kwnames
[] = {
28990 (char *) "self",(char *) "menubar", NULL
28993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
28994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28998 (arg1
)->Attach(arg2
);
29000 wxPyEndAllowThreads(__tstate
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29003 Py_INCREF(Py_None
); resultobj
= Py_None
;
29010 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29011 PyObject
*resultobj
;
29012 wxMenu
*arg1
= (wxMenu
*) 0 ;
29013 PyObject
* obj0
= 0 ;
29014 char *kwnames
[] = {
29015 (char *) "self", NULL
29018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
29019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29027 Py_INCREF(Py_None
); resultobj
= Py_None
;
29034 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
;
29036 wxMenu
*arg1
= (wxMenu
*) 0 ;
29038 PyObject
* obj0
= 0 ;
29039 char *kwnames
[] = {
29040 (char *) "self", NULL
29043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
29044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29047 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
29049 wxPyEndAllowThreads(__tstate
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29059 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29060 PyObject
*resultobj
;
29061 wxMenu
*arg1
= (wxMenu
*) 0 ;
29062 wxMenu
*arg2
= (wxMenu
*) 0 ;
29063 PyObject
* obj0
= 0 ;
29064 PyObject
* obj1
= 0 ;
29065 char *kwnames
[] = {
29066 (char *) "self",(char *) "parent", NULL
29069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29071 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29074 (arg1
)->SetParent(arg2
);
29076 wxPyEndAllowThreads(__tstate
);
29077 if (PyErr_Occurred()) SWIG_fail
;
29079 Py_INCREF(Py_None
); resultobj
= Py_None
;
29086 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29087 PyObject
*resultobj
;
29088 wxMenu
*arg1
= (wxMenu
*) 0 ;
29090 PyObject
* obj0
= 0 ;
29091 char *kwnames
[] = {
29092 (char *) "self", NULL
29095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
29096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29099 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
29101 wxPyEndAllowThreads(__tstate
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29105 resultobj
= wxPyMake_wxObject(result
);
29113 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
29115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29116 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
29118 return Py_BuildValue((char *)"");
29120 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29121 PyObject
*resultobj
;
29122 long arg1
= (long) 0 ;
29124 PyObject
* obj0
= 0 ;
29125 char *kwnames
[] = {
29126 (char *) "style", NULL
29129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
29132 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29138 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
29140 wxPyEndAllowThreads(__tstate
);
29141 if (PyErr_Occurred()) SWIG_fail
;
29144 resultobj
= wxPyMake_wxObject(result
);
29152 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29153 PyObject
*resultobj
;
29154 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29155 wxMenu
*arg2
= (wxMenu
*) 0 ;
29156 wxString
*arg3
= 0 ;
29158 bool temp3
= False
;
29159 PyObject
* obj0
= 0 ;
29160 PyObject
* obj1
= 0 ;
29161 PyObject
* obj2
= 0 ;
29162 char *kwnames
[] = {
29163 (char *) "self",(char *) "menu",(char *) "title", NULL
29166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29168 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29170 arg3
= wxString_in_helper(obj2
);
29171 if (arg3
== NULL
) SWIG_fail
;
29175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
29178 wxPyEndAllowThreads(__tstate
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29196 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29197 PyObject
*resultobj
;
29198 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29200 wxMenu
*arg3
= (wxMenu
*) 0 ;
29201 wxString
*arg4
= 0 ;
29203 bool temp4
= False
;
29204 PyObject
* obj0
= 0 ;
29205 PyObject
* obj1
= 0 ;
29206 PyObject
* obj2
= 0 ;
29207 PyObject
* obj3
= 0 ;
29208 char *kwnames
[] = {
29209 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29215 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29216 if (PyErr_Occurred()) SWIG_fail
;
29218 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29220 arg4
= wxString_in_helper(obj3
);
29221 if (arg4
== NULL
) SWIG_fail
;
29225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29226 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
29228 wxPyEndAllowThreads(__tstate
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29246 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29247 PyObject
*resultobj
;
29248 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29250 PyObject
* obj0
= 0 ;
29251 char *kwnames
[] = {
29252 (char *) "self", NULL
29255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
29256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29264 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
29271 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
;
29273 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29276 PyObject
* obj0
= 0 ;
29277 PyObject
* obj1
= 0 ;
29278 char *kwnames
[] = {
29279 (char *) "self",(char *) "pos", NULL
29282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29285 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29290 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
29292 wxPyEndAllowThreads(__tstate
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29296 resultobj
= wxPyMake_wxObject(result
);
29304 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29305 PyObject
*resultobj
;
29306 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29308 wxMenu
*arg3
= (wxMenu
*) 0 ;
29309 wxString
*arg4
= 0 ;
29311 bool temp4
= False
;
29312 PyObject
* obj0
= 0 ;
29313 PyObject
* obj1
= 0 ;
29314 PyObject
* obj2
= 0 ;
29315 PyObject
* obj3
= 0 ;
29316 char *kwnames
[] = {
29317 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29323 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29324 if (PyErr_Occurred()) SWIG_fail
;
29326 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29328 arg4
= wxString_in_helper(obj3
);
29329 if (arg4
== NULL
) SWIG_fail
;
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
29336 wxPyEndAllowThreads(__tstate
);
29337 if (PyErr_Occurred()) SWIG_fail
;
29340 resultobj
= wxPyMake_wxObject(result
);
29356 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29357 PyObject
*resultobj
;
29358 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29361 PyObject
* obj0
= 0 ;
29362 PyObject
* obj1
= 0 ;
29363 char *kwnames
[] = {
29364 (char *) "self",(char *) "pos", NULL
29367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29370 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29371 if (PyErr_Occurred()) SWIG_fail
;
29374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29375 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
29377 wxPyEndAllowThreads(__tstate
);
29378 if (PyErr_Occurred()) SWIG_fail
;
29381 resultobj
= wxPyMake_wxObject(result
);
29389 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29390 PyObject
*resultobj
;
29391 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29394 PyObject
* obj0
= 0 ;
29395 PyObject
* obj1
= 0 ;
29396 PyObject
* obj2
= 0 ;
29397 char *kwnames
[] = {
29398 (char *) "self",(char *) "pos",(char *) "enable", NULL
29401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29404 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29408 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29413 (arg1
)->EnableTop(arg2
,arg3
);
29415 wxPyEndAllowThreads(__tstate
);
29416 if (PyErr_Occurred()) SWIG_fail
;
29418 Py_INCREF(Py_None
); resultobj
= Py_None
;
29425 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29426 PyObject
*resultobj
;
29427 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29430 PyObject
* obj0
= 0 ;
29431 PyObject
* obj1
= 0 ;
29432 char *kwnames
[] = {
29433 (char *) "self",(char *) "pos", NULL
29436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29439 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29444 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
29446 wxPyEndAllowThreads(__tstate
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29456 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29457 PyObject
*resultobj
;
29458 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29460 wxString
*arg3
= 0 ;
29461 bool temp3
= False
;
29462 PyObject
* obj0
= 0 ;
29463 PyObject
* obj1
= 0 ;
29464 PyObject
* obj2
= 0 ;
29465 char *kwnames
[] = {
29466 (char *) "self",(char *) "pos",(char *) "label", NULL
29469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29472 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29476 arg3
= wxString_in_helper(obj2
);
29477 if (arg3
== NULL
) SWIG_fail
;
29481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29482 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
29484 wxPyEndAllowThreads(__tstate
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29487 Py_INCREF(Py_None
); resultobj
= Py_None
;
29502 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29503 PyObject
*resultobj
;
29504 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29507 PyObject
* obj0
= 0 ;
29508 PyObject
* obj1
= 0 ;
29509 char *kwnames
[] = {
29510 (char *) "self",(char *) "pos", NULL
29513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29516 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29517 if (PyErr_Occurred()) SWIG_fail
;
29520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29521 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
29523 wxPyEndAllowThreads(__tstate
);
29524 if (PyErr_Occurred()) SWIG_fail
;
29528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29539 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29540 PyObject
*resultobj
;
29541 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29542 wxString
*arg2
= 0 ;
29543 wxString
*arg3
= 0 ;
29545 bool temp2
= False
;
29546 bool temp3
= False
;
29547 PyObject
* obj0
= 0 ;
29548 PyObject
* obj1
= 0 ;
29549 PyObject
* obj2
= 0 ;
29550 char *kwnames
[] = {
29551 (char *) "self",(char *) "menu",(char *) "item", NULL
29554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29557 arg2
= wxString_in_helper(obj1
);
29558 if (arg2
== NULL
) SWIG_fail
;
29562 arg3
= wxString_in_helper(obj2
);
29563 if (arg3
== NULL
) SWIG_fail
;
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29573 resultobj
= SWIG_PyObj_FromInt((int)result
);
29596 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29597 PyObject
*resultobj
;
29598 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29600 wxMenuItem
*result
;
29601 PyObject
* obj0
= 0 ;
29602 PyObject
* obj1
= 0 ;
29603 char *kwnames
[] = {
29604 (char *) "self",(char *) "id", NULL
29607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29610 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29615 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
29617 wxPyEndAllowThreads(__tstate
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29621 resultobj
= wxPyMake_wxObject(result
);
29629 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29630 PyObject
*resultobj
;
29631 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29632 wxString
*arg2
= 0 ;
29634 bool temp2
= False
;
29635 PyObject
* obj0
= 0 ;
29636 PyObject
* obj1
= 0 ;
29637 char *kwnames
[] = {
29638 (char *) "self",(char *) "title", NULL
29641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29644 arg2
= wxString_in_helper(obj1
);
29645 if (arg2
== NULL
) SWIG_fail
;
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29655 resultobj
= SWIG_PyObj_FromInt((int)result
);
29670 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29671 PyObject
*resultobj
;
29672 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29675 PyObject
* obj0
= 0 ;
29676 PyObject
* obj1
= 0 ;
29677 PyObject
* obj2
= 0 ;
29678 char *kwnames
[] = {
29679 (char *) "self",(char *) "id",(char *) "enable", NULL
29682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29685 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29689 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29690 if (PyErr_Occurred()) SWIG_fail
;
29693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29694 (arg1
)->Enable(arg2
,arg3
);
29696 wxPyEndAllowThreads(__tstate
);
29697 if (PyErr_Occurred()) SWIG_fail
;
29699 Py_INCREF(Py_None
); resultobj
= Py_None
;
29706 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29707 PyObject
*resultobj
;
29708 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29711 PyObject
* obj0
= 0 ;
29712 PyObject
* obj1
= 0 ;
29713 PyObject
* obj2
= 0 ;
29714 char *kwnames
[] = {
29715 (char *) "self",(char *) "id",(char *) "check", NULL
29718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29721 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29722 if (PyErr_Occurred()) SWIG_fail
;
29725 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29726 if (PyErr_Occurred()) SWIG_fail
;
29729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29730 (arg1
)->Check(arg2
,arg3
);
29732 wxPyEndAllowThreads(__tstate
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29735 Py_INCREF(Py_None
); resultobj
= Py_None
;
29742 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29743 PyObject
*resultobj
;
29744 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29747 PyObject
* obj0
= 0 ;
29748 PyObject
* obj1
= 0 ;
29749 char *kwnames
[] = {
29750 (char *) "self",(char *) "id", NULL
29753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
29754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29756 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29757 if (PyErr_Occurred()) SWIG_fail
;
29760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29761 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29773 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29774 PyObject
*resultobj
;
29775 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29778 PyObject
* obj0
= 0 ;
29779 PyObject
* obj1
= 0 ;
29780 char *kwnames
[] = {
29781 (char *) "self",(char *) "id", NULL
29784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29787 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29804 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
;
29806 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29808 wxString
*arg3
= 0 ;
29809 bool temp3
= False
;
29810 PyObject
* obj0
= 0 ;
29811 PyObject
* obj1
= 0 ;
29812 PyObject
* obj2
= 0 ;
29813 char *kwnames
[] = {
29814 (char *) "self",(char *) "id",(char *) "label", NULL
29817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29820 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29824 arg3
= wxString_in_helper(obj2
);
29825 if (arg3
== NULL
) SWIG_fail
;
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29835 Py_INCREF(Py_None
); resultobj
= Py_None
;
29850 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29851 PyObject
*resultobj
;
29852 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29855 PyObject
* obj0
= 0 ;
29856 PyObject
* obj1
= 0 ;
29857 char *kwnames
[] = {
29858 (char *) "self",(char *) "id", NULL
29861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29864 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29865 if (PyErr_Occurred()) SWIG_fail
;
29868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29869 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
29871 wxPyEndAllowThreads(__tstate
);
29872 if (PyErr_Occurred()) SWIG_fail
;
29876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29887 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29888 PyObject
*resultobj
;
29889 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29891 wxString
*arg3
= 0 ;
29892 bool temp3
= False
;
29893 PyObject
* obj0
= 0 ;
29894 PyObject
* obj1
= 0 ;
29895 PyObject
* obj2
= 0 ;
29896 char *kwnames
[] = {
29897 (char *) "self",(char *) "id",(char *) "helpString", NULL
29900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29903 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29904 if (PyErr_Occurred()) SWIG_fail
;
29907 arg3
= wxString_in_helper(obj2
);
29908 if (arg3
== NULL
) SWIG_fail
;
29912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29913 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
29915 wxPyEndAllowThreads(__tstate
);
29916 if (PyErr_Occurred()) SWIG_fail
;
29918 Py_INCREF(Py_None
); resultobj
= Py_None
;
29933 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29934 PyObject
*resultobj
;
29935 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29938 PyObject
* obj0
= 0 ;
29939 PyObject
* obj1
= 0 ;
29940 char *kwnames
[] = {
29941 (char *) "self",(char *) "id", NULL
29944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
29945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29947 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29948 if (PyErr_Occurred()) SWIG_fail
;
29951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29952 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
29954 wxPyEndAllowThreads(__tstate
);
29955 if (PyErr_Occurred()) SWIG_fail
;
29959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29970 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29971 PyObject
*resultobj
;
29972 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29974 PyObject
* obj0
= 0 ;
29975 char *kwnames
[] = {
29976 (char *) "self", NULL
29979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
29980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29983 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
29985 wxPyEndAllowThreads(__tstate
);
29986 if (PyErr_Occurred()) SWIG_fail
;
29989 resultobj
= wxPyMake_wxObject(result
);
29997 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29998 PyObject
*resultobj
;
29999 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30001 PyObject
* obj0
= 0 ;
30002 char *kwnames
[] = {
30003 (char *) "self", NULL
30006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
30007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30010 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
30012 wxPyEndAllowThreads(__tstate
);
30013 if (PyErr_Occurred()) SWIG_fail
;
30015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30022 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30023 PyObject
*resultobj
;
30024 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30025 wxFrame
*arg2
= (wxFrame
*) 0 ;
30026 PyObject
* obj0
= 0 ;
30027 PyObject
* obj1
= 0 ;
30028 char *kwnames
[] = {
30029 (char *) "self",(char *) "frame", NULL
30032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30037 (arg1
)->Attach(arg2
);
30039 wxPyEndAllowThreads(__tstate
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30042 Py_INCREF(Py_None
); resultobj
= Py_None
;
30049 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30050 PyObject
*resultobj
;
30051 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30052 PyObject
* obj0
= 0 ;
30053 char *kwnames
[] = {
30054 (char *) "self", NULL
30057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
30058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30063 wxPyEndAllowThreads(__tstate
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30066 Py_INCREF(Py_None
); resultobj
= Py_None
;
30073 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
30075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30076 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
30078 return Py_BuildValue((char *)"");
30080 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30081 PyObject
*resultobj
;
30082 wxMenu
*arg1
= (wxMenu
*) NULL
;
30083 int arg2
= (int) wxID_SEPARATOR
;
30084 wxString
const &arg3_defvalue
= wxPyEmptyString
;
30085 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30086 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30087 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30088 int arg5
= (int) wxITEM_NORMAL
;
30089 wxMenu
*arg6
= (wxMenu
*) NULL
;
30090 wxMenuItem
*result
;
30091 bool temp3
= False
;
30092 bool temp4
= False
;
30093 PyObject
* obj0
= 0 ;
30094 PyObject
* obj1
= 0 ;
30095 PyObject
* obj2
= 0 ;
30096 PyObject
* obj3
= 0 ;
30097 PyObject
* obj4
= 0 ;
30098 PyObject
* obj5
= 0 ;
30099 char *kwnames
[] = {
30100 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30109 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30115 arg3
= wxString_in_helper(obj2
);
30116 if (arg3
== NULL
) SWIG_fail
;
30122 arg4
= wxString_in_helper(obj3
);
30123 if (arg4
== NULL
) SWIG_fail
;
30129 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30134 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30138 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
30140 wxPyEndAllowThreads(__tstate
);
30141 if (PyErr_Occurred()) SWIG_fail
;
30144 resultobj
= wxPyMake_wxObject(result
);
30168 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30169 PyObject
*resultobj
;
30170 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30172 PyObject
* obj0
= 0 ;
30173 char *kwnames
[] = {
30174 (char *) "self", NULL
30177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
30178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
30183 wxPyEndAllowThreads(__tstate
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30187 resultobj
= wxPyMake_wxObject(result
);
30195 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30196 PyObject
*resultobj
;
30197 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30198 wxMenu
*arg2
= (wxMenu
*) 0 ;
30199 PyObject
* obj0
= 0 ;
30200 PyObject
* obj1
= 0 ;
30201 char *kwnames
[] = {
30202 (char *) "self",(char *) "menu", NULL
30205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30210 (arg1
)->SetMenu(arg2
);
30212 wxPyEndAllowThreads(__tstate
);
30213 if (PyErr_Occurred()) SWIG_fail
;
30215 Py_INCREF(Py_None
); resultobj
= Py_None
;
30222 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30223 PyObject
*resultobj
;
30224 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30226 PyObject
* obj0
= 0 ;
30227 PyObject
* obj1
= 0 ;
30228 char *kwnames
[] = {
30229 (char *) "self",(char *) "id", NULL
30232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
30233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30235 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
30236 if (PyErr_Occurred()) SWIG_fail
;
30239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30240 (arg1
)->SetId(arg2
);
30242 wxPyEndAllowThreads(__tstate
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30245 Py_INCREF(Py_None
); resultobj
= Py_None
;
30252 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30253 PyObject
*resultobj
;
30254 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30256 PyObject
* obj0
= 0 ;
30257 char *kwnames
[] = {
30258 (char *) "self", NULL
30261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
30262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30265 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
30267 wxPyEndAllowThreads(__tstate
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30270 resultobj
= SWIG_PyObj_FromInt((int)result
);
30277 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30278 PyObject
*resultobj
;
30279 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30281 PyObject
* obj0
= 0 ;
30282 char *kwnames
[] = {
30283 (char *) "self", NULL
30286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
30287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30290 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
30292 wxPyEndAllowThreads(__tstate
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30302 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30303 PyObject
*resultobj
;
30304 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30305 wxString
*arg2
= 0 ;
30306 bool temp2
= False
;
30307 PyObject
* obj0
= 0 ;
30308 PyObject
* obj1
= 0 ;
30309 char *kwnames
[] = {
30310 (char *) "self",(char *) "str", NULL
30313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
30314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30316 arg2
= wxString_in_helper(obj1
);
30317 if (arg2
== NULL
) SWIG_fail
;
30321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30322 (arg1
)->SetText((wxString
const &)*arg2
);
30324 wxPyEndAllowThreads(__tstate
);
30325 if (PyErr_Occurred()) SWIG_fail
;
30327 Py_INCREF(Py_None
); resultobj
= Py_None
;
30342 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30343 PyObject
*resultobj
;
30344 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30346 PyObject
* obj0
= 0 ;
30347 char *kwnames
[] = {
30348 (char *) "self", NULL
30351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
30352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30355 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
30357 wxPyEndAllowThreads(__tstate
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30373 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30374 PyObject
*resultobj
;
30375 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30377 PyObject
* obj0
= 0 ;
30378 char *kwnames
[] = {
30379 (char *) "self", NULL
30382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
30383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30387 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
30388 result
= (wxString
*) &_result_ref
;
30391 wxPyEndAllowThreads(__tstate
);
30392 if (PyErr_Occurred()) SWIG_fail
;
30396 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30398 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30407 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30408 PyObject
*resultobj
;
30409 wxString
*arg1
= 0 ;
30411 bool temp1
= False
;
30412 PyObject
* obj0
= 0 ;
30413 char *kwnames
[] = {
30414 (char *) "text", NULL
30417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
30419 arg1
= wxString_in_helper(obj0
);
30420 if (arg1
== NULL
) SWIG_fail
;
30424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30425 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
30427 wxPyEndAllowThreads(__tstate
);
30428 if (PyErr_Occurred()) SWIG_fail
;
30432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30451 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
;
30453 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30455 PyObject
* obj0
= 0 ;
30456 char *kwnames
[] = {
30457 (char *) "self", NULL
30460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
30461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30464 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
30466 wxPyEndAllowThreads(__tstate
);
30467 if (PyErr_Occurred()) SWIG_fail
;
30469 resultobj
= SWIG_PyObj_FromInt((int)result
);
30476 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30477 PyObject
*resultobj
;
30478 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30480 PyObject
* obj0
= 0 ;
30481 PyObject
* obj1
= 0 ;
30482 char *kwnames
[] = {
30483 (char *) "self",(char *) "checkable", NULL
30486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
30487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30489 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30490 if (PyErr_Occurred()) SWIG_fail
;
30493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30494 (arg1
)->SetCheckable(arg2
);
30496 wxPyEndAllowThreads(__tstate
);
30497 if (PyErr_Occurred()) SWIG_fail
;
30499 Py_INCREF(Py_None
); resultobj
= Py_None
;
30506 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30507 PyObject
*resultobj
;
30508 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30510 PyObject
* obj0
= 0 ;
30511 char *kwnames
[] = {
30512 (char *) "self", NULL
30515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
30516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30519 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
30521 wxPyEndAllowThreads(__tstate
);
30522 if (PyErr_Occurred()) SWIG_fail
;
30524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30531 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30532 PyObject
*resultobj
;
30533 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30535 PyObject
* obj0
= 0 ;
30536 char *kwnames
[] = {
30537 (char *) "self", NULL
30540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
30541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
30546 wxPyEndAllowThreads(__tstate
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30556 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30557 PyObject
*resultobj
;
30558 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30559 wxMenu
*arg2
= (wxMenu
*) 0 ;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 char *kwnames
[] = {
30563 (char *) "self",(char *) "menu", NULL
30566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30568 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30571 (arg1
)->SetSubMenu(arg2
);
30573 wxPyEndAllowThreads(__tstate
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30576 Py_INCREF(Py_None
); resultobj
= Py_None
;
30583 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30584 PyObject
*resultobj
;
30585 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30587 PyObject
* obj0
= 0 ;
30588 char *kwnames
[] = {
30589 (char *) "self", NULL
30592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
30593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30596 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
30598 wxPyEndAllowThreads(__tstate
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30602 resultobj
= wxPyMake_wxObject(result
);
30610 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30611 PyObject
*resultobj
;
30612 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30613 bool arg2
= (bool) True
;
30614 PyObject
* obj0
= 0 ;
30615 PyObject
* obj1
= 0 ;
30616 char *kwnames
[] = {
30617 (char *) "self",(char *) "enable", NULL
30620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
30621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30624 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30625 if (PyErr_Occurred()) SWIG_fail
;
30629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30630 (arg1
)->Enable(arg2
);
30632 wxPyEndAllowThreads(__tstate
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30635 Py_INCREF(Py_None
); resultobj
= Py_None
;
30642 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30643 PyObject
*resultobj
;
30644 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30646 PyObject
* obj0
= 0 ;
30647 char *kwnames
[] = {
30648 (char *) "self", NULL
30651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
30652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30655 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
30657 wxPyEndAllowThreads(__tstate
);
30658 if (PyErr_Occurred()) SWIG_fail
;
30660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30667 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30668 PyObject
*resultobj
;
30669 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30670 bool arg2
= (bool) True
;
30671 PyObject
* obj0
= 0 ;
30672 PyObject
* obj1
= 0 ;
30673 char *kwnames
[] = {
30674 (char *) "self",(char *) "check", NULL
30677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
30678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30681 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30687 (arg1
)->Check(arg2
);
30689 wxPyEndAllowThreads(__tstate
);
30690 if (PyErr_Occurred()) SWIG_fail
;
30692 Py_INCREF(Py_None
); resultobj
= Py_None
;
30699 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30700 PyObject
*resultobj
;
30701 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30703 PyObject
* obj0
= 0 ;
30704 char *kwnames
[] = {
30705 (char *) "self", NULL
30708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
30709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30712 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
30714 wxPyEndAllowThreads(__tstate
);
30715 if (PyErr_Occurred()) SWIG_fail
;
30717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30724 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30725 PyObject
*resultobj
;
30726 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30727 PyObject
* obj0
= 0 ;
30728 char *kwnames
[] = {
30729 (char *) "self", NULL
30732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
30733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30738 wxPyEndAllowThreads(__tstate
);
30739 if (PyErr_Occurred()) SWIG_fail
;
30741 Py_INCREF(Py_None
); resultobj
= Py_None
;
30748 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30749 PyObject
*resultobj
;
30750 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30751 wxString
*arg2
= 0 ;
30752 bool temp2
= False
;
30753 PyObject
* obj0
= 0 ;
30754 PyObject
* obj1
= 0 ;
30755 char *kwnames
[] = {
30756 (char *) "self",(char *) "str", NULL
30759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30762 arg2
= wxString_in_helper(obj1
);
30763 if (arg2
== NULL
) SWIG_fail
;
30767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30768 (arg1
)->SetHelp((wxString
const &)*arg2
);
30770 wxPyEndAllowThreads(__tstate
);
30771 if (PyErr_Occurred()) SWIG_fail
;
30773 Py_INCREF(Py_None
); resultobj
= Py_None
;
30788 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30789 PyObject
*resultobj
;
30790 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30792 PyObject
* obj0
= 0 ;
30793 char *kwnames
[] = {
30794 (char *) "self", NULL
30797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
30798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30802 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
30803 result
= (wxString
*) &_result_ref
;
30806 wxPyEndAllowThreads(__tstate
);
30807 if (PyErr_Occurred()) SWIG_fail
;
30811 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30813 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30822 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30823 PyObject
*resultobj
;
30824 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30825 wxAcceleratorEntry
*result
;
30826 PyObject
* obj0
= 0 ;
30827 char *kwnames
[] = {
30828 (char *) "self", NULL
30831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
30832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30835 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
30837 wxPyEndAllowThreads(__tstate
);
30838 if (PyErr_Occurred()) SWIG_fail
;
30840 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
30847 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30848 PyObject
*resultobj
;
30849 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30850 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
30851 PyObject
* obj0
= 0 ;
30852 PyObject
* obj1
= 0 ;
30853 char *kwnames
[] = {
30854 (char *) "self",(char *) "accel", NULL
30857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
30858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30859 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 (arg1
)->SetAccel(arg2
);
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30867 Py_INCREF(Py_None
); resultobj
= Py_None
;
30874 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
;
30876 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30878 PyObject
* obj0
= 0 ;
30879 PyObject
* obj1
= 0 ;
30880 char *kwnames
[] = {
30881 (char *) "self",(char *) "font", NULL
30884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30886 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30887 if (arg2
== NULL
) {
30888 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30892 (arg1
)->SetFont((wxFont
const &)*arg2
);
30894 wxPyEndAllowThreads(__tstate
);
30895 if (PyErr_Occurred()) SWIG_fail
;
30897 Py_INCREF(Py_None
); resultobj
= Py_None
;
30904 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30905 PyObject
*resultobj
;
30906 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30908 PyObject
* obj0
= 0 ;
30909 char *kwnames
[] = {
30910 (char *) "self", NULL
30913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
30914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30917 result
= (arg1
)->GetFont();
30919 wxPyEndAllowThreads(__tstate
);
30920 if (PyErr_Occurred()) SWIG_fail
;
30923 wxFont
* resultptr
;
30924 resultptr
= new wxFont((wxFont
&) result
);
30925 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
30933 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30934 PyObject
*resultobj
;
30935 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30936 wxColour
*arg2
= 0 ;
30938 PyObject
* obj0
= 0 ;
30939 PyObject
* obj1
= 0 ;
30940 char *kwnames
[] = {
30941 (char *) "self",(char *) "colText", NULL
30944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
30945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30948 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30952 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30954 wxPyEndAllowThreads(__tstate
);
30955 if (PyErr_Occurred()) SWIG_fail
;
30957 Py_INCREF(Py_None
); resultobj
= Py_None
;
30964 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
;
30966 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30968 PyObject
* obj0
= 0 ;
30969 char *kwnames
[] = {
30970 (char *) "self", NULL
30973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
30974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30977 result
= (arg1
)->GetTextColour();
30979 wxPyEndAllowThreads(__tstate
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30983 wxColour
* resultptr
;
30984 resultptr
= new wxColour((wxColour
&) result
);
30985 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
30993 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30994 PyObject
*resultobj
;
30995 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30996 wxColour
*arg2
= 0 ;
30998 PyObject
* obj0
= 0 ;
30999 PyObject
* obj1
= 0 ;
31000 char *kwnames
[] = {
31001 (char *) "self",(char *) "colBack", NULL
31004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
31005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31008 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31012 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
31014 wxPyEndAllowThreads(__tstate
);
31015 if (PyErr_Occurred()) SWIG_fail
;
31017 Py_INCREF(Py_None
); resultobj
= Py_None
;
31024 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31025 PyObject
*resultobj
;
31026 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31028 PyObject
* obj0
= 0 ;
31029 char *kwnames
[] = {
31030 (char *) "self", NULL
31033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
31034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 result
= (arg1
)->GetBackgroundColour();
31039 wxPyEndAllowThreads(__tstate
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31043 wxColour
* resultptr
;
31044 resultptr
= new wxColour((wxColour
&) result
);
31045 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
31053 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
;
31055 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31056 wxBitmap
*arg2
= 0 ;
31057 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31058 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31059 PyObject
* obj0
= 0 ;
31060 PyObject
* obj1
= 0 ;
31061 PyObject
* obj2
= 0 ;
31062 char *kwnames
[] = {
31063 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
31066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31068 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31069 if (arg2
== NULL
) {
31070 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31073 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31074 if (arg3
== NULL
) {
31075 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31080 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31082 wxPyEndAllowThreads(__tstate
);
31083 if (PyErr_Occurred()) SWIG_fail
;
31085 Py_INCREF(Py_None
); resultobj
= Py_None
;
31092 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31093 PyObject
*resultobj
;
31094 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31095 wxBitmap
*arg2
= 0 ;
31096 PyObject
* obj0
= 0 ;
31097 PyObject
* obj1
= 0 ;
31098 char *kwnames
[] = {
31099 (char *) "self",(char *) "bmpDisabled", NULL
31102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31104 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31105 if (arg2
== NULL
) {
31106 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31110 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
31112 wxPyEndAllowThreads(__tstate
);
31113 if (PyErr_Occurred()) SWIG_fail
;
31115 Py_INCREF(Py_None
); resultobj
= Py_None
;
31122 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31123 PyObject
*resultobj
;
31124 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31126 PyObject
* obj0
= 0 ;
31127 char *kwnames
[] = {
31128 (char *) "self", NULL
31131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
31132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31136 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
31137 result
= (wxBitmap
*) &_result_ref
;
31140 wxPyEndAllowThreads(__tstate
);
31141 if (PyErr_Occurred()) SWIG_fail
;
31143 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
31150 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31151 PyObject
*resultobj
;
31152 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31154 PyObject
* obj0
= 0 ;
31155 PyObject
* obj1
= 0 ;
31156 char *kwnames
[] = {
31157 (char *) "self",(char *) "nWidth", NULL
31160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
31161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31163 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31168 (arg1
)->SetMarginWidth(arg2
);
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 Py_INCREF(Py_None
); resultobj
= Py_None
;
31180 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31181 PyObject
*resultobj
;
31182 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31184 PyObject
* obj0
= 0 ;
31185 char *kwnames
[] = {
31186 (char *) "self", NULL
31189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
31190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31193 result
= (int)(arg1
)->GetMarginWidth();
31195 wxPyEndAllowThreads(__tstate
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31198 resultobj
= SWIG_PyObj_FromInt((int)result
);
31205 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31206 PyObject
*resultobj
;
31208 char *kwnames
[] = {
31212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
31214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31215 result
= (int)wxMenuItem::GetDefaultMarginWidth();
31217 wxPyEndAllowThreads(__tstate
);
31218 if (PyErr_Occurred()) SWIG_fail
;
31220 resultobj
= SWIG_PyObj_FromInt((int)result
);
31227 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31228 PyObject
*resultobj
;
31229 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31231 PyObject
* obj0
= 0 ;
31232 char *kwnames
[] = {
31233 (char *) "self", NULL
31236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
31237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31240 result
= (bool)(arg1
)->IsOwnerDrawn();
31242 wxPyEndAllowThreads(__tstate
);
31243 if (PyErr_Occurred()) SWIG_fail
;
31245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31252 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31253 PyObject
*resultobj
;
31254 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31255 bool arg2
= (bool) True
;
31256 PyObject
* obj0
= 0 ;
31257 PyObject
* obj1
= 0 ;
31258 char *kwnames
[] = {
31259 (char *) "self",(char *) "ownerDrawn", NULL
31262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
31263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31266 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
31267 if (PyErr_Occurred()) SWIG_fail
;
31271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31272 (arg1
)->SetOwnerDrawn(arg2
);
31274 wxPyEndAllowThreads(__tstate
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31277 Py_INCREF(Py_None
); resultobj
= Py_None
;
31284 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31285 PyObject
*resultobj
;
31286 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31287 PyObject
* obj0
= 0 ;
31288 char *kwnames
[] = {
31289 (char *) "self", NULL
31292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
31293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31296 (arg1
)->ResetOwnerDrawn();
31298 wxPyEndAllowThreads(__tstate
);
31299 if (PyErr_Occurred()) SWIG_fail
;
31301 Py_INCREF(Py_None
); resultobj
= Py_None
;
31308 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31309 PyObject
*resultobj
;
31310 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31311 wxBitmap
*arg2
= 0 ;
31312 PyObject
* obj0
= 0 ;
31313 PyObject
* obj1
= 0 ;
31314 char *kwnames
[] = {
31315 (char *) "self",(char *) "bitmap", NULL
31318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31321 if (arg2
== NULL
) {
31322 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31326 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31328 wxPyEndAllowThreads(__tstate
);
31329 if (PyErr_Occurred()) SWIG_fail
;
31331 Py_INCREF(Py_None
); resultobj
= Py_None
;
31338 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31339 PyObject
*resultobj
;
31340 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31342 PyObject
* obj0
= 0 ;
31343 char *kwnames
[] = {
31344 (char *) "self", NULL
31347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
31348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31352 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
31353 result
= (wxBitmap
*) &_result_ref
;
31356 wxPyEndAllowThreads(__tstate
);
31357 if (PyErr_Occurred()) SWIG_fail
;
31359 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
31366 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
31368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31369 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
31371 return Py_BuildValue((char *)"");
31373 static int _wrap_ControlNameStr_set(PyObject
*) {
31374 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
31379 static PyObject
*_wrap_ControlNameStr_get() {
31384 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31386 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31393 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31394 PyObject
*resultobj
;
31395 wxWindow
*arg1
= (wxWindow
*) 0 ;
31397 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31398 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31399 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31400 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31401 long arg5
= (long) 0 ;
31402 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31403 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31404 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
31405 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31409 bool temp7
= False
;
31410 PyObject
* obj0
= 0 ;
31411 PyObject
* obj1
= 0 ;
31412 PyObject
* obj2
= 0 ;
31413 PyObject
* obj3
= 0 ;
31414 PyObject
* obj4
= 0 ;
31415 PyObject
* obj5
= 0 ;
31416 PyObject
* obj6
= 0 ;
31417 char *kwnames
[] = {
31418 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31424 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31425 if (PyErr_Occurred()) SWIG_fail
;
31430 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31436 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31441 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
31442 if (PyErr_Occurred()) SWIG_fail
;
31446 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31447 if (arg6
== NULL
) {
31448 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31453 arg7
= wxString_in_helper(obj6
);
31454 if (arg7
== NULL
) SWIG_fail
;
31459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31460 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31462 wxPyEndAllowThreads(__tstate
);
31463 if (PyErr_Occurred()) SWIG_fail
;
31466 resultobj
= wxPyMake_wxObject(result
);
31482 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31483 PyObject
*resultobj
;
31485 char *kwnames
[] = {
31489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
31491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31492 result
= (wxControl
*)new wxControl();
31494 wxPyEndAllowThreads(__tstate
);
31495 if (PyErr_Occurred()) SWIG_fail
;
31498 resultobj
= wxPyMake_wxObject(result
);
31506 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31507 PyObject
*resultobj
;
31508 wxControl
*arg1
= (wxControl
*) 0 ;
31509 wxWindow
*arg2
= (wxWindow
*) 0 ;
31511 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31512 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31513 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31514 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31515 long arg6
= (long) 0 ;
31516 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31517 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31518 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
31519 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31523 bool temp8
= False
;
31524 PyObject
* obj0
= 0 ;
31525 PyObject
* obj1
= 0 ;
31526 PyObject
* obj2
= 0 ;
31527 PyObject
* obj3
= 0 ;
31528 PyObject
* obj4
= 0 ;
31529 PyObject
* obj5
= 0 ;
31530 PyObject
* obj6
= 0 ;
31531 PyObject
* obj7
= 0 ;
31532 char *kwnames
[] = {
31533 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
31537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31540 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31541 if (PyErr_Occurred()) SWIG_fail
;
31546 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31552 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31557 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31562 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31563 if (arg7
== NULL
) {
31564 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31569 arg8
= wxString_in_helper(obj7
);
31570 if (arg8
== NULL
) SWIG_fail
;
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31578 wxPyEndAllowThreads(__tstate
);
31579 if (PyErr_Occurred()) SWIG_fail
;
31581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31596 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31597 PyObject
*resultobj
;
31598 wxControl
*arg1
= (wxControl
*) 0 ;
31599 wxCommandEvent
*arg2
= 0 ;
31600 PyObject
* obj0
= 0 ;
31601 PyObject
* obj1
= 0 ;
31602 char *kwnames
[] = {
31603 (char *) "self",(char *) "event", NULL
31606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
31607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31609 if (arg2
== NULL
) {
31610 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31614 (arg1
)->Command(*arg2
);
31616 wxPyEndAllowThreads(__tstate
);
31617 if (PyErr_Occurred()) SWIG_fail
;
31619 Py_INCREF(Py_None
); resultobj
= Py_None
;
31626 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31627 PyObject
*resultobj
;
31628 wxControl
*arg1
= (wxControl
*) 0 ;
31630 PyObject
* obj0
= 0 ;
31631 char *kwnames
[] = {
31632 (char *) "self", NULL
31635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
31636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31639 result
= (arg1
)->GetLabel();
31641 wxPyEndAllowThreads(__tstate
);
31642 if (PyErr_Occurred()) SWIG_fail
;
31646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31657 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31658 PyObject
*resultobj
;
31659 wxControl
*arg1
= (wxControl
*) 0 ;
31660 wxString
*arg2
= 0 ;
31661 bool temp2
= False
;
31662 PyObject
* obj0
= 0 ;
31663 PyObject
* obj1
= 0 ;
31664 char *kwnames
[] = {
31665 (char *) "self",(char *) "label", NULL
31668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31671 arg2
= wxString_in_helper(obj1
);
31672 if (arg2
== NULL
) SWIG_fail
;
31676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31677 (arg1
)->SetLabel((wxString
const &)*arg2
);
31679 wxPyEndAllowThreads(__tstate
);
31680 if (PyErr_Occurred()) SWIG_fail
;
31682 Py_INCREF(Py_None
); resultobj
= Py_None
;
31697 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
31699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31700 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
31702 return Py_BuildValue((char *)"");
31704 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31705 PyObject
*resultobj
;
31706 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31707 wxString
*arg2
= 0 ;
31708 PyObject
*arg3
= (PyObject
*) NULL
;
31710 bool temp2
= False
;
31711 PyObject
* obj0
= 0 ;
31712 PyObject
* obj1
= 0 ;
31713 PyObject
* obj2
= 0 ;
31714 char *kwnames
[] = {
31715 (char *) "self",(char *) "item",(char *) "clientData", NULL
31718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31721 arg2
= wxString_in_helper(obj1
);
31722 if (arg2
== NULL
) SWIG_fail
;
31729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31730 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
31732 wxPyEndAllowThreads(__tstate
);
31733 if (PyErr_Occurred()) SWIG_fail
;
31735 resultobj
= SWIG_PyObj_FromInt((int)result
);
31750 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31751 PyObject
*resultobj
;
31752 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31753 wxArrayString
*arg2
= 0 ;
31754 PyObject
* obj0
= 0 ;
31755 PyObject
* obj1
= 0 ;
31756 char *kwnames
[] = {
31757 (char *) "self",(char *) "strings", NULL
31760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31763 if (! PySequence_Check(obj1
)) {
31764 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
31767 arg2
= new wxArrayString
;
31768 int i
, len
=PySequence_Length(obj1
);
31769 for (i
=0; i
<len
; i
++) {
31770 PyObject
* item
= PySequence_GetItem(obj1
, i
);
31772 PyObject
* str
= PyObject_Unicode(item
);
31774 PyObject
* str
= PyObject_Str(item
);
31776 arg2
->Add(Py2wxString(str
));
31782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31783 (arg1
)->Append((wxArrayString
const &)*arg2
);
31785 wxPyEndAllowThreads(__tstate
);
31786 if (PyErr_Occurred()) SWIG_fail
;
31788 Py_INCREF(Py_None
); resultobj
= Py_None
;
31790 if (arg2
) delete arg2
;
31795 if (arg2
) delete arg2
;
31801 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31802 PyObject
*resultobj
;
31803 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31804 wxString
*arg2
= 0 ;
31806 PyObject
*arg4
= (PyObject
*) NULL
;
31808 bool temp2
= False
;
31809 PyObject
* obj0
= 0 ;
31810 PyObject
* obj1
= 0 ;
31811 PyObject
* obj2
= 0 ;
31812 PyObject
* obj3
= 0 ;
31813 char *kwnames
[] = {
31814 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
31817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31820 arg2
= wxString_in_helper(obj1
);
31821 if (arg2
== NULL
) SWIG_fail
;
31825 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31826 if (PyErr_Occurred()) SWIG_fail
;
31832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31833 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
31835 wxPyEndAllowThreads(__tstate
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31838 resultobj
= SWIG_PyObj_FromInt((int)result
);
31853 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31854 PyObject
*resultobj
;
31855 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31856 PyObject
* obj0
= 0 ;
31857 char *kwnames
[] = {
31858 (char *) "self", NULL
31861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
31862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31867 wxPyEndAllowThreads(__tstate
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31870 Py_INCREF(Py_None
); resultobj
= Py_None
;
31877 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31878 PyObject
*resultobj
;
31879 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31881 PyObject
* obj0
= 0 ;
31882 PyObject
* obj1
= 0 ;
31883 char *kwnames
[] = {
31884 (char *) "self",(char *) "n", NULL
31887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
31888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31890 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31891 if (PyErr_Occurred()) SWIG_fail
;
31894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31895 (arg1
)->Delete(arg2
);
31897 wxPyEndAllowThreads(__tstate
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31900 Py_INCREF(Py_None
); resultobj
= Py_None
;
31907 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31908 PyObject
*resultobj
;
31909 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31911 PyObject
* obj0
= 0 ;
31912 char *kwnames
[] = {
31913 (char *) "self", NULL
31916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
31917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31920 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
31922 wxPyEndAllowThreads(__tstate
);
31923 if (PyErr_Occurred()) SWIG_fail
;
31925 resultobj
= SWIG_PyObj_FromInt((int)result
);
31932 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31933 PyObject
*resultobj
;
31934 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31936 PyObject
* obj0
= 0 ;
31937 char *kwnames
[] = {
31938 (char *) "self", NULL
31941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
31942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31945 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
31947 wxPyEndAllowThreads(__tstate
);
31948 if (PyErr_Occurred()) SWIG_fail
;
31950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31957 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31958 PyObject
*resultobj
;
31959 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31962 PyObject
* obj0
= 0 ;
31963 PyObject
* obj1
= 0 ;
31964 char *kwnames
[] = {
31965 (char *) "self",(char *) "n", NULL
31968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
31969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31971 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31972 if (PyErr_Occurred()) SWIG_fail
;
31975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31976 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
31978 wxPyEndAllowThreads(__tstate
);
31979 if (PyErr_Occurred()) SWIG_fail
;
31983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31994 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31995 PyObject
*resultobj
;
31996 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31997 wxArrayString result
;
31998 PyObject
* obj0
= 0 ;
31999 char *kwnames
[] = {
32000 (char *) "self", NULL
32003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
32004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32007 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
32009 wxPyEndAllowThreads(__tstate
);
32010 if (PyErr_Occurred()) SWIG_fail
;
32013 resultobj
= wxArrayString2PyList_helper(result
);
32021 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32022 PyObject
*resultobj
;
32023 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32025 wxString
*arg3
= 0 ;
32026 bool temp3
= False
;
32027 PyObject
* obj0
= 0 ;
32028 PyObject
* obj1
= 0 ;
32029 PyObject
* obj2
= 0 ;
32030 char *kwnames
[] = {
32031 (char *) "self",(char *) "n",(char *) "s", NULL
32034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32037 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32038 if (PyErr_Occurred()) SWIG_fail
;
32041 arg3
= wxString_in_helper(obj2
);
32042 if (arg3
== NULL
) SWIG_fail
;
32046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32047 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
32049 wxPyEndAllowThreads(__tstate
);
32050 if (PyErr_Occurred()) SWIG_fail
;
32052 Py_INCREF(Py_None
); resultobj
= Py_None
;
32067 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32068 PyObject
*resultobj
;
32069 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32070 wxString
*arg2
= 0 ;
32072 bool temp2
= False
;
32073 PyObject
* obj0
= 0 ;
32074 PyObject
* obj1
= 0 ;
32075 char *kwnames
[] = {
32076 (char *) "self",(char *) "s", NULL
32079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
32080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32082 arg2
= wxString_in_helper(obj1
);
32083 if (arg2
== NULL
) SWIG_fail
;
32087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32088 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
32090 wxPyEndAllowThreads(__tstate
);
32091 if (PyErr_Occurred()) SWIG_fail
;
32093 resultobj
= SWIG_PyObj_FromInt((int)result
);
32108 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32109 PyObject
*resultobj
;
32110 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32112 PyObject
* obj0
= 0 ;
32113 PyObject
* obj1
= 0 ;
32114 char *kwnames
[] = {
32115 (char *) "self",(char *) "n", NULL
32118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
32119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32121 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32122 if (PyErr_Occurred()) SWIG_fail
;
32125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32126 (arg1
)->Select(arg2
);
32128 wxPyEndAllowThreads(__tstate
);
32129 if (PyErr_Occurred()) SWIG_fail
;
32131 Py_INCREF(Py_None
); resultobj
= Py_None
;
32138 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32139 PyObject
*resultobj
;
32140 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32142 PyObject
* obj0
= 0 ;
32143 char *kwnames
[] = {
32144 (char *) "self", NULL
32147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
32148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32151 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
32153 wxPyEndAllowThreads(__tstate
);
32154 if (PyErr_Occurred()) SWIG_fail
;
32156 resultobj
= SWIG_PyObj_FromInt((int)result
);
32163 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32164 PyObject
*resultobj
;
32165 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32167 PyObject
* obj0
= 0 ;
32168 char *kwnames
[] = {
32169 (char *) "self", NULL
32172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
32173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32176 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
32178 wxPyEndAllowThreads(__tstate
);
32179 if (PyErr_Occurred()) SWIG_fail
;
32183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32194 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32195 PyObject
*resultobj
;
32196 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32199 PyObject
* obj0
= 0 ;
32200 PyObject
* obj1
= 0 ;
32201 char *kwnames
[] = {
32202 (char *) "self",(char *) "n", NULL
32205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
32206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32208 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32209 if (PyErr_Occurred()) SWIG_fail
;
32212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32213 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
32215 wxPyEndAllowThreads(__tstate
);
32216 if (PyErr_Occurred()) SWIG_fail
;
32218 resultobj
= result
;
32225 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32226 PyObject
*resultobj
;
32227 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32229 PyObject
*arg3
= (PyObject
*) 0 ;
32230 PyObject
* obj0
= 0 ;
32231 PyObject
* obj1
= 0 ;
32232 PyObject
* obj2
= 0 ;
32233 char *kwnames
[] = {
32234 (char *) "self",(char *) "n",(char *) "clientData", NULL
32237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32240 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32241 if (PyErr_Occurred()) SWIG_fail
;
32245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32246 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
32248 wxPyEndAllowThreads(__tstate
);
32249 if (PyErr_Occurred()) SWIG_fail
;
32251 Py_INCREF(Py_None
); resultobj
= Py_None
;
32258 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
32260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32261 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
32263 return Py_BuildValue((char *)"");
32265 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
32267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32268 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
32270 return Py_BuildValue((char *)"");
32272 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32273 PyObject
*resultobj
;
32274 wxSizerItem
*result
;
32275 char *kwnames
[] = {
32279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
32281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32282 result
= (wxSizerItem
*)new wxSizerItem();
32284 wxPyEndAllowThreads(__tstate
);
32285 if (PyErr_Occurred()) SWIG_fail
;
32287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
32294 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32295 PyObject
*resultobj
;
32301 wxObject
*arg6
= (wxObject
*) 0 ;
32302 wxSizerItem
*result
;
32303 PyObject
* obj0
= 0 ;
32304 PyObject
* obj1
= 0 ;
32305 PyObject
* obj2
= 0 ;
32306 PyObject
* obj3
= 0 ;
32307 PyObject
* obj4
= 0 ;
32308 PyObject
* obj5
= 0 ;
32309 char *kwnames
[] = {
32310 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32315 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
32316 if (PyErr_Occurred()) SWIG_fail
;
32319 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32320 if (PyErr_Occurred()) SWIG_fail
;
32323 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32324 if (PyErr_Occurred()) SWIG_fail
;
32327 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32328 if (PyErr_Occurred()) SWIG_fail
;
32331 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32334 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32337 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
32339 wxPyEndAllowThreads(__tstate
);
32340 if (PyErr_Occurred()) SWIG_fail
;
32342 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
32349 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32350 PyObject
*resultobj
;
32351 wxWindow
*arg1
= (wxWindow
*) 0 ;
32355 wxObject
*arg5
= (wxObject
*) 0 ;
32356 wxSizerItem
*result
;
32357 PyObject
* obj0
= 0 ;
32358 PyObject
* obj1
= 0 ;
32359 PyObject
* obj2
= 0 ;
32360 PyObject
* obj3
= 0 ;
32361 PyObject
* obj4
= 0 ;
32362 char *kwnames
[] = {
32363 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32369 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32370 if (PyErr_Occurred()) SWIG_fail
;
32373 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32377 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32378 if (PyErr_Occurred()) SWIG_fail
;
32380 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32383 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32385 wxPyEndAllowThreads(__tstate
);
32386 if (PyErr_Occurred()) SWIG_fail
;
32388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
32395 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32396 PyObject
*resultobj
;
32397 wxSizer
*arg1
= (wxSizer
*) 0 ;
32401 wxObject
*arg5
= (wxObject
*) 0 ;
32402 wxSizerItem
*result
;
32403 PyObject
* obj0
= 0 ;
32404 PyObject
* obj1
= 0 ;
32405 PyObject
* obj2
= 0 ;
32406 PyObject
* obj3
= 0 ;
32407 PyObject
* obj4
= 0 ;
32408 char *kwnames
[] = {
32409 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32415 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32416 if (PyErr_Occurred()) SWIG_fail
;
32419 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32420 if (PyErr_Occurred()) SWIG_fail
;
32423 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32424 if (PyErr_Occurred()) SWIG_fail
;
32426 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32429 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32431 wxPyEndAllowThreads(__tstate
);
32432 if (PyErr_Occurred()) SWIG_fail
;
32434 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
32441 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32442 PyObject
*resultobj
;
32443 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32444 PyObject
* obj0
= 0 ;
32445 char *kwnames
[] = {
32446 (char *) "self", NULL
32449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
32450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32453 (arg1
)->DeleteWindows();
32455 wxPyEndAllowThreads(__tstate
);
32456 if (PyErr_Occurred()) SWIG_fail
;
32458 Py_INCREF(Py_None
); resultobj
= Py_None
;
32465 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32466 PyObject
*resultobj
;
32467 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32468 PyObject
* obj0
= 0 ;
32469 char *kwnames
[] = {
32470 (char *) "self", NULL
32473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
32474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32477 (arg1
)->DetachSizer();
32479 wxPyEndAllowThreads(__tstate
);
32480 if (PyErr_Occurred()) SWIG_fail
;
32482 Py_INCREF(Py_None
); resultobj
= Py_None
;
32489 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32490 PyObject
*resultobj
;
32491 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32493 PyObject
* obj0
= 0 ;
32494 char *kwnames
[] = {
32495 (char *) "self", NULL
32498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
32499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32502 result
= (arg1
)->GetSize();
32504 wxPyEndAllowThreads(__tstate
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32508 wxSize
* resultptr
;
32509 resultptr
= new wxSize((wxSize
&) result
);
32510 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32518 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32519 PyObject
*resultobj
;
32520 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32522 PyObject
* obj0
= 0 ;
32523 char *kwnames
[] = {
32524 (char *) "self", NULL
32527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
32528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32531 result
= (arg1
)->CalcMin();
32533 wxPyEndAllowThreads(__tstate
);
32534 if (PyErr_Occurred()) SWIG_fail
;
32537 wxSize
* resultptr
;
32538 resultptr
= new wxSize((wxSize
&) result
);
32539 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32547 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32548 PyObject
*resultobj
;
32549 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32554 PyObject
* obj0
= 0 ;
32555 PyObject
* obj1
= 0 ;
32556 PyObject
* obj2
= 0 ;
32557 char *kwnames
[] = {
32558 (char *) "self",(char *) "pos",(char *) "size", NULL
32561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32563 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32565 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32569 (arg1
)->SetDimension(arg2
,arg3
);
32571 wxPyEndAllowThreads(__tstate
);
32572 if (PyErr_Occurred()) SWIG_fail
;
32574 Py_INCREF(Py_None
); resultobj
= Py_None
;
32581 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32582 PyObject
*resultobj
;
32583 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32585 PyObject
* obj0
= 0 ;
32586 char *kwnames
[] = {
32587 (char *) "self", NULL
32590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
32591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32594 result
= (arg1
)->GetMinSize();
32596 wxPyEndAllowThreads(__tstate
);
32597 if (PyErr_Occurred()) SWIG_fail
;
32600 wxSize
* resultptr
;
32601 resultptr
= new wxSize((wxSize
&) result
);
32602 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32610 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32611 PyObject
*resultobj
;
32612 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32615 PyObject
* obj0
= 0 ;
32616 PyObject
* obj1
= 0 ;
32617 PyObject
* obj2
= 0 ;
32618 char *kwnames
[] = {
32619 (char *) "self",(char *) "x",(char *) "y", NULL
32622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32625 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32626 if (PyErr_Occurred()) SWIG_fail
;
32629 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32630 if (PyErr_Occurred()) SWIG_fail
;
32633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32634 (arg1
)->SetInitSize(arg2
,arg3
);
32636 wxPyEndAllowThreads(__tstate
);
32637 if (PyErr_Occurred()) SWIG_fail
;
32639 Py_INCREF(Py_None
); resultobj
= Py_None
;
32646 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32647 PyObject
*resultobj
;
32648 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32651 PyObject
* obj0
= 0 ;
32652 PyObject
* obj1
= 0 ;
32653 PyObject
* obj2
= 0 ;
32654 char *kwnames
[] = {
32655 (char *) "self",(char *) "width",(char *) "height", NULL
32658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32661 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32662 if (PyErr_Occurred()) SWIG_fail
;
32665 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32666 if (PyErr_Occurred()) SWIG_fail
;
32669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32670 (arg1
)->SetRatio(arg2
,arg3
);
32672 wxPyEndAllowThreads(__tstate
);
32673 if (PyErr_Occurred()) SWIG_fail
;
32675 Py_INCREF(Py_None
); resultobj
= Py_None
;
32682 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32683 PyObject
*resultobj
;
32684 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32687 PyObject
* obj0
= 0 ;
32688 PyObject
* obj1
= 0 ;
32689 char *kwnames
[] = {
32690 (char *) "self",(char *) "size", NULL
32693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32695 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32699 (arg1
)->SetRatio(arg2
);
32701 wxPyEndAllowThreads(__tstate
);
32702 if (PyErr_Occurred()) SWIG_fail
;
32704 Py_INCREF(Py_None
); resultobj
= Py_None
;
32711 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32712 PyObject
*resultobj
;
32713 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32715 PyObject
* obj0
= 0 ;
32716 PyObject
* obj1
= 0 ;
32717 char *kwnames
[] = {
32718 (char *) "self",(char *) "ratio", NULL
32721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
32722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32724 arg2
= (float) SWIG_PyObj_AsFloat(obj1
);
32725 if (PyErr_Occurred()) SWIG_fail
;
32728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32729 (arg1
)->SetRatio(arg2
);
32731 wxPyEndAllowThreads(__tstate
);
32732 if (PyErr_Occurred()) SWIG_fail
;
32734 Py_INCREF(Py_None
); resultobj
= Py_None
;
32741 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32742 PyObject
*resultobj
;
32743 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32745 PyObject
* obj0
= 0 ;
32746 char *kwnames
[] = {
32747 (char *) "self", NULL
32750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
32751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32754 result
= (float)(arg1
)->GetRatio();
32756 wxPyEndAllowThreads(__tstate
);
32757 if (PyErr_Occurred()) SWIG_fail
;
32759 resultobj
= SWIG_PyObj_FromFloat((float)result
);
32766 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32767 PyObject
*resultobj
;
32768 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32770 PyObject
* obj0
= 0 ;
32771 char *kwnames
[] = {
32772 (char *) "self", NULL
32775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
32776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32779 result
= (bool)(arg1
)->IsWindow();
32781 wxPyEndAllowThreads(__tstate
);
32782 if (PyErr_Occurred()) SWIG_fail
;
32784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32791 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32792 PyObject
*resultobj
;
32793 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32795 PyObject
* obj0
= 0 ;
32796 char *kwnames
[] = {
32797 (char *) "self", NULL
32800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
32801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32804 result
= (bool)(arg1
)->IsSizer();
32806 wxPyEndAllowThreads(__tstate
);
32807 if (PyErr_Occurred()) SWIG_fail
;
32809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32816 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32817 PyObject
*resultobj
;
32818 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32820 PyObject
* obj0
= 0 ;
32821 char *kwnames
[] = {
32822 (char *) "self", NULL
32825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
32826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32829 result
= (bool)(arg1
)->IsSpacer();
32831 wxPyEndAllowThreads(__tstate
);
32832 if (PyErr_Occurred()) SWIG_fail
;
32834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32841 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32842 PyObject
*resultobj
;
32843 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32845 PyObject
* obj0
= 0 ;
32846 PyObject
* obj1
= 0 ;
32847 char *kwnames
[] = {
32848 (char *) "self",(char *) "proportion", NULL
32851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
32852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32854 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32855 if (PyErr_Occurred()) SWIG_fail
;
32858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32859 (arg1
)->SetProportion(arg2
);
32861 wxPyEndAllowThreads(__tstate
);
32862 if (PyErr_Occurred()) SWIG_fail
;
32864 Py_INCREF(Py_None
); resultobj
= Py_None
;
32871 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32872 PyObject
*resultobj
;
32873 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32875 PyObject
* obj0
= 0 ;
32876 char *kwnames
[] = {
32877 (char *) "self", NULL
32880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
32881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32884 result
= (int)(arg1
)->GetProportion();
32886 wxPyEndAllowThreads(__tstate
);
32887 if (PyErr_Occurred()) SWIG_fail
;
32889 resultobj
= SWIG_PyObj_FromInt((int)result
);
32896 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32897 PyObject
*resultobj
;
32898 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32900 PyObject
* obj0
= 0 ;
32901 PyObject
* obj1
= 0 ;
32902 char *kwnames
[] = {
32903 (char *) "self",(char *) "flag", NULL
32906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
32907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32909 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32910 if (PyErr_Occurred()) SWIG_fail
;
32913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32914 (arg1
)->SetFlag(arg2
);
32916 wxPyEndAllowThreads(__tstate
);
32917 if (PyErr_Occurred()) SWIG_fail
;
32919 Py_INCREF(Py_None
); resultobj
= Py_None
;
32926 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32927 PyObject
*resultobj
;
32928 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32930 PyObject
* obj0
= 0 ;
32931 char *kwnames
[] = {
32932 (char *) "self", NULL
32935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
32936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32939 result
= (int)(arg1
)->GetFlag();
32941 wxPyEndAllowThreads(__tstate
);
32942 if (PyErr_Occurred()) SWIG_fail
;
32944 resultobj
= SWIG_PyObj_FromInt((int)result
);
32951 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32952 PyObject
*resultobj
;
32953 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32955 PyObject
* obj0
= 0 ;
32956 PyObject
* obj1
= 0 ;
32957 char *kwnames
[] = {
32958 (char *) "self",(char *) "border", NULL
32961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
32962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32964 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32965 if (PyErr_Occurred()) SWIG_fail
;
32968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32969 (arg1
)->SetBorder(arg2
);
32971 wxPyEndAllowThreads(__tstate
);
32972 if (PyErr_Occurred()) SWIG_fail
;
32974 Py_INCREF(Py_None
); resultobj
= Py_None
;
32981 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32982 PyObject
*resultobj
;
32983 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32985 PyObject
* obj0
= 0 ;
32986 char *kwnames
[] = {
32987 (char *) "self", NULL
32990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
32991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32994 result
= (int)(arg1
)->GetBorder();
32996 wxPyEndAllowThreads(__tstate
);
32997 if (PyErr_Occurred()) SWIG_fail
;
32999 resultobj
= SWIG_PyObj_FromInt((int)result
);
33006 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33007 PyObject
*resultobj
;
33008 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33010 PyObject
* obj0
= 0 ;
33011 char *kwnames
[] = {
33012 (char *) "self", NULL
33015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
33016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33019 result
= (wxWindow
*)(arg1
)->GetWindow();
33021 wxPyEndAllowThreads(__tstate
);
33022 if (PyErr_Occurred()) SWIG_fail
;
33025 resultobj
= wxPyMake_wxObject(result
);
33033 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33034 PyObject
*resultobj
;
33035 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33036 wxWindow
*arg2
= (wxWindow
*) 0 ;
33037 PyObject
* obj0
= 0 ;
33038 PyObject
* obj1
= 0 ;
33039 char *kwnames
[] = {
33040 (char *) "self",(char *) "window", NULL
33043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33045 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33048 (arg1
)->SetWindow(arg2
);
33050 wxPyEndAllowThreads(__tstate
);
33051 if (PyErr_Occurred()) SWIG_fail
;
33053 Py_INCREF(Py_None
); resultobj
= Py_None
;
33060 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33061 PyObject
*resultobj
;
33062 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33064 PyObject
* obj0
= 0 ;
33065 char *kwnames
[] = {
33066 (char *) "self", NULL
33069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
33070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33073 result
= (wxSizer
*)(arg1
)->GetSizer();
33075 wxPyEndAllowThreads(__tstate
);
33076 if (PyErr_Occurred()) SWIG_fail
;
33079 resultobj
= wxPyMake_wxSizer(result
);
33087 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33088 PyObject
*resultobj
;
33089 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33090 wxSizer
*arg2
= (wxSizer
*) 0 ;
33091 PyObject
* obj0
= 0 ;
33092 PyObject
* obj1
= 0 ;
33093 char *kwnames
[] = {
33094 (char *) "self",(char *) "sizer", NULL
33097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33099 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33102 (arg1
)->SetSizer(arg2
);
33104 wxPyEndAllowThreads(__tstate
);
33105 if (PyErr_Occurred()) SWIG_fail
;
33107 Py_INCREF(Py_None
); resultobj
= Py_None
;
33114 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33115 PyObject
*resultobj
;
33116 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33118 PyObject
* obj0
= 0 ;
33119 char *kwnames
[] = {
33120 (char *) "self", NULL
33123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
33124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
33129 result
= (wxSize
*) &_result_ref
;
33132 wxPyEndAllowThreads(__tstate
);
33133 if (PyErr_Occurred()) SWIG_fail
;
33135 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
33142 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33143 PyObject
*resultobj
;
33144 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33147 PyObject
* obj0
= 0 ;
33148 PyObject
* obj1
= 0 ;
33149 char *kwnames
[] = {
33150 (char *) "self",(char *) "size", NULL
33153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
33154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33157 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33161 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
33163 wxPyEndAllowThreads(__tstate
);
33164 if (PyErr_Occurred()) SWIG_fail
;
33166 Py_INCREF(Py_None
); resultobj
= Py_None
;
33173 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33174 PyObject
*resultobj
;
33175 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33177 PyObject
* obj0
= 0 ;
33178 PyObject
* obj1
= 0 ;
33179 char *kwnames
[] = {
33180 (char *) "self",(char *) "show", NULL
33183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
33184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33186 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
33187 if (PyErr_Occurred()) SWIG_fail
;
33190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33191 (arg1
)->Show(arg2
);
33193 wxPyEndAllowThreads(__tstate
);
33194 if (PyErr_Occurred()) SWIG_fail
;
33196 Py_INCREF(Py_None
); resultobj
= Py_None
;
33203 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33204 PyObject
*resultobj
;
33205 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33207 PyObject
* obj0
= 0 ;
33208 char *kwnames
[] = {
33209 (char *) "self", NULL
33212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
33213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33216 result
= (bool)(arg1
)->IsShown();
33218 wxPyEndAllowThreads(__tstate
);
33219 if (PyErr_Occurred()) SWIG_fail
;
33221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33228 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33229 PyObject
*resultobj
;
33230 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33232 PyObject
* obj0
= 0 ;
33233 char *kwnames
[] = {
33234 (char *) "self", NULL
33237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
33238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33241 result
= (arg1
)->GetPosition();
33243 wxPyEndAllowThreads(__tstate
);
33244 if (PyErr_Occurred()) SWIG_fail
;
33247 wxPoint
* resultptr
;
33248 resultptr
= new wxPoint((wxPoint
&) result
);
33249 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
33257 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33258 PyObject
*resultobj
;
33259 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33261 PyObject
* obj0
= 0 ;
33262 char *kwnames
[] = {
33263 (char *) "self", NULL
33266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
33267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33270 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
33272 wxPyEndAllowThreads(__tstate
);
33273 if (PyErr_Occurred()) SWIG_fail
;
33275 resultobj
= result
;
33282 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
33284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33285 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
33287 return Py_BuildValue((char *)"");
33289 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33290 PyObject
*resultobj
;
33291 wxSizer
*arg1
= (wxSizer
*) 0 ;
33292 PyObject
*arg2
= (PyObject
*) 0 ;
33293 PyObject
* obj0
= 0 ;
33294 PyObject
* obj1
= 0 ;
33295 char *kwnames
[] = {
33296 (char *) "self",(char *) "_self", NULL
33299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
33300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33304 wxSizer__setOORInfo(arg1
,arg2
);
33306 wxPyEndAllowThreads(__tstate
);
33307 if (PyErr_Occurred()) SWIG_fail
;
33309 Py_INCREF(Py_None
); resultobj
= Py_None
;
33316 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33317 PyObject
*resultobj
;
33318 wxSizer
*arg1
= (wxSizer
*) 0 ;
33319 PyObject
*arg2
= (PyObject
*) 0 ;
33320 int arg3
= (int) 0 ;
33321 int arg4
= (int) 0 ;
33322 int arg5
= (int) 0 ;
33323 PyObject
*arg6
= (PyObject
*) NULL
;
33324 PyObject
* obj0
= 0 ;
33325 PyObject
* obj1
= 0 ;
33326 PyObject
* obj2
= 0 ;
33327 PyObject
* obj3
= 0 ;
33328 PyObject
* obj4
= 0 ;
33329 PyObject
* obj5
= 0 ;
33330 char *kwnames
[] = {
33331 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33339 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
33340 if (PyErr_Occurred()) SWIG_fail
;
33345 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33346 if (PyErr_Occurred()) SWIG_fail
;
33351 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33352 if (PyErr_Occurred()) SWIG_fail
;
33359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33360 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33362 wxPyEndAllowThreads(__tstate
);
33363 if (PyErr_Occurred()) SWIG_fail
;
33365 Py_INCREF(Py_None
); resultobj
= Py_None
;
33372 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33373 PyObject
*resultobj
;
33374 wxSizer
*arg1
= (wxSizer
*) 0 ;
33376 PyObject
*arg3
= (PyObject
*) 0 ;
33377 int arg4
= (int) 0 ;
33378 int arg5
= (int) 0 ;
33379 int arg6
= (int) 0 ;
33380 PyObject
*arg7
= (PyObject
*) NULL
;
33381 PyObject
* obj0
= 0 ;
33382 PyObject
* obj1
= 0 ;
33383 PyObject
* obj2
= 0 ;
33384 PyObject
* obj3
= 0 ;
33385 PyObject
* obj4
= 0 ;
33386 PyObject
* obj5
= 0 ;
33387 PyObject
* obj6
= 0 ;
33388 char *kwnames
[] = {
33389 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33395 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
33396 if (PyErr_Occurred()) SWIG_fail
;
33401 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33402 if (PyErr_Occurred()) SWIG_fail
;
33407 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33408 if (PyErr_Occurred()) SWIG_fail
;
33413 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
33414 if (PyErr_Occurred()) SWIG_fail
;
33421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33422 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33424 wxPyEndAllowThreads(__tstate
);
33425 if (PyErr_Occurred()) SWIG_fail
;
33427 Py_INCREF(Py_None
); resultobj
= Py_None
;
33434 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33435 PyObject
*resultobj
;
33436 wxSizer
*arg1
= (wxSizer
*) 0 ;
33437 PyObject
*arg2
= (PyObject
*) 0 ;
33438 int arg3
= (int) 0 ;
33439 int arg4
= (int) 0 ;
33440 int arg5
= (int) 0 ;
33441 PyObject
*arg6
= (PyObject
*) NULL
;
33442 PyObject
* obj0
= 0 ;
33443 PyObject
* obj1
= 0 ;
33444 PyObject
* obj2
= 0 ;
33445 PyObject
* obj3
= 0 ;
33446 PyObject
* obj4
= 0 ;
33447 PyObject
* obj5
= 0 ;
33448 char *kwnames
[] = {
33449 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33457 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
33458 if (PyErr_Occurred()) SWIG_fail
;
33463 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33464 if (PyErr_Occurred()) SWIG_fail
;
33469 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33470 if (PyErr_Occurred()) SWIG_fail
;
33477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33478 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33480 wxPyEndAllowThreads(__tstate
);
33481 if (PyErr_Occurred()) SWIG_fail
;
33483 Py_INCREF(Py_None
); resultobj
= Py_None
;
33490 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33491 PyObject
*resultobj
;
33492 wxSizer
*arg1
= (wxSizer
*) 0 ;
33493 PyObject
*arg2
= (PyObject
*) 0 ;
33495 PyObject
* obj0
= 0 ;
33496 PyObject
* obj1
= 0 ;
33497 char *kwnames
[] = {
33498 (char *) "self",(char *) "item", NULL
33501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33506 result
= (bool)wxSizer_Remove(arg1
,arg2
);
33508 wxPyEndAllowThreads(__tstate
);
33509 if (PyErr_Occurred()) SWIG_fail
;
33511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33518 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33519 PyObject
*resultobj
;
33520 wxSizer
*arg1
= (wxSizer
*) 0 ;
33521 PyObject
*arg2
= (PyObject
*) 0 ;
33524 PyObject
* obj0
= 0 ;
33525 PyObject
* obj1
= 0 ;
33526 PyObject
* obj2
= 0 ;
33527 char *kwnames
[] = {
33528 (char *) "self",(char *) "item",(char *) "size", NULL
33531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33536 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33540 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
33542 wxPyEndAllowThreads(__tstate
);
33543 if (PyErr_Occurred()) SWIG_fail
;
33545 Py_INCREF(Py_None
); resultobj
= Py_None
;
33552 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33553 PyObject
*resultobj
;
33554 wxSizer
*arg1
= (wxSizer
*) 0 ;
33555 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33556 PyObject
* obj0
= 0 ;
33557 PyObject
* obj1
= 0 ;
33558 char *kwnames
[] = {
33559 (char *) "self",(char *) "item", NULL
33562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33564 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33569 wxPyEndAllowThreads(__tstate
);
33570 if (PyErr_Occurred()) SWIG_fail
;
33572 Py_INCREF(Py_None
); resultobj
= Py_None
;
33579 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33580 PyObject
*resultobj
;
33581 wxSizer
*arg1
= (wxSizer
*) 0 ;
33583 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
33584 PyObject
* obj0
= 0 ;
33585 PyObject
* obj1
= 0 ;
33586 PyObject
* obj2
= 0 ;
33587 char *kwnames
[] = {
33588 (char *) "self",(char *) "index",(char *) "item", NULL
33591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33594 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
33595 if (PyErr_Occurred()) SWIG_fail
;
33597 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33600 (arg1
)->Insert(arg2
,arg3
);
33602 wxPyEndAllowThreads(__tstate
);
33603 if (PyErr_Occurred()) SWIG_fail
;
33605 Py_INCREF(Py_None
); resultobj
= Py_None
;
33612 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33613 PyObject
*resultobj
;
33614 wxSizer
*arg1
= (wxSizer
*) 0 ;
33615 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33616 PyObject
* obj0
= 0 ;
33617 PyObject
* obj1
= 0 ;
33618 char *kwnames
[] = {
33619 (char *) "self",(char *) "item", NULL
33622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33624 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33627 (arg1
)->Prepend(arg2
);
33629 wxPyEndAllowThreads(__tstate
);
33630 if (PyErr_Occurred()) SWIG_fail
;
33632 Py_INCREF(Py_None
); resultobj
= Py_None
;
33639 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33640 PyObject
*resultobj
;
33641 wxSizer
*arg1
= (wxSizer
*) 0 ;
33646 PyObject
* obj0
= 0 ;
33647 PyObject
* obj1
= 0 ;
33648 PyObject
* obj2
= 0 ;
33649 PyObject
* obj3
= 0 ;
33650 PyObject
* obj4
= 0 ;
33651 char *kwnames
[] = {
33652 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33658 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
33659 if (PyErr_Occurred()) SWIG_fail
;
33662 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
33663 if (PyErr_Occurred()) SWIG_fail
;
33666 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33667 if (PyErr_Occurred()) SWIG_fail
;
33670 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33671 if (PyErr_Occurred()) SWIG_fail
;
33674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33675 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
33677 wxPyEndAllowThreads(__tstate
);
33678 if (PyErr_Occurred()) SWIG_fail
;
33680 Py_INCREF(Py_None
); resultobj
= Py_None
;
33687 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33688 PyObject
*resultobj
;
33689 wxSizer
*arg1
= (wxSizer
*) 0 ;
33692 PyObject
* obj0
= 0 ;
33693 PyObject
* obj1
= 0 ;
33694 char *kwnames
[] = {
33695 (char *) "self",(char *) "size", NULL
33698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33702 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33706 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
33708 wxPyEndAllowThreads(__tstate
);
33709 if (PyErr_Occurred()) SWIG_fail
;
33711 Py_INCREF(Py_None
); resultobj
= Py_None
;
33718 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33719 PyObject
*resultobj
;
33720 wxSizer
*arg1
= (wxSizer
*) 0 ;
33722 PyObject
* obj0
= 0 ;
33723 char *kwnames
[] = {
33724 (char *) "self", NULL
33727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
33728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33731 result
= (arg1
)->GetSize();
33733 wxPyEndAllowThreads(__tstate
);
33734 if (PyErr_Occurred()) SWIG_fail
;
33737 wxSize
* resultptr
;
33738 resultptr
= new wxSize((wxSize
&) result
);
33739 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33747 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33748 PyObject
*resultobj
;
33749 wxSizer
*arg1
= (wxSizer
*) 0 ;
33751 PyObject
* obj0
= 0 ;
33752 char *kwnames
[] = {
33753 (char *) "self", NULL
33756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
33757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33760 result
= (arg1
)->GetPosition();
33762 wxPyEndAllowThreads(__tstate
);
33763 if (PyErr_Occurred()) SWIG_fail
;
33766 wxPoint
* resultptr
;
33767 resultptr
= new wxPoint((wxPoint
&) result
);
33768 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
33776 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33777 PyObject
*resultobj
;
33778 wxSizer
*arg1
= (wxSizer
*) 0 ;
33780 PyObject
* obj0
= 0 ;
33781 char *kwnames
[] = {
33782 (char *) "self", NULL
33785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
33786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33789 result
= (arg1
)->GetMinSize();
33791 wxPyEndAllowThreads(__tstate
);
33792 if (PyErr_Occurred()) SWIG_fail
;
33795 wxSize
* resultptr
;
33796 resultptr
= new wxSize((wxSize
&) result
);
33797 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33805 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33806 PyObject
*resultobj
;
33807 wxSizer
*arg1
= (wxSizer
*) 0 ;
33808 PyObject
* obj0
= 0 ;
33809 char *kwnames
[] = {
33810 (char *) "self", NULL
33813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
33814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33817 (arg1
)->RecalcSizes();
33819 wxPyEndAllowThreads(__tstate
);
33820 if (PyErr_Occurred()) SWIG_fail
;
33822 Py_INCREF(Py_None
); resultobj
= Py_None
;
33829 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33830 PyObject
*resultobj
;
33831 wxSizer
*arg1
= (wxSizer
*) 0 ;
33833 PyObject
* obj0
= 0 ;
33834 char *kwnames
[] = {
33835 (char *) "self", NULL
33838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
33839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33842 result
= (arg1
)->CalcMin();
33844 wxPyEndAllowThreads(__tstate
);
33845 if (PyErr_Occurred()) SWIG_fail
;
33848 wxSize
* resultptr
;
33849 resultptr
= new wxSize((wxSize
&) result
);
33850 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33858 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33859 PyObject
*resultobj
;
33860 wxSizer
*arg1
= (wxSizer
*) 0 ;
33861 PyObject
* obj0
= 0 ;
33862 char *kwnames
[] = {
33863 (char *) "self", NULL
33866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
33867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33872 wxPyEndAllowThreads(__tstate
);
33873 if (PyErr_Occurred()) SWIG_fail
;
33875 Py_INCREF(Py_None
); resultobj
= Py_None
;
33882 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33883 PyObject
*resultobj
;
33884 wxSizer
*arg1
= (wxSizer
*) 0 ;
33885 wxWindow
*arg2
= (wxWindow
*) 0 ;
33887 PyObject
* obj0
= 0 ;
33888 PyObject
* obj1
= 0 ;
33889 char *kwnames
[] = {
33890 (char *) "self",(char *) "window", NULL
33893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
33894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33895 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33898 result
= (arg1
)->Fit(arg2
);
33900 wxPyEndAllowThreads(__tstate
);
33901 if (PyErr_Occurred()) SWIG_fail
;
33904 wxSize
* resultptr
;
33905 resultptr
= new wxSize((wxSize
&) result
);
33906 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33914 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33915 PyObject
*resultobj
;
33916 wxSizer
*arg1
= (wxSizer
*) 0 ;
33917 wxWindow
*arg2
= (wxWindow
*) 0 ;
33918 PyObject
* obj0
= 0 ;
33919 PyObject
* obj1
= 0 ;
33920 char *kwnames
[] = {
33921 (char *) "self",(char *) "window", NULL
33924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
33925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33926 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33929 (arg1
)->FitInside(arg2
);
33931 wxPyEndAllowThreads(__tstate
);
33932 if (PyErr_Occurred()) SWIG_fail
;
33934 Py_INCREF(Py_None
); resultobj
= Py_None
;
33941 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33942 PyObject
*resultobj
;
33943 wxSizer
*arg1
= (wxSizer
*) 0 ;
33944 wxWindow
*arg2
= (wxWindow
*) 0 ;
33945 PyObject
* obj0
= 0 ;
33946 PyObject
* obj1
= 0 ;
33947 char *kwnames
[] = {
33948 (char *) "self",(char *) "window", NULL
33951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33953 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33956 (arg1
)->SetSizeHints(arg2
);
33958 wxPyEndAllowThreads(__tstate
);
33959 if (PyErr_Occurred()) SWIG_fail
;
33961 Py_INCREF(Py_None
); resultobj
= Py_None
;
33968 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33969 PyObject
*resultobj
;
33970 wxSizer
*arg1
= (wxSizer
*) 0 ;
33971 wxWindow
*arg2
= (wxWindow
*) 0 ;
33972 PyObject
* obj0
= 0 ;
33973 PyObject
* obj1
= 0 ;
33974 char *kwnames
[] = {
33975 (char *) "self",(char *) "window", NULL
33978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33980 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33983 (arg1
)->SetVirtualSizeHints(arg2
);
33985 wxPyEndAllowThreads(__tstate
);
33986 if (PyErr_Occurred()) SWIG_fail
;
33988 Py_INCREF(Py_None
); resultobj
= Py_None
;
33995 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33996 PyObject
*resultobj
;
33997 wxSizer
*arg1
= (wxSizer
*) 0 ;
33998 bool arg2
= (bool) False
;
33999 PyObject
* obj0
= 0 ;
34000 PyObject
* obj1
= 0 ;
34001 char *kwnames
[] = {
34002 (char *) "self",(char *) "delete_windows", NULL
34005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
34006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34009 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
34010 if (PyErr_Occurred()) SWIG_fail
;
34014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34015 (arg1
)->Clear(arg2
);
34017 wxPyEndAllowThreads(__tstate
);
34018 if (PyErr_Occurred()) SWIG_fail
;
34020 Py_INCREF(Py_None
); resultobj
= Py_None
;
34027 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34028 PyObject
*resultobj
;
34029 wxSizer
*arg1
= (wxSizer
*) 0 ;
34030 PyObject
* obj0
= 0 ;
34031 char *kwnames
[] = {
34032 (char *) "self", NULL
34035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34039 (arg1
)->DeleteWindows();
34041 wxPyEndAllowThreads(__tstate
);
34042 if (PyErr_Occurred()) SWIG_fail
;
34044 Py_INCREF(Py_None
); resultobj
= Py_None
;
34051 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34052 PyObject
*resultobj
;
34053 wxSizer
*arg1
= (wxSizer
*) 0 ;
34055 PyObject
* obj0
= 0 ;
34056 char *kwnames
[] = {
34057 (char *) "self", NULL
34060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
34061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34064 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
34066 wxPyEndAllowThreads(__tstate
);
34067 if (PyErr_Occurred()) SWIG_fail
;
34069 resultobj
= result
;
34076 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34077 PyObject
*resultobj
;
34078 wxSizer
*arg1
= (wxSizer
*) 0 ;
34079 PyObject
*arg2
= (PyObject
*) 0 ;
34080 bool arg3
= (bool) True
;
34081 PyObject
* obj0
= 0 ;
34082 PyObject
* obj1
= 0 ;
34083 PyObject
* obj2
= 0 ;
34084 char *kwnames
[] = {
34085 (char *) "self",(char *) "item",(char *) "show", NULL
34088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34093 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
34094 if (PyErr_Occurred()) SWIG_fail
;
34098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34099 wxSizer_Show(arg1
,arg2
,arg3
);
34101 wxPyEndAllowThreads(__tstate
);
34102 if (PyErr_Occurred()) SWIG_fail
;
34104 Py_INCREF(Py_None
); resultobj
= Py_None
;
34111 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34112 PyObject
*resultobj
;
34113 wxSizer
*arg1
= (wxSizer
*) 0 ;
34114 PyObject
*arg2
= (PyObject
*) 0 ;
34115 PyObject
* obj0
= 0 ;
34116 PyObject
* obj1
= 0 ;
34117 char *kwnames
[] = {
34118 (char *) "self",(char *) "item", NULL
34121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
34122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34126 wxSizer_Hide(arg1
,arg2
);
34128 wxPyEndAllowThreads(__tstate
);
34129 if (PyErr_Occurred()) SWIG_fail
;
34131 Py_INCREF(Py_None
); resultobj
= Py_None
;
34138 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34139 PyObject
*resultobj
;
34140 wxSizer
*arg1
= (wxSizer
*) 0 ;
34141 PyObject
*arg2
= (PyObject
*) 0 ;
34143 PyObject
* obj0
= 0 ;
34144 PyObject
* obj1
= 0 ;
34145 char *kwnames
[] = {
34146 (char *) "self",(char *) "item", NULL
34149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
34150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34154 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
34156 wxPyEndAllowThreads(__tstate
);
34157 if (PyErr_Occurred()) SWIG_fail
;
34159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34166 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34167 PyObject
*resultobj
;
34168 wxSizer
*arg1
= (wxSizer
*) 0 ;
34170 PyObject
* obj0
= 0 ;
34171 PyObject
* obj1
= 0 ;
34172 char *kwnames
[] = {
34173 (char *) "self",(char *) "show", NULL
34176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34179 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
34180 if (PyErr_Occurred()) SWIG_fail
;
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 (arg1
)->ShowItems(arg2
);
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34189 Py_INCREF(Py_None
); resultobj
= Py_None
;
34196 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
34198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34199 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
34201 return Py_BuildValue((char *)"");
34203 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34204 PyObject
*resultobj
;
34206 char *kwnames
[] = {
34210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
34212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34213 result
= (wxPySizer
*)new wxPySizer();
34215 wxPyEndAllowThreads(__tstate
);
34216 if (PyErr_Occurred()) SWIG_fail
;
34218 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
34225 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34226 PyObject
*resultobj
;
34227 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
34228 PyObject
*arg2
= (PyObject
*) 0 ;
34229 PyObject
*arg3
= (PyObject
*) 0 ;
34230 PyObject
* obj0
= 0 ;
34231 PyObject
* obj1
= 0 ;
34232 PyObject
* obj2
= 0 ;
34233 char *kwnames
[] = {
34234 (char *) "self",(char *) "self",(char *) "_class", NULL
34237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34243 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34245 wxPyEndAllowThreads(__tstate
);
34246 if (PyErr_Occurred()) SWIG_fail
;
34248 Py_INCREF(Py_None
); resultobj
= Py_None
;
34255 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
34257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34258 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
34260 return Py_BuildValue((char *)"");
34262 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34263 PyObject
*resultobj
;
34264 int arg1
= (int) wxHORIZONTAL
;
34265 wxBoxSizer
*result
;
34266 PyObject
* obj0
= 0 ;
34267 char *kwnames
[] = {
34268 (char *) "orient", NULL
34271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
34274 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34275 if (PyErr_Occurred()) SWIG_fail
;
34279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34280 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
34282 wxPyEndAllowThreads(__tstate
);
34283 if (PyErr_Occurred()) SWIG_fail
;
34285 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
34292 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34293 PyObject
*resultobj
;
34294 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34296 PyObject
* obj0
= 0 ;
34297 char *kwnames
[] = {
34298 (char *) "self", NULL
34301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
34302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34305 result
= (int)(arg1
)->GetOrientation();
34307 wxPyEndAllowThreads(__tstate
);
34308 if (PyErr_Occurred()) SWIG_fail
;
34310 resultobj
= SWIG_PyObj_FromInt((int)result
);
34317 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34318 PyObject
*resultobj
;
34319 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34321 PyObject
* obj0
= 0 ;
34322 PyObject
* obj1
= 0 ;
34323 char *kwnames
[] = {
34324 (char *) "self",(char *) "orient", NULL
34327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
34328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34330 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34331 if (PyErr_Occurred()) SWIG_fail
;
34334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34335 (arg1
)->SetOrientation(arg2
);
34337 wxPyEndAllowThreads(__tstate
);
34338 if (PyErr_Occurred()) SWIG_fail
;
34340 Py_INCREF(Py_None
); resultobj
= Py_None
;
34347 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34348 PyObject
*resultobj
;
34349 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34350 PyObject
* obj0
= 0 ;
34351 char *kwnames
[] = {
34352 (char *) "self", NULL
34355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34359 (arg1
)->RecalcSizes();
34361 wxPyEndAllowThreads(__tstate
);
34362 if (PyErr_Occurred()) SWIG_fail
;
34364 Py_INCREF(Py_None
); resultobj
= Py_None
;
34371 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34372 PyObject
*resultobj
;
34373 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34375 PyObject
* obj0
= 0 ;
34376 char *kwnames
[] = {
34377 (char *) "self", NULL
34380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34384 result
= (arg1
)->CalcMin();
34386 wxPyEndAllowThreads(__tstate
);
34387 if (PyErr_Occurred()) SWIG_fail
;
34390 wxSize
* resultptr
;
34391 resultptr
= new wxSize((wxSize
&) result
);
34392 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34400 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34403 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
34405 return Py_BuildValue((char *)"");
34407 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34408 PyObject
*resultobj
;
34409 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
34410 int arg2
= (int) wxHORIZONTAL
;
34411 wxStaticBoxSizer
*result
;
34412 PyObject
* obj0
= 0 ;
34413 PyObject
* obj1
= 0 ;
34414 char *kwnames
[] = {
34415 (char *) "box",(char *) "orient", NULL
34418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34422 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34423 if (PyErr_Occurred()) SWIG_fail
;
34427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34428 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
34430 wxPyEndAllowThreads(__tstate
);
34431 if (PyErr_Occurred()) SWIG_fail
;
34433 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
34440 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34441 PyObject
*resultobj
;
34442 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34443 wxStaticBox
*result
;
34444 PyObject
* obj0
= 0 ;
34445 char *kwnames
[] = {
34446 (char *) "self", NULL
34449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
34450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34453 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
34455 wxPyEndAllowThreads(__tstate
);
34456 if (PyErr_Occurred()) SWIG_fail
;
34459 resultobj
= wxPyMake_wxObject(result
);
34467 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34468 PyObject
*resultobj
;
34469 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34470 PyObject
* obj0
= 0 ;
34471 char *kwnames
[] = {
34472 (char *) "self", NULL
34475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34479 (arg1
)->RecalcSizes();
34481 wxPyEndAllowThreads(__tstate
);
34482 if (PyErr_Occurred()) SWIG_fail
;
34484 Py_INCREF(Py_None
); resultobj
= Py_None
;
34491 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34492 PyObject
*resultobj
;
34493 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34495 PyObject
* obj0
= 0 ;
34496 char *kwnames
[] = {
34497 (char *) "self", NULL
34500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34504 result
= (arg1
)->CalcMin();
34506 wxPyEndAllowThreads(__tstate
);
34507 if (PyErr_Occurred()) SWIG_fail
;
34510 wxSize
* resultptr
;
34511 resultptr
= new wxSize((wxSize
&) result
);
34512 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34520 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34523 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
34525 return Py_BuildValue((char *)"");
34527 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34528 PyObject
*resultobj
;
34529 int arg1
= (int) 1 ;
34530 int arg2
= (int) 0 ;
34531 int arg3
= (int) 0 ;
34532 int arg4
= (int) 0 ;
34533 wxGridSizer
*result
;
34534 PyObject
* obj0
= 0 ;
34535 PyObject
* obj1
= 0 ;
34536 PyObject
* obj2
= 0 ;
34537 PyObject
* obj3
= 0 ;
34538 char *kwnames
[] = {
34539 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34545 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34546 if (PyErr_Occurred()) SWIG_fail
;
34551 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34552 if (PyErr_Occurred()) SWIG_fail
;
34557 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34558 if (PyErr_Occurred()) SWIG_fail
;
34563 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
34564 if (PyErr_Occurred()) SWIG_fail
;
34568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34569 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
34571 wxPyEndAllowThreads(__tstate
);
34572 if (PyErr_Occurred()) SWIG_fail
;
34574 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
34581 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34582 PyObject
*resultobj
;
34583 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34584 PyObject
* obj0
= 0 ;
34585 char *kwnames
[] = {
34586 (char *) "self", NULL
34589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34593 (arg1
)->RecalcSizes();
34595 wxPyEndAllowThreads(__tstate
);
34596 if (PyErr_Occurred()) SWIG_fail
;
34598 Py_INCREF(Py_None
); resultobj
= Py_None
;
34605 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34606 PyObject
*resultobj
;
34607 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34609 PyObject
* obj0
= 0 ;
34610 char *kwnames
[] = {
34611 (char *) "self", NULL
34614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34618 result
= (arg1
)->CalcMin();
34620 wxPyEndAllowThreads(__tstate
);
34621 if (PyErr_Occurred()) SWIG_fail
;
34624 wxSize
* resultptr
;
34625 resultptr
= new wxSize((wxSize
&) result
);
34626 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34634 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34635 PyObject
*resultobj
;
34636 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34638 PyObject
* obj0
= 0 ;
34639 PyObject
* obj1
= 0 ;
34640 char *kwnames
[] = {
34641 (char *) "self",(char *) "cols", NULL
34644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
34645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34647 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34648 if (PyErr_Occurred()) SWIG_fail
;
34651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34652 (arg1
)->SetCols(arg2
);
34654 wxPyEndAllowThreads(__tstate
);
34655 if (PyErr_Occurred()) SWIG_fail
;
34657 Py_INCREF(Py_None
); resultobj
= Py_None
;
34664 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34665 PyObject
*resultobj
;
34666 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34668 PyObject
* obj0
= 0 ;
34669 PyObject
* obj1
= 0 ;
34670 char *kwnames
[] = {
34671 (char *) "self",(char *) "rows", NULL
34674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
34675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34677 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34678 if (PyErr_Occurred()) SWIG_fail
;
34681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34682 (arg1
)->SetRows(arg2
);
34684 wxPyEndAllowThreads(__tstate
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34687 Py_INCREF(Py_None
); resultobj
= Py_None
;
34694 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34695 PyObject
*resultobj
;
34696 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34698 PyObject
* obj0
= 0 ;
34699 PyObject
* obj1
= 0 ;
34700 char *kwnames
[] = {
34701 (char *) "self",(char *) "gap", NULL
34704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34707 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34708 if (PyErr_Occurred()) SWIG_fail
;
34711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34712 (arg1
)->SetVGap(arg2
);
34714 wxPyEndAllowThreads(__tstate
);
34715 if (PyErr_Occurred()) SWIG_fail
;
34717 Py_INCREF(Py_None
); resultobj
= Py_None
;
34724 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34725 PyObject
*resultobj
;
34726 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34728 PyObject
* obj0
= 0 ;
34729 PyObject
* obj1
= 0 ;
34730 char *kwnames
[] = {
34731 (char *) "self",(char *) "gap", NULL
34734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34737 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34738 if (PyErr_Occurred()) SWIG_fail
;
34741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34742 (arg1
)->SetHGap(arg2
);
34744 wxPyEndAllowThreads(__tstate
);
34745 if (PyErr_Occurred()) SWIG_fail
;
34747 Py_INCREF(Py_None
); resultobj
= Py_None
;
34754 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34755 PyObject
*resultobj
;
34756 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34758 PyObject
* obj0
= 0 ;
34759 char *kwnames
[] = {
34760 (char *) "self", NULL
34763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
34764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34767 result
= (int)(arg1
)->GetCols();
34769 wxPyEndAllowThreads(__tstate
);
34770 if (PyErr_Occurred()) SWIG_fail
;
34772 resultobj
= SWIG_PyObj_FromInt((int)result
);
34779 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34780 PyObject
*resultobj
;
34781 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34783 PyObject
* obj0
= 0 ;
34784 char *kwnames
[] = {
34785 (char *) "self", NULL
34788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
34789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34792 result
= (int)(arg1
)->GetRows();
34794 wxPyEndAllowThreads(__tstate
);
34795 if (PyErr_Occurred()) SWIG_fail
;
34797 resultobj
= SWIG_PyObj_FromInt((int)result
);
34804 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34805 PyObject
*resultobj
;
34806 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34808 PyObject
* obj0
= 0 ;
34809 char *kwnames
[] = {
34810 (char *) "self", NULL
34813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
34814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34817 result
= (int)(arg1
)->GetVGap();
34819 wxPyEndAllowThreads(__tstate
);
34820 if (PyErr_Occurred()) SWIG_fail
;
34822 resultobj
= SWIG_PyObj_FromInt((int)result
);
34829 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34830 PyObject
*resultobj
;
34831 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34833 PyObject
* obj0
= 0 ;
34834 char *kwnames
[] = {
34835 (char *) "self", NULL
34838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
34839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 result
= (int)(arg1
)->GetHGap();
34844 wxPyEndAllowThreads(__tstate
);
34845 if (PyErr_Occurred()) SWIG_fail
;
34847 resultobj
= SWIG_PyObj_FromInt((int)result
);
34854 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34857 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
34859 return Py_BuildValue((char *)"");
34861 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34862 PyObject
*resultobj
;
34863 int arg1
= (int) 1 ;
34864 int arg2
= (int) 0 ;
34865 int arg3
= (int) 0 ;
34866 int arg4
= (int) 0 ;
34867 wxFlexGridSizer
*result
;
34868 PyObject
* obj0
= 0 ;
34869 PyObject
* obj1
= 0 ;
34870 PyObject
* obj2
= 0 ;
34871 PyObject
* obj3
= 0 ;
34872 char *kwnames
[] = {
34873 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34879 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34880 if (PyErr_Occurred()) SWIG_fail
;
34885 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34886 if (PyErr_Occurred()) SWIG_fail
;
34891 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34892 if (PyErr_Occurred()) SWIG_fail
;
34897 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
34898 if (PyErr_Occurred()) SWIG_fail
;
34902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34903 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
34905 wxPyEndAllowThreads(__tstate
);
34906 if (PyErr_Occurred()) SWIG_fail
;
34908 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
34915 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34916 PyObject
*resultobj
;
34917 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34918 PyObject
* obj0
= 0 ;
34919 char *kwnames
[] = {
34920 (char *) "self", NULL
34923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34927 (arg1
)->RecalcSizes();
34929 wxPyEndAllowThreads(__tstate
);
34930 if (PyErr_Occurred()) SWIG_fail
;
34932 Py_INCREF(Py_None
); resultobj
= Py_None
;
34939 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34940 PyObject
*resultobj
;
34941 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34943 PyObject
* obj0
= 0 ;
34944 char *kwnames
[] = {
34945 (char *) "self", NULL
34948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34952 result
= (arg1
)->CalcMin();
34954 wxPyEndAllowThreads(__tstate
);
34955 if (PyErr_Occurred()) SWIG_fail
;
34958 wxSize
* resultptr
;
34959 resultptr
= new wxSize((wxSize
&) result
);
34960 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34968 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34969 PyObject
*resultobj
;
34970 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34972 int arg3
= (int) 0 ;
34973 PyObject
* obj0
= 0 ;
34974 PyObject
* obj1
= 0 ;
34975 PyObject
* obj2
= 0 ;
34976 char *kwnames
[] = {
34977 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34983 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
34984 if (PyErr_Occurred()) SWIG_fail
;
34988 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34989 if (PyErr_Occurred()) SWIG_fail
;
34993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34994 (arg1
)->AddGrowableRow(arg2
,arg3
);
34996 wxPyEndAllowThreads(__tstate
);
34997 if (PyErr_Occurred()) SWIG_fail
;
34999 Py_INCREF(Py_None
); resultobj
= Py_None
;
35006 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35007 PyObject
*resultobj
;
35008 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35010 PyObject
* obj0
= 0 ;
35011 PyObject
* obj1
= 0 ;
35012 char *kwnames
[] = {
35013 (char *) "self",(char *) "idx", NULL
35016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35019 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
35020 if (PyErr_Occurred()) SWIG_fail
;
35023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35024 (arg1
)->RemoveGrowableRow(arg2
);
35026 wxPyEndAllowThreads(__tstate
);
35027 if (PyErr_Occurred()) SWIG_fail
;
35029 Py_INCREF(Py_None
); resultobj
= Py_None
;
35036 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35037 PyObject
*resultobj
;
35038 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35040 int arg3
= (int) 0 ;
35041 PyObject
* obj0
= 0 ;
35042 PyObject
* obj1
= 0 ;
35043 PyObject
* obj2
= 0 ;
35044 char *kwnames
[] = {
35045 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35051 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
35052 if (PyErr_Occurred()) SWIG_fail
;
35056 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
35057 if (PyErr_Occurred()) SWIG_fail
;
35061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35062 (arg1
)->AddGrowableCol(arg2
,arg3
);
35064 wxPyEndAllowThreads(__tstate
);
35065 if (PyErr_Occurred()) SWIG_fail
;
35067 Py_INCREF(Py_None
); resultobj
= Py_None
;
35074 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35075 PyObject
*resultobj
;
35076 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35078 PyObject
* obj0
= 0 ;
35079 PyObject
* obj1
= 0 ;
35080 char *kwnames
[] = {
35081 (char *) "self",(char *) "idx", NULL
35084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35087 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
35088 if (PyErr_Occurred()) SWIG_fail
;
35091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35092 (arg1
)->RemoveGrowableCol(arg2
);
35094 wxPyEndAllowThreads(__tstate
);
35095 if (PyErr_Occurred()) SWIG_fail
;
35097 Py_INCREF(Py_None
); resultobj
= Py_None
;
35104 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35105 PyObject
*resultobj
;
35106 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35108 PyObject
* obj0
= 0 ;
35109 PyObject
* obj1
= 0 ;
35110 char *kwnames
[] = {
35111 (char *) "self",(char *) "direction", NULL
35114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
35115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35117 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35118 if (PyErr_Occurred()) SWIG_fail
;
35121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35122 (arg1
)->SetFlexibleDirection(arg2
);
35124 wxPyEndAllowThreads(__tstate
);
35125 if (PyErr_Occurred()) SWIG_fail
;
35127 Py_INCREF(Py_None
); resultobj
= Py_None
;
35134 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35135 PyObject
*resultobj
;
35136 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35138 PyObject
* obj0
= 0 ;
35139 char *kwnames
[] = {
35140 (char *) "self", NULL
35143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
35144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35147 result
= (int)(arg1
)->GetFlexibleDirection();
35149 wxPyEndAllowThreads(__tstate
);
35150 if (PyErr_Occurred()) SWIG_fail
;
35152 resultobj
= SWIG_PyObj_FromInt((int)result
);
35159 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35160 PyObject
*resultobj
;
35161 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35163 PyObject
* obj0
= 0 ;
35164 PyObject
* obj1
= 0 ;
35165 char *kwnames
[] = {
35166 (char *) "self",(char *) "mode", NULL
35169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
35170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35172 arg2
= (wxFlexSizerGrowMode
) SWIG_PyObj_AsInt(obj1
);
35173 if (PyErr_Occurred()) SWIG_fail
;
35176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35177 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
35179 wxPyEndAllowThreads(__tstate
);
35180 if (PyErr_Occurred()) SWIG_fail
;
35182 Py_INCREF(Py_None
); resultobj
= Py_None
;
35189 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35190 PyObject
*resultobj
;
35191 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35193 PyObject
* obj0
= 0 ;
35194 char *kwnames
[] = {
35195 (char *) "self", NULL
35198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
35199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35202 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
35204 wxPyEndAllowThreads(__tstate
);
35205 if (PyErr_Occurred()) SWIG_fail
;
35207 resultobj
= SWIG_PyObj_FromInt((int)result
);
35214 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35215 PyObject
*resultobj
;
35216 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35217 wxArrayInt
*result
;
35218 PyObject
* obj0
= 0 ;
35219 char *kwnames
[] = {
35220 (char *) "self", NULL
35223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
35224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35228 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
35229 result
= (wxArrayInt
*) &_result_ref
;
35232 wxPyEndAllowThreads(__tstate
);
35233 if (PyErr_Occurred()) SWIG_fail
;
35236 resultobj
= PyList_New(0);
35238 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35239 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35240 PyList_Append(resultobj
, val
);
35250 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35251 PyObject
*resultobj
;
35252 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35253 wxArrayInt
*result
;
35254 PyObject
* obj0
= 0 ;
35255 char *kwnames
[] = {
35256 (char *) "self", NULL
35259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
35260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35264 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
35265 result
= (wxArrayInt
*) &_result_ref
;
35268 wxPyEndAllowThreads(__tstate
);
35269 if (PyErr_Occurred()) SWIG_fail
;
35272 resultobj
= PyList_New(0);
35274 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35275 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35276 PyList_Append(resultobj
, val
);
35286 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35289 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
35291 return Py_BuildValue((char *)"");
35293 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35294 PyObject
*resultobj
;
35295 int arg1
= (int) 0 ;
35296 int arg2
= (int) 0 ;
35297 wxGBPosition
*result
;
35298 PyObject
* obj0
= 0 ;
35299 PyObject
* obj1
= 0 ;
35300 char *kwnames
[] = {
35301 (char *) "row",(char *) "col", NULL
35304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
35307 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
35308 if (PyErr_Occurred()) SWIG_fail
;
35313 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35319 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
35321 wxPyEndAllowThreads(__tstate
);
35322 if (PyErr_Occurred()) SWIG_fail
;
35324 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
35331 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35332 PyObject
*resultobj
;
35333 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35335 PyObject
* obj0
= 0 ;
35336 char *kwnames
[] = {
35337 (char *) "self", NULL
35340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
35341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35344 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
35346 wxPyEndAllowThreads(__tstate
);
35347 if (PyErr_Occurred()) SWIG_fail
;
35349 resultobj
= SWIG_PyObj_FromInt((int)result
);
35356 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35357 PyObject
*resultobj
;
35358 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35360 PyObject
* obj0
= 0 ;
35361 char *kwnames
[] = {
35362 (char *) "self", NULL
35365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
35366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35369 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
35371 wxPyEndAllowThreads(__tstate
);
35372 if (PyErr_Occurred()) SWIG_fail
;
35374 resultobj
= SWIG_PyObj_FromInt((int)result
);
35381 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35382 PyObject
*resultobj
;
35383 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35385 PyObject
* obj0
= 0 ;
35386 PyObject
* obj1
= 0 ;
35387 char *kwnames
[] = {
35388 (char *) "self",(char *) "row", NULL
35391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35394 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35395 if (PyErr_Occurred()) SWIG_fail
;
35398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35399 (arg1
)->SetRow(arg2
);
35401 wxPyEndAllowThreads(__tstate
);
35402 if (PyErr_Occurred()) SWIG_fail
;
35404 Py_INCREF(Py_None
); resultobj
= Py_None
;
35411 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35412 PyObject
*resultobj
;
35413 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35415 PyObject
* obj0
= 0 ;
35416 PyObject
* obj1
= 0 ;
35417 char *kwnames
[] = {
35418 (char *) "self",(char *) "col", NULL
35421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35424 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35425 if (PyErr_Occurred()) SWIG_fail
;
35428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35429 (arg1
)->SetCol(arg2
);
35431 wxPyEndAllowThreads(__tstate
);
35432 if (PyErr_Occurred()) SWIG_fail
;
35434 Py_INCREF(Py_None
); resultobj
= Py_None
;
35441 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35442 PyObject
*resultobj
;
35443 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35444 wxGBPosition
*arg2
= 0 ;
35446 wxGBPosition temp2
;
35447 PyObject
* obj0
= 0 ;
35448 PyObject
* obj1
= 0 ;
35449 char *kwnames
[] = {
35450 (char *) "self",(char *) "p", NULL
35453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35457 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35461 result
= (bool)((wxGBPosition
const *)arg1
)->operator ==((wxGBPosition
const &)*arg2
);
35463 wxPyEndAllowThreads(__tstate
);
35464 if (PyErr_Occurred()) SWIG_fail
;
35466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35473 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35474 PyObject
*resultobj
;
35475 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35476 wxGBPosition
*arg2
= 0 ;
35478 wxGBPosition temp2
;
35479 PyObject
* obj0
= 0 ;
35480 PyObject
* obj1
= 0 ;
35481 char *kwnames
[] = {
35482 (char *) "self",(char *) "p", NULL
35485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35489 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35493 result
= (bool)((wxGBPosition
const *)arg1
)->operator !=((wxGBPosition
const &)*arg2
);
35495 wxPyEndAllowThreads(__tstate
);
35496 if (PyErr_Occurred()) SWIG_fail
;
35498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35505 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35506 PyObject
*resultobj
;
35507 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35508 int arg2
= (int) 0 ;
35509 int arg3
= (int) 0 ;
35510 PyObject
* obj0
= 0 ;
35511 PyObject
* obj1
= 0 ;
35512 PyObject
* obj2
= 0 ;
35513 char *kwnames
[] = {
35514 (char *) "self",(char *) "row",(char *) "col", NULL
35517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35521 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35522 if (PyErr_Occurred()) SWIG_fail
;
35527 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
35528 if (PyErr_Occurred()) SWIG_fail
;
35532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35533 wxGBPosition_Set(arg1
,arg2
,arg3
);
35535 wxPyEndAllowThreads(__tstate
);
35536 if (PyErr_Occurred()) SWIG_fail
;
35538 Py_INCREF(Py_None
); resultobj
= Py_None
;
35545 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35546 PyObject
*resultobj
;
35547 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35549 PyObject
* obj0
= 0 ;
35550 char *kwnames
[] = {
35551 (char *) "self", NULL
35554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
35555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35558 result
= (PyObject
*)wxGBPosition_Get(arg1
);
35560 wxPyEndAllowThreads(__tstate
);
35561 if (PyErr_Occurred()) SWIG_fail
;
35563 resultobj
= result
;
35570 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
35572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35573 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
35575 return Py_BuildValue((char *)"");
35577 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35578 PyObject
*resultobj
;
35579 int arg1
= (int) 1 ;
35580 int arg2
= (int) 1 ;
35582 PyObject
* obj0
= 0 ;
35583 PyObject
* obj1
= 0 ;
35584 char *kwnames
[] = {
35585 (char *) "rowspan",(char *) "colspan", NULL
35588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35591 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
35592 if (PyErr_Occurred()) SWIG_fail
;
35597 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35598 if (PyErr_Occurred()) SWIG_fail
;
35602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35603 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
35605 wxPyEndAllowThreads(__tstate
);
35606 if (PyErr_Occurred()) SWIG_fail
;
35608 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
35615 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35616 PyObject
*resultobj
;
35617 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35619 PyObject
* obj0
= 0 ;
35620 char *kwnames
[] = {
35621 (char *) "self", NULL
35624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
35625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35628 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
35630 wxPyEndAllowThreads(__tstate
);
35631 if (PyErr_Occurred()) SWIG_fail
;
35633 resultobj
= SWIG_PyObj_FromInt((int)result
);
35640 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35641 PyObject
*resultobj
;
35642 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35644 PyObject
* obj0
= 0 ;
35645 char *kwnames
[] = {
35646 (char *) "self", NULL
35649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
35650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35653 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
35655 wxPyEndAllowThreads(__tstate
);
35656 if (PyErr_Occurred()) SWIG_fail
;
35658 resultobj
= SWIG_PyObj_FromInt((int)result
);
35665 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35666 PyObject
*resultobj
;
35667 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35669 PyObject
* obj0
= 0 ;
35670 PyObject
* obj1
= 0 ;
35671 char *kwnames
[] = {
35672 (char *) "self",(char *) "rowspan", NULL
35675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35678 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35679 if (PyErr_Occurred()) SWIG_fail
;
35682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35683 (arg1
)->SetRowspan(arg2
);
35685 wxPyEndAllowThreads(__tstate
);
35686 if (PyErr_Occurred()) SWIG_fail
;
35688 Py_INCREF(Py_None
); resultobj
= Py_None
;
35695 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35696 PyObject
*resultobj
;
35697 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35699 PyObject
* obj0
= 0 ;
35700 PyObject
* obj1
= 0 ;
35701 char *kwnames
[] = {
35702 (char *) "self",(char *) "colspan", NULL
35705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35708 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35709 if (PyErr_Occurred()) SWIG_fail
;
35712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35713 (arg1
)->SetColspan(arg2
);
35715 wxPyEndAllowThreads(__tstate
);
35716 if (PyErr_Occurred()) SWIG_fail
;
35718 Py_INCREF(Py_None
); resultobj
= Py_None
;
35725 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35726 PyObject
*resultobj
;
35727 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35728 wxGBSpan
*arg2
= 0 ;
35731 PyObject
* obj0
= 0 ;
35732 PyObject
* obj1
= 0 ;
35733 char *kwnames
[] = {
35734 (char *) "self",(char *) "o", NULL
35737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35741 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
35744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35745 result
= (bool)((wxGBSpan
const *)arg1
)->operator ==((wxGBSpan
const &)*arg2
);
35747 wxPyEndAllowThreads(__tstate
);
35748 if (PyErr_Occurred()) SWIG_fail
;
35750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35757 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35758 PyObject
*resultobj
;
35759 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35760 wxGBSpan
*arg2
= 0 ;
35763 PyObject
* obj0
= 0 ;
35764 PyObject
* obj1
= 0 ;
35765 char *kwnames
[] = {
35766 (char *) "self",(char *) "o", NULL
35769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35773 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
35776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35777 result
= (bool)((wxGBSpan
const *)arg1
)->operator !=((wxGBSpan
const &)*arg2
);
35779 wxPyEndAllowThreads(__tstate
);
35780 if (PyErr_Occurred()) SWIG_fail
;
35782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35789 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35790 PyObject
*resultobj
;
35791 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35792 int arg2
= (int) 1 ;
35793 int arg3
= (int) 1 ;
35794 PyObject
* obj0
= 0 ;
35795 PyObject
* obj1
= 0 ;
35796 PyObject
* obj2
= 0 ;
35797 char *kwnames
[] = {
35798 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
35801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35805 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35806 if (PyErr_Occurred()) SWIG_fail
;
35811 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
35812 if (PyErr_Occurred()) SWIG_fail
;
35816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35817 wxGBSpan_Set(arg1
,arg2
,arg3
);
35819 wxPyEndAllowThreads(__tstate
);
35820 if (PyErr_Occurred()) SWIG_fail
;
35822 Py_INCREF(Py_None
); resultobj
= Py_None
;
35829 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35830 PyObject
*resultobj
;
35831 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35833 PyObject
* obj0
= 0 ;
35834 char *kwnames
[] = {
35835 (char *) "self", NULL
35838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
35839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35842 result
= (PyObject
*)wxGBSpan_Get(arg1
);
35844 wxPyEndAllowThreads(__tstate
);
35845 if (PyErr_Occurred()) SWIG_fail
;
35847 resultobj
= result
;
35854 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
35856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35857 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
35859 return Py_BuildValue((char *)"");
35861 static int _wrap_DefaultSpan_set(PyObject
*) {
35862 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
35867 static PyObject
*_wrap_DefaultSpan_get() {
35870 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
35875 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35876 PyObject
*resultobj
;
35877 wxGBSizerItem
*result
;
35878 char *kwnames
[] = {
35882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
35884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35885 result
= (wxGBSizerItem
*)new wxGBSizerItem();
35887 wxPyEndAllowThreads(__tstate
);
35888 if (PyErr_Occurred()) SWIG_fail
;
35890 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35897 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35898 PyObject
*resultobj
;
35899 wxWindow
*arg1
= (wxWindow
*) 0 ;
35900 wxGBPosition
*arg2
= 0 ;
35901 wxGBSpan
*arg3
= 0 ;
35904 wxObject
*arg6
= (wxObject
*) 0 ;
35905 wxGBSizerItem
*result
;
35906 wxGBPosition temp2
;
35908 PyObject
* obj0
= 0 ;
35909 PyObject
* obj1
= 0 ;
35910 PyObject
* obj2
= 0 ;
35911 PyObject
* obj3
= 0 ;
35912 PyObject
* obj4
= 0 ;
35913 PyObject
* obj5
= 0 ;
35914 char *kwnames
[] = {
35915 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35922 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35926 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35929 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
35930 if (PyErr_Occurred()) SWIG_fail
;
35933 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
35934 if (PyErr_Occurred()) SWIG_fail
;
35936 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35939 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
35941 wxPyEndAllowThreads(__tstate
);
35942 if (PyErr_Occurred()) SWIG_fail
;
35944 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35951 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35952 PyObject
*resultobj
;
35953 wxSizer
*arg1
= (wxSizer
*) 0 ;
35954 wxGBPosition
*arg2
= 0 ;
35955 wxGBSpan
*arg3
= 0 ;
35958 wxObject
*arg6
= (wxObject
*) 0 ;
35959 wxGBSizerItem
*result
;
35960 wxGBPosition temp2
;
35962 PyObject
* obj0
= 0 ;
35963 PyObject
* obj1
= 0 ;
35964 PyObject
* obj2
= 0 ;
35965 PyObject
* obj3
= 0 ;
35966 PyObject
* obj4
= 0 ;
35967 PyObject
* obj5
= 0 ;
35968 char *kwnames
[] = {
35969 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35976 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35980 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35983 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
35984 if (PyErr_Occurred()) SWIG_fail
;
35987 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
35988 if (PyErr_Occurred()) SWIG_fail
;
35990 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35993 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
35995 wxPyEndAllowThreads(__tstate
);
35996 if (PyErr_Occurred()) SWIG_fail
;
35998 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
36005 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36006 PyObject
*resultobj
;
36009 wxGBPosition
*arg3
= 0 ;
36010 wxGBSpan
*arg4
= 0 ;
36013 wxObject
*arg7
= (wxObject
*) 0 ;
36014 wxGBSizerItem
*result
;
36015 wxGBPosition temp3
;
36017 PyObject
* obj0
= 0 ;
36018 PyObject
* obj1
= 0 ;
36019 PyObject
* obj2
= 0 ;
36020 PyObject
* obj3
= 0 ;
36021 PyObject
* obj4
= 0 ;
36022 PyObject
* obj5
= 0 ;
36023 PyObject
* obj6
= 0 ;
36024 char *kwnames
[] = {
36025 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36030 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
36031 if (PyErr_Occurred()) SWIG_fail
;
36034 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
36035 if (PyErr_Occurred()) SWIG_fail
;
36039 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36043 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36046 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
36047 if (PyErr_Occurred()) SWIG_fail
;
36050 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
36051 if (PyErr_Occurred()) SWIG_fail
;
36053 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36056 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36058 wxPyEndAllowThreads(__tstate
);
36059 if (PyErr_Occurred()) SWIG_fail
;
36061 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
36068 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36069 PyObject
*resultobj
;
36070 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36071 wxGBPosition result
;
36072 PyObject
* obj0
= 0 ;
36073 char *kwnames
[] = {
36074 (char *) "self", NULL
36077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
36078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36081 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
36083 wxPyEndAllowThreads(__tstate
);
36084 if (PyErr_Occurred()) SWIG_fail
;
36087 wxGBPosition
* resultptr
;
36088 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36089 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36097 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36098 PyObject
*resultobj
;
36099 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36101 PyObject
* obj0
= 0 ;
36102 char *kwnames
[] = {
36103 (char *) "self", NULL
36106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
36107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36110 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
36112 wxPyEndAllowThreads(__tstate
);
36113 if (PyErr_Occurred()) SWIG_fail
;
36116 wxGBSpan
* resultptr
;
36117 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36118 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
36126 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36127 PyObject
*resultobj
;
36128 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36129 wxGBPosition
*arg2
= 0 ;
36131 wxGBPosition temp2
;
36132 PyObject
* obj0
= 0 ;
36133 PyObject
* obj1
= 0 ;
36134 char *kwnames
[] = {
36135 (char *) "self",(char *) "pos", NULL
36138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
36139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36142 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36146 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
36148 wxPyEndAllowThreads(__tstate
);
36149 if (PyErr_Occurred()) SWIG_fail
;
36151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36158 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36159 PyObject
*resultobj
;
36160 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36161 wxGBSpan
*arg2
= 0 ;
36164 PyObject
* obj0
= 0 ;
36165 PyObject
* obj1
= 0 ;
36166 char *kwnames
[] = {
36167 (char *) "self",(char *) "span", NULL
36170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36174 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36178 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
36180 wxPyEndAllowThreads(__tstate
);
36181 if (PyErr_Occurred()) SWIG_fail
;
36183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36190 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
36191 PyObject
*resultobj
;
36192 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36193 wxGBSizerItem
*arg2
= 0 ;
36195 PyObject
* obj0
= 0 ;
36196 PyObject
* obj1
= 0 ;
36198 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
36199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36200 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36201 if (arg2
== NULL
) {
36202 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
36205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36206 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
36208 wxPyEndAllowThreads(__tstate
);
36209 if (PyErr_Occurred()) SWIG_fail
;
36211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36218 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
36219 PyObject
*resultobj
;
36220 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36221 wxGBPosition
*arg2
= 0 ;
36222 wxGBSpan
*arg3
= 0 ;
36224 wxGBPosition temp2
;
36226 PyObject
* obj0
= 0 ;
36227 PyObject
* obj1
= 0 ;
36228 PyObject
* obj2
= 0 ;
36230 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
36231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36234 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36238 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36242 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
36244 wxPyEndAllowThreads(__tstate
);
36245 if (PyErr_Occurred()) SWIG_fail
;
36247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36254 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
36259 argc
= PyObject_Length(args
);
36260 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36261 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36267 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36277 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36285 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
36293 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36302 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
36306 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36309 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
36315 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
36320 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36321 PyObject
*resultobj
;
36322 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36325 PyObject
* obj0
= 0 ;
36326 PyObject
* obj1
= 0 ;
36327 PyObject
* obj2
= 0 ;
36328 char *kwnames
[] = {
36329 (char *) "self",(char *) "row",(char *) "col", NULL
36332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36335 if (arg2
== NULL
) {
36336 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
36338 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36339 if (arg3
== NULL
) {
36340 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
36343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36344 (arg1
)->GetEndPos(*arg2
,*arg3
);
36346 wxPyEndAllowThreads(__tstate
);
36347 if (PyErr_Occurred()) SWIG_fail
;
36349 Py_INCREF(Py_None
); resultobj
= Py_None
;
36356 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36357 PyObject
*resultobj
;
36358 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36359 wxGridBagSizer
*result
;
36360 PyObject
* obj0
= 0 ;
36361 char *kwnames
[] = {
36362 (char *) "self", NULL
36365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
36366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36369 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
36371 wxPyEndAllowThreads(__tstate
);
36372 if (PyErr_Occurred()) SWIG_fail
;
36374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
36381 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36382 PyObject
*resultobj
;
36383 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36384 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
36385 PyObject
* obj0
= 0 ;
36386 PyObject
* obj1
= 0 ;
36387 char *kwnames
[] = {
36388 (char *) "self",(char *) "sizer", NULL
36391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36396 (arg1
)->SetGBSizer(arg2
);
36398 wxPyEndAllowThreads(__tstate
);
36399 if (PyErr_Occurred()) SWIG_fail
;
36401 Py_INCREF(Py_None
); resultobj
= Py_None
;
36408 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
36410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36411 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
36413 return Py_BuildValue((char *)"");
36415 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36416 PyObject
*resultobj
;
36417 int arg1
= (int) 0 ;
36418 int arg2
= (int) 0 ;
36419 wxGridBagSizer
*result
;
36420 PyObject
* obj0
= 0 ;
36421 PyObject
* obj1
= 0 ;
36422 char *kwnames
[] = {
36423 (char *) "vgap",(char *) "hgap", NULL
36426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36429 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
36430 if (PyErr_Occurred()) SWIG_fail
;
36435 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
36436 if (PyErr_Occurred()) SWIG_fail
;
36440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36441 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
36443 wxPyEndAllowThreads(__tstate
);
36444 if (PyErr_Occurred()) SWIG_fail
;
36446 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
36453 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36454 PyObject
*resultobj
;
36455 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36456 PyObject
*arg2
= (PyObject
*) 0 ;
36457 wxGBPosition
*arg3
= 0 ;
36458 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
36459 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
36460 int arg5
= (int) 0 ;
36461 int arg6
= (int) 0 ;
36462 PyObject
*arg7
= (PyObject
*) NULL
;
36464 wxGBPosition temp3
;
36466 PyObject
* obj0
= 0 ;
36467 PyObject
* obj1
= 0 ;
36468 PyObject
* obj2
= 0 ;
36469 PyObject
* obj3
= 0 ;
36470 PyObject
* obj4
= 0 ;
36471 PyObject
* obj5
= 0 ;
36472 PyObject
* obj6
= 0 ;
36473 char *kwnames
[] = {
36474 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36482 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36487 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36492 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
36493 if (PyErr_Occurred()) SWIG_fail
;
36498 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
36499 if (PyErr_Occurred()) SWIG_fail
;
36506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36507 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36509 wxPyEndAllowThreads(__tstate
);
36510 if (PyErr_Occurred()) SWIG_fail
;
36512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36519 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36520 PyObject
*resultobj
;
36521 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36522 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
36524 PyObject
* obj0
= 0 ;
36525 PyObject
* obj1
= 0 ;
36526 char *kwnames
[] = {
36527 (char *) "self",(char *) "item", NULL
36530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36532 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36535 result
= (bool)(arg1
)->Add(arg2
);
36537 wxPyEndAllowThreads(__tstate
);
36538 if (PyErr_Occurred()) SWIG_fail
;
36540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36547 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36548 PyObject
*resultobj
;
36549 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36551 PyObject
* obj0
= 0 ;
36552 char *kwnames
[] = {
36553 (char *) "self", NULL
36556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
36557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36560 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
36562 wxPyEndAllowThreads(__tstate
);
36563 if (PyErr_Occurred()) SWIG_fail
;
36566 wxSize
* resultptr
;
36567 resultptr
= new wxSize((wxSize
&) result
);
36568 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
36576 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36577 PyObject
*resultobj
;
36578 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36581 PyObject
* obj0
= 0 ;
36582 PyObject
* obj1
= 0 ;
36583 char *kwnames
[] = {
36584 (char *) "self",(char *) "sz", NULL
36587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36591 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36595 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
36597 wxPyEndAllowThreads(__tstate
);
36598 if (PyErr_Occurred()) SWIG_fail
;
36600 Py_INCREF(Py_None
); resultobj
= Py_None
;
36607 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
36608 PyObject
*resultobj
;
36609 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36610 wxWindow
*arg2
= (wxWindow
*) 0 ;
36611 wxGBPosition result
;
36612 PyObject
* obj0
= 0 ;
36613 PyObject
* obj1
= 0 ;
36615 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36617 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36620 result
= (arg1
)->GetItemPosition(arg2
);
36622 wxPyEndAllowThreads(__tstate
);
36623 if (PyErr_Occurred()) SWIG_fail
;
36626 wxGBPosition
* resultptr
;
36627 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36628 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36636 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
36637 PyObject
*resultobj
;
36638 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36639 wxSizer
*arg2
= (wxSizer
*) 0 ;
36640 wxGBPosition result
;
36641 PyObject
* obj0
= 0 ;
36642 PyObject
* obj1
= 0 ;
36644 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36646 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36649 result
= (arg1
)->GetItemPosition(arg2
);
36651 wxPyEndAllowThreads(__tstate
);
36652 if (PyErr_Occurred()) SWIG_fail
;
36655 wxGBPosition
* resultptr
;
36656 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36657 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36665 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
36666 PyObject
*resultobj
;
36667 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36669 wxGBPosition result
;
36670 PyObject
* obj0
= 0 ;
36671 PyObject
* obj1
= 0 ;
36673 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36676 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36677 if (PyErr_Occurred()) SWIG_fail
;
36680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36681 result
= (arg1
)->GetItemPosition(arg2
);
36683 wxPyEndAllowThreads(__tstate
);
36684 if (PyErr_Occurred()) SWIG_fail
;
36687 wxGBPosition
* resultptr
;
36688 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36689 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36697 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
36702 argc
= PyObject_Length(args
);
36703 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36704 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36710 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36720 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36728 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
36736 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36746 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36754 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
36762 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36771 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36772 if (PyErr_Occurred()) {
36780 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
36785 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
36790 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
36791 PyObject
*resultobj
;
36792 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36793 wxWindow
*arg2
= (wxWindow
*) 0 ;
36794 wxGBPosition
*arg3
= 0 ;
36796 wxGBPosition temp3
;
36797 PyObject
* obj0
= 0 ;
36798 PyObject
* obj1
= 0 ;
36799 PyObject
* obj2
= 0 ;
36801 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36803 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36806 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36810 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36812 wxPyEndAllowThreads(__tstate
);
36813 if (PyErr_Occurred()) SWIG_fail
;
36815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36822 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
36823 PyObject
*resultobj
;
36824 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36825 wxSizer
*arg2
= (wxSizer
*) 0 ;
36826 wxGBPosition
*arg3
= 0 ;
36828 wxGBPosition temp3
;
36829 PyObject
* obj0
= 0 ;
36830 PyObject
* obj1
= 0 ;
36831 PyObject
* obj2
= 0 ;
36833 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36835 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36838 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36842 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36844 wxPyEndAllowThreads(__tstate
);
36845 if (PyErr_Occurred()) SWIG_fail
;
36847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36854 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
36855 PyObject
*resultobj
;
36856 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36858 wxGBPosition
*arg3
= 0 ;
36860 wxGBPosition temp3
;
36861 PyObject
* obj0
= 0 ;
36862 PyObject
* obj1
= 0 ;
36863 PyObject
* obj2
= 0 ;
36865 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36868 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36869 if (PyErr_Occurred()) SWIG_fail
;
36873 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36877 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36879 wxPyEndAllowThreads(__tstate
);
36880 if (PyErr_Occurred()) SWIG_fail
;
36882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36889 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
36894 argc
= PyObject_Length(args
);
36895 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36896 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36902 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36912 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36921 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36924 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
36933 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36943 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36952 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36955 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
36964 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36973 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36974 if (PyErr_Occurred()) {
36983 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36986 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
36992 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
36997 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
36998 PyObject
*resultobj
;
36999 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37000 wxWindow
*arg2
= (wxWindow
*) 0 ;
37002 PyObject
* obj0
= 0 ;
37003 PyObject
* obj1
= 0 ;
37005 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37007 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37010 result
= (arg1
)->GetItemSpan(arg2
);
37012 wxPyEndAllowThreads(__tstate
);
37013 if (PyErr_Occurred()) SWIG_fail
;
37016 wxGBSpan
* resultptr
;
37017 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37018 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
37026 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
37027 PyObject
*resultobj
;
37028 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37029 wxSizer
*arg2
= (wxSizer
*) 0 ;
37031 PyObject
* obj0
= 0 ;
37032 PyObject
* obj1
= 0 ;
37034 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37039 result
= (arg1
)->GetItemSpan(arg2
);
37041 wxPyEndAllowThreads(__tstate
);
37042 if (PyErr_Occurred()) SWIG_fail
;
37045 wxGBSpan
* resultptr
;
37046 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37047 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
37055 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
37056 PyObject
*resultobj
;
37057 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37060 PyObject
* obj0
= 0 ;
37061 PyObject
* obj1
= 0 ;
37063 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37066 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
37067 if (PyErr_Occurred()) SWIG_fail
;
37070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37071 result
= (arg1
)->GetItemSpan(arg2
);
37073 wxPyEndAllowThreads(__tstate
);
37074 if (PyErr_Occurred()) SWIG_fail
;
37077 wxGBSpan
* resultptr
;
37078 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37079 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
37087 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
37092 argc
= PyObject_Length(args
);
37093 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37094 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37100 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37110 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37118 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
37126 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37136 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37144 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
37152 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37161 SWIG_PyObj_AsUnsignedLong(argv
[1]);
37162 if (PyErr_Occurred()) {
37170 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
37175 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
37180 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
37181 PyObject
*resultobj
;
37182 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37183 wxWindow
*arg2
= (wxWindow
*) 0 ;
37184 wxGBSpan
*arg3
= 0 ;
37187 PyObject
* obj0
= 0 ;
37188 PyObject
* obj1
= 0 ;
37189 PyObject
* obj2
= 0 ;
37191 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37193 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37196 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37200 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37202 wxPyEndAllowThreads(__tstate
);
37203 if (PyErr_Occurred()) SWIG_fail
;
37205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37212 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
37213 PyObject
*resultobj
;
37214 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37215 wxSizer
*arg2
= (wxSizer
*) 0 ;
37216 wxGBSpan
*arg3
= 0 ;
37219 PyObject
* obj0
= 0 ;
37220 PyObject
* obj1
= 0 ;
37221 PyObject
* obj2
= 0 ;
37223 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37225 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37228 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37232 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37234 wxPyEndAllowThreads(__tstate
);
37235 if (PyErr_Occurred()) SWIG_fail
;
37237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37244 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
37245 PyObject
*resultobj
;
37246 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37248 wxGBSpan
*arg3
= 0 ;
37251 PyObject
* obj0
= 0 ;
37252 PyObject
* obj1
= 0 ;
37253 PyObject
* obj2
= 0 ;
37255 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37258 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
37259 if (PyErr_Occurred()) SWIG_fail
;
37263 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37267 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37269 wxPyEndAllowThreads(__tstate
);
37270 if (PyErr_Occurred()) SWIG_fail
;
37272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37279 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
37284 argc
= PyObject_Length(args
);
37285 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37286 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37292 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37302 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37311 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37314 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
37323 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37333 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37342 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37345 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
37354 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37363 SWIG_PyObj_AsUnsignedLong(argv
[1]);
37364 if (PyErr_Occurred()) {
37373 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37376 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
37382 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
37387 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
37388 PyObject
*resultobj
;
37389 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37390 wxWindow
*arg2
= (wxWindow
*) 0 ;
37391 wxGBSizerItem
*result
;
37392 PyObject
* obj0
= 0 ;
37393 PyObject
* obj1
= 0 ;
37395 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37397 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37400 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37402 wxPyEndAllowThreads(__tstate
);
37403 if (PyErr_Occurred()) SWIG_fail
;
37405 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37412 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
37413 PyObject
*resultobj
;
37414 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37415 wxSizer
*arg2
= (wxSizer
*) 0 ;
37416 wxGBSizerItem
*result
;
37417 PyObject
* obj0
= 0 ;
37418 PyObject
* obj1
= 0 ;
37420 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37422 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37425 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37427 wxPyEndAllowThreads(__tstate
);
37428 if (PyErr_Occurred()) SWIG_fail
;
37430 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37437 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
37442 argc
= PyObject_Length(args
);
37443 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37444 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37450 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37460 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37468 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
37476 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37486 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37494 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
37499 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
37504 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37505 PyObject
*resultobj
;
37506 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37507 wxGBPosition
*arg2
= 0 ;
37508 wxGBSizerItem
*result
;
37509 wxGBPosition temp2
;
37510 PyObject
* obj0
= 0 ;
37511 PyObject
* obj1
= 0 ;
37512 char *kwnames
[] = {
37513 (char *) "self",(char *) "pos", NULL
37516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37520 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37524 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
37526 wxPyEndAllowThreads(__tstate
);
37527 if (PyErr_Occurred()) SWIG_fail
;
37529 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37536 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37537 PyObject
*resultobj
;
37538 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37539 wxPoint
*arg2
= 0 ;
37540 wxGBSizerItem
*result
;
37542 PyObject
* obj0
= 0 ;
37543 PyObject
* obj1
= 0 ;
37544 char *kwnames
[] = {
37545 (char *) "self",(char *) "pt", NULL
37548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
37549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37552 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37556 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
37558 wxPyEndAllowThreads(__tstate
);
37559 if (PyErr_Occurred()) SWIG_fail
;
37561 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37568 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37569 PyObject
*resultobj
;
37570 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37571 wxObject
*arg2
= (wxObject
*) 0 ;
37572 wxGBSizerItem
*result
;
37573 PyObject
* obj0
= 0 ;
37574 PyObject
* obj1
= 0 ;
37575 char *kwnames
[] = {
37576 (char *) "self",(char *) "userData", NULL
37579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
37580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37584 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
37586 wxPyEndAllowThreads(__tstate
);
37587 if (PyErr_Occurred()) SWIG_fail
;
37589 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37596 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37597 PyObject
*resultobj
;
37598 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37599 PyObject
* obj0
= 0 ;
37600 char *kwnames
[] = {
37601 (char *) "self", NULL
37604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
37605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37608 (arg1
)->RecalcSizes();
37610 wxPyEndAllowThreads(__tstate
);
37611 if (PyErr_Occurred()) SWIG_fail
;
37613 Py_INCREF(Py_None
); resultobj
= Py_None
;
37620 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37621 PyObject
*resultobj
;
37622 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37624 PyObject
* obj0
= 0 ;
37625 char *kwnames
[] = {
37626 (char *) "self", NULL
37629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
37630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37633 result
= (arg1
)->CalcMin();
37635 wxPyEndAllowThreads(__tstate
);
37636 if (PyErr_Occurred()) SWIG_fail
;
37639 wxSize
* resultptr
;
37640 resultptr
= new wxSize((wxSize
&) result
);
37641 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
37649 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
37650 PyObject
*resultobj
;
37651 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37652 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37653 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
37655 PyObject
* obj0
= 0 ;
37656 PyObject
* obj1
= 0 ;
37657 PyObject
* obj2
= 0 ;
37659 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
37660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37661 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37663 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37667 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
37669 wxPyEndAllowThreads(__tstate
);
37670 if (PyErr_Occurred()) SWIG_fail
;
37672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37679 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
37680 PyObject
*resultobj
;
37681 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37682 wxGBPosition
*arg2
= 0 ;
37683 wxGBSpan
*arg3
= 0 ;
37684 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
37686 wxGBPosition temp2
;
37688 PyObject
* obj0
= 0 ;
37689 PyObject
* obj1
= 0 ;
37690 PyObject
* obj2
= 0 ;
37691 PyObject
* obj3
= 0 ;
37693 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37697 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37701 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37704 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37708 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
37710 wxPyEndAllowThreads(__tstate
);
37711 if (PyErr_Occurred()) SWIG_fail
;
37713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37720 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
37725 argc
= PyObject_Length(args
);
37726 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
37727 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37729 if ((argc
>= 2) && (argc
<= 3)) {
37733 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37743 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37752 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37756 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37764 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37769 if ((argc
>= 3) && (argc
<= 4)) {
37773 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37782 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37786 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37790 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37794 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37802 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37809 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
37814 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37817 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
37819 return Py_BuildValue((char *)"");
37821 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37822 PyObject
*resultobj
;
37823 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37825 wxWindow
*arg3
= (wxWindow
*) 0 ;
37827 int arg5
= (int) 0 ;
37828 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
37829 PyObject
* obj0
= 0 ;
37830 PyObject
* obj1
= 0 ;
37831 PyObject
* obj2
= 0 ;
37832 PyObject
* obj3
= 0 ;
37833 PyObject
* obj4
= 0 ;
37834 PyObject
* obj5
= 0 ;
37835 char *kwnames
[] = {
37836 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
37839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37842 arg2
= (wxRelationship
) SWIG_PyObj_AsInt(obj1
);
37843 if (PyErr_Occurred()) SWIG_fail
;
37845 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37847 arg4
= (wxEdge
) SWIG_PyObj_AsInt(obj3
);
37848 if (PyErr_Occurred()) SWIG_fail
;
37852 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
37853 if (PyErr_Occurred()) SWIG_fail
;
37858 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
37859 if (PyErr_Occurred()) SWIG_fail
;
37863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37864 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
37866 wxPyEndAllowThreads(__tstate
);
37867 if (PyErr_Occurred()) SWIG_fail
;
37869 Py_INCREF(Py_None
); resultobj
= Py_None
;
37876 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37877 PyObject
*resultobj
;
37878 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37879 wxWindow
*arg2
= (wxWindow
*) 0 ;
37880 int arg3
= (int) 0 ;
37881 PyObject
* obj0
= 0 ;
37882 PyObject
* obj1
= 0 ;
37883 PyObject
* obj2
= 0 ;
37884 char *kwnames
[] = {
37885 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37890 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37893 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37894 if (PyErr_Occurred()) SWIG_fail
;
37898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37899 (arg1
)->LeftOf(arg2
,arg3
);
37901 wxPyEndAllowThreads(__tstate
);
37902 if (PyErr_Occurred()) SWIG_fail
;
37904 Py_INCREF(Py_None
); resultobj
= Py_None
;
37911 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37912 PyObject
*resultobj
;
37913 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37914 wxWindow
*arg2
= (wxWindow
*) 0 ;
37915 int arg3
= (int) 0 ;
37916 PyObject
* obj0
= 0 ;
37917 PyObject
* obj1
= 0 ;
37918 PyObject
* obj2
= 0 ;
37919 char *kwnames
[] = {
37920 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37928 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37929 if (PyErr_Occurred()) SWIG_fail
;
37933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37934 (arg1
)->RightOf(arg2
,arg3
);
37936 wxPyEndAllowThreads(__tstate
);
37937 if (PyErr_Occurred()) SWIG_fail
;
37939 Py_INCREF(Py_None
); resultobj
= Py_None
;
37946 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37947 PyObject
*resultobj
;
37948 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37949 wxWindow
*arg2
= (wxWindow
*) 0 ;
37950 int arg3
= (int) 0 ;
37951 PyObject
* obj0
= 0 ;
37952 PyObject
* obj1
= 0 ;
37953 PyObject
* obj2
= 0 ;
37954 char *kwnames
[] = {
37955 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37960 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37963 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37964 if (PyErr_Occurred()) SWIG_fail
;
37968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37969 (arg1
)->Above(arg2
,arg3
);
37971 wxPyEndAllowThreads(__tstate
);
37972 if (PyErr_Occurred()) SWIG_fail
;
37974 Py_INCREF(Py_None
); resultobj
= Py_None
;
37981 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37982 PyObject
*resultobj
;
37983 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37984 wxWindow
*arg2
= (wxWindow
*) 0 ;
37985 int arg3
= (int) 0 ;
37986 PyObject
* obj0
= 0 ;
37987 PyObject
* obj1
= 0 ;
37988 PyObject
* obj2
= 0 ;
37989 char *kwnames
[] = {
37990 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37998 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37999 if (PyErr_Occurred()) SWIG_fail
;
38003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38004 (arg1
)->Below(arg2
,arg3
);
38006 wxPyEndAllowThreads(__tstate
);
38007 if (PyErr_Occurred()) SWIG_fail
;
38009 Py_INCREF(Py_None
); resultobj
= Py_None
;
38016 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38017 PyObject
*resultobj
;
38018 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38019 wxWindow
*arg2
= (wxWindow
*) 0 ;
38021 int arg4
= (int) 0 ;
38022 PyObject
* obj0
= 0 ;
38023 PyObject
* obj1
= 0 ;
38024 PyObject
* obj2
= 0 ;
38025 PyObject
* obj3
= 0 ;
38026 char *kwnames
[] = {
38027 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
38030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38032 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38034 arg3
= (wxEdge
) SWIG_PyObj_AsInt(obj2
);
38035 if (PyErr_Occurred()) SWIG_fail
;
38039 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
38040 if (PyErr_Occurred()) SWIG_fail
;
38044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38045 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
38047 wxPyEndAllowThreads(__tstate
);
38048 if (PyErr_Occurred()) SWIG_fail
;
38050 Py_INCREF(Py_None
); resultobj
= Py_None
;
38057 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38058 PyObject
*resultobj
;
38059 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38060 wxWindow
*arg2
= (wxWindow
*) 0 ;
38063 PyObject
* obj0
= 0 ;
38064 PyObject
* obj1
= 0 ;
38065 PyObject
* obj2
= 0 ;
38066 PyObject
* obj3
= 0 ;
38067 char *kwnames
[] = {
38068 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
38071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38073 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38075 arg3
= (wxEdge
) SWIG_PyObj_AsInt(obj2
);
38076 if (PyErr_Occurred()) SWIG_fail
;
38079 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
38080 if (PyErr_Occurred()) SWIG_fail
;
38083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38084 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
38086 wxPyEndAllowThreads(__tstate
);
38087 if (PyErr_Occurred()) SWIG_fail
;
38089 Py_INCREF(Py_None
); resultobj
= Py_None
;
38096 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38097 PyObject
*resultobj
;
38098 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38100 PyObject
* obj0
= 0 ;
38101 PyObject
* obj1
= 0 ;
38102 char *kwnames
[] = {
38103 (char *) "self",(char *) "val", NULL
38106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
38107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38109 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
38110 if (PyErr_Occurred()) SWIG_fail
;
38113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38114 (arg1
)->Absolute(arg2
);
38116 wxPyEndAllowThreads(__tstate
);
38117 if (PyErr_Occurred()) SWIG_fail
;
38119 Py_INCREF(Py_None
); resultobj
= Py_None
;
38126 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38127 PyObject
*resultobj
;
38128 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38129 PyObject
* obj0
= 0 ;
38130 char *kwnames
[] = {
38131 (char *) "self", NULL
38134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
38135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38138 (arg1
)->Unconstrained();
38140 wxPyEndAllowThreads(__tstate
);
38141 if (PyErr_Occurred()) SWIG_fail
;
38143 Py_INCREF(Py_None
); resultobj
= Py_None
;
38150 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38151 PyObject
*resultobj
;
38152 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38153 PyObject
* obj0
= 0 ;
38154 char *kwnames
[] = {
38155 (char *) "self", NULL
38158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
38159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38164 wxPyEndAllowThreads(__tstate
);
38165 if (PyErr_Occurred()) SWIG_fail
;
38167 Py_INCREF(Py_None
); resultobj
= Py_None
;
38174 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38175 PyObject
*resultobj
;
38176 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38178 PyObject
* obj0
= 0 ;
38179 char *kwnames
[] = {
38180 (char *) "self", NULL
38183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
38184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38187 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
38189 wxPyEndAllowThreads(__tstate
);
38190 if (PyErr_Occurred()) SWIG_fail
;
38193 resultobj
= wxPyMake_wxObject(result
);
38201 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38202 PyObject
*resultobj
;
38203 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38205 PyObject
* obj0
= 0 ;
38206 char *kwnames
[] = {
38207 (char *) "self", NULL
38210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
38211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38214 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
38216 wxPyEndAllowThreads(__tstate
);
38217 if (PyErr_Occurred()) SWIG_fail
;
38219 resultobj
= SWIG_PyObj_FromInt((int)result
);
38226 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38227 PyObject
*resultobj
;
38228 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38230 PyObject
* obj0
= 0 ;
38231 PyObject
* obj1
= 0 ;
38232 char *kwnames
[] = {
38233 (char *) "self",(char *) "which", NULL
38236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
38237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38239 arg2
= (wxEdge
) SWIG_PyObj_AsInt(obj1
);
38240 if (PyErr_Occurred()) SWIG_fail
;
38243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38244 (arg1
)->SetEdge((wxEdge
)arg2
);
38246 wxPyEndAllowThreads(__tstate
);
38247 if (PyErr_Occurred()) SWIG_fail
;
38249 Py_INCREF(Py_None
); resultobj
= Py_None
;
38256 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38257 PyObject
*resultobj
;
38258 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38260 PyObject
* obj0
= 0 ;
38261 PyObject
* obj1
= 0 ;
38262 char *kwnames
[] = {
38263 (char *) "self",(char *) "v", NULL
38266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
38267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38269 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
38270 if (PyErr_Occurred()) SWIG_fail
;
38273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38274 (arg1
)->SetValue(arg2
);
38276 wxPyEndAllowThreads(__tstate
);
38277 if (PyErr_Occurred()) SWIG_fail
;
38279 Py_INCREF(Py_None
); resultobj
= Py_None
;
38286 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38287 PyObject
*resultobj
;
38288 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38290 PyObject
* obj0
= 0 ;
38291 char *kwnames
[] = {
38292 (char *) "self", NULL
38295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
38296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38299 result
= (int)(arg1
)->GetMargin();
38301 wxPyEndAllowThreads(__tstate
);
38302 if (PyErr_Occurred()) SWIG_fail
;
38304 resultobj
= SWIG_PyObj_FromInt((int)result
);
38311 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38312 PyObject
*resultobj
;
38313 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38315 PyObject
* obj0
= 0 ;
38316 PyObject
* obj1
= 0 ;
38317 char *kwnames
[] = {
38318 (char *) "self",(char *) "m", NULL
38321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
38322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38324 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
38325 if (PyErr_Occurred()) SWIG_fail
;
38328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38329 (arg1
)->SetMargin(arg2
);
38331 wxPyEndAllowThreads(__tstate
);
38332 if (PyErr_Occurred()) SWIG_fail
;
38334 Py_INCREF(Py_None
); resultobj
= Py_None
;
38341 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38342 PyObject
*resultobj
;
38343 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38345 PyObject
* obj0
= 0 ;
38346 char *kwnames
[] = {
38347 (char *) "self", NULL
38350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
38351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38354 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
38356 wxPyEndAllowThreads(__tstate
);
38357 if (PyErr_Occurred()) SWIG_fail
;
38359 resultobj
= SWIG_PyObj_FromInt((int)result
);
38366 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38367 PyObject
*resultobj
;
38368 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38370 PyObject
* obj0
= 0 ;
38371 char *kwnames
[] = {
38372 (char *) "self", NULL
38375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
38376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38379 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
38381 wxPyEndAllowThreads(__tstate
);
38382 if (PyErr_Occurred()) SWIG_fail
;
38384 resultobj
= SWIG_PyObj_FromInt((int)result
);
38391 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38392 PyObject
*resultobj
;
38393 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38395 PyObject
* obj0
= 0 ;
38396 char *kwnames
[] = {
38397 (char *) "self", NULL
38400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
38401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38404 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
38406 wxPyEndAllowThreads(__tstate
);
38407 if (PyErr_Occurred()) SWIG_fail
;
38409 resultobj
= SWIG_PyObj_FromInt((int)result
);
38416 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38417 PyObject
*resultobj
;
38418 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38420 PyObject
* obj0
= 0 ;
38421 char *kwnames
[] = {
38422 (char *) "self", NULL
38425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
38426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38429 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
38431 wxPyEndAllowThreads(__tstate
);
38432 if (PyErr_Occurred()) SWIG_fail
;
38434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38441 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38442 PyObject
*resultobj
;
38443 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38445 PyObject
* obj0
= 0 ;
38446 PyObject
* obj1
= 0 ;
38447 char *kwnames
[] = {
38448 (char *) "self",(char *) "d", NULL
38451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
38452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38454 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
38455 if (PyErr_Occurred()) SWIG_fail
;
38458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38459 (arg1
)->SetDone(arg2
);
38461 wxPyEndAllowThreads(__tstate
);
38462 if (PyErr_Occurred()) SWIG_fail
;
38464 Py_INCREF(Py_None
); resultobj
= Py_None
;
38471 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38472 PyObject
*resultobj
;
38473 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38475 PyObject
* obj0
= 0 ;
38476 char *kwnames
[] = {
38477 (char *) "self", NULL
38480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
38481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38484 result
= (int)(arg1
)->GetRelationship();
38486 wxPyEndAllowThreads(__tstate
);
38487 if (PyErr_Occurred()) SWIG_fail
;
38489 resultobj
= SWIG_PyObj_FromInt((int)result
);
38496 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38497 PyObject
*resultobj
;
38498 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38500 PyObject
* obj0
= 0 ;
38501 PyObject
* obj1
= 0 ;
38502 char *kwnames
[] = {
38503 (char *) "self",(char *) "r", NULL
38506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
38507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38509 arg2
= (wxRelationship
) SWIG_PyObj_AsInt(obj1
);
38510 if (PyErr_Occurred()) SWIG_fail
;
38513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38514 (arg1
)->SetRelationship((wxRelationship
)arg2
);
38516 wxPyEndAllowThreads(__tstate
);
38517 if (PyErr_Occurred()) SWIG_fail
;
38519 Py_INCREF(Py_None
); resultobj
= Py_None
;
38526 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38527 PyObject
*resultobj
;
38528 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38529 wxWindow
*arg2
= (wxWindow
*) 0 ;
38531 PyObject
* obj0
= 0 ;
38532 PyObject
* obj1
= 0 ;
38533 char *kwnames
[] = {
38534 (char *) "self",(char *) "otherW", NULL
38537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
38538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38539 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38542 result
= (bool)(arg1
)->ResetIfWin(arg2
);
38544 wxPyEndAllowThreads(__tstate
);
38545 if (PyErr_Occurred()) SWIG_fail
;
38547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38554 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38555 PyObject
*resultobj
;
38556 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38557 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
38558 wxWindow
*arg3
= (wxWindow
*) 0 ;
38560 PyObject
* obj0
= 0 ;
38561 PyObject
* obj1
= 0 ;
38562 PyObject
* obj2
= 0 ;
38563 char *kwnames
[] = {
38564 (char *) "self",(char *) "constraints",(char *) "win", NULL
38567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38569 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38570 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38573 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
38575 wxPyEndAllowThreads(__tstate
);
38576 if (PyErr_Occurred()) SWIG_fail
;
38578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38585 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38586 PyObject
*resultobj
;
38587 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38589 wxWindow
*arg3
= (wxWindow
*) 0 ;
38590 wxWindow
*arg4
= (wxWindow
*) 0 ;
38592 PyObject
* obj0
= 0 ;
38593 PyObject
* obj1
= 0 ;
38594 PyObject
* obj2
= 0 ;
38595 PyObject
* obj3
= 0 ;
38596 char *kwnames
[] = {
38597 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38603 arg2
= (wxEdge
) SWIG_PyObj_AsInt(obj1
);
38604 if (PyErr_Occurred()) SWIG_fail
;
38606 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38607 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38610 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
38612 wxPyEndAllowThreads(__tstate
);
38613 if (PyErr_Occurred()) SWIG_fail
;
38615 resultobj
= SWIG_PyObj_FromInt((int)result
);
38622 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
38624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38625 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
38627 return Py_BuildValue((char *)"");
38629 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38630 PyObject
*resultobj
;
38631 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38632 wxIndividualLayoutConstraint
*result
;
38633 PyObject
* obj0
= 0 ;
38634 char *kwnames
[] = {
38635 (char *) "self", NULL
38638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
38639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38640 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
38642 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38649 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38650 PyObject
*resultobj
;
38651 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38652 wxIndividualLayoutConstraint
*result
;
38653 PyObject
* obj0
= 0 ;
38654 char *kwnames
[] = {
38655 (char *) "self", NULL
38658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
38659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38660 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
38662 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38669 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38670 PyObject
*resultobj
;
38671 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38672 wxIndividualLayoutConstraint
*result
;
38673 PyObject
* obj0
= 0 ;
38674 char *kwnames
[] = {
38675 (char *) "self", NULL
38678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
38679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38680 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
38682 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38689 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38690 PyObject
*resultobj
;
38691 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38692 wxIndividualLayoutConstraint
*result
;
38693 PyObject
* obj0
= 0 ;
38694 char *kwnames
[] = {
38695 (char *) "self", NULL
38698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
38699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38700 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
38702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38709 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38710 PyObject
*resultobj
;
38711 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38712 wxIndividualLayoutConstraint
*result
;
38713 PyObject
* obj0
= 0 ;
38714 char *kwnames
[] = {
38715 (char *) "self", NULL
38718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
38719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38720 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
38722 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38729 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38730 PyObject
*resultobj
;
38731 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38732 wxIndividualLayoutConstraint
*result
;
38733 PyObject
* obj0
= 0 ;
38734 char *kwnames
[] = {
38735 (char *) "self", NULL
38738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
38739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38740 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
38742 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38749 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38750 PyObject
*resultobj
;
38751 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38752 wxIndividualLayoutConstraint
*result
;
38753 PyObject
* obj0
= 0 ;
38754 char *kwnames
[] = {
38755 (char *) "self", NULL
38758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
38759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38760 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
38762 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38769 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38770 PyObject
*resultobj
;
38771 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38772 wxIndividualLayoutConstraint
*result
;
38773 PyObject
* obj0
= 0 ;
38774 char *kwnames
[] = {
38775 (char *) "self", NULL
38778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
38779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38780 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
38782 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38789 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38790 PyObject
*resultobj
;
38791 wxLayoutConstraints
*result
;
38792 char *kwnames
[] = {
38796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
38798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38799 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
38801 wxPyEndAllowThreads(__tstate
);
38802 if (PyErr_Occurred()) SWIG_fail
;
38804 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
38811 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38812 PyObject
*resultobj
;
38813 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38814 wxWindow
*arg2
= (wxWindow
*) 0 ;
38815 int *arg3
= (int *) 0 ;
38818 PyObject
* obj0
= 0 ;
38819 PyObject
* obj1
= 0 ;
38820 char *kwnames
[] = {
38821 (char *) "self",(char *) "win", NULL
38825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
38826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38827 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38830 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
38832 wxPyEndAllowThreads(__tstate
);
38833 if (PyErr_Occurred()) SWIG_fail
;
38835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38837 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
38838 resultobj
= t_output_helper(resultobj
,o
);
38846 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38847 PyObject
*resultobj
;
38848 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38850 PyObject
* obj0
= 0 ;
38851 char *kwnames
[] = {
38852 (char *) "self", NULL
38855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
38856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38859 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
38861 wxPyEndAllowThreads(__tstate
);
38862 if (PyErr_Occurred()) SWIG_fail
;
38864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38871 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
38873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38874 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
38876 return Py_BuildValue((char *)"");
38878 static PyMethodDef SwigMethods
[] = {
38879 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
38880 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
38881 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
38882 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
38883 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
38884 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
38885 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
38886 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
38887 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
38888 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
38889 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
38890 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38891 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38892 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
38893 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38894 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
38895 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
38896 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
38897 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38898 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38899 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38900 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38901 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
38902 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
38903 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38904 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38905 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38906 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38907 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
38908 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
38909 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38910 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38911 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
38912 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38913 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
38914 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
38915 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
38916 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38917 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38918 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38919 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38920 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
38921 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
38922 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38923 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38924 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
38925 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38926 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38927 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
38928 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
38929 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
38930 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
38931 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
38932 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
38933 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
38934 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
38935 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38936 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
38937 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38938 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
38939 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38940 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38941 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38942 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38943 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38944 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38945 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
38946 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
38947 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
38948 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
38949 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
38950 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
38951 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
38952 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
38953 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
38954 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
38955 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
38956 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
38957 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
38958 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
38959 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
38960 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
38961 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
38962 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
38963 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
38964 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
38965 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38966 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38967 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38968 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
38969 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
38970 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
38971 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38972 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38973 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38974 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38975 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
38976 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
38977 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
38978 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
38979 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
38980 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
38981 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
38982 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
38983 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
38984 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
38985 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
38986 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
38987 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
38988 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
38989 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
38990 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
38991 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
38992 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
38993 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
38994 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
38995 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
38996 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
38997 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38998 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
38999 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
39000 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
39001 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39002 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39003 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39004 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39005 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39006 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39007 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
39008 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
39009 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
39010 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
39011 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
39012 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
39013 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
39014 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
39015 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
39016 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
39017 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
39018 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
39019 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
39020 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
39021 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
39022 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39023 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
39024 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
39025 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
39026 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
39027 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
39028 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
39029 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
39030 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
39031 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
39032 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
39033 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39034 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
39035 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
39036 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
39037 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
39038 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
39039 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
39040 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39041 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39042 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39043 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39044 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39045 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
39046 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
39047 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
39048 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
39049 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
39050 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
39051 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
39052 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
39053 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
39054 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
39055 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39056 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39057 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39058 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
39059 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
39060 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
39061 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
39062 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
39063 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39064 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39065 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39066 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
39067 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39068 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39069 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39070 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39071 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39072 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
39073 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
39074 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39075 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
39076 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39077 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
39078 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39079 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39080 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39081 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39082 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
39083 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39084 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
39085 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
39086 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39087 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39088 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39089 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
39090 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
39091 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39092 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
39093 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
39094 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
39095 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
39096 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
39097 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
39098 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
39099 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
39100 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
39101 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
39102 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
39103 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39104 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
39105 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
39106 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39107 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
39108 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
39109 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
39110 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
39111 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
39112 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
39113 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
39114 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39115 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39116 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39117 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
39118 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
39119 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39120 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
39121 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
39122 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39123 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
39124 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39125 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
39126 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
39127 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
39128 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39129 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39130 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39131 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
39132 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
39133 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
39134 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
39135 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
39136 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39137 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39138 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39139 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39140 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39141 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39142 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
39143 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
39144 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
39145 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
39146 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
39147 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
39148 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
39149 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
39150 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
39151 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
39152 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
39153 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
39154 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
39155 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
39156 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
39157 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
39158 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
39159 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
39160 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
39161 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
39162 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
39163 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
39164 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39165 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39166 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
39167 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
39168 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
39169 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
39170 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
39171 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
39172 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
39173 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
39174 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
39175 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
39176 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
39177 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
39178 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
39179 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
39180 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
39181 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
39182 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
39183 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
39184 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
39185 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
39186 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
39187 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
39188 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
39189 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
39190 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
39191 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
39192 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
39193 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
39194 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
39195 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39196 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39197 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
39198 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
39199 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
39200 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
39201 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
39202 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
39203 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
39204 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
39205 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
39206 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
39207 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
39208 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
39209 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
39210 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
39211 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
39212 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39213 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39214 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39215 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
39216 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
39217 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
39218 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
39219 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
39220 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39221 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
39222 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
39223 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
39224 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
39225 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
39226 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
39227 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
39228 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39229 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
39230 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
39231 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
39232 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39233 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
39234 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
39235 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
39236 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
39237 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
39238 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39239 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
39240 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39241 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
39242 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
39243 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
39244 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
39245 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
39246 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39247 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39248 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39249 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39250 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
39251 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
39252 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39253 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39254 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39255 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39256 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
39257 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39258 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
39259 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
39260 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
39261 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
39262 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
39263 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39264 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
39265 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
39266 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
39267 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
39268 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
39269 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
39270 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
39271 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
39272 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
39273 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
39274 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
39275 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
39276 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
39277 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
39278 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39279 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39280 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39281 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
39282 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
39283 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
39284 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
39285 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39286 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39287 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
39288 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39289 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39290 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
39291 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
39292 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
39293 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
39294 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39295 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39296 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39297 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39298 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39299 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39300 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39301 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39302 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39303 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39304 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39305 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39306 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39307 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39308 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39309 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39310 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39311 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39312 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
39313 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
39314 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
39315 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
39316 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
39317 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
39318 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
39319 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
39320 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39321 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39322 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39323 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39324 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
39325 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
39326 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39327 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
39328 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
39329 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
39330 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
39331 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
39332 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39333 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
39334 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39335 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
39336 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39337 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39338 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39339 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39340 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39341 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39342 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39343 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39344 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39345 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39346 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39347 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39348 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39349 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39350 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39351 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39352 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39353 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39354 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39355 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39356 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39357 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39358 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
39359 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
39360 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
39361 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39362 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39363 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39364 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39365 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39366 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
39367 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
39368 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
39369 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
39370 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
39371 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
39372 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39373 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39374 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39375 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39376 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
39377 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
39378 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
39379 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
39380 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
39381 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
39382 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
39383 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
39384 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
39385 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39386 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
39387 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
39388 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
39389 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39390 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39391 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
39392 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
39393 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39394 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
39395 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
39396 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
39397 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
39398 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
39399 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
39400 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
39401 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
39402 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
39403 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39404 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
39405 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39406 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
39407 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
39408 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
39409 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
39410 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
39411 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
39412 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
39413 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
39414 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
39415 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
39416 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
39417 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39418 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
39419 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
39420 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39421 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
39422 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39423 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
39424 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
39425 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
39426 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
39427 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
39428 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39429 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
39430 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
39431 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
39432 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39433 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
39434 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39435 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
39436 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
39437 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
39438 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
39439 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
39440 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
39441 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
39442 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
39443 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39444 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
39445 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39446 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39447 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
39448 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39449 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
39450 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39451 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39452 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39453 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
39454 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
39455 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
39456 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
39457 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
39458 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39459 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
39460 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
39461 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
39462 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
39463 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
39464 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
39465 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
39466 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
39467 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39468 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
39469 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39470 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39471 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
39472 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
39473 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39474 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39475 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
39476 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
39477 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
39478 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
39479 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
39480 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
39481 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
39482 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
39483 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39484 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39485 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39486 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39487 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
39488 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39489 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39490 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39491 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39492 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
39493 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39494 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39495 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39496 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39497 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39498 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39499 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39500 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39501 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39502 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
39503 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
39504 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39505 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39506 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39507 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39508 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39509 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
39510 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
39511 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
39512 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
39513 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
39514 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39515 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39516 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39517 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39518 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39519 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39520 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39521 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39522 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39523 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39524 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39525 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39526 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39527 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39528 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39529 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39530 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39531 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39532 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39533 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39534 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
39535 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
39536 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
39537 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39538 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39539 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
39540 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
39541 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39542 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
39543 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
39544 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
39545 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39546 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39547 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
39548 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39549 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39550 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
39551 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39552 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
39553 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
39554 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39555 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39556 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39557 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
39558 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
39559 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
39560 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
39561 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
39562 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
39563 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39564 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
39565 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
39566 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39567 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39568 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39569 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39570 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39571 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39572 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39573 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39574 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
39575 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
39576 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
39577 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39578 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
39579 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39580 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39581 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
39582 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
39583 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
39584 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
39585 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39586 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39587 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39588 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39589 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39590 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39591 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39592 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39593 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39594 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39595 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
39596 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39597 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39598 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39599 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39600 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
39601 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
39602 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
39603 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
39604 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
39605 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39606 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39607 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
39608 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
39609 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
39610 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
39611 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
39612 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39613 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39614 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39615 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39616 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39617 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
39618 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
39619 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39620 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
39621 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39622 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39623 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39624 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39625 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
39626 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
39627 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
39628 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
39629 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39630 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39631 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
39632 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39633 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39634 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
39635 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
39636 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
39637 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
39638 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
39639 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
39640 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39641 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39642 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39643 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
39644 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
39645 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
39646 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
39647 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
39648 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
39649 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
39650 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
39651 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
39652 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39653 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39654 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39655 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39656 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39657 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39658 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39659 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39660 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39661 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39662 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39663 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39664 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39665 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
39666 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
39667 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39668 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39669 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
39670 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
39671 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
39672 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
39673 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
39674 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
39675 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
39676 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
39677 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
39678 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
39679 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
39680 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
39681 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
39682 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39683 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
39684 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
39685 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
39686 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39687 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39688 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39689 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39690 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39691 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39692 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
39693 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
39694 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
39695 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
39696 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
39697 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
39698 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
39699 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
39700 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
39701 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
39702 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
39703 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
39704 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
39705 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
39706 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
39707 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39708 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
39709 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
39710 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
39711 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
39712 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
39713 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
39714 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
39715 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
39716 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
39717 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
39718 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
39719 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
39720 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
39721 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
39722 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
39723 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
39724 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
39725 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
39726 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
39727 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
39728 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
39729 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
39730 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
39731 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
39732 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
39733 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
39734 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
39735 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39736 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39737 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
39738 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
39739 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
39740 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39741 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
39742 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39743 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
39744 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
39745 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
39746 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
39747 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
39748 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
39749 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
39750 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
39751 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39752 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
39753 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
39754 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
39755 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39756 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39757 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
39758 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
39759 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
39760 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
39761 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39762 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
39763 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
39764 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
39765 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39766 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39767 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39768 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
39769 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
39770 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
39771 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
39772 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39773 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39774 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39775 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39776 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
39777 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
39778 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
39779 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39780 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39781 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39782 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
39783 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39784 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
39785 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
39786 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
39787 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39788 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
39789 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
39790 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
39791 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
39792 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
39793 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
39794 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
39795 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39796 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39797 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
39798 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39799 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39800 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39801 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39802 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39803 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39804 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39805 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39806 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39807 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
39808 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
39809 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
39810 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
39811 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
39812 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
39813 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
39814 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
39815 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
39816 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
39817 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
39818 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
39819 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
39820 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39821 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
39822 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39823 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
39824 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39825 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
39826 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
39827 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
39828 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
39829 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39830 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
39831 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
39832 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39833 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
39834 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39835 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39836 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39837 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39838 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39839 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39840 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
39841 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
39842 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
39843 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
39844 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
39845 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39846 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39847 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39848 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39849 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39850 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39851 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
39852 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39853 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
39854 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
39855 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
39856 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
39857 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
39858 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39859 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39860 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39861 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39862 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39863 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
39864 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39865 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
39866 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
39867 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
39868 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
39869 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
39870 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
39871 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
39872 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
39873 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
39874 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39875 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39876 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
39877 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39878 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39879 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
39880 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
39881 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
39882 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
39883 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
39884 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
39885 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39886 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39887 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
39888 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
39889 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
39890 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
39891 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
39892 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39893 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39894 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
39895 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
39896 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
39897 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39898 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
39899 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
39900 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
39901 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
39902 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
39903 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
39904 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
39905 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
39906 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
39907 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
39908 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
39909 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
39910 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
39911 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
39912 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
39913 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
39914 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39915 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
39916 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
39917 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
39918 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
39919 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39920 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39921 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
39922 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39923 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
39924 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
39925 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
39926 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
39927 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
39928 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
39929 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
39930 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39931 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
39932 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
39933 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
39934 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
39935 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39936 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39937 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39938 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39939 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39940 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39941 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39942 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39943 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
39944 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39945 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39946 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
39947 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
39948 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
39949 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
39950 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39951 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
39952 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39953 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39954 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
39955 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
39956 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
39957 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
39958 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39959 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39960 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39961 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39962 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39963 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39964 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
39965 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
39966 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
39967 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39968 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39969 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
39970 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
39971 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
39972 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
39973 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
39974 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39975 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
39976 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
39977 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
39978 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39979 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
39980 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
39981 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39982 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39983 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39984 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39985 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
39986 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
39987 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
39988 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39989 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39990 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
39991 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
39992 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39993 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39994 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
39995 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
39996 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
39997 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
39998 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
39999 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
40000 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
40001 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
40002 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
40003 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
40004 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40005 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40006 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
40007 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
40008 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
40009 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
40010 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
40011 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
40012 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
40013 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
40014 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
40015 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
40016 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
40017 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
40018 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
40019 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
40020 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
40021 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
40022 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40023 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40024 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
40025 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
40026 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
40027 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
40028 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
40029 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
40030 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
40031 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
40032 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40033 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40034 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
40035 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
40036 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
40037 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
40038 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
40039 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
40040 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40041 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
40042 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
40043 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
40044 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
40045 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
40046 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
40047 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
40048 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
40049 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
40050 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
40051 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
40052 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
40053 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
40054 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
40055 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
40056 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
40057 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
40058 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
40059 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
40060 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
40061 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
40062 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
40063 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40064 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40065 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
40066 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
40067 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40068 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
40069 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
40070 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
40071 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
40072 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
40073 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
40074 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
40075 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
40076 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
40077 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
40078 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
40079 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
40080 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
40081 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
40082 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
40083 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
40084 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
40085 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
40086 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
40087 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
40088 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
40089 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
40090 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
40091 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
40092 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
40093 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
40094 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
40095 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
40096 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
40097 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
40098 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40099 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40100 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
40101 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
40102 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40103 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40104 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
40105 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
40110 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40112 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
40113 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
40115 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
40116 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
40118 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
40119 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40121 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
40122 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40124 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
40125 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
40127 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
40128 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40130 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
40131 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
40133 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
40134 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40136 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40137 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40139 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40140 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40142 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40143 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40145 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40146 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40148 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40149 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40151 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40152 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40154 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40155 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40157 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40158 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40160 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40161 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40163 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40164 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40166 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40167 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40169 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40170 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40172 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40173 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40175 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40176 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40178 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40179 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40181 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40182 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40184 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40185 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40187 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40188 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40190 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40191 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40193 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40194 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40196 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40197 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40199 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40200 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40202 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40203 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40205 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40206 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40208 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40209 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40211 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40212 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40214 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40215 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40217 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40218 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40220 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40221 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40223 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40224 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40226 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40227 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40229 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40230 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40232 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40233 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40235 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40236 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40238 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40239 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40241 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
40242 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40244 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
40245 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40247 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
40248 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40250 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
40251 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
40253 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
40254 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
40256 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40257 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40259 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40260 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40262 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40263 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40265 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40266 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40268 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40269 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40271 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40272 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40274 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40275 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40277 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40278 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40280 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
40281 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
40283 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
40284 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
40286 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
40287 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
40289 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
40290 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
40292 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
40293 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
40295 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
40296 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40298 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
40299 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
40301 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
40302 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
40304 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
40305 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40307 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
40308 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40310 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
40311 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
40313 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
40314 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
40316 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
40317 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
40319 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
40320 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
40322 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
40323 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
40325 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
40326 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
40328 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
40329 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
40331 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
40332 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
40334 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40335 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
40337 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40338 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
40340 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40341 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
40343 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40344 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40346 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40347 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40349 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40350 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40352 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40353 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40355 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40356 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40358 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40359 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40361 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40362 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40364 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40367 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40370 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40371 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40373 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40374 return (void *)((wxObject
*) ((wxSizer
*) x
));
40376 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40377 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40379 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40380 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40382 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40383 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40385 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40386 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40388 static void *_p_wxImageTo_p_wxObject(void *x
) {
40389 return (void *)((wxObject
*) ((wxImage
*) x
));
40391 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40392 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40394 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40395 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40397 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40398 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40400 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40401 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40403 static void *_p_wxControlTo_p_wxObject(void *x
) {
40404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40406 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40407 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40409 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40410 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40412 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40413 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40415 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40416 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40418 static void *_p_wxEventTo_p_wxObject(void *x
) {
40419 return (void *)((wxObject
*) ((wxEvent
*) x
));
40421 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40422 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40424 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40425 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40427 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40428 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40430 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40431 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40433 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40434 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40436 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40437 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40439 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40440 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40442 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40443 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40445 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40448 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40449 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40451 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40454 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40455 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40457 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40458 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40460 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40461 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40463 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40464 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40466 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40467 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40469 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40470 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40472 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40473 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40475 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40476 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40478 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40479 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40481 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40482 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40484 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40485 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40487 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40488 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40490 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40491 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40493 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40494 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40496 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40497 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40499 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40500 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40502 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40503 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40505 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40506 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40508 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40509 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40511 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40512 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40514 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40515 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40517 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40518 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40520 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40521 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40523 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40524 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40526 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40527 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40529 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40530 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40532 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40533 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40535 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40536 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40538 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40539 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40541 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40542 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40544 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40545 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40547 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40550 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40551 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40553 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40554 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40556 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40557 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40559 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40560 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40562 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40563 return (void *)((wxWindow
*) ((wxControl
*) x
));
40565 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40566 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40568 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40569 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40571 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
40572 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40574 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
40575 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
40577 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
40578 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40580 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
40581 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40583 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
40584 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40586 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
40587 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40589 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
40590 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40592 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
40593 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40595 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
40596 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
40598 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
40599 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
40600 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
40601 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
40602 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
40603 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
40604 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}};
40605 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
40606 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
40607 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
40608 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
40609 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
40610 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
40611 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}};
40612 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}};
40613 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
40614 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
40615 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
40616 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
40617 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
40618 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
40619 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
40620 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
40621 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
40622 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
40623 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
40624 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
40625 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
40626 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
40627 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
40628 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
40629 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
40630 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
40631 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
40632 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
40633 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
40634 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
40635 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
40636 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
40637 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
40638 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
40639 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
40640 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
40641 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
40642 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
40643 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
40644 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
40645 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
40646 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
40647 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
40648 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
40649 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
40650 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
40651 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
40652 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
40653 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
40654 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
40655 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
40656 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
40657 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
40658 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
40659 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
40660 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
40661 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}};
40662 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
40663 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}};
40664 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}};
40665 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}};
40666 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}};
40667 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
40668 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
40669 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
40670 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
40671 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
40672 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
40673 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
40674 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
40675 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
40676 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
40677 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
40678 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
40679 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
40680 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
40681 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
40682 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
40683 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}};
40684 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
40685 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
40686 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
40687 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
40688 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
40689 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
40690 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
40691 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}};
40692 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
40693 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
40694 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
40695 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
40696 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
40697 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
40698 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
40699 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
40700 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
40701 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
40702 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}};
40703 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
40704 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
40705 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
40706 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
40707 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
40708 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
40709 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
40710 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
40711 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
40713 static swig_type_info
*swig_types_initial
[] = {
40714 _swigt__p_wxLayoutConstraints
,
40715 _swigt__p_wxRealPoint
,
40716 _swigt__p_wxSizerItem
,
40717 _swigt__p_wxGBSizerItem
,
40718 _swigt__p_wxScrollEvent
,
40719 _swigt__p_wxIndividualLayoutConstraint
,
40721 _swigt__p_wxBoxSizer
,
40722 _swigt__p_wxStaticBoxSizer
,
40723 _swigt__p_wxGridBagSizer
,
40724 _swigt__p_wxAcceleratorEntry
,
40725 _swigt__p_wxUpdateUIEvent
,
40728 _swigt__p_wxGridSizer
,
40729 _swigt__p_wxFlexGridSizer
,
40730 _swigt__p_wxInitDialogEvent
,
40731 _swigt__p_wxItemContainer
,
40732 _swigt__p_wxNcPaintEvent
,
40733 _swigt__p_wxPaintEvent
,
40734 _swigt__p_wxSysColourChangedEvent
,
40735 _swigt__p_wxMouseCaptureChangedEvent
,
40736 _swigt__p_wxDisplayChangedEvent
,
40737 _swigt__p_wxPaletteChangedEvent
,
40738 _swigt__p_wxControl
,
40740 _swigt__p_wxMenuBarBase
,
40741 _swigt__p_wxSetCursorEvent
,
40742 _swigt__p_wxFSFile
,
40744 _swigt__p_wxRegion
,
40745 _swigt__p_wxPoint2D
,
40749 _swigt__p_wxPySizer
,
40750 _swigt__p_wxNotifyEvent
,
40751 _swigt__p_wxPyEvent
,
40752 _swigt__p_wxPropagationDisabler
,
40753 _swigt__p_wxAppTraits
,
40754 _swigt__p_wxArrayString
,
40755 _swigt__p_wxShowEvent
,
40756 _swigt__p_wxToolTip
,
40757 _swigt__p_wxMaximizeEvent
,
40758 _swigt__p_wxIconizeEvent
,
40759 _swigt__p_wxActivateEvent
,
40760 _swigt__p_wxMoveEvent
,
40761 _swigt__p_wxSizeEvent
,
40762 _swigt__p_wxQueryNewPaletteEvent
,
40763 _swigt__p_wxWindowCreateEvent
,
40764 _swigt__p_wxIdleEvent
,
40765 _swigt__p_wxMenuItem
,
40766 _swigt__p_wxStaticBox
,
40768 _swigt__p_wxTIFFHandler
,
40769 _swigt__p_wxXPMHandler
,
40770 _swigt__p_wxPNMHandler
,
40771 _swigt__p_wxJPEGHandler
,
40772 _swigt__p_wxPCXHandler
,
40773 _swigt__p_wxGIFHandler
,
40774 _swigt__p_wxPNGHandler
,
40775 _swigt__p_wxANIHandler
,
40776 _swigt__p_wxMemoryFSHandler
,
40777 _swigt__p_wxEvtHandler
,
40778 _swigt__p_wxCURHandler
,
40779 _swigt__p_wxICOHandler
,
40780 _swigt__p_wxBMPHandler
,
40781 _swigt__p_wxImageHandler
,
40782 _swigt__p_wxFileSystemHandler
,
40783 _swigt__p_wxPyFileSystemHandler
,
40784 _swigt__p_wxInternetFSHandler
,
40785 _swigt__p_wxZipFSHandler
,
40787 _swigt__p_wxGBSpan
,
40788 _swigt__p_wxPropagateOnce
,
40789 _swigt__p_wxAcceleratorTable
,
40791 _swigt__p_wxGBPosition
,
40794 _swigt__p_wxScrollWinEvent
,
40795 _swigt__p_wxImageHistogram
,
40798 _swigt__p_wxCursor
,
40799 _swigt__p_wxObject
,
40800 _swigt__p_wxPyInputStream
,
40801 _swigt__p_wxOutputStream
,
40802 _swigt__p_wxInputStream
,
40803 _swigt__p_wxDateTime
,
40804 _swigt__p_wxKeyEvent
,
40805 _swigt__p_wxNavigationKeyEvent
,
40806 _swigt__p_wxWindowDestroyEvent
,
40807 _swigt__p_wxWindow
,
40808 _swigt__p_wxMenuBar
,
40809 _swigt__p_wxFileSystem
,
40810 _swigt__p_wxBitmap
,
40811 _swigt__p_wxMenuEvent
,
40812 _swigt__p_wxContextMenuEvent
,
40813 _swigt__p_unsigned_char
,
40814 _swigt__p_wxCloseEvent
,
40815 _swigt__p_wxEraseEvent
,
40816 _swigt__p_wxMouseEvent
,
40818 _swigt__p_wxCommandEvent
,
40819 _swigt__p_wxPyCommandEvent
,
40820 _swigt__p_wxPyDropTarget
,
40821 _swigt__p_wxChildFocusEvent
,
40822 _swigt__p_wxFocusEvent
,
40823 _swigt__p_wxDropFilesEvent
,
40824 _swigt__p_wxControlWithItems
,
40825 _swigt__p_wxColour
,
40826 _swigt__p_wxValidator
,
40827 _swigt__p_wxPyValidator
,
40832 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40834 static swig_const_info swig_const_table
[] = {
40844 SWIGEXPORT(void) SWIG_init(void) {
40845 static PyObject
*SWIG_globals
= 0;
40846 static int typeinit
= 0;
40849 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
40850 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40851 d
= PyModule_GetDict(m
);
40854 for (i
= 0; swig_types_initial
[i
]; i
++) {
40855 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
40859 SWIG_InstallConstants(d
,swig_const_table
);
40862 #ifndef wxPyUSE_EXPORT
40863 // Make our API structure a CObject so other modules can import it
40864 // from this module.
40865 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
40866 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
40870 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_PyObj_FromInt((int)wxNOT_FOUND
));
40871 PyDict_SetItemString(d
,"VSCROLL", SWIG_PyObj_FromInt((int)wxVSCROLL
));
40872 PyDict_SetItemString(d
,"HSCROLL", SWIG_PyObj_FromInt((int)wxHSCROLL
));
40873 PyDict_SetItemString(d
,"CAPTION", SWIG_PyObj_FromInt((int)wxCAPTION
));
40874 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_PyObj_FromInt((int)wxDOUBLE_BORDER
));
40875 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_PyObj_FromInt((int)wxSUNKEN_BORDER
));
40876 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_PyObj_FromInt((int)wxRAISED_BORDER
));
40877 PyDict_SetItemString(d
,"BORDER", SWIG_PyObj_FromInt((int)wxBORDER
));
40878 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_PyObj_FromInt((int)wxSIMPLE_BORDER
));
40879 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_PyObj_FromInt((int)wxSTATIC_BORDER
));
40880 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_PyObj_FromInt((int)wxTRANSPARENT_WINDOW
));
40881 PyDict_SetItemString(d
,"NO_BORDER", SWIG_PyObj_FromInt((int)wxNO_BORDER
));
40882 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_PyObj_FromInt((int)wxUSER_COLOURS
));
40883 PyDict_SetItemString(d
,"NO_3D", SWIG_PyObj_FromInt((int)wxNO_3D
));
40884 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_PyObj_FromInt((int)wxTAB_TRAVERSAL
));
40885 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_PyObj_FromInt((int)wxWANTS_CHARS
));
40886 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_PyObj_FromInt((int)wxPOPUP_WINDOW
));
40887 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_PyObj_FromInt((int)wxCENTER_FRAME
));
40888 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxCENTRE_ON_SCREEN
));
40889 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_PyObj_FromInt((int)wxCENTER_ON_SCREEN
));
40890 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_PyObj_FromInt((int)wxSTAY_ON_TOP
));
40891 PyDict_SetItemString(d
,"ICONIZE", SWIG_PyObj_FromInt((int)wxICONIZE
));
40892 PyDict_SetItemString(d
,"MINIMIZE", SWIG_PyObj_FromInt((int)wxMINIMIZE
));
40893 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_PyObj_FromInt((int)wxMAXIMIZE
));
40894 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_PyObj_FromInt((int)wxCLOSE_BOX
));
40895 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_PyObj_FromInt((int)wxTHICK_FRAME
));
40896 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_PyObj_FromInt((int)wxSYSTEM_MENU
));
40897 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_PyObj_FromInt((int)wxMINIMIZE_BOX
));
40898 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_PyObj_FromInt((int)wxMAXIMIZE_BOX
));
40899 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_PyObj_FromInt((int)wxTINY_CAPTION_HORIZ
));
40900 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_PyObj_FromInt((int)wxTINY_CAPTION_VERT
));
40901 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_PyObj_FromInt((int)wxRESIZE_BOX
));
40902 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_PyObj_FromInt((int)wxRESIZE_BORDER
));
40903 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_PyObj_FromInt((int)wxDIALOG_MODAL
));
40904 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_PyObj_FromInt((int)wxDIALOG_MODELESS
));
40905 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_PyObj_FromInt((int)wxDIALOG_NO_PARENT
));
40906 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_PyObj_FromInt((int)wxDEFAULT_FRAME_STYLE
));
40907 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_PyObj_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
40908 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_PyObj_FromInt((int)wxFRAME_TOOL_WINDOW
));
40909 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_PyObj_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
40910 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_PyObj_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
40911 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_PyObj_FromInt((int)wxFRAME_NO_TASKBAR
));
40912 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_PyObj_FromInt((int)wxFRAME_SHAPED
));
40913 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_PyObj_FromInt((int)wxED_CLIENT_MARGIN
));
40914 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_PyObj_FromInt((int)wxED_BUTTONS_BOTTOM
));
40915 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_PyObj_FromInt((int)wxED_BUTTONS_RIGHT
));
40916 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_PyObj_FromInt((int)wxED_STATIC_LINE
));
40917 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_PyObj_FromInt((int)wxEXT_DIALOG_STYLE
));
40918 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_PyObj_FromInt((int)wxCLIP_CHILDREN
));
40919 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_PyObj_FromInt((int)wxCLIP_SIBLINGS
));
40920 PyDict_SetItemString(d
,"RETAINED", SWIG_PyObj_FromInt((int)wxRETAINED
));
40921 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_PyObj_FromInt((int)wxBACKINGSTORE
));
40922 PyDict_SetItemString(d
,"COLOURED", SWIG_PyObj_FromInt((int)wxCOLOURED
));
40923 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_PyObj_FromInt((int)wxFIXED_LENGTH
));
40924 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_PyObj_FromInt((int)wxLB_NEEDED_SB
));
40925 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_PyObj_FromInt((int)wxLB_ALWAYS_SB
));
40926 PyDict_SetItemString(d
,"LB_SORT", SWIG_PyObj_FromInt((int)wxLB_SORT
));
40927 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_PyObj_FromInt((int)wxLB_SINGLE
));
40928 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_PyObj_FromInt((int)wxLB_MULTIPLE
));
40929 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_PyObj_FromInt((int)wxLB_EXTENDED
));
40930 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_PyObj_FromInt((int)wxLB_OWNERDRAW
));
40931 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_PyObj_FromInt((int)wxLB_HSCROLL
));
40932 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxPROCESS_ENTER
));
40933 PyDict_SetItemString(d
,"PASSWORD", SWIG_PyObj_FromInt((int)wxPASSWORD
));
40934 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_PyObj_FromInt((int)wxCB_SIMPLE
));
40935 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_PyObj_FromInt((int)wxCB_DROPDOWN
));
40936 PyDict_SetItemString(d
,"CB_SORT", SWIG_PyObj_FromInt((int)wxCB_SORT
));
40937 PyDict_SetItemString(d
,"CB_READONLY", SWIG_PyObj_FromInt((int)wxCB_READONLY
));
40938 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxRA_HORIZONTAL
));
40939 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_PyObj_FromInt((int)wxRA_VERTICAL
));
40940 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_PyObj_FromInt((int)wxRA_SPECIFY_ROWS
));
40941 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_PyObj_FromInt((int)wxRA_SPECIFY_COLS
));
40942 PyDict_SetItemString(d
,"RB_GROUP", SWIG_PyObj_FromInt((int)wxRB_GROUP
));
40943 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_PyObj_FromInt((int)wxRB_SINGLE
));
40944 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSL_HORIZONTAL
));
40945 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_PyObj_FromInt((int)wxSL_VERTICAL
));
40946 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_PyObj_FromInt((int)wxSL_AUTOTICKS
));
40947 PyDict_SetItemString(d
,"SL_LABELS", SWIG_PyObj_FromInt((int)wxSL_LABELS
));
40948 PyDict_SetItemString(d
,"SL_LEFT", SWIG_PyObj_FromInt((int)wxSL_LEFT
));
40949 PyDict_SetItemString(d
,"SL_TOP", SWIG_PyObj_FromInt((int)wxSL_TOP
));
40950 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_PyObj_FromInt((int)wxSL_RIGHT
));
40951 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_PyObj_FromInt((int)wxSL_BOTTOM
));
40952 PyDict_SetItemString(d
,"SL_BOTH", SWIG_PyObj_FromInt((int)wxSL_BOTH
));
40953 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_PyObj_FromInt((int)wxSL_SELRANGE
));
40954 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSB_HORIZONTAL
));
40955 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_PyObj_FromInt((int)wxSB_VERTICAL
));
40956 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_PyObj_FromInt((int)wxST_SIZEGRIP
));
40957 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_PyObj_FromInt((int)wxST_NO_AUTORESIZE
));
40958 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_PyObj_FromInt((int)wxFLOOD_SURFACE
));
40959 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_PyObj_FromInt((int)wxFLOOD_BORDER
));
40960 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_PyObj_FromInt((int)wxODDEVEN_RULE
));
40961 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_PyObj_FromInt((int)wxWINDING_RULE
));
40962 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_PyObj_FromInt((int)wxTOOL_TOP
));
40963 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_PyObj_FromInt((int)wxTOOL_BOTTOM
));
40964 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_PyObj_FromInt((int)wxTOOL_LEFT
));
40965 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_PyObj_FromInt((int)wxTOOL_RIGHT
));
40966 PyDict_SetItemString(d
,"OK", SWIG_PyObj_FromInt((int)wxOK
));
40967 PyDict_SetItemString(d
,"YES_NO", SWIG_PyObj_FromInt((int)wxYES_NO
));
40968 PyDict_SetItemString(d
,"CANCEL", SWIG_PyObj_FromInt((int)wxCANCEL
));
40969 PyDict_SetItemString(d
,"YES", SWIG_PyObj_FromInt((int)wxYES
));
40970 PyDict_SetItemString(d
,"NO", SWIG_PyObj_FromInt((int)wxNO
));
40971 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_PyObj_FromInt((int)wxNO_DEFAULT
));
40972 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_PyObj_FromInt((int)wxYES_DEFAULT
));
40973 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_PyObj_FromInt((int)wxICON_EXCLAMATION
));
40974 PyDict_SetItemString(d
,"ICON_HAND", SWIG_PyObj_FromInt((int)wxICON_HAND
));
40975 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_PyObj_FromInt((int)wxICON_QUESTION
));
40976 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_PyObj_FromInt((int)wxICON_INFORMATION
));
40977 PyDict_SetItemString(d
,"ICON_STOP", SWIG_PyObj_FromInt((int)wxICON_STOP
));
40978 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_PyObj_FromInt((int)wxICON_ASTERISK
));
40979 PyDict_SetItemString(d
,"ICON_MASK", SWIG_PyObj_FromInt((int)wxICON_MASK
));
40980 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_PyObj_FromInt((int)wxICON_WARNING
));
40981 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_PyObj_FromInt((int)wxICON_ERROR
));
40982 PyDict_SetItemString(d
,"FORWARD", SWIG_PyObj_FromInt((int)wxFORWARD
));
40983 PyDict_SetItemString(d
,"BACKWARD", SWIG_PyObj_FromInt((int)wxBACKWARD
));
40984 PyDict_SetItemString(d
,"RESET", SWIG_PyObj_FromInt((int)wxRESET
));
40985 PyDict_SetItemString(d
,"HELP", SWIG_PyObj_FromInt((int)wxHELP
));
40986 PyDict_SetItemString(d
,"MORE", SWIG_PyObj_FromInt((int)wxMORE
));
40987 PyDict_SetItemString(d
,"SETUP", SWIG_PyObj_FromInt((int)wxSETUP
));
40988 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_PyObj_FromInt((int)wxSIZE_AUTO_WIDTH
));
40989 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_PyObj_FromInt((int)wxSIZE_AUTO_HEIGHT
));
40990 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_PyObj_FromInt((int)wxSIZE_AUTO
));
40991 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_PyObj_FromInt((int)wxSIZE_USE_EXISTING
));
40992 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_PyObj_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
40993 PyDict_SetItemString(d
,"PORTRAIT", SWIG_PyObj_FromInt((int)wxPORTRAIT
));
40994 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_PyObj_FromInt((int)wxLANDSCAPE
));
40995 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_HIGH
));
40996 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
40997 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_LOW
));
40998 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_DRAFT
));
40999 PyDict_SetItemString(d
,"ID_ANY", SWIG_PyObj_FromInt((int)wxID_ANY
));
41000 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_PyObj_FromInt((int)wxID_SEPARATOR
));
41001 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_PyObj_FromInt((int)wxID_LOWEST
));
41002 PyDict_SetItemString(d
,"ID_OPEN", SWIG_PyObj_FromInt((int)wxID_OPEN
));
41003 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_PyObj_FromInt((int)wxID_CLOSE
));
41004 PyDict_SetItemString(d
,"ID_NEW", SWIG_PyObj_FromInt((int)wxID_NEW
));
41005 PyDict_SetItemString(d
,"ID_SAVE", SWIG_PyObj_FromInt((int)wxID_SAVE
));
41006 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_PyObj_FromInt((int)wxID_SAVEAS
));
41007 PyDict_SetItemString(d
,"ID_REVERT", SWIG_PyObj_FromInt((int)wxID_REVERT
));
41008 PyDict_SetItemString(d
,"ID_EXIT", SWIG_PyObj_FromInt((int)wxID_EXIT
));
41009 PyDict_SetItemString(d
,"ID_UNDO", SWIG_PyObj_FromInt((int)wxID_UNDO
));
41010 PyDict_SetItemString(d
,"ID_REDO", SWIG_PyObj_FromInt((int)wxID_REDO
));
41011 PyDict_SetItemString(d
,"ID_HELP", SWIG_PyObj_FromInt((int)wxID_HELP
));
41012 PyDict_SetItemString(d
,"ID_PRINT", SWIG_PyObj_FromInt((int)wxID_PRINT
));
41013 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_PyObj_FromInt((int)wxID_PRINT_SETUP
));
41014 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_PyObj_FromInt((int)wxID_PREVIEW
));
41015 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_PyObj_FromInt((int)wxID_ABOUT
));
41016 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_PyObj_FromInt((int)wxID_HELP_CONTENTS
));
41017 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_PyObj_FromInt((int)wxID_HELP_COMMANDS
));
41018 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_PyObj_FromInt((int)wxID_HELP_PROCEDURES
));
41019 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_PyObj_FromInt((int)wxID_HELP_CONTEXT
));
41020 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_PyObj_FromInt((int)wxID_CLOSE_ALL
));
41021 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_PyObj_FromInt((int)wxID_PREFERENCES
));
41022 PyDict_SetItemString(d
,"ID_CUT", SWIG_PyObj_FromInt((int)wxID_CUT
));
41023 PyDict_SetItemString(d
,"ID_COPY", SWIG_PyObj_FromInt((int)wxID_COPY
));
41024 PyDict_SetItemString(d
,"ID_PASTE", SWIG_PyObj_FromInt((int)wxID_PASTE
));
41025 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_PyObj_FromInt((int)wxID_CLEAR
));
41026 PyDict_SetItemString(d
,"ID_FIND", SWIG_PyObj_FromInt((int)wxID_FIND
));
41027 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_PyObj_FromInt((int)wxID_DUPLICATE
));
41028 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_PyObj_FromInt((int)wxID_SELECTALL
));
41029 PyDict_SetItemString(d
,"ID_DELETE", SWIG_PyObj_FromInt((int)wxID_DELETE
));
41030 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_PyObj_FromInt((int)wxID_REPLACE
));
41031 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_PyObj_FromInt((int)wxID_REPLACE_ALL
));
41032 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_PyObj_FromInt((int)wxID_PROPERTIES
));
41033 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_PyObj_FromInt((int)wxID_VIEW_DETAILS
));
41034 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_PyObj_FromInt((int)wxID_VIEW_LARGEICONS
));
41035 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_PyObj_FromInt((int)wxID_VIEW_SMALLICONS
));
41036 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_PyObj_FromInt((int)wxID_VIEW_LIST
));
41037 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTDATE
));
41038 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTNAME
));
41039 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTSIZE
));
41040 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTTYPE
));
41041 PyDict_SetItemString(d
,"ID_FILE1", SWIG_PyObj_FromInt((int)wxID_FILE1
));
41042 PyDict_SetItemString(d
,"ID_FILE2", SWIG_PyObj_FromInt((int)wxID_FILE2
));
41043 PyDict_SetItemString(d
,"ID_FILE3", SWIG_PyObj_FromInt((int)wxID_FILE3
));
41044 PyDict_SetItemString(d
,"ID_FILE4", SWIG_PyObj_FromInt((int)wxID_FILE4
));
41045 PyDict_SetItemString(d
,"ID_FILE5", SWIG_PyObj_FromInt((int)wxID_FILE5
));
41046 PyDict_SetItemString(d
,"ID_FILE6", SWIG_PyObj_FromInt((int)wxID_FILE6
));
41047 PyDict_SetItemString(d
,"ID_FILE7", SWIG_PyObj_FromInt((int)wxID_FILE7
));
41048 PyDict_SetItemString(d
,"ID_FILE8", SWIG_PyObj_FromInt((int)wxID_FILE8
));
41049 PyDict_SetItemString(d
,"ID_FILE9", SWIG_PyObj_FromInt((int)wxID_FILE9
));
41050 PyDict_SetItemString(d
,"ID_OK", SWIG_PyObj_FromInt((int)wxID_OK
));
41051 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_PyObj_FromInt((int)wxID_CANCEL
));
41052 PyDict_SetItemString(d
,"ID_APPLY", SWIG_PyObj_FromInt((int)wxID_APPLY
));
41053 PyDict_SetItemString(d
,"ID_YES", SWIG_PyObj_FromInt((int)wxID_YES
));
41054 PyDict_SetItemString(d
,"ID_NO", SWIG_PyObj_FromInt((int)wxID_NO
));
41055 PyDict_SetItemString(d
,"ID_STATIC", SWIG_PyObj_FromInt((int)wxID_STATIC
));
41056 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_PyObj_FromInt((int)wxID_FORWARD
));
41057 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_PyObj_FromInt((int)wxID_BACKWARD
));
41058 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_PyObj_FromInt((int)wxID_DEFAULT
));
41059 PyDict_SetItemString(d
,"ID_MORE", SWIG_PyObj_FromInt((int)wxID_MORE
));
41060 PyDict_SetItemString(d
,"ID_SETUP", SWIG_PyObj_FromInt((int)wxID_SETUP
));
41061 PyDict_SetItemString(d
,"ID_RESET", SWIG_PyObj_FromInt((int)wxID_RESET
));
41062 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_PyObj_FromInt((int)wxID_CONTEXT_HELP
));
41063 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_PyObj_FromInt((int)wxID_YESTOALL
));
41064 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_PyObj_FromInt((int)wxID_NOTOALL
));
41065 PyDict_SetItemString(d
,"ID_ABORT", SWIG_PyObj_FromInt((int)wxID_ABORT
));
41066 PyDict_SetItemString(d
,"ID_RETRY", SWIG_PyObj_FromInt((int)wxID_RETRY
));
41067 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_PyObj_FromInt((int)wxID_IGNORE
));
41068 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_PyObj_FromInt((int)wxID_HIGHEST
));
41069 PyDict_SetItemString(d
,"OPEN", SWIG_PyObj_FromInt((int)wxOPEN
));
41070 PyDict_SetItemString(d
,"SAVE", SWIG_PyObj_FromInt((int)wxSAVE
));
41071 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_PyObj_FromInt((int)wxHIDE_READONLY
));
41072 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_PyObj_FromInt((int)wxOVERWRITE_PROMPT
));
41073 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_PyObj_FromInt((int)wxFILE_MUST_EXIST
));
41074 PyDict_SetItemString(d
,"MULTIPLE", SWIG_PyObj_FromInt((int)wxMULTIPLE
));
41075 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_PyObj_FromInt((int)wxCHANGE_DIR
));
41076 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_PyObj_FromInt((int)wxACCEL_ALT
));
41077 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_PyObj_FromInt((int)wxACCEL_CTRL
));
41078 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_PyObj_FromInt((int)wxACCEL_SHIFT
));
41079 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_PyObj_FromInt((int)wxACCEL_NORMAL
));
41080 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_PyObj_FromInt((int)wxPD_AUTO_HIDE
));
41081 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_PyObj_FromInt((int)wxPD_APP_MODAL
));
41082 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_PyObj_FromInt((int)wxPD_CAN_ABORT
));
41083 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_PyObj_FromInt((int)wxPD_ELAPSED_TIME
));
41084 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_PyObj_FromInt((int)wxPD_ESTIMATED_TIME
));
41085 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_PyObj_FromInt((int)wxPD_REMAINING_TIME
));
41086 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_PyObj_FromInt((int)wxDD_NEW_DIR_BUTTON
));
41087 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxDD_DEFAULT_STYLE
));
41088 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_PyObj_FromInt((int)wxMENU_TEAROFF
));
41089 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_PyObj_FromInt((int)wxMB_DOCKABLE
));
41090 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_PyObj_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
41091 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_PyObj_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
41092 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLI_HORIZONTAL
));
41093 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_PyObj_FromInt((int)wxLI_VERTICAL
));
41094 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_PyObj_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
41095 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_PyObj_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
41096 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_PyObj_FromInt((int)wxWS_EX_TRANSIENT
));
41097 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_PyObj_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
41098 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_PyObj_FromInt((int)wxWS_EX_PROCESS_IDLE
));
41099 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_PyObj_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
41100 PyDict_SetItemString(d
,"MM_TEXT", SWIG_PyObj_FromInt((int)wxMM_TEXT
));
41101 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_PyObj_FromInt((int)wxMM_LOMETRIC
));
41102 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_PyObj_FromInt((int)wxMM_HIMETRIC
));
41103 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_PyObj_FromInt((int)wxMM_LOENGLISH
));
41104 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_PyObj_FromInt((int)wxMM_HIENGLISH
));
41105 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_PyObj_FromInt((int)wxMM_TWIPS
));
41106 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_PyObj_FromInt((int)wxMM_ISOTROPIC
));
41107 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_PyObj_FromInt((int)wxMM_ANISOTROPIC
));
41108 PyDict_SetItemString(d
,"MM_POINTS", SWIG_PyObj_FromInt((int)wxMM_POINTS
));
41109 PyDict_SetItemString(d
,"MM_METRIC", SWIG_PyObj_FromInt((int)wxMM_METRIC
));
41110 PyDict_SetItemString(d
,"CENTRE", SWIG_PyObj_FromInt((int)wxCENTRE
));
41111 PyDict_SetItemString(d
,"CENTER", SWIG_PyObj_FromInt((int)wxCENTER
));
41112 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_PyObj_FromInt((int)wxHORIZONTAL
));
41113 PyDict_SetItemString(d
,"VERTICAL", SWIG_PyObj_FromInt((int)wxVERTICAL
));
41114 PyDict_SetItemString(d
,"BOTH", SWIG_PyObj_FromInt((int)wxBOTH
));
41115 PyDict_SetItemString(d
,"LEFT", SWIG_PyObj_FromInt((int)wxLEFT
));
41116 PyDict_SetItemString(d
,"RIGHT", SWIG_PyObj_FromInt((int)wxRIGHT
));
41117 PyDict_SetItemString(d
,"UP", SWIG_PyObj_FromInt((int)wxUP
));
41118 PyDict_SetItemString(d
,"DOWN", SWIG_PyObj_FromInt((int)wxDOWN
));
41119 PyDict_SetItemString(d
,"TOP", SWIG_PyObj_FromInt((int)wxTOP
));
41120 PyDict_SetItemString(d
,"BOTTOM", SWIG_PyObj_FromInt((int)wxBOTTOM
));
41121 PyDict_SetItemString(d
,"NORTH", SWIG_PyObj_FromInt((int)wxNORTH
));
41122 PyDict_SetItemString(d
,"SOUTH", SWIG_PyObj_FromInt((int)wxSOUTH
));
41123 PyDict_SetItemString(d
,"WEST", SWIG_PyObj_FromInt((int)wxWEST
));
41124 PyDict_SetItemString(d
,"EAST", SWIG_PyObj_FromInt((int)wxEAST
));
41125 PyDict_SetItemString(d
,"ALL", SWIG_PyObj_FromInt((int)wxALL
));
41126 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_PyObj_FromInt((int)wxALIGN_NOT
));
41127 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
41128 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
41129 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxALIGN_LEFT
));
41130 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_PyObj_FromInt((int)wxALIGN_TOP
));
41131 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_PyObj_FromInt((int)wxALIGN_RIGHT
));
41132 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_PyObj_FromInt((int)wxALIGN_BOTTOM
));
41133 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTER_VERTICAL
));
41134 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
41135 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_PyObj_FromInt((int)wxALIGN_CENTER
));
41136 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE
));
41137 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_PyObj_FromInt((int)wxALIGN_MASK
));
41138 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_PyObj_FromInt((int)wxSTRETCH_NOT
));
41139 PyDict_SetItemString(d
,"SHRINK", SWIG_PyObj_FromInt((int)wxSHRINK
));
41140 PyDict_SetItemString(d
,"GROW", SWIG_PyObj_FromInt((int)wxGROW
));
41141 PyDict_SetItemString(d
,"EXPAND", SWIG_PyObj_FromInt((int)wxEXPAND
));
41142 PyDict_SetItemString(d
,"SHAPED", SWIG_PyObj_FromInt((int)wxSHAPED
));
41143 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_PyObj_FromInt((int)wxADJUST_MINSIZE
));
41144 PyDict_SetItemString(d
,"TILE", SWIG_PyObj_FromInt((int)wxTILE
));
41145 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_PyObj_FromInt((int)wxBORDER_DEFAULT
));
41146 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_PyObj_FromInt((int)wxBORDER_NONE
));
41147 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_PyObj_FromInt((int)wxBORDER_STATIC
));
41148 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_PyObj_FromInt((int)wxBORDER_SIMPLE
));
41149 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_PyObj_FromInt((int)wxBORDER_RAISED
));
41150 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_PyObj_FromInt((int)wxBORDER_SUNKEN
));
41151 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_PyObj_FromInt((int)wxBORDER_DOUBLE
));
41152 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_PyObj_FromInt((int)wxBORDER_MASK
));
41153 PyDict_SetItemString(d
,"DEFAULT", SWIG_PyObj_FromInt((int)wxDEFAULT
));
41154 PyDict_SetItemString(d
,"DECORATIVE", SWIG_PyObj_FromInt((int)wxDECORATIVE
));
41155 PyDict_SetItemString(d
,"ROMAN", SWIG_PyObj_FromInt((int)wxROMAN
));
41156 PyDict_SetItemString(d
,"SCRIPT", SWIG_PyObj_FromInt((int)wxSCRIPT
));
41157 PyDict_SetItemString(d
,"SWISS", SWIG_PyObj_FromInt((int)wxSWISS
));
41158 PyDict_SetItemString(d
,"MODERN", SWIG_PyObj_FromInt((int)wxMODERN
));
41159 PyDict_SetItemString(d
,"TELETYPE", SWIG_PyObj_FromInt((int)wxTELETYPE
));
41160 PyDict_SetItemString(d
,"VARIABLE", SWIG_PyObj_FromInt((int)wxVARIABLE
));
41161 PyDict_SetItemString(d
,"FIXED", SWIG_PyObj_FromInt((int)wxFIXED
));
41162 PyDict_SetItemString(d
,"NORMAL", SWIG_PyObj_FromInt((int)wxNORMAL
));
41163 PyDict_SetItemString(d
,"LIGHT", SWIG_PyObj_FromInt((int)wxLIGHT
));
41164 PyDict_SetItemString(d
,"BOLD", SWIG_PyObj_FromInt((int)wxBOLD
));
41165 PyDict_SetItemString(d
,"ITALIC", SWIG_PyObj_FromInt((int)wxITALIC
));
41166 PyDict_SetItemString(d
,"SLANT", SWIG_PyObj_FromInt((int)wxSLANT
));
41167 PyDict_SetItemString(d
,"SOLID", SWIG_PyObj_FromInt((int)wxSOLID
));
41168 PyDict_SetItemString(d
,"DOT", SWIG_PyObj_FromInt((int)wxDOT
));
41169 PyDict_SetItemString(d
,"LONG_DASH", SWIG_PyObj_FromInt((int)wxLONG_DASH
));
41170 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_PyObj_FromInt((int)wxSHORT_DASH
));
41171 PyDict_SetItemString(d
,"DOT_DASH", SWIG_PyObj_FromInt((int)wxDOT_DASH
));
41172 PyDict_SetItemString(d
,"USER_DASH", SWIG_PyObj_FromInt((int)wxUSER_DASH
));
41173 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_PyObj_FromInt((int)wxTRANSPARENT
));
41174 PyDict_SetItemString(d
,"STIPPLE", SWIG_PyObj_FromInt((int)wxSTIPPLE
));
41175 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_PyObj_FromInt((int)wxBDIAGONAL_HATCH
));
41176 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_PyObj_FromInt((int)wxCROSSDIAG_HATCH
));
41177 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_PyObj_FromInt((int)wxFDIAGONAL_HATCH
));
41178 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_PyObj_FromInt((int)wxCROSS_HATCH
));
41179 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_PyObj_FromInt((int)wxHORIZONTAL_HATCH
));
41180 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_PyObj_FromInt((int)wxVERTICAL_HATCH
));
41181 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_PyObj_FromInt((int)wxJOIN_BEVEL
));
41182 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_PyObj_FromInt((int)wxJOIN_MITER
));
41183 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_PyObj_FromInt((int)wxJOIN_ROUND
));
41184 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_PyObj_FromInt((int)wxCAP_ROUND
));
41185 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_PyObj_FromInt((int)wxCAP_PROJECTING
));
41186 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_PyObj_FromInt((int)wxCAP_BUTT
));
41187 PyDict_SetItemString(d
,"CLEAR", SWIG_PyObj_FromInt((int)wxCLEAR
));
41188 PyDict_SetItemString(d
,"XOR", SWIG_PyObj_FromInt((int)wxXOR
));
41189 PyDict_SetItemString(d
,"INVERT", SWIG_PyObj_FromInt((int)wxINVERT
));
41190 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_PyObj_FromInt((int)wxOR_REVERSE
));
41191 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_PyObj_FromInt((int)wxAND_REVERSE
));
41192 PyDict_SetItemString(d
,"COPY", SWIG_PyObj_FromInt((int)wxCOPY
));
41193 PyDict_SetItemString(d
,"AND", SWIG_PyObj_FromInt((int)wxAND
));
41194 PyDict_SetItemString(d
,"AND_INVERT", SWIG_PyObj_FromInt((int)wxAND_INVERT
));
41195 PyDict_SetItemString(d
,"NO_OP", SWIG_PyObj_FromInt((int)wxNO_OP
));
41196 PyDict_SetItemString(d
,"NOR", SWIG_PyObj_FromInt((int)wxNOR
));
41197 PyDict_SetItemString(d
,"EQUIV", SWIG_PyObj_FromInt((int)wxEQUIV
));
41198 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_PyObj_FromInt((int)wxSRC_INVERT
));
41199 PyDict_SetItemString(d
,"OR_INVERT", SWIG_PyObj_FromInt((int)wxOR_INVERT
));
41200 PyDict_SetItemString(d
,"NAND", SWIG_PyObj_FromInt((int)wxNAND
));
41201 PyDict_SetItemString(d
,"OR", SWIG_PyObj_FromInt((int)wxOR
));
41202 PyDict_SetItemString(d
,"SET", SWIG_PyObj_FromInt((int)wxSET
));
41203 PyDict_SetItemString(d
,"WXK_BACK", SWIG_PyObj_FromInt((int)WXK_BACK
));
41204 PyDict_SetItemString(d
,"WXK_TAB", SWIG_PyObj_FromInt((int)WXK_TAB
));
41205 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_PyObj_FromInt((int)WXK_RETURN
));
41206 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_PyObj_FromInt((int)WXK_ESCAPE
));
41207 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_PyObj_FromInt((int)WXK_SPACE
));
41208 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_PyObj_FromInt((int)WXK_DELETE
));
41209 PyDict_SetItemString(d
,"WXK_START", SWIG_PyObj_FromInt((int)WXK_START
));
41210 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_PyObj_FromInt((int)WXK_LBUTTON
));
41211 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_PyObj_FromInt((int)WXK_RBUTTON
));
41212 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_PyObj_FromInt((int)WXK_CANCEL
));
41213 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_PyObj_FromInt((int)WXK_MBUTTON
));
41214 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_PyObj_FromInt((int)WXK_CLEAR
));
41215 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_PyObj_FromInt((int)WXK_SHIFT
));
41216 PyDict_SetItemString(d
,"WXK_ALT", SWIG_PyObj_FromInt((int)WXK_ALT
));
41217 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_PyObj_FromInt((int)WXK_CONTROL
));
41218 PyDict_SetItemString(d
,"WXK_MENU", SWIG_PyObj_FromInt((int)WXK_MENU
));
41219 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_PyObj_FromInt((int)WXK_PAUSE
));
41220 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_PyObj_FromInt((int)WXK_CAPITAL
));
41221 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_PyObj_FromInt((int)WXK_PRIOR
));
41222 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_PyObj_FromInt((int)WXK_NEXT
));
41223 PyDict_SetItemString(d
,"WXK_END", SWIG_PyObj_FromInt((int)WXK_END
));
41224 PyDict_SetItemString(d
,"WXK_HOME", SWIG_PyObj_FromInt((int)WXK_HOME
));
41225 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_PyObj_FromInt((int)WXK_LEFT
));
41226 PyDict_SetItemString(d
,"WXK_UP", SWIG_PyObj_FromInt((int)WXK_UP
));
41227 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_PyObj_FromInt((int)WXK_RIGHT
));
41228 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_PyObj_FromInt((int)WXK_DOWN
));
41229 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_PyObj_FromInt((int)WXK_SELECT
));
41230 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_PyObj_FromInt((int)WXK_PRINT
));
41231 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_PyObj_FromInt((int)WXK_EXECUTE
));
41232 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_PyObj_FromInt((int)WXK_SNAPSHOT
));
41233 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_PyObj_FromInt((int)WXK_INSERT
));
41234 PyDict_SetItemString(d
,"WXK_HELP", SWIG_PyObj_FromInt((int)WXK_HELP
));
41235 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_PyObj_FromInt((int)WXK_NUMPAD0
));
41236 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_PyObj_FromInt((int)WXK_NUMPAD1
));
41237 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_PyObj_FromInt((int)WXK_NUMPAD2
));
41238 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_PyObj_FromInt((int)WXK_NUMPAD3
));
41239 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_PyObj_FromInt((int)WXK_NUMPAD4
));
41240 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_PyObj_FromInt((int)WXK_NUMPAD5
));
41241 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_PyObj_FromInt((int)WXK_NUMPAD6
));
41242 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_PyObj_FromInt((int)WXK_NUMPAD7
));
41243 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_PyObj_FromInt((int)WXK_NUMPAD8
));
41244 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_PyObj_FromInt((int)WXK_NUMPAD9
));
41245 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_PyObj_FromInt((int)WXK_MULTIPLY
));
41246 PyDict_SetItemString(d
,"WXK_ADD", SWIG_PyObj_FromInt((int)WXK_ADD
));
41247 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_PyObj_FromInt((int)WXK_SEPARATOR
));
41248 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_PyObj_FromInt((int)WXK_SUBTRACT
));
41249 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_PyObj_FromInt((int)WXK_DECIMAL
));
41250 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_PyObj_FromInt((int)WXK_DIVIDE
));
41251 PyDict_SetItemString(d
,"WXK_F1", SWIG_PyObj_FromInt((int)WXK_F1
));
41252 PyDict_SetItemString(d
,"WXK_F2", SWIG_PyObj_FromInt((int)WXK_F2
));
41253 PyDict_SetItemString(d
,"WXK_F3", SWIG_PyObj_FromInt((int)WXK_F3
));
41254 PyDict_SetItemString(d
,"WXK_F4", SWIG_PyObj_FromInt((int)WXK_F4
));
41255 PyDict_SetItemString(d
,"WXK_F5", SWIG_PyObj_FromInt((int)WXK_F5
));
41256 PyDict_SetItemString(d
,"WXK_F6", SWIG_PyObj_FromInt((int)WXK_F6
));
41257 PyDict_SetItemString(d
,"WXK_F7", SWIG_PyObj_FromInt((int)WXK_F7
));
41258 PyDict_SetItemString(d
,"WXK_F8", SWIG_PyObj_FromInt((int)WXK_F8
));
41259 PyDict_SetItemString(d
,"WXK_F9", SWIG_PyObj_FromInt((int)WXK_F9
));
41260 PyDict_SetItemString(d
,"WXK_F10", SWIG_PyObj_FromInt((int)WXK_F10
));
41261 PyDict_SetItemString(d
,"WXK_F11", SWIG_PyObj_FromInt((int)WXK_F11
));
41262 PyDict_SetItemString(d
,"WXK_F12", SWIG_PyObj_FromInt((int)WXK_F12
));
41263 PyDict_SetItemString(d
,"WXK_F13", SWIG_PyObj_FromInt((int)WXK_F13
));
41264 PyDict_SetItemString(d
,"WXK_F14", SWIG_PyObj_FromInt((int)WXK_F14
));
41265 PyDict_SetItemString(d
,"WXK_F15", SWIG_PyObj_FromInt((int)WXK_F15
));
41266 PyDict_SetItemString(d
,"WXK_F16", SWIG_PyObj_FromInt((int)WXK_F16
));
41267 PyDict_SetItemString(d
,"WXK_F17", SWIG_PyObj_FromInt((int)WXK_F17
));
41268 PyDict_SetItemString(d
,"WXK_F18", SWIG_PyObj_FromInt((int)WXK_F18
));
41269 PyDict_SetItemString(d
,"WXK_F19", SWIG_PyObj_FromInt((int)WXK_F19
));
41270 PyDict_SetItemString(d
,"WXK_F20", SWIG_PyObj_FromInt((int)WXK_F20
));
41271 PyDict_SetItemString(d
,"WXK_F21", SWIG_PyObj_FromInt((int)WXK_F21
));
41272 PyDict_SetItemString(d
,"WXK_F22", SWIG_PyObj_FromInt((int)WXK_F22
));
41273 PyDict_SetItemString(d
,"WXK_F23", SWIG_PyObj_FromInt((int)WXK_F23
));
41274 PyDict_SetItemString(d
,"WXK_F24", SWIG_PyObj_FromInt((int)WXK_F24
));
41275 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_PyObj_FromInt((int)WXK_NUMLOCK
));
41276 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_PyObj_FromInt((int)WXK_SCROLL
));
41277 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_PyObj_FromInt((int)WXK_PAGEUP
));
41278 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_PyObj_FromInt((int)WXK_PAGEDOWN
));
41279 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SPACE
));
41280 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_PyObj_FromInt((int)WXK_NUMPAD_TAB
));
41281 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_PyObj_FromInt((int)WXK_NUMPAD_ENTER
));
41282 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F1
));
41283 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F2
));
41284 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F3
));
41285 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F4
));
41286 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_PyObj_FromInt((int)WXK_NUMPAD_HOME
));
41287 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_LEFT
));
41288 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_PyObj_FromInt((int)WXK_NUMPAD_UP
));
41289 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_RIGHT
));
41290 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DOWN
));
41291 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PRIOR
));
41292 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PAGEUP
));
41293 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_NEXT
));
41294 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
41295 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_PyObj_FromInt((int)WXK_NUMPAD_END
));
41296 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_BEGIN
));
41297 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_INSERT
));
41298 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DELETE
));
41299 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_PyObj_FromInt((int)WXK_NUMPAD_EQUAL
));
41300 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_PyObj_FromInt((int)WXK_NUMPAD_MULTIPLY
));
41301 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_PyObj_FromInt((int)WXK_NUMPAD_ADD
));
41302 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SEPARATOR
));
41303 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SUBTRACT
));
41304 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DECIMAL
));
41305 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DIVIDE
));
41306 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_PyObj_FromInt((int)WXK_WINDOWS_LEFT
));
41307 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_PyObj_FromInt((int)WXK_WINDOWS_RIGHT
));
41308 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_PyObj_FromInt((int)WXK_WINDOWS_MENU
));
41309 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_PyObj_FromInt((int)wxPAPER_NONE
));
41310 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_PyObj_FromInt((int)wxPAPER_LETTER
));
41311 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_PyObj_FromInt((int)wxPAPER_LEGAL
));
41312 PyDict_SetItemString(d
,"PAPER_A4", SWIG_PyObj_FromInt((int)wxPAPER_A4
));
41313 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_PyObj_FromInt((int)wxPAPER_CSHEET
));
41314 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_PyObj_FromInt((int)wxPAPER_DSHEET
));
41315 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_PyObj_FromInt((int)wxPAPER_ESHEET
));
41316 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_PyObj_FromInt((int)wxPAPER_LETTERSMALL
));
41317 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_PyObj_FromInt((int)wxPAPER_TABLOID
));
41318 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_PyObj_FromInt((int)wxPAPER_LEDGER
));
41319 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_PyObj_FromInt((int)wxPAPER_STATEMENT
));
41320 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_PyObj_FromInt((int)wxPAPER_EXECUTIVE
));
41321 PyDict_SetItemString(d
,"PAPER_A3", SWIG_PyObj_FromInt((int)wxPAPER_A3
));
41322 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_PyObj_FromInt((int)wxPAPER_A4SMALL
));
41323 PyDict_SetItemString(d
,"PAPER_A5", SWIG_PyObj_FromInt((int)wxPAPER_A5
));
41324 PyDict_SetItemString(d
,"PAPER_B4", SWIG_PyObj_FromInt((int)wxPAPER_B4
));
41325 PyDict_SetItemString(d
,"PAPER_B5", SWIG_PyObj_FromInt((int)wxPAPER_B5
));
41326 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_PyObj_FromInt((int)wxPAPER_FOLIO
));
41327 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_PyObj_FromInt((int)wxPAPER_QUARTO
));
41328 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_PyObj_FromInt((int)wxPAPER_10X14
));
41329 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_PyObj_FromInt((int)wxPAPER_11X17
));
41330 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_PyObj_FromInt((int)wxPAPER_NOTE
));
41331 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_PyObj_FromInt((int)wxPAPER_ENV_9
));
41332 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_PyObj_FromInt((int)wxPAPER_ENV_10
));
41333 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_PyObj_FromInt((int)wxPAPER_ENV_11
));
41334 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_PyObj_FromInt((int)wxPAPER_ENV_12
));
41335 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_PyObj_FromInt((int)wxPAPER_ENV_14
));
41336 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_PyObj_FromInt((int)wxPAPER_ENV_DL
));
41337 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C5
));
41338 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C3
));
41339 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C4
));
41340 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C6
));
41341 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C65
));
41342 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B4
));
41343 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B5
));
41344 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B6
));
41345 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_PyObj_FromInt((int)wxPAPER_ENV_ITALY
));
41346 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_PyObj_FromInt((int)wxPAPER_ENV_MONARCH
));
41347 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_PyObj_FromInt((int)wxPAPER_ENV_PERSONAL
));
41348 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_US
));
41349 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
41350 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
41351 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_PyObj_FromInt((int)wxPAPER_ISO_B4
));
41352 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_PyObj_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
41353 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_PyObj_FromInt((int)wxPAPER_9X11
));
41354 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_PyObj_FromInt((int)wxPAPER_10X11
));
41355 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_PyObj_FromInt((int)wxPAPER_15X11
));
41356 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_PyObj_FromInt((int)wxPAPER_ENV_INVITE
));
41357 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_EXTRA
));
41358 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_LEGAL_EXTRA
));
41359 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_TABLOID_EXTRA
));
41360 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A4_EXTRA
));
41361 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
41362 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A4_TRANSVERSE
));
41363 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
41364 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_A_PLUS
));
41365 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_B_PLUS
));
41366 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_PLUS
));
41367 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_A4_PLUS
));
41368 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A5_TRANSVERSE
));
41369 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_B5_TRANSVERSE
));
41370 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A3_EXTRA
));
41371 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A5_EXTRA
));
41372 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_B5_EXTRA
));
41373 PyDict_SetItemString(d
,"PAPER_A2", SWIG_PyObj_FromInt((int)wxPAPER_A2
));
41374 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A3_TRANSVERSE
));
41375 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
41376 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_PyObj_FromInt((int)wxDUPLEX_SIMPLEX
));
41377 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_PyObj_FromInt((int)wxDUPLEX_HORIZONTAL
));
41378 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_PyObj_FromInt((int)wxDUPLEX_VERTICAL
));
41379 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_PyObj_FromInt((int)wxITEM_SEPARATOR
));
41380 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_PyObj_FromInt((int)wxITEM_NORMAL
));
41381 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_PyObj_FromInt((int)wxITEM_CHECK
));
41382 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_PyObj_FromInt((int)wxITEM_RADIO
));
41383 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_PyObj_FromInt((int)wxITEM_MAX
));
41384 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_PyObj_FromInt((int)wxHT_NOWHERE
));
41385 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_FIRST
));
41386 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
41387 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
41388 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
41389 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
41390 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_THUMB
));
41391 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
41392 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
41393 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_LAST
));
41394 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_PyObj_FromInt((int)wxHT_WINDOW_OUTSIDE
));
41395 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_PyObj_FromInt((int)wxHT_WINDOW_INSIDE
));
41396 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_PyObj_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
41397 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_PyObj_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
41398 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_PyObj_FromInt((int)wxHT_WINDOW_CORNER
));
41399 PyDict_SetItemString(d
,"HT_MAX", SWIG_PyObj_FromInt((int)wxHT_MAX
));
41400 PyDict_SetItemString(d
,"MOD_NONE", SWIG_PyObj_FromInt((int)wxMOD_NONE
));
41401 PyDict_SetItemString(d
,"MOD_ALT", SWIG_PyObj_FromInt((int)wxMOD_ALT
));
41402 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_PyObj_FromInt((int)wxMOD_CONTROL
));
41403 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_PyObj_FromInt((int)wxMOD_SHIFT
));
41404 PyDict_SetItemString(d
,"MOD_WIN", SWIG_PyObj_FromInt((int)wxMOD_WIN
));
41405 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_NONE
));
41406 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_RECURSE
));
41407 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_FROMIDLE
));
41408 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
41409 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
41410 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_INVALID
));
41411 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_BMP
));
41412 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ICO
));
41413 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_CUR
));
41414 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XBM
));
41415 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
41416 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XPM
));
41417 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
41418 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_TIF
));
41419 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_GIF
));
41420 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PNG
));
41421 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_JPEG
));
41422 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PNM
));
41423 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PCX
));
41424 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PICT
));
41425 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ICON
));
41426 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ANI
));
41427 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_IFF
));
41428 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
41429 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ANY
));
41430 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_PyObj_FromInt((int)wxCURSOR_NONE
));
41431 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_ARROW
));
41432 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_RIGHT_ARROW
));
41433 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_PyObj_FromInt((int)wxCURSOR_BULLSEYE
));
41434 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_PyObj_FromInt((int)wxCURSOR_CHAR
));
41435 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_PyObj_FromInt((int)wxCURSOR_CROSS
));
41436 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_PyObj_FromInt((int)wxCURSOR_HAND
));
41437 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_PyObj_FromInt((int)wxCURSOR_IBEAM
));
41438 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_LEFT_BUTTON
));
41439 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_PyObj_FromInt((int)wxCURSOR_MAGNIFIER
));
41440 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
41441 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_PyObj_FromInt((int)wxCURSOR_NO_ENTRY
));
41442 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_PyObj_FromInt((int)wxCURSOR_PAINT_BRUSH
));
41443 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_PyObj_FromInt((int)wxCURSOR_PENCIL
));
41444 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_PyObj_FromInt((int)wxCURSOR_POINT_LEFT
));
41445 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_PyObj_FromInt((int)wxCURSOR_POINT_RIGHT
));
41446 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_QUESTION_ARROW
));
41447 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
41448 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENESW
));
41449 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENS
));
41450 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENWSE
));
41451 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_PyObj_FromInt((int)wxCURSOR_SIZEWE
));
41452 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_PyObj_FromInt((int)wxCURSOR_SIZING
));
41453 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_PyObj_FromInt((int)wxCURSOR_SPRAYCAN
));
41454 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_PyObj_FromInt((int)wxCURSOR_WAIT
));
41455 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_PyObj_FromInt((int)wxCURSOR_WATCH
));
41456 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_PyObj_FromInt((int)wxCURSOR_BLANK
));
41457 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_PyObj_FromInt((int)wxCURSOR_DEFAULT
));
41458 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_COPY_ARROW
));
41459 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_PyObj_FromInt((int)wxCURSOR_ARROWWAIT
));
41460 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_PyObj_FromInt((int)wxCURSOR_MAX
));
41461 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
41462 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
41463 PyDict_SetItemString(d
,"FromStart", SWIG_PyObj_FromInt((int)wxFromStart
));
41464 PyDict_SetItemString(d
,"FromCurrent", SWIG_PyObj_FromInt((int)wxFromCurrent
));
41465 PyDict_SetItemString(d
,"FromEnd", SWIG_PyObj_FromInt((int)wxFromEnd
));
41467 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
41470 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
41472 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
41473 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
41474 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
41475 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
41476 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
41477 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
41478 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_PyObj_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
41479 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_PyObj_FromInt((int)wxIMAGE_RESOLUTION_CM
));
41480 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_PyObj_FromInt((int)wxBMP_24BPP
));
41481 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_PyObj_FromInt((int)wxBMP_8BPP
));
41482 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_PyObj_FromInt((int)wxBMP_8BPP_GREY
));
41483 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_PyObj_FromInt((int)wxBMP_8BPP_GRAY
));
41484 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_PyObj_FromInt((int)wxBMP_8BPP_RED
));
41485 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_PyObj_FromInt((int)wxBMP_8BPP_PALETTE
));
41486 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_PyObj_FromInt((int)wxBMP_4BPP
));
41487 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_PyObj_FromInt((int)wxBMP_1BPP
));
41488 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_PyObj_FromInt((int)wxBMP_1BPP_BW
));
41489 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_PyObj_FromInt((int)wxEVENT_PROPAGATE_NONE
));
41490 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_PyObj_FromInt((int)wxEVENT_PROPAGATE_MAX
));
41491 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
41492 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
41493 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
41494 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
41495 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
41496 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
41497 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
41498 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
41499 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
41500 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
41501 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
41502 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
41503 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
41504 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
41505 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
41506 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
41507 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
41508 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
41509 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
41510 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
41511 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
41512 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
41513 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
41514 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
41515 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
41516 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
41517 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
41518 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
41519 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
41520 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
41521 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
41522 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
41523 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
41524 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
41525 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
41526 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
41527 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
41528 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
41529 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
41530 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
41531 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
41532 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
41533 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
41534 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
41535 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
41536 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
41537 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
41538 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
41539 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
41540 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
41541 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
41542 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
41543 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
41544 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
41545 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
41546 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
41547 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
41548 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
41549 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
41550 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
41551 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
41552 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
41553 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
41554 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
41555 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
41556 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
41557 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
41558 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
41559 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
41560 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
41561 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
41562 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
41563 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
41564 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
41565 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
41566 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
41567 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
41568 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
41569 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
41570 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
41571 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
41572 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
41573 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
41574 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
41575 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
41576 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
41577 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
41578 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
41579 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
41580 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
41581 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
41582 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
41583 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
41584 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
41585 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
41586 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
41587 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
41588 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
41589 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
41590 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
41591 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
41592 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
41593 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
41594 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
41595 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
41596 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
41597 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
41598 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
41599 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
41600 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
41601 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
41602 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
41603 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
41604 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
41605 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_ANY
));
41606 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_NONE
));
41607 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_LEFT
));
41608 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_MIDDLE
));
41609 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_RIGHT
));
41610 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_PyObj_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
41611 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_PyObj_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
41612 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_PyObj_FromInt((int)wxIDLE_PROCESS_ALL
));
41613 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_PyObj_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
41614 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
41615 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
41616 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
41617 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_LOG
));
41618 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_PyObj_FromInt((int)wxPRINT_WINDOWS
));
41619 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_PyObj_FromInt((int)wxPRINT_POSTSCRIPT
));
41620 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
41621 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
41622 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
41623 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
41624 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_NONE
));
41625 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
41626 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_ALL
));
41627 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
41628 PyDict_SetItemString(d
,"Left", SWIG_PyObj_FromInt((int)wxLeft
));
41629 PyDict_SetItemString(d
,"Top", SWIG_PyObj_FromInt((int)wxTop
));
41630 PyDict_SetItemString(d
,"Right", SWIG_PyObj_FromInt((int)wxRight
));
41631 PyDict_SetItemString(d
,"Bottom", SWIG_PyObj_FromInt((int)wxBottom
));
41632 PyDict_SetItemString(d
,"Width", SWIG_PyObj_FromInt((int)wxWidth
));
41633 PyDict_SetItemString(d
,"Height", SWIG_PyObj_FromInt((int)wxHeight
));
41634 PyDict_SetItemString(d
,"Centre", SWIG_PyObj_FromInt((int)wxCentre
));
41635 PyDict_SetItemString(d
,"Center", SWIG_PyObj_FromInt((int)wxCenter
));
41636 PyDict_SetItemString(d
,"CentreX", SWIG_PyObj_FromInt((int)wxCentreX
));
41637 PyDict_SetItemString(d
,"CentreY", SWIG_PyObj_FromInt((int)wxCentreY
));
41638 PyDict_SetItemString(d
,"Unconstrained", SWIG_PyObj_FromInt((int)wxUnconstrained
));
41639 PyDict_SetItemString(d
,"AsIs", SWIG_PyObj_FromInt((int)wxAsIs
));
41640 PyDict_SetItemString(d
,"PercentOf", SWIG_PyObj_FromInt((int)wxPercentOf
));
41641 PyDict_SetItemString(d
,"Above", SWIG_PyObj_FromInt((int)wxAbove
));
41642 PyDict_SetItemString(d
,"Below", SWIG_PyObj_FromInt((int)wxBelow
));
41643 PyDict_SetItemString(d
,"LeftOf", SWIG_PyObj_FromInt((int)wxLeftOf
));
41644 PyDict_SetItemString(d
,"RightOf", SWIG_PyObj_FromInt((int)wxRightOf
));
41645 PyDict_SetItemString(d
,"SameAs", SWIG_PyObj_FromInt((int)wxSameAs
));
41646 PyDict_SetItemString(d
,"Absolute", SWIG_PyObj_FromInt((int)wxAbsolute
));
41648 // Initialize threading, some globals and such
41652 // Although these are defined in __version__ they need to be here too so
41653 // that an assert can be done to ensure that the wxPython and the wxWindows
41655 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
41656 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
41657 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));