1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
234 #define SWIGTYPE_p_wxRealPoint swig_types[1]
235 #define SWIGTYPE_p_wxSizerItem swig_types[2]
236 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
237 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
238 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
239 #define SWIGTYPE_p_wxSizer swig_types[6]
240 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
241 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
242 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
243 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
244 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
245 #define SWIGTYPE_p_wxMenu swig_types[12]
246 #define SWIGTYPE_p_wxEvent swig_types[13]
247 #define SWIGTYPE_p_wxGridSizer swig_types[14]
248 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
249 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
250 #define SWIGTYPE_p_wxItemContainer swig_types[17]
251 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
252 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
253 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
254 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
255 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
256 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
257 #define SWIGTYPE_p_wxControl swig_types[24]
258 #define SWIGTYPE_p_wxFont swig_types[25]
259 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
260 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
261 #define SWIGTYPE_p_wxFSFile swig_types[28]
262 #define SWIGTYPE_p_wxCaret swig_types[29]
263 #define SWIGTYPE_p_wxRegion swig_types[30]
264 #define SWIGTYPE_p_wxPoint2D swig_types[31]
265 #define SWIGTYPE_p_int swig_types[32]
266 #define SWIGTYPE_p_wxSize swig_types[33]
267 #define SWIGTYPE_p_wxDC swig_types[34]
268 #define SWIGTYPE_p_wxPySizer swig_types[35]
269 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
270 #define SWIGTYPE_p_wxPyEvent swig_types[37]
271 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
272 #define SWIGTYPE_p_wxAppTraits swig_types[39]
273 #define SWIGTYPE_p_wxArrayString swig_types[40]
274 #define SWIGTYPE_p_wxShowEvent swig_types[41]
275 #define SWIGTYPE_p_wxToolTip swig_types[42]
276 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
277 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
278 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
279 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
280 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
281 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
282 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
283 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
284 #define SWIGTYPE_p_wxMenuItem swig_types[51]
285 #define SWIGTYPE_p_wxStaticBox swig_types[52]
286 #define SWIGTYPE_p_long swig_types[53]
287 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
288 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
289 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
290 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
291 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
292 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
293 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
294 #define SWIGTYPE_p_wxANIHandler swig_types[61]
295 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
296 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
297 #define SWIGTYPE_p_wxCURHandler swig_types[64]
298 #define SWIGTYPE_p_wxICOHandler swig_types[65]
299 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
300 #define SWIGTYPE_p_wxImageHandler swig_types[67]
301 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
302 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
303 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
304 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
305 #define SWIGTYPE_p_wxRect swig_types[72]
306 #define SWIGTYPE_p_wxGBSpan swig_types[73]
307 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
308 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
309 #define SWIGTYPE_p_char swig_types[76]
310 #define SWIGTYPE_p_wxGBPosition swig_types[77]
311 #define SWIGTYPE_p_wxImage swig_types[78]
312 #define SWIGTYPE_p_wxFrame swig_types[79]
313 #define SWIGTYPE_p_wxScrollWinEvent swig_types[80]
314 #define SWIGTYPE_p_wxImageHistogram swig_types[81]
315 #define SWIGTYPE_p_byte swig_types[82]
316 #define SWIGTYPE_p_wxPoint swig_types[83]
317 #define SWIGTYPE_p_wxCursor swig_types[84]
318 #define SWIGTYPE_p_wxObject swig_types[85]
319 #define SWIGTYPE_p_wxPyInputStream swig_types[86]
320 #define SWIGTYPE_p_wxOutputStream swig_types[87]
321 #define SWIGTYPE_p_wxInputStream swig_types[88]
322 #define SWIGTYPE_p_wxDateTime swig_types[89]
323 #define SWIGTYPE_p_wxKeyEvent swig_types[90]
324 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
325 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[92]
326 #define SWIGTYPE_p_wxWindow swig_types[93]
327 #define SWIGTYPE_p_wxMenuBar swig_types[94]
328 #define SWIGTYPE_p_wxFileSystem swig_types[95]
329 #define SWIGTYPE_p_wxBitmap swig_types[96]
330 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
331 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
332 #define SWIGTYPE_p_unsigned_char swig_types[99]
333 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
334 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
335 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
336 #define SWIGTYPE_p_wxPyApp swig_types[103]
337 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
338 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
339 #define SWIGTYPE_p_wxPyDropTarget swig_types[106]
340 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
341 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
342 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
343 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
344 #define SWIGTYPE_p_wxColour swig_types[111]
345 #define SWIGTYPE_p_wxValidator swig_types[112]
346 #define SWIGTYPE_p_wxPyValidator swig_types[113]
347 static swig_type_info
*swig_types
[115];
349 /* -------- TYPES TABLE (END) -------- */
352 /*-----------------------------------------------
354 ------------------------------------------------*/
355 #define SWIG_init init_core
357 #define SWIG_name "_core"
365 #define SWIGSTATIC(a) static inline a
367 #define SWIGSTATIC(a) static a
373 #ifdef HAVE_NUMERIC_CAST
374 #define numeric_cast(type,a) numeric_cast<type>(a)
376 #define numeric_cast(type,a) static_cast<type>(a)
379 #define numeric_cast(type,a) (type)(a)
385 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
386 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
387 #define SWIG_PyObj_FromShort PyInt_FromLong
388 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
389 #define SWIG_PyObj_FromInt PyInt_FromLong
390 #define SWIG_PyObj_FromLong PyInt_FromLong
391 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
392 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
393 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
394 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
397 #include "wx/wxPython/wxPython_int.h"
398 #include "wx/wxPython/pyclasses.h"
401 #ifndef wxPyUSE_EXPORT
402 // Helper functions for dealing with SWIG objects and such. These are
403 // located here so they know about the SWIG types and functions declared
404 // in the wrapper code.
406 #include <wx/hashmap.h>
407 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
410 // Maintains a hashmap of className to swig_type_info pointers. Given the
411 // name of a class either looks up the type info in the cache, or scans the
412 // SWIG tables for it.
413 extern PyObject
* wxPyPtrTypeMap
;
415 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
417 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
419 if (typeInfoCache
== NULL
)
420 typeInfoCache
= new wxPyTypeInfoHashMap
;
422 wxString
name(className
);
423 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
426 // it wasn't in the cache, so look it up from SWIG
427 name
.Append(wxT(" *"));
428 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
430 // if it still wasn't found, try looking for a mapped name
435 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
436 (char*)(const char*)name
.mbc_str())) != NULL
) {
437 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
438 name
.Append(wxT(" *"));
439 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
443 // and add it to the map if found
444 (*typeInfoCache
)[className
] = swigType
;
451 // Check if a class name is a type known to SWIG
452 bool wxPyCheckSwigType(const wxChar
* className
) {
454 swig_type_info
* swigType
= wxPyFindSwigType(className
);
455 return swigType
!= NULL
;
459 // Given a pointer to a C++ object and a class name, construct a Python proxy
461 PyObject
* wxPyConstructObject(void* ptr
,
462 const wxChar
* className
,
465 swig_type_info
* swigType
= wxPyFindSwigType(className
);
466 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
468 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
472 // Extract a pointer to the wrapped C++ object from a Python proxy object.
473 // Ensures that the proxy object is of the specified (or derived) type. If
474 // not able to perform the conversion then a Python exception is set and the
475 // error should be handled properly in the caller. Returns True on success.
476 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
477 const wxChar
* className
) {
479 swig_type_info
* swigType
= wxPyFindSwigType(className
);
480 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
482 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
486 // Make a SWIGified pointer object suitable for a .this attribute
487 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
489 PyObject
* robj
= NULL
;
491 swig_type_info
* swigType
= wxPyFindSwigType(className
);
492 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
494 #ifdef SWIG_COBJECT_TYPES
495 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
501 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
502 strcpy(r
, swigType
->name
);
503 robj
= PyString_FromString(result
);
513 // Export a C API in a struct. Other modules will be able to load this from
514 // the wx.core module and will then have safe access to these functions, even if
515 // they are located in another shared library.
516 static wxPyCoreAPI API
= {
518 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
519 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
520 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
521 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
522 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
523 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
524 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
525 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
526 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
527 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
528 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
529 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
530 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
531 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
532 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
533 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
534 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
536 (p_SWIG_PyObj_AsCharPtr_t
)SWIG_PyObj_AsCharPtr
,
537 (p_SWIG_PyObj_FromCharPtr_t
)SWIG_PyObj_FromCharPtr
,
538 (p_SWIG_PyObj_AsUnsignedLong_t
)SWIG_PyObj_AsUnsignedLong
,
539 (p_SWIG_PyObj_AsLongInRange_t
)SWIG_PyObj_AsLongInRange
,
540 (p_SWIG_PyObj_AsUnsignedLongInRange_t
)SWIG_PyObj_AsUnsignedLongInRange
,
541 (p_SWIG_PyObj_AsNewCharPtr_t
)SWIG_PyObj_AsNewCharPtr
,
542 (p_SWIG_PyObj_AsCharPtrAndSize_t
)SWIG_PyObj_AsCharPtrAndSize
,
543 (p_SWIG_PyObj_AsCharArray_t
)SWIG_PyObj_AsCharArray
,
544 (p_SWIG_PyObj_FromCharArray_t
)SWIG_PyObj_FromCharArray
,
545 (p_SWIG_PyObj_AsFloatConv_t
)SWIG_PyObj_AsFloatConv
,
552 wxPyBeginAllowThreads
,
554 wxPyBeginBlockThreads
,
568 wxBitmap_LIST_helper
,
569 wxString_LIST_helper
,
570 wxAcceleratorEntry_LIST_helper
,
579 wxPySimple_typecheck
,
582 wxPyCBH_setCallbackInfo
,
583 wxPyCBH_findCallback
,
584 wxPyCBH_callCallback
,
585 wxPyCBH_callCallbackObj
,
593 wxArrayString2PyList_helper
,
594 wxArrayInt2PyList_helper
,
598 wxPyOORClientData_dtor
,
600 wxPyCBInputStream_create
,
603 wxPySwigInstance_Check
611 enum wxHotkeyModifier
619 #define wxEVT_HOTKEY 9999
622 static const wxString
wxPyEmptyString(wxEmptyString
);
623 wxString
wxObject_GetClassName(wxObject
*self
){
624 return self
->GetClassInfo()->GetClassName();
626 void wxObject_Destroy(wxObject
*self
){
631 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
636 SWIG_PyObj_AsInt(PyObject
*obj
)
638 return numeric_cast(int,
639 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
642 PyObject
*wxSize_Get(wxSize
*self
){
643 wxPyBeginBlockThreads();
644 PyObject
* tup
= PyTuple_New(2);
645 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
646 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
647 wxPyEndBlockThreads();
652 SWIG_PyObj_AsDouble(PyObject
*obj
)
654 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
656 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
658 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
660 if (PyErr_Occurred()) {
662 PyErr_SetString(PyExc_TypeError
, "a double is expected");
666 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
670 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
671 wxPyBeginBlockThreads();
672 PyObject
* tup
= PyTuple_New(2);
673 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
674 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
675 wxPyEndBlockThreads();
680 SWIG_PyObj_AsLong(PyObject
* obj
)
682 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
685 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
689 PyObject
*wxPoint_Get(wxPoint
*self
){
690 wxPyBeginBlockThreads();
691 PyObject
* tup
= PyTuple_New(2);
692 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
693 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
694 wxPyEndBlockThreads();
697 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
701 self
->height
= height
;
703 PyObject
*wxRect_Get(wxRect
*self
){
704 wxPyBeginBlockThreads();
705 PyObject
* tup
= PyTuple_New(4);
706 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
707 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
708 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
709 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
710 wxPyEndBlockThreads();
714 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
717 wxRect
dest(0,0,0,0);
720 reg1
.Intersect(reg2
);
721 dest
= reg1
.GetBox();
723 if (dest
!= wxRect(0,0,0,0)) {
724 wxPyBeginBlockThreads();
725 wxRect
* newRect
= new wxRect(dest
);
726 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
727 wxPyEndBlockThreads();
735 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
741 } else if (target
== Py_None
) {
745 if (!PyTuple_Check(target
)) {
747 target
= PyTuple_New(1);
748 PyTuple_SetItem(target
, 0, o2
);
751 PyTuple_SetItem(o3
, 0, o
);
754 target
= PySequence_Concat(o2
, o3
);
761 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
765 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
766 wxPyBeginBlockThreads();
767 PyObject
* tup
= PyTuple_New(2);
768 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
769 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
770 wxPyEndBlockThreads();
774 #include "wx/wxPython/pyistream.h"
776 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
777 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
779 return new wxPyInputStream(wxis
);
784 SWIGSTATIC(PyObject
*)
785 SWIG_PyObj_FromChar(char c
)
787 return PyString_FromStringAndSize(&c
,1);
791 SWIGSTATIC(PyObject
* )
792 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
794 return (value
> (unsigned long)(LONG_MAX
)) ?
795 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
800 SWIG_PyObj_AsChar(PyObject
*obj
)
803 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
804 c
= numeric_cast(char,
805 SWIG_PyObj_AsLongInRange(obj
, "char",CHAR_MIN
, CHAR_MAX
));
807 char* cptr
; size_t csize
;
808 SWIG_PyObj_AsCharPtrAndSize(obj
, 0, &cptr
, &csize
);
812 PyErr_SetString(PyExc_TypeError
, "a char is expected");
818 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
819 // We use only strings for the streams, not unicode
820 PyObject
* str
= PyObject_Str(obj
);
822 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
825 self
->Write(PyString_AS_STRING(str
),
826 PyString_GET_SIZE(str
));
830 #include "wx/wxPython/pyistream.h"
833 class wxPyFileSystemHandler
: public wxFileSystemHandler
836 wxPyFileSystemHandler() : wxFileSystemHandler() {}
838 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
839 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
840 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
841 DEC_PYCALLBACK_STRING__pure(FindNext
);
843 wxString
GetProtocol(const wxString
& location
) {
844 return wxFileSystemHandler::GetProtocol(location
);
847 wxString
GetLeftLocation(const wxString
& location
) {
848 return wxFileSystemHandler::GetLeftLocation(location
);
851 wxString
GetAnchor(const wxString
& location
) {
852 return wxFileSystemHandler::GetAnchor(location
);
855 wxString
GetRightLocation(const wxString
& location
) {
856 return wxFileSystemHandler::GetRightLocation(location
);
859 wxString
GetMimeTypeFromExt(const wxString
& location
) {
860 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
867 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
868 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
869 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
870 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
874 SWIG_PyObj_AsBool(PyObject
*obj
)
876 return PyObject_IsTrue(obj
) ? true : false;
880 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
881 wxFileName fname
= wxFileSystem::URLToFileName(url
);
882 return fname
.GetFullPath();
886 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
889 wxMemoryFSHandler::AddFile(filename
, image
, type
);
892 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
893 const wxBitmap
& bitmap
,
895 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
898 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
900 wxMemoryFSHandler::AddFile(filename
,
901 // TODO: Verify data type
902 (void*)PyString_AsString(data
),
903 (size_t)PyString_Size(data
));
907 #include "wx/wxPython/pyistream.h"
910 SWIGSTATIC(unsigned char)
911 SWIG_PyObj_AsUnsignedChar(PyObject
*obj
)
913 return numeric_cast(unsigned char,
914 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned char", UCHAR_MAX
));
917 wxImage
*new_wxImage(int width
,int height
,bool clear
){
918 if (width
> 0 && height
> 0)
919 return new wxImage(width
, height
, clear
);
923 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
924 return new wxImage(bitmap
.ConvertToImage());
926 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
927 // Copy the source data so the wxImage can clean it up later
928 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
933 memcpy(copy
, data
, width
*height
*3);
934 return new wxImage(width
, height
, copy
, False
);
936 PyObject
*wxImage_GetData(wxImage
*self
){
937 unsigned char* data
= self
->GetData();
938 int len
= self
->GetWidth() * self
->GetHeight() * 3;
940 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
943 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
944 unsigned char* dataPtr
;
946 if (! PyString_Check(data
)) {
947 PyErr_SetString(PyExc_TypeError
, "Expected string object");
951 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
952 dataPtr
= (unsigned char*) malloc(len
);
953 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
954 self
->SetData(dataPtr
);
955 // wxImage takes ownership of dataPtr...
957 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
958 unsigned char* data
= self
->GetData();
959 int len
= self
->GetWidth() * self
->GetHeight() * 3;
961 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
964 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
965 unsigned char* buffer
;
968 wxPyBeginBlockThreads();
969 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
972 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
973 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
976 self
->SetData(buffer
);
978 wxPyEndBlockThreads();
980 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
981 unsigned char* data
= self
->GetAlpha();
985 int len
= self
->GetWidth() * self
->GetHeight();
987 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
991 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
992 unsigned char* dataPtr
;
994 if (! PyString_Check(data
)) {
995 PyErr_SetString(PyExc_TypeError
, "Expected string object");
999 size_t len
= self
->GetWidth() * self
->GetHeight();
1000 dataPtr
= (unsigned char*) malloc(len
);
1001 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1002 self
->SetAlpha(dataPtr
);
1003 // wxImage takes ownership of dataPtr...
1005 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1006 unsigned char* data
= self
->GetAlpha();
1007 int len
= self
->GetWidth() * self
->GetHeight();
1009 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1012 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1013 unsigned char* buffer
;
1016 wxPyBeginBlockThreads();
1017 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1020 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1021 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1024 self
->SetAlpha(buffer
);
1026 wxPyEndBlockThreads();
1028 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1029 wxBitmap
bitmap(*self
);
1032 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1033 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1034 wxBitmap
bitmap( mono
, 1 );
1037 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1038 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1039 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1040 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1041 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1042 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1043 if (PyCallable_Check(func
)) {
1044 self
->Connect(id
, lastId
, eventType
,
1045 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1046 new wxPyCallback(func
));
1048 else if (func
== Py_None
) {
1049 self
->Disconnect(id
, lastId
, eventType
,
1050 (wxObjectEventFunction
)
1051 &wxPyCallback::EventThunker
);
1054 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
1057 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1058 return self
->Disconnect(id
, lastId
, eventType
,
1059 (wxObjectEventFunction
)
1060 &wxPyCallback::EventThunker
);
1062 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1063 if (_self
&& _self
!= Py_None
) {
1064 self
->SetClientObject(new wxPyOORClientData(_self
));
1067 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1069 self
->SetClientObject(NULL
); // This will delete it too
1073 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1075 return self
->m_uniChar
;
1081 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
1084 SWIGSTATIC(unsigned int)
1085 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
1087 return numeric_cast(unsigned int,
1088 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
1091 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1092 self
->m_size
= size
;
1094 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1097 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1098 int count
= self
->GetNumberOfFiles();
1099 wxString
* files
= self
->GetFiles();
1100 PyObject
* list
= PyList_New(count
);
1103 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1107 for (int i
=0; i
<count
; i
++) {
1108 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1114 wxPyApp
*new_wxPyApp(){
1115 wxPythonApp
= new wxPyApp();
1118 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1120 void wxApp_CleanUp() {
1125 wxPyApp
* wxGetApp() {
1126 return (wxPyApp
*)wxTheApp
;
1131 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1132 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1133 wxWindowList
& list
= self
->GetChildren();
1134 return wxPy_ConvertList(&list
);
1136 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1143 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1150 long wxWindow_GetHandle(wxWindow
*self
){
1151 return wxPyGetWinHandle(self
);
1154 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1155 return wxWindow::FindWindowById(id
, parent
);
1158 wxWindow
* wxFindWindowByName( const wxString
& name
,
1159 const wxWindow
*parent
= NULL
) {
1160 return wxWindow::FindWindowByName(name
, parent
);
1163 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1164 const wxWindow
*parent
= NULL
) {
1165 return wxWindow::FindWindowByLabel(label
, parent
);
1169 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1171 wxWindow
* win
= new wxWindow
;
1173 win
->SubclassWin(hWnd
);
1176 wxPyRaiseNotImplemented();
1182 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1183 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1184 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1186 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1188 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1189 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1190 wxMenuItemList
& list
= self
->GetMenuItems();
1191 return wxPy_ConvertList(&list
);
1193 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1194 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1195 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1197 wxPyClientData
* data
= new wxPyClientData(clientData
);
1198 return self
->Append(item
, data
);
1200 return self
->Append(item
);
1202 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1204 wxPyClientData
* data
= new wxPyClientData(clientData
);
1205 return self
->Insert(item
, pos
, data
);
1207 return self
->Insert(item
, pos
);
1209 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1210 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1212 Py_INCREF(data
->m_obj
);
1219 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1220 wxPyClientData
* data
= new wxPyClientData(clientData
);
1221 self
->SetClientObject(n
, data
);
1227 SWIG_PyObj_AsFloat(PyObject
*obj
)
1229 return SWIG_PyObj_AsFloatConv(obj
, SWIG_PyObj_AsDouble
);
1232 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1233 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1235 Py_INCREF(data
->m_obj
);
1243 // Figure out the type of the sizer item
1245 struct wxPySizerItemInfo
{
1247 : window(NULL
), sizer(NULL
), gotSize(False
),
1248 size(wxDefaultSize
), gotPos(False
), pos(-1)
1259 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1261 wxPySizerItemInfo info
;
1263 wxSize
* sizePtr
= &size
;
1265 // Find out what the type of the item is
1267 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1272 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1276 // try wxSize or (w,h)
1277 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1278 info
.size
= *sizePtr
;
1279 info
.gotSize
= True
;
1283 if (checkIdx
&& PyInt_Check(item
)) {
1284 info
.pos
= PyInt_AsLong(item
);
1290 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1291 // no expected type, figure out what kind of error message to generate
1292 if ( !checkSize
&& !checkIdx
)
1293 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1294 else if ( checkSize
&& !checkIdx
)
1295 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1296 else if ( !checkSize
&& checkIdx
)
1297 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1299 // can this one happen?
1300 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1306 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1307 self
->SetClientObject(new wxPyOORClientData(_self
));
1309 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1311 wxPyUserData
* data
= NULL
;
1312 wxPyBeginBlockThreads();
1313 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1314 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1315 data
= new wxPyUserData(userData
);
1316 wxPyEndBlockThreads();
1318 // Now call the real Add method if a valid item type was found
1320 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1321 else if ( info
.sizer
)
1322 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1323 else if (info
.gotSize
)
1324 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1325 proportion
, flag
, border
, data
);
1327 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1329 wxPyUserData
* data
= NULL
;
1330 wxPyBeginBlockThreads();
1331 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1332 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1333 data
= new wxPyUserData(userData
);
1334 wxPyEndBlockThreads();
1336 // Now call the real Insert method if a valid item type was found
1338 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1339 else if ( info
.sizer
)
1340 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1341 else if (info
.gotSize
)
1342 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1343 proportion
, flag
, border
, data
);
1345 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1347 wxPyUserData
* data
= NULL
;
1348 wxPyBeginBlockThreads();
1349 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1350 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1351 data
= new wxPyUserData(userData
);
1352 wxPyEndBlockThreads();
1354 // Now call the real Prepend method if a valid item type was found
1356 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1357 else if ( info
.sizer
)
1358 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1359 else if (info
.gotSize
)
1360 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1361 proportion
, flag
, border
, data
);
1363 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1364 wxPyBeginBlockThreads();
1365 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1366 wxPyEndBlockThreads();
1368 return self
->Remove(info
.window
);
1369 else if ( info
.sizer
)
1370 return self
->Remove(info
.sizer
);
1371 else if ( info
.gotPos
)
1372 return self
->Remove(info
.pos
);
1376 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1377 wxPyBeginBlockThreads();
1378 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1379 wxPyEndBlockThreads();
1381 self
->SetItemMinSize(info
.window
, size
);
1382 else if ( info
.sizer
)
1383 self
->SetItemMinSize(info
.sizer
, size
);
1384 else if ( info
.gotPos
)
1385 self
->SetItemMinSize(info
.pos
, size
);
1387 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1388 wxSizerItemList
& list
= self
->GetChildren();
1389 return wxPy_ConvertList(&list
);
1391 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1392 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1394 self
->Show(info
.window
, show
);
1395 else if ( info
.sizer
)
1396 self
->Show(info
.sizer
, show
);
1398 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1399 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1401 self
->Hide(info
.window
);
1402 else if ( info
.sizer
)
1403 self
->Hide(info
.sizer
);
1405 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1406 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1408 return self
->IsShown(info
.window
);
1409 else if ( info
.sizer
)
1410 return self
->IsShown(info
.sizer
);
1416 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1417 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1418 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1423 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1425 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1428 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1430 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1434 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1438 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1439 wxPyBeginBlockThreads();
1440 PyObject
* tup
= PyTuple_New(2);
1441 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1442 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1443 wxPyEndBlockThreads();
1446 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1447 self
->SetRowspan(rowspan
);
1448 self
->SetColspan(colspan
);
1450 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1451 wxPyBeginBlockThreads();
1452 PyObject
* tup
= PyTuple_New(2);
1453 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1454 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1455 wxPyEndBlockThreads();
1458 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1460 wxPyUserData
* data
= NULL
;
1461 wxPyBeginBlockThreads();
1462 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1463 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1464 data
= new wxPyUserData(userData
);
1465 wxPyEndBlockThreads();
1467 // Now call the real Add method if a valid item type was found
1469 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1470 else if ( info
.sizer
)
1471 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1472 else if (info
.gotSize
)
1473 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1474 pos
, span
, flag
, border
, data
);
1482 static int _wrap_EmptyString_set(PyObject
*) {
1483 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1488 static PyObject
*_wrap_EmptyString_get() {
1493 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1495 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1502 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
*resultobj
;
1504 wxObject
*arg1
= (wxObject
*) 0 ;
1506 PyObject
* obj0
= 0 ;
1508 (char *) "self", NULL
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1515 result
= wxObject_GetClassName(arg1
);
1517 wxPyEndAllowThreads(__tstate
);
1518 if (PyErr_Occurred()) SWIG_fail
;
1522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1533 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
*resultobj
;
1535 wxObject
*arg1
= (wxObject
*) 0 ;
1536 PyObject
* obj0
= 0 ;
1538 (char *) "self", NULL
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1545 wxObject_Destroy(arg1
);
1547 wxPyEndAllowThreads(__tstate
);
1548 if (PyErr_Occurred()) SWIG_fail
;
1550 Py_INCREF(Py_None
); resultobj
= Py_None
;
1557 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1560 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1562 return Py_BuildValue((char *)"");
1564 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
*resultobj
;
1566 wxSize
*arg1
= (wxSize
*) 0 ;
1568 PyObject
* obj0
= 0 ;
1569 PyObject
* obj1
= 0 ;
1571 (char *) "self",(char *) "x", NULL
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1577 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1578 if (PyErr_Occurred()) SWIG_fail
;
1580 if (arg1
) (arg1
)->x
= arg2
;
1582 Py_INCREF(Py_None
); resultobj
= Py_None
;
1589 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
*resultobj
;
1591 wxSize
*arg1
= (wxSize
*) 0 ;
1593 PyObject
* obj0
= 0 ;
1595 (char *) "self", NULL
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1600 result
= (int) ((arg1
)->x
);
1602 resultobj
= SWIG_PyObj_FromInt((int)result
);
1609 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
*resultobj
;
1611 wxSize
*arg1
= (wxSize
*) 0 ;
1613 PyObject
* obj0
= 0 ;
1614 PyObject
* obj1
= 0 ;
1616 (char *) "self",(char *) "y", NULL
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1622 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1623 if (PyErr_Occurred()) SWIG_fail
;
1625 if (arg1
) (arg1
)->y
= arg2
;
1627 Py_INCREF(Py_None
); resultobj
= Py_None
;
1634 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
*resultobj
;
1636 wxSize
*arg1
= (wxSize
*) 0 ;
1638 PyObject
* obj0
= 0 ;
1640 (char *) "self", NULL
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1645 result
= (int) ((arg1
)->y
);
1647 resultobj
= SWIG_PyObj_FromInt((int)result
);
1654 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
*resultobj
;
1656 int arg1
= (int) 0 ;
1657 int arg2
= (int) 0 ;
1659 PyObject
* obj0
= 0 ;
1660 PyObject
* obj1
= 0 ;
1662 (char *) "w",(char *) "h", NULL
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1668 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1669 if (PyErr_Occurred()) SWIG_fail
;
1674 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1675 if (PyErr_Occurred()) SWIG_fail
;
1679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1680 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1682 wxPyEndAllowThreads(__tstate
);
1683 if (PyErr_Occurred()) SWIG_fail
;
1685 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1692 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1693 PyObject
*resultobj
;
1694 wxSize
*arg1
= (wxSize
*) 0 ;
1695 PyObject
* obj0
= 0 ;
1697 (char *) "self", NULL
1700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) SWIG_fail
;
1709 Py_INCREF(Py_None
); resultobj
= Py_None
;
1716 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
*resultobj
;
1718 wxSize
*arg1
= (wxSize
*) 0 ;
1722 PyObject
* obj0
= 0 ;
1723 PyObject
* obj1
= 0 ;
1725 (char *) "self",(char *) "sz", NULL
1728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1732 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1736 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1738 wxPyEndAllowThreads(__tstate
);
1739 if (PyErr_Occurred()) SWIG_fail
;
1741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1748 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
*resultobj
;
1750 wxSize
*arg1
= (wxSize
*) 0 ;
1754 PyObject
* obj0
= 0 ;
1755 PyObject
* obj1
= 0 ;
1757 (char *) "self",(char *) "sz", NULL
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1764 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1768 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
1770 wxPyEndAllowThreads(__tstate
);
1771 if (PyErr_Occurred()) SWIG_fail
;
1773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1780 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
*resultobj
;
1782 wxSize
*arg1
= (wxSize
*) 0 ;
1786 PyObject
* obj0
= 0 ;
1787 PyObject
* obj1
= 0 ;
1789 (char *) "self",(char *) "sz", NULL
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1796 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) SWIG_fail
;
1807 resultptr
= new wxSize((wxSize
&) result
);
1808 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1816 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
*resultobj
;
1818 wxSize
*arg1
= (wxSize
*) 0 ;
1822 PyObject
* obj0
= 0 ;
1823 PyObject
* obj1
= 0 ;
1825 (char *) "self",(char *) "sz", NULL
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1832 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1843 resultptr
= new wxSize((wxSize
&) result
);
1844 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1852 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
*resultobj
;
1854 wxSize
*arg1
= (wxSize
*) 0 ;
1857 PyObject
* obj0
= 0 ;
1858 PyObject
* obj1
= 0 ;
1860 (char *) "self",(char *) "sz", NULL
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1867 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 (arg1
)->IncTo((wxSize
const &)*arg2
);
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) SWIG_fail
;
1876 Py_INCREF(Py_None
); resultobj
= Py_None
;
1883 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
*resultobj
;
1885 wxSize
*arg1
= (wxSize
*) 0 ;
1888 PyObject
* obj0
= 0 ;
1889 PyObject
* obj1
= 0 ;
1891 (char *) "self",(char *) "sz", NULL
1894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1898 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 (arg1
)->DecTo((wxSize
const &)*arg2
);
1904 wxPyEndAllowThreads(__tstate
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1907 Py_INCREF(Py_None
); resultobj
= Py_None
;
1914 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
*resultobj
;
1916 wxSize
*arg1
= (wxSize
*) 0 ;
1919 PyObject
* obj0
= 0 ;
1920 PyObject
* obj1
= 0 ;
1921 PyObject
* obj2
= 0 ;
1923 (char *) "self",(char *) "w",(char *) "h", NULL
1926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1929 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1930 if (PyErr_Occurred()) SWIG_fail
;
1933 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1934 if (PyErr_Occurred()) SWIG_fail
;
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 (arg1
)->Set(arg2
,arg3
);
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1943 Py_INCREF(Py_None
); resultobj
= Py_None
;
1950 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
*resultobj
;
1952 wxSize
*arg1
= (wxSize
*) 0 ;
1954 PyObject
* obj0
= 0 ;
1955 PyObject
* obj1
= 0 ;
1957 (char *) "self",(char *) "w", NULL
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1963 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1964 if (PyErr_Occurred()) SWIG_fail
;
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 (arg1
)->SetWidth(arg2
);
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1973 Py_INCREF(Py_None
); resultobj
= Py_None
;
1980 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
*resultobj
;
1982 wxSize
*arg1
= (wxSize
*) 0 ;
1984 PyObject
* obj0
= 0 ;
1985 PyObject
* obj1
= 0 ;
1987 (char *) "self",(char *) "h", NULL
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
1991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1993 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1998 (arg1
)->SetHeight(arg2
);
2000 wxPyEndAllowThreads(__tstate
);
2001 if (PyErr_Occurred()) SWIG_fail
;
2003 Py_INCREF(Py_None
); resultobj
= Py_None
;
2010 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
*resultobj
;
2012 wxSize
*arg1
= (wxSize
*) 0 ;
2014 PyObject
* obj0
= 0 ;
2016 (char *) "self", NULL
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2028 resultobj
= SWIG_PyObj_FromInt((int)result
);
2035 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
*resultobj
;
2037 wxSize
*arg1
= (wxSize
*) 0 ;
2039 PyObject
* obj0
= 0 ;
2041 (char *) "self", NULL
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2053 resultobj
= SWIG_PyObj_FromInt((int)result
);
2060 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2062 wxSize
*arg1
= (wxSize
*) 0 ;
2064 PyObject
* obj0
= 0 ;
2066 (char *) "self", NULL
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 result
= (PyObject
*)wxSize_Get(arg1
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2085 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2088 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2090 return Py_BuildValue((char *)"");
2092 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
*resultobj
;
2094 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2096 PyObject
* obj0
= 0 ;
2097 PyObject
* obj1
= 0 ;
2099 (char *) "self",(char *) "x", NULL
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2105 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2108 if (arg1
) (arg1
)->x
= arg2
;
2110 Py_INCREF(Py_None
); resultobj
= Py_None
;
2117 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
*resultobj
;
2119 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2121 PyObject
* obj0
= 0 ;
2123 (char *) "self", NULL
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2128 result
= (double) ((arg1
)->x
);
2130 resultobj
= SWIG_PyObj_FromDouble((double)result
);
2137 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
*resultobj
;
2139 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2141 PyObject
* obj0
= 0 ;
2142 PyObject
* obj1
= 0 ;
2144 (char *) "self",(char *) "y", NULL
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2150 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2151 if (PyErr_Occurred()) SWIG_fail
;
2153 if (arg1
) (arg1
)->y
= arg2
;
2155 Py_INCREF(Py_None
); resultobj
= Py_None
;
2162 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
*resultobj
;
2164 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2166 PyObject
* obj0
= 0 ;
2168 (char *) "self", NULL
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2173 result
= (double) ((arg1
)->y
);
2175 resultobj
= SWIG_PyObj_FromDouble((double)result
);
2182 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
*resultobj
;
2184 double arg1
= (double) 0.0 ;
2185 double arg2
= (double) 0.0 ;
2186 wxRealPoint
*result
;
2187 PyObject
* obj0
= 0 ;
2188 PyObject
* obj1
= 0 ;
2190 (char *) "x",(char *) "y", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2196 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
2197 if (PyErr_Occurred()) SWIG_fail
;
2202 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2203 if (PyErr_Occurred()) SWIG_fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2213 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
2220 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
*resultobj
;
2222 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2223 PyObject
* obj0
= 0 ;
2225 (char *) "self", NULL
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 Py_INCREF(Py_None
); resultobj
= Py_None
;
2244 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2247 wxRealPoint
*arg2
= 0 ;
2250 PyObject
* obj0
= 0 ;
2251 PyObject
* obj1
= 0 ;
2253 (char *) "self",(char *) "pt", NULL
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2260 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2264 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2266 wxPyEndAllowThreads(__tstate
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2276 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
*resultobj
;
2278 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2279 wxRealPoint
*arg2
= 0 ;
2282 PyObject
* obj0
= 0 ;
2283 PyObject
* obj1
= 0 ;
2285 (char *) "self",(char *) "pt", NULL
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2292 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2308 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
*resultobj
;
2310 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2311 wxRealPoint
*arg2
= 0 ;
2314 PyObject
* obj0
= 0 ;
2315 PyObject
* obj1
= 0 ;
2317 (char *) "self",(char *) "pt", NULL
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2324 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2334 wxRealPoint
* resultptr
;
2335 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2336 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2344 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
*resultobj
;
2346 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2347 wxRealPoint
*arg2
= 0 ;
2350 PyObject
* obj0
= 0 ;
2351 PyObject
* obj1
= 0 ;
2353 (char *) "self",(char *) "pt", NULL
2356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2360 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2364 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2366 wxPyEndAllowThreads(__tstate
);
2367 if (PyErr_Occurred()) SWIG_fail
;
2370 wxRealPoint
* resultptr
;
2371 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2372 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2380 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
*resultobj
;
2382 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2385 PyObject
* obj0
= 0 ;
2386 PyObject
* obj1
= 0 ;
2387 PyObject
* obj2
= 0 ;
2389 (char *) "self",(char *) "x",(char *) "y", NULL
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2395 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2396 if (PyErr_Occurred()) SWIG_fail
;
2399 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2400 if (PyErr_Occurred()) SWIG_fail
;
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 wxRealPoint_Set(arg1
,arg2
,arg3
);
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2409 Py_INCREF(Py_None
); resultobj
= Py_None
;
2416 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
*resultobj
;
2418 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2420 PyObject
* obj0
= 0 ;
2422 (char *) "self", NULL
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2429 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2441 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2444 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2446 return Py_BuildValue((char *)"");
2448 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2449 PyObject
*resultobj
;
2450 wxPoint
*arg1
= (wxPoint
*) 0 ;
2452 PyObject
* obj0
= 0 ;
2453 PyObject
* obj1
= 0 ;
2455 (char *) "self",(char *) "x", NULL
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2461 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2462 if (PyErr_Occurred()) SWIG_fail
;
2464 if (arg1
) (arg1
)->x
= arg2
;
2466 Py_INCREF(Py_None
); resultobj
= Py_None
;
2473 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2474 PyObject
*resultobj
;
2475 wxPoint
*arg1
= (wxPoint
*) 0 ;
2477 PyObject
* obj0
= 0 ;
2479 (char *) "self", NULL
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2484 result
= (int) ((arg1
)->x
);
2486 resultobj
= SWIG_PyObj_FromInt((int)result
);
2493 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
*resultobj
;
2495 wxPoint
*arg1
= (wxPoint
*) 0 ;
2497 PyObject
* obj0
= 0 ;
2498 PyObject
* obj1
= 0 ;
2500 (char *) "self",(char *) "y", NULL
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2506 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2507 if (PyErr_Occurred()) SWIG_fail
;
2509 if (arg1
) (arg1
)->y
= arg2
;
2511 Py_INCREF(Py_None
); resultobj
= Py_None
;
2518 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
*resultobj
;
2520 wxPoint
*arg1
= (wxPoint
*) 0 ;
2522 PyObject
* obj0
= 0 ;
2524 (char *) "self", NULL
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2529 result
= (int) ((arg1
)->y
);
2531 resultobj
= SWIG_PyObj_FromInt((int)result
);
2538 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
*resultobj
;
2540 int arg1
= (int) 0 ;
2541 int arg2
= (int) 0 ;
2543 PyObject
* obj0
= 0 ;
2544 PyObject
* obj1
= 0 ;
2546 (char *) "x",(char *) "y", NULL
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2552 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2558 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2559 if (PyErr_Occurred()) SWIG_fail
;
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2569 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2576 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
*resultobj
;
2578 wxPoint
*arg1
= (wxPoint
*) 0 ;
2579 PyObject
* obj0
= 0 ;
2581 (char *) "self", NULL
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) SWIG_fail
;
2593 Py_INCREF(Py_None
); resultobj
= Py_None
;
2600 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
*resultobj
;
2602 wxPoint
*arg1
= (wxPoint
*) 0 ;
2606 PyObject
* obj0
= 0 ;
2607 PyObject
* obj1
= 0 ;
2609 (char *) "self",(char *) "pt", NULL
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2620 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2622 wxPyEndAllowThreads(__tstate
);
2623 if (PyErr_Occurred()) SWIG_fail
;
2625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2632 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
*resultobj
;
2634 wxPoint
*arg1
= (wxPoint
*) 0 ;
2638 PyObject
* obj0
= 0 ;
2639 PyObject
* obj1
= 0 ;
2641 (char *) "self",(char *) "pt", NULL
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2648 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2664 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
*resultobj
;
2666 wxPoint
*arg1
= (wxPoint
*) 0 ;
2670 PyObject
* obj0
= 0 ;
2671 PyObject
* obj1
= 0 ;
2673 (char *) "self",(char *) "pt", NULL
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2680 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2684 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2686 wxPyEndAllowThreads(__tstate
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2690 wxPoint
* resultptr
;
2691 resultptr
= new wxPoint((wxPoint
&) result
);
2692 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2700 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
*resultobj
;
2702 wxPoint
*arg1
= (wxPoint
*) 0 ;
2706 PyObject
* obj0
= 0 ;
2707 PyObject
* obj1
= 0 ;
2709 (char *) "self",(char *) "pt", NULL
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2716 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) SWIG_fail
;
2726 wxPoint
* resultptr
;
2727 resultptr
= new wxPoint((wxPoint
&) result
);
2728 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2736 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
*resultobj
;
2738 wxPoint
*arg1
= (wxPoint
*) 0 ;
2742 PyObject
* obj0
= 0 ;
2743 PyObject
* obj1
= 0 ;
2745 (char *) "self",(char *) "pt", NULL
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2752 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2758 result
= (wxPoint
*) &_result_ref
;
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) SWIG_fail
;
2764 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2771 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
*resultobj
;
2773 wxPoint
*arg1
= (wxPoint
*) 0 ;
2777 PyObject
* obj0
= 0 ;
2778 PyObject
* obj1
= 0 ;
2780 (char *) "self",(char *) "pt", NULL
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2787 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2793 result
= (wxPoint
*) &_result_ref
;
2796 wxPyEndAllowThreads(__tstate
);
2797 if (PyErr_Occurred()) SWIG_fail
;
2799 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2806 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2808 wxPoint
*arg1
= (wxPoint
*) 0 ;
2811 PyObject
* obj0
= 0 ;
2812 PyObject
* obj1
= 0 ;
2813 PyObject
* obj2
= 0 ;
2815 (char *) "self",(char *) "x",(char *) "y", NULL
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2821 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2825 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2826 if (PyErr_Occurred()) SWIG_fail
;
2829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2830 wxPoint_Set(arg1
,arg2
,arg3
);
2832 wxPyEndAllowThreads(__tstate
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2835 Py_INCREF(Py_None
); resultobj
= Py_None
;
2842 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
*resultobj
;
2844 wxPoint
*arg1
= (wxPoint
*) 0 ;
2846 PyObject
* obj0
= 0 ;
2848 (char *) "self", NULL
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
2852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 result
= (PyObject
*)wxPoint_Get(arg1
);
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) SWIG_fail
;
2867 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2870 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2872 return Py_BuildValue((char *)"");
2874 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
*resultobj
;
2876 int arg1
= (int) 0 ;
2877 int arg2
= (int) 0 ;
2878 int arg3
= (int) 0 ;
2879 int arg4
= (int) 0 ;
2881 PyObject
* obj0
= 0 ;
2882 PyObject
* obj1
= 0 ;
2883 PyObject
* obj2
= 0 ;
2884 PyObject
* obj3
= 0 ;
2886 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2892 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2893 if (PyErr_Occurred()) SWIG_fail
;
2898 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2904 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2910 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2916 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2918 wxPyEndAllowThreads(__tstate
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2921 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2928 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
*resultobj
;
2935 PyObject
* obj0
= 0 ;
2936 PyObject
* obj1
= 0 ;
2938 (char *) "topLeft",(char *) "bottomRight", NULL
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2944 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2948 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2964 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2971 PyObject
* obj0
= 0 ;
2972 PyObject
* obj1
= 0 ;
2974 (char *) "pos",(char *) "size", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2980 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2984 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2988 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
2990 wxPyEndAllowThreads(__tstate
);
2991 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
3000 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
*resultobj
;
3002 wxRect
*arg1
= (wxRect
*) 0 ;
3003 PyObject
* obj0
= 0 ;
3005 (char *) "self", NULL
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3017 Py_INCREF(Py_None
); resultobj
= Py_None
;
3024 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
*resultobj
;
3026 wxRect
*arg1
= (wxRect
*) 0 ;
3028 PyObject
* obj0
= 0 ;
3030 (char *) "self", NULL
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 result
= (int)((wxRect
const *)arg1
)->GetX();
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) SWIG_fail
;
3042 resultobj
= SWIG_PyObj_FromInt((int)result
);
3049 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
*resultobj
;
3051 wxRect
*arg1
= (wxRect
*) 0 ;
3053 PyObject
* obj0
= 0 ;
3054 PyObject
* obj1
= 0 ;
3056 (char *) "self",(char *) "x", NULL
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3062 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3063 if (PyErr_Occurred()) SWIG_fail
;
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) SWIG_fail
;
3072 Py_INCREF(Py_None
); resultobj
= Py_None
;
3079 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
*resultobj
;
3081 wxRect
*arg1
= (wxRect
*) 0 ;
3083 PyObject
* obj0
= 0 ;
3085 (char *) "self", NULL
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 result
= (int)(arg1
)->GetY();
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3097 resultobj
= SWIG_PyObj_FromInt((int)result
);
3104 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxRect
*arg1
= (wxRect
*) 0 ;
3108 PyObject
* obj0
= 0 ;
3109 PyObject
* obj1
= 0 ;
3111 (char *) "self",(char *) "y", NULL
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3117 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3127 Py_INCREF(Py_None
); resultobj
= Py_None
;
3134 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3136 wxRect
*arg1
= (wxRect
*) 0 ;
3138 PyObject
* obj0
= 0 ;
3140 (char *) "self", NULL
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3147 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3149 wxPyEndAllowThreads(__tstate
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3152 resultobj
= SWIG_PyObj_FromInt((int)result
);
3159 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
;
3161 wxRect
*arg1
= (wxRect
*) 0 ;
3163 PyObject
* obj0
= 0 ;
3164 PyObject
* obj1
= 0 ;
3166 (char *) "self",(char *) "w", NULL
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3172 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 (arg1
)->SetWidth(arg2
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) SWIG_fail
;
3182 Py_INCREF(Py_None
); resultobj
= Py_None
;
3189 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
*resultobj
;
3191 wxRect
*arg1
= (wxRect
*) 0 ;
3193 PyObject
* obj0
= 0 ;
3195 (char *) "self", NULL
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3202 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3204 wxPyEndAllowThreads(__tstate
);
3205 if (PyErr_Occurred()) SWIG_fail
;
3207 resultobj
= SWIG_PyObj_FromInt((int)result
);
3214 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
*resultobj
;
3216 wxRect
*arg1
= (wxRect
*) 0 ;
3218 PyObject
* obj0
= 0 ;
3219 PyObject
* obj1
= 0 ;
3221 (char *) "self",(char *) "h", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3227 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 (arg1
)->SetHeight(arg2
);
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) SWIG_fail
;
3237 Py_INCREF(Py_None
); resultobj
= Py_None
;
3244 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
*resultobj
;
3246 wxRect
*arg1
= (wxRect
*) 0 ;
3248 PyObject
* obj0
= 0 ;
3250 (char *) "self", NULL
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 result
= ((wxRect
const *)arg1
)->GetPosition();
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3263 wxPoint
* resultptr
;
3264 resultptr
= new wxPoint((wxPoint
&) result
);
3265 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3273 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
;
3275 wxRect
*arg1
= (wxRect
*) 0 ;
3278 PyObject
* obj0
= 0 ;
3279 PyObject
* obj1
= 0 ;
3281 (char *) "self",(char *) "p", NULL
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3288 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3292 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3294 wxPyEndAllowThreads(__tstate
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3297 Py_INCREF(Py_None
); resultobj
= Py_None
;
3304 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
*resultobj
;
3306 wxRect
*arg1
= (wxRect
*) 0 ;
3308 PyObject
* obj0
= 0 ;
3310 (char *) "self", NULL
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 result
= ((wxRect
const *)arg1
)->GetSize();
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3324 resultptr
= new wxSize((wxSize
&) result
);
3325 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3333 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
*resultobj
;
3335 wxRect
*arg1
= (wxRect
*) 0 ;
3338 PyObject
* obj0
= 0 ;
3339 PyObject
* obj1
= 0 ;
3341 (char *) "self",(char *) "s", NULL
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3348 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3352 (arg1
)->SetSize((wxSize
const &)*arg2
);
3354 wxPyEndAllowThreads(__tstate
);
3355 if (PyErr_Occurred()) SWIG_fail
;
3357 Py_INCREF(Py_None
); resultobj
= Py_None
;
3364 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
*resultobj
;
3366 wxRect
*arg1
= (wxRect
*) 0 ;
3368 PyObject
* obj0
= 0 ;
3370 (char *) "self", NULL
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3383 wxPoint
* resultptr
;
3384 resultptr
= new wxPoint((wxPoint
&) result
);
3385 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3393 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
*resultobj
;
3395 wxRect
*arg1
= (wxRect
*) 0 ;
3398 PyObject
* obj0
= 0 ;
3399 PyObject
* obj1
= 0 ;
3401 (char *) "self",(char *) "p", NULL
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3408 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3417 Py_INCREF(Py_None
); resultobj
= Py_None
;
3424 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
*resultobj
;
3426 wxRect
*arg1
= (wxRect
*) 0 ;
3428 PyObject
* obj0
= 0 ;
3430 (char *) "self", NULL
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3443 wxPoint
* resultptr
;
3444 resultptr
= new wxPoint((wxPoint
&) result
);
3445 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3453 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
*resultobj
;
3455 wxRect
*arg1
= (wxRect
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3459 PyObject
* obj1
= 0 ;
3461 (char *) "self",(char *) "p", NULL
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3468 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 Py_INCREF(Py_None
); resultobj
= Py_None
;
3484 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
*resultobj
;
3486 wxRect
*arg1
= (wxRect
*) 0 ;
3488 PyObject
* obj0
= 0 ;
3490 (char *) "self", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 resultobj
= SWIG_PyObj_FromInt((int)result
);
3509 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
*resultobj
;
3511 wxRect
*arg1
= (wxRect
*) 0 ;
3513 PyObject
* obj0
= 0 ;
3515 (char *) "self", NULL
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 result
= (int)((wxRect
const *)arg1
)->GetTop();
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3527 resultobj
= SWIG_PyObj_FromInt((int)result
);
3534 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
*resultobj
;
3536 wxRect
*arg1
= (wxRect
*) 0 ;
3538 PyObject
* obj0
= 0 ;
3540 (char *) "self", NULL
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) SWIG_fail
;
3552 resultobj
= SWIG_PyObj_FromInt((int)result
);
3559 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
*resultobj
;
3561 wxRect
*arg1
= (wxRect
*) 0 ;
3563 PyObject
* obj0
= 0 ;
3565 (char *) "self", NULL
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 result
= (int)((wxRect
const *)arg1
)->GetRight();
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= SWIG_PyObj_FromInt((int)result
);
3584 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxRect
*arg1
= (wxRect
*) 0 ;
3588 PyObject
* obj0
= 0 ;
3589 PyObject
* obj1
= 0 ;
3591 (char *) "self",(char *) "left", NULL
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3597 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 (arg1
)->SetLeft(arg2
);
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3607 Py_INCREF(Py_None
); resultobj
= Py_None
;
3614 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
*resultobj
;
3616 wxRect
*arg1
= (wxRect
*) 0 ;
3618 PyObject
* obj0
= 0 ;
3619 PyObject
* obj1
= 0 ;
3621 (char *) "self",(char *) "right", NULL
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3627 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 (arg1
)->SetRight(arg2
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3637 Py_INCREF(Py_None
); resultobj
= Py_None
;
3644 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 wxRect
*arg1
= (wxRect
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3649 PyObject
* obj1
= 0 ;
3651 (char *) "self",(char *) "top", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
3655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3657 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3662 (arg1
)->SetTop(arg2
);
3664 wxPyEndAllowThreads(__tstate
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3667 Py_INCREF(Py_None
); resultobj
= Py_None
;
3674 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
*resultobj
;
3676 wxRect
*arg1
= (wxRect
*) 0 ;
3678 PyObject
* obj0
= 0 ;
3679 PyObject
* obj1
= 0 ;
3681 (char *) "self",(char *) "bottom", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
3685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3687 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 (arg1
)->SetBottom(arg2
);
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxRect
*arg1
= (wxRect
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3711 PyObject
* obj1
= 0 ;
3712 PyObject
* obj2
= 0 ;
3714 (char *) "self",(char *) "dx",(char *) "dy", NULL
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3720 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3724 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3731 result
= (wxRect
*) &_result_ref
;
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3737 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3744 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
*resultobj
;
3746 wxRect
*arg1
= (wxRect
*) 0 ;
3750 PyObject
* obj0
= 0 ;
3751 PyObject
* obj1
= 0 ;
3752 PyObject
* obj2
= 0 ;
3754 (char *) "self",(char *) "dx",(char *) "dy", NULL
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3760 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3764 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3771 result
= (wxRect
*) &_result_ref
;
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3777 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3784 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxRect
*arg1
= (wxRect
*) 0 ;
3789 PyObject
* obj0
= 0 ;
3790 PyObject
* obj1
= 0 ;
3791 PyObject
* obj2
= 0 ;
3793 (char *) "self",(char *) "dx",(char *) "dy", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3799 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3803 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 (arg1
)->Offset(arg2
,arg3
);
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3813 Py_INCREF(Py_None
); resultobj
= Py_None
;
3820 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxRect
*arg1
= (wxRect
*) 0 ;
3825 PyObject
* obj0
= 0 ;
3826 PyObject
* obj1
= 0 ;
3828 (char *) "self",(char *) "pt", NULL
3831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3835 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 (arg1
)->Offset((wxPoint
const &)*arg2
);
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 Py_INCREF(Py_None
); resultobj
= Py_None
;
3851 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
;
3853 wxRect
*arg1
= (wxRect
*) 0 ;
3857 PyObject
* obj0
= 0 ;
3858 PyObject
* obj1
= 0 ;
3860 (char *) "self",(char *) "rect", NULL
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3867 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3872 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3873 result
= (wxRect
*) &_result_ref
;
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3886 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
*resultobj
;
3888 wxRect
*arg1
= (wxRect
*) 0 ;
3892 PyObject
* obj0
= 0 ;
3893 PyObject
* obj1
= 0 ;
3895 (char *) "self",(char *) "rect", NULL
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3902 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3913 resultptr
= new wxRect((wxRect
&) result
);
3914 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3922 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3924 wxRect
*arg1
= (wxRect
*) 0 ;
3928 PyObject
* obj0
= 0 ;
3929 PyObject
* obj1
= 0 ;
3931 (char *) "self",(char *) "rect", NULL
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3938 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3944 result
= (wxRect
*) &_result_ref
;
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3950 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3957 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3959 wxRect
*arg1
= (wxRect
*) 0 ;
3963 PyObject
* obj0
= 0 ;
3964 PyObject
* obj1
= 0 ;
3966 (char *) "self",(char *) "rect", NULL
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3973 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3989 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
*resultobj
;
3991 wxRect
*arg1
= (wxRect
*) 0 ;
3995 PyObject
* obj0
= 0 ;
3996 PyObject
* obj1
= 0 ;
3998 (char *) "self",(char *) "rect", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4005 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4021 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 wxRect
*arg1
= (wxRect
*) 0 ;
4027 PyObject
* obj0
= 0 ;
4028 PyObject
* obj1
= 0 ;
4029 PyObject
* obj2
= 0 ;
4031 (char *) "self",(char *) "x",(char *) "y", NULL
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4037 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4041 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4058 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
*resultobj
;
4060 wxRect
*arg1
= (wxRect
*) 0 ;
4064 PyObject
* obj0
= 0 ;
4065 PyObject
* obj1
= 0 ;
4067 (char *) "self",(char *) "pt", NULL
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4090 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
*resultobj
;
4092 wxRect
*arg1
= (wxRect
*) 0 ;
4096 PyObject
* obj0
= 0 ;
4097 PyObject
* obj1
= 0 ;
4099 (char *) "self",(char *) "rect", NULL
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4106 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4122 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
*resultobj
;
4124 wxRect
*arg1
= (wxRect
*) 0 ;
4126 PyObject
* obj0
= 0 ;
4127 PyObject
* obj1
= 0 ;
4129 (char *) "self",(char *) "x", NULL
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4135 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 if (arg1
) (arg1
)->x
= arg2
;
4140 Py_INCREF(Py_None
); resultobj
= Py_None
;
4147 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4149 wxRect
*arg1
= (wxRect
*) 0 ;
4151 PyObject
* obj0
= 0 ;
4153 (char *) "self", NULL
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4158 result
= (int) ((arg1
)->x
);
4160 resultobj
= SWIG_PyObj_FromInt((int)result
);
4167 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
;
4169 wxRect
*arg1
= (wxRect
*) 0 ;
4171 PyObject
* obj0
= 0 ;
4172 PyObject
* obj1
= 0 ;
4174 (char *) "self",(char *) "y", NULL
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4180 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4183 if (arg1
) (arg1
)->y
= arg2
;
4185 Py_INCREF(Py_None
); resultobj
= Py_None
;
4192 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
*resultobj
;
4194 wxRect
*arg1
= (wxRect
*) 0 ;
4196 PyObject
* obj0
= 0 ;
4198 (char *) "self", NULL
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4203 result
= (int) ((arg1
)->y
);
4205 resultobj
= SWIG_PyObj_FromInt((int)result
);
4212 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4214 wxRect
*arg1
= (wxRect
*) 0 ;
4216 PyObject
* obj0
= 0 ;
4217 PyObject
* obj1
= 0 ;
4219 (char *) "self",(char *) "width", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4225 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 if (arg1
) (arg1
)->width
= arg2
;
4230 Py_INCREF(Py_None
); resultobj
= Py_None
;
4237 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxRect
*arg1
= (wxRect
*) 0 ;
4241 PyObject
* obj0
= 0 ;
4243 (char *) "self", NULL
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4248 result
= (int) ((arg1
)->width
);
4250 resultobj
= SWIG_PyObj_FromInt((int)result
);
4257 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4259 wxRect
*arg1
= (wxRect
*) 0 ;
4261 PyObject
* obj0
= 0 ;
4262 PyObject
* obj1
= 0 ;
4264 (char *) "self",(char *) "height", NULL
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4270 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 if (arg1
) (arg1
)->height
= arg2
;
4275 Py_INCREF(Py_None
); resultobj
= Py_None
;
4282 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
*resultobj
;
4284 wxRect
*arg1
= (wxRect
*) 0 ;
4286 PyObject
* obj0
= 0 ;
4288 (char *) "self", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4293 result
= (int) ((arg1
)->height
);
4295 resultobj
= SWIG_PyObj_FromInt((int)result
);
4302 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
*resultobj
;
4304 wxRect
*arg1
= (wxRect
*) 0 ;
4305 int arg2
= (int) 0 ;
4306 int arg3
= (int) 0 ;
4307 int arg4
= (int) 0 ;
4308 int arg5
= (int) 0 ;
4309 PyObject
* obj0
= 0 ;
4310 PyObject
* obj1
= 0 ;
4311 PyObject
* obj2
= 0 ;
4312 PyObject
* obj3
= 0 ;
4313 PyObject
* obj4
= 0 ;
4315 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4322 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4328 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4334 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4340 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 Py_INCREF(Py_None
); resultobj
= Py_None
;
4358 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 wxRect
*arg1
= (wxRect
*) 0 ;
4362 PyObject
* obj0
= 0 ;
4364 (char *) "self", NULL
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 result
= (PyObject
*)wxRect_Get(arg1
);
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4383 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4386 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4388 return Py_BuildValue((char *)"");
4390 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxRect
*arg1
= (wxRect
*) 0 ;
4393 wxRect
*arg2
= (wxRect
*) 0 ;
4395 PyObject
* obj0
= 0 ;
4396 PyObject
* obj1
= 0 ;
4398 (char *) "r1",(char *) "r2", NULL
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4403 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4408 wxPyEndAllowThreads(__tstate
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4418 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
;
4420 double arg1
= (double) 0.0 ;
4421 double arg2
= (double) 0.0 ;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4426 (char *) "x",(char *) "y", NULL
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4432 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4438 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4456 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxPoint2D
*arg1
= 0 ;
4461 PyObject
* obj0
= 0 ;
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4469 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4485 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
*resultobj
;
4490 PyObject
* obj0
= 0 ;
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4498 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4514 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
;
4516 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4517 int *arg2
= (int *) 0 ;
4518 int *arg3
= (int *) 0 ;
4521 PyObject
* obj0
= 0 ;
4523 (char *) "self", NULL
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4537 Py_INCREF(Py_None
); resultobj
= Py_None
;
4539 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4540 resultobj
= t_output_helper(resultobj
,o
);
4543 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4544 resultobj
= t_output_helper(resultobj
,o
);
4552 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
*resultobj
;
4554 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4555 int *arg2
= (int *) 0 ;
4556 int *arg3
= (int *) 0 ;
4559 PyObject
* obj0
= 0 ;
4561 (char *) "self", NULL
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4575 Py_INCREF(Py_None
); resultobj
= Py_None
;
4577 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4578 resultobj
= t_output_helper(resultobj
,o
);
4581 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4582 resultobj
= t_output_helper(resultobj
,o
);
4590 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
;
4592 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4594 PyObject
* obj0
= 0 ;
4596 (char *) "self", NULL
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4615 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
;
4617 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4619 PyObject
* obj0
= 0 ;
4621 (char *) "self", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4633 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4640 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
;
4642 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4647 (char *) "self",(char *) "length", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
4651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4653 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 (arg1
)->SetVectorLength(arg2
);
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4663 Py_INCREF(Py_None
); resultobj
= Py_None
;
4670 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
;
4672 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4674 PyObject
* obj0
= 0 ;
4675 PyObject
* obj1
= 0 ;
4677 (char *) "self",(char *) "degrees", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
4681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4683 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 (arg1
)->SetVectorAngle(arg2
);
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4693 Py_INCREF(Py_None
); resultobj
= Py_None
;
4700 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
*resultobj
;
4702 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4703 wxPoint2D
*arg2
= 0 ;
4706 PyObject
* obj0
= 0 ;
4707 PyObject
* obj1
= 0 ;
4709 (char *) "self",(char *) "pt", NULL
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4716 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4732 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4735 wxPoint2D
*arg2
= 0 ;
4738 PyObject
* obj0
= 0 ;
4739 PyObject
* obj1
= 0 ;
4741 (char *) "self",(char *) "pt", NULL
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4748 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4757 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4764 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
*resultobj
;
4766 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4767 wxPoint2D
*arg2
= 0 ;
4770 PyObject
* obj0
= 0 ;
4771 PyObject
* obj1
= 0 ;
4773 (char *) "self",(char *) "vec", NULL
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4780 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4796 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
;
4798 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4799 wxPoint2D
*arg2
= 0 ;
4802 PyObject
* obj0
= 0 ;
4803 PyObject
* obj1
= 0 ;
4805 (char *) "self",(char *) "vec", NULL
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4812 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4828 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
;
4830 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4832 PyObject
* obj0
= 0 ;
4834 (char *) "self", NULL
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= (arg1
)->operator -();
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4847 wxPoint2D
* resultptr
;
4848 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4849 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4857 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
;
4859 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4860 wxPoint2D
*arg2
= 0 ;
4863 PyObject
* obj0
= 0 ;
4864 PyObject
* obj1
= 0 ;
4866 (char *) "self",(char *) "pt", NULL
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4873 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4879 result
= (wxPoint2D
*) &_result_ref
;
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4885 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4892 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
;
4894 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4895 wxPoint2D
*arg2
= 0 ;
4898 PyObject
* obj0
= 0 ;
4899 PyObject
* obj1
= 0 ;
4901 (char *) "self",(char *) "pt", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4908 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4914 result
= (wxPoint2D
*) &_result_ref
;
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4927 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4930 wxPoint2D
*arg2
= 0 ;
4933 PyObject
* obj0
= 0 ;
4934 PyObject
* obj1
= 0 ;
4936 (char *) "self",(char *) "pt", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4943 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4949 result
= (wxPoint2D
*) &_result_ref
;
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4962 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
*resultobj
;
4964 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4965 wxPoint2D
*arg2
= 0 ;
4968 PyObject
* obj0
= 0 ;
4969 PyObject
* obj1
= 0 ;
4971 (char *) "self",(char *) "pt", NULL
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4978 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4984 result
= (wxPoint2D
*) &_result_ref
;
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4997 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
4999 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5000 wxPoint2D
*arg2
= 0 ;
5003 PyObject
* obj0
= 0 ;
5004 PyObject
* obj1
= 0 ;
5006 (char *) "self",(char *) "pt", NULL
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5013 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5029 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
;
5031 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5032 wxPoint2D
*arg2
= 0 ;
5035 PyObject
* obj0
= 0 ;
5036 PyObject
* obj1
= 0 ;
5038 (char *) "self",(char *) "pt", NULL
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5045 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5061 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5065 PyObject
* obj0
= 0 ;
5066 PyObject
* obj1
= 0 ;
5068 (char *) "self",(char *) "m_x", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5074 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5077 if (arg1
) (arg1
)->m_x
= arg2
;
5079 Py_INCREF(Py_None
); resultobj
= Py_None
;
5086 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
;
5088 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5090 PyObject
* obj0
= 0 ;
5092 (char *) "self", NULL
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5097 result
= (double) ((arg1
)->m_x
);
5099 resultobj
= SWIG_PyObj_FromDouble((double)result
);
5106 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
;
5108 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5110 PyObject
* obj0
= 0 ;
5111 PyObject
* obj1
= 0 ;
5113 (char *) "self",(char *) "m_y", NULL
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5119 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5122 if (arg1
) (arg1
)->m_y
= arg2
;
5124 Py_INCREF(Py_None
); resultobj
= Py_None
;
5131 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
;
5133 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5135 PyObject
* obj0
= 0 ;
5137 (char *) "self", NULL
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5142 result
= (double) ((arg1
)->m_y
);
5144 resultobj
= SWIG_PyObj_FromDouble((double)result
);
5151 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
*resultobj
;
5153 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5154 double arg2
= (double) 0 ;
5155 double arg3
= (double) 0 ;
5156 PyObject
* obj0
= 0 ;
5157 PyObject
* obj1
= 0 ;
5158 PyObject
* obj2
= 0 ;
5160 (char *) "self",(char *) "x",(char *) "y", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5167 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5173 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 wxPoint2D_Set(arg1
,arg2
,arg3
);
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 Py_INCREF(Py_None
); resultobj
= Py_None
;
5191 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5193 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5195 PyObject
* obj0
= 0 ;
5197 (char *) "self", NULL
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5216 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5219 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5221 return Py_BuildValue((char *)"");
5223 static int _wrap_DefaultPosition_set(PyObject
*) {
5224 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5229 static PyObject
*_wrap_DefaultPosition_get() {
5232 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
5237 static int _wrap_DefaultSize_set(PyObject
*) {
5238 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5243 static PyObject
*_wrap_DefaultSize_get() {
5246 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
5251 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
*resultobj
;
5253 PyObject
*arg1
= (PyObject
*) 0 ;
5254 wxPyInputStream
*result
;
5255 PyObject
* obj0
= 0 ;
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
5276 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5279 PyObject
* obj0
= 0 ;
5281 (char *) "self", NULL
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 Py_INCREF(Py_None
); resultobj
= Py_None
;
5300 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
;
5302 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5303 PyObject
* obj0
= 0 ;
5305 (char *) "self", NULL
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 Py_INCREF(Py_None
); resultobj
= Py_None
;
5324 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5328 PyObject
* obj0
= 0 ;
5330 (char *) "self", NULL
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 result
= (bool)(arg1
)->eof();
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5349 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5352 int arg2
= (int) -1 ;
5354 PyObject
* obj0
= 0 ;
5355 PyObject
* obj1
= 0 ;
5357 (char *) "self",(char *) "size", NULL
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5364 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 result
= (PyObject
*)(arg1
)->read(arg2
);
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5382 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
;
5384 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5385 int arg2
= (int) -1 ;
5387 PyObject
* obj0
= 0 ;
5388 PyObject
* obj1
= 0 ;
5390 (char *) "self",(char *) "size", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5397 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 result
= (PyObject
*)(arg1
)->readline(arg2
);
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5415 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
*resultobj
;
5417 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5418 int arg2
= (int) -1 ;
5420 PyObject
* obj0
= 0 ;
5421 PyObject
* obj1
= 0 ;
5423 (char *) "self",(char *) "sizehint", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5430 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5448 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
;
5450 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5452 int arg3
= (int) 0 ;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5455 PyObject
* obj2
= 0 ;
5457 (char *) "self",(char *) "offset",(char *) "whence", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5463 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5468 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 (arg1
)->seek(arg2
,arg3
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5479 Py_INCREF(Py_None
); resultobj
= Py_None
;
5486 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
;
5488 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5490 PyObject
* obj0
= 0 ;
5492 (char *) "self", NULL
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= (int)(arg1
)->tell();
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5504 resultobj
= SWIG_PyObj_FromInt((int)result
);
5511 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
*resultobj
;
5513 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5515 PyObject
* obj0
= 0 ;
5517 (char *) "self", NULL
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 result
= (char)(arg1
)->Peek();
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 resultobj
= SWIG_PyObj_FromChar((char)result
);
5536 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
;
5538 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5540 PyObject
* obj0
= 0 ;
5542 (char *) "self", NULL
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 result
= (char)(arg1
)->GetC();
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= SWIG_PyObj_FromChar((char)result
);
5561 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5565 PyObject
* obj0
= 0 ;
5567 (char *) "self", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 result
= (size_t)(arg1
)->LastRead();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
5586 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
;
5588 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5590 PyObject
* obj0
= 0 ;
5592 (char *) "self", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 result
= (bool)(arg1
)->CanRead();
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5611 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5615 PyObject
* obj0
= 0 ;
5617 (char *) "self", NULL
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 result
= (bool)(arg1
)->Eof();
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5636 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5641 PyObject
* obj0
= 0 ;
5642 PyObject
* obj1
= 0 ;
5644 (char *) "self",(char *) "c", NULL
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
5648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5650 arg2
= (char) SWIG_PyObj_AsChar(obj1
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= (bool)(arg1
)->Ungetch(arg2
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5667 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5671 int arg3
= (int) wxFromStart
;
5673 PyObject
* obj0
= 0 ;
5674 PyObject
* obj1
= 0 ;
5675 PyObject
* obj2
= 0 ;
5677 (char *) "self",(char *) "pos",(char *) "mode", NULL
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5683 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5688 arg3
= (wxSeekMode
) SWIG_PyObj_AsInt(obj2
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= SWIG_PyObj_FromLong((long)result
);
5706 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5710 PyObject
* obj0
= 0 ;
5712 (char *) "self", NULL
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= (long)(arg1
)->TellI();
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5724 resultobj
= SWIG_PyObj_FromLong((long)result
);
5731 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5734 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5736 return Py_BuildValue((char *)"");
5738 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
;
5740 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5741 PyObject
*arg2
= (PyObject
*) 0 ;
5742 PyObject
* obj0
= 0 ;
5743 PyObject
* obj1
= 0 ;
5745 (char *) "self",(char *) "obj", NULL
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 wxOutputStream_write(arg1
,arg2
);
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5758 Py_INCREF(Py_None
); resultobj
= Py_None
;
5765 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5768 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5770 return Py_BuildValue((char *)"");
5772 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5775 wxString
*arg2
= 0 ;
5776 wxString
*arg3
= 0 ;
5777 wxString
*arg4
= 0 ;
5780 wxPyInputStream
*temp1
;
5782 bool temp2
= False
;
5783 bool temp3
= False
;
5784 bool temp4
= False
;
5786 PyObject
* obj0
= 0 ;
5787 PyObject
* obj1
= 0 ;
5788 PyObject
* obj2
= 0 ;
5789 PyObject
* obj3
= 0 ;
5790 PyObject
* obj4
= 0 ;
5792 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5797 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5798 arg1
= temp1
->m_wxis
;
5801 PyErr_Clear(); // clear the failure of the wxPyConvert above
5802 arg1
= wxPyCBInputStream_create(obj0
, False
);
5804 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5811 arg2
= wxString_in_helper(obj1
);
5812 if (arg2
== NULL
) SWIG_fail
;
5816 arg3
= wxString_in_helper(obj2
);
5817 if (arg3
== NULL
) SWIG_fail
;
5821 arg4
= wxString_in_helper(obj3
);
5822 if (arg4
== NULL
) SWIG_fail
;
5825 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= wxPyMake_wxObject(result
);
5875 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5878 PyObject
* obj0
= 0 ;
5880 (char *) "self", NULL
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 Py_INCREF(Py_None
); resultobj
= Py_None
;
5899 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5902 wxInputStream
*result
;
5903 PyObject
* obj0
= 0 ;
5905 (char *) "self", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 result
= (wxInputStream
*)(arg1
)->GetStream();
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5918 wxPyInputStream
* _ptr
= NULL
;
5921 _ptr
= new wxPyInputStream(result
);
5923 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
5931 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
;
5933 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5935 PyObject
* obj0
= 0 ;
5937 (char *) "self", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5946 result
= (wxString
*) &_result_ref
;
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5956 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5965 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
;
5967 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5969 PyObject
* obj0
= 0 ;
5971 (char *) "self", NULL
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 wxString
const &_result_ref
= (arg1
)->GetLocation();
5980 result
= (wxString
*) &_result_ref
;
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5990 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5999 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
*resultobj
;
6001 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6003 PyObject
* obj0
= 0 ;
6005 (char *) "self", NULL
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6014 result
= (wxString
*) &_result_ref
;
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6024 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6033 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "self", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (arg1
)->GetModificationTime();
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6052 wxDateTime
* resultptr
;
6053 resultptr
= new wxDateTime((wxDateTime
&) result
);
6054 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
6062 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6065 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6067 return Py_BuildValue((char *)"");
6069 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6072 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6074 return Py_BuildValue((char *)"");
6076 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
*resultobj
;
6078 wxPyFileSystemHandler
*result
;
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6098 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
;
6100 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6101 PyObject
*arg2
= (PyObject
*) 0 ;
6102 PyObject
*arg3
= (PyObject
*) 0 ;
6103 PyObject
* obj0
= 0 ;
6104 PyObject
* obj1
= 0 ;
6105 PyObject
* obj2
= 0 ;
6107 (char *) "self",(char *) "self",(char *) "_class", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 Py_INCREF(Py_None
); resultobj
= Py_None
;
6128 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
;
6130 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6131 wxString
*arg2
= 0 ;
6133 bool temp2
= False
;
6134 PyObject
* obj0
= 0 ;
6135 PyObject
* obj1
= 0 ;
6137 (char *) "self",(char *) "location", NULL
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6143 arg2
= wxString_in_helper(obj1
);
6144 if (arg2
== NULL
) SWIG_fail
;
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6169 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6172 wxFileSystem
*arg2
= 0 ;
6173 wxString
*arg3
= 0 ;
6175 bool temp3
= False
;
6176 PyObject
* obj0
= 0 ;
6177 PyObject
* obj1
= 0 ;
6178 PyObject
* obj2
= 0 ;
6180 (char *) "self",(char *) "fs",(char *) "location", NULL
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6185 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6187 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6190 arg3
= wxString_in_helper(obj2
);
6191 if (arg3
== NULL
) SWIG_fail
;
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= wxPyMake_wxObject(result
);
6218 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
;
6220 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6221 wxString
*arg2
= 0 ;
6222 int arg3
= (int) 0 ;
6224 bool temp2
= False
;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6227 PyObject
* obj2
= 0 ;
6229 (char *) "self",(char *) "spec",(char *) "flags", NULL
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6235 arg2
= wxString_in_helper(obj1
);
6236 if (arg2
== NULL
) SWIG_fail
;
6241 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6273 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6279 (char *) "self", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 result
= (arg1
)->FindNext();
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6304 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
;
6306 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6307 wxString
*arg2
= 0 ;
6309 bool temp2
= False
;
6310 PyObject
* obj0
= 0 ;
6311 PyObject
* obj1
= 0 ;
6313 (char *) "self",(char *) "location", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6319 arg2
= wxString_in_helper(obj1
);
6320 if (arg2
== NULL
) SWIG_fail
;
6324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6351 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
*resultobj
;
6353 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6354 wxString
*arg2
= 0 ;
6356 bool temp2
= False
;
6357 PyObject
* obj0
= 0 ;
6358 PyObject
* obj1
= 0 ;
6360 (char *) "self",(char *) "location", NULL
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6366 arg2
= wxString_in_helper(obj1
);
6367 if (arg2
== NULL
) SWIG_fail
;
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6398 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6401 wxString
*arg2
= 0 ;
6403 bool temp2
= False
;
6404 PyObject
* obj0
= 0 ;
6405 PyObject
* obj1
= 0 ;
6407 (char *) "self",(char *) "location", NULL
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6413 arg2
= wxString_in_helper(obj1
);
6414 if (arg2
== NULL
) SWIG_fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6445 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
*resultobj
;
6447 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6448 wxString
*arg2
= 0 ;
6450 bool temp2
= False
;
6451 PyObject
* obj0
= 0 ;
6452 PyObject
* obj1
= 0 ;
6454 (char *) "self",(char *) "location", NULL
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6460 arg2
= wxString_in_helper(obj1
);
6461 if (arg2
== NULL
) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6492 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
;
6494 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6495 wxString
*arg2
= 0 ;
6497 bool temp2
= False
;
6498 PyObject
* obj0
= 0 ;
6499 PyObject
* obj1
= 0 ;
6501 (char *) "self",(char *) "location", NULL
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6507 arg2
= wxString_in_helper(obj1
);
6508 if (arg2
== NULL
) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6539 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6542 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6544 return Py_BuildValue((char *)"");
6546 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
*resultobj
;
6548 wxFileSystem
*result
;
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (wxFileSystem
*)new wxFileSystem();
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= wxPyMake_wxObject(result
);
6570 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
;
6572 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6573 PyObject
* obj0
= 0 ;
6575 (char *) "self", NULL
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 Py_INCREF(Py_None
); resultobj
= Py_None
;
6594 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
;
6596 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6597 wxString
*arg2
= 0 ;
6598 bool arg3
= (bool) False
;
6599 bool temp2
= False
;
6600 PyObject
* obj0
= 0 ;
6601 PyObject
* obj1
= 0 ;
6602 PyObject
* obj2
= 0 ;
6604 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6610 arg2
= wxString_in_helper(obj1
);
6611 if (arg2
== NULL
) SWIG_fail
;
6616 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 Py_INCREF(Py_None
); resultobj
= Py_None
;
6642 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
;
6644 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6646 PyObject
* obj0
= 0 ;
6648 (char *) "self", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 result
= (arg1
)->GetPath();
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6673 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
*resultobj
;
6675 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6676 wxString
*arg2
= 0 ;
6678 bool temp2
= False
;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6682 (char *) "self",(char *) "location", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6688 arg2
= wxString_in_helper(obj1
);
6689 if (arg2
== NULL
) SWIG_fail
;
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= wxPyMake_wxObject(result
);
6716 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
;
6718 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6719 wxString
*arg2
= 0 ;
6720 int arg3
= (int) 0 ;
6722 bool temp2
= False
;
6723 PyObject
* obj0
= 0 ;
6724 PyObject
* obj1
= 0 ;
6725 PyObject
* obj2
= 0 ;
6727 (char *) "self",(char *) "spec",(char *) "flags", NULL
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6733 arg2
= wxString_in_helper(obj1
);
6734 if (arg2
== NULL
) SWIG_fail
;
6739 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6771 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
;
6773 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6775 PyObject
* obj0
= 0 ;
6777 (char *) "self", NULL
6780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 result
= (arg1
)->FindNext();
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6802 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
;
6804 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6805 PyObject
* obj0
= 0 ;
6807 (char *) "handler", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 wxFileSystem::AddHandler(arg1
);
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 Py_INCREF(Py_None
); resultobj
= Py_None
;
6826 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 wxFileSystem::CleanUpHandlers();
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 Py_INCREF(Py_None
); resultobj
= Py_None
;
6847 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxString
*arg1
= 0 ;
6851 bool temp1
= False
;
6852 PyObject
* obj0
= 0 ;
6854 (char *) "filename", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6859 arg1
= wxString_in_helper(obj0
);
6860 if (arg1
== NULL
) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6891 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6894 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6896 return Py_BuildValue((char *)"");
6898 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
*resultobj
;
6900 wxString
*arg1
= 0 ;
6902 bool temp1
= False
;
6903 PyObject
* obj0
= 0 ;
6905 (char *) "url", NULL
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6910 arg1
= wxString_in_helper(obj0
);
6911 if (arg1
== NULL
) SWIG_fail
;
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6942 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6944 wxInternetFSHandler
*result
;
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6964 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6966 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6967 wxString
*arg2
= 0 ;
6969 bool temp2
= False
;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6973 (char *) "self",(char *) "location", NULL
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6979 arg2
= wxString_in_helper(obj1
);
6980 if (arg2
== NULL
) SWIG_fail
;
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7005 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
;
7007 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7008 wxFileSystem
*arg2
= 0 ;
7009 wxString
*arg3
= 0 ;
7011 bool temp3
= False
;
7012 PyObject
* obj0
= 0 ;
7013 PyObject
* obj1
= 0 ;
7014 PyObject
* obj2
= 0 ;
7016 (char *) "self",(char *) "fs",(char *) "location", NULL
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7023 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7026 arg3
= wxString_in_helper(obj2
);
7027 if (arg3
== NULL
) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7038 resultobj
= wxPyMake_wxObject(result
);
7054 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7057 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7059 return Py_BuildValue((char *)"");
7061 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
;
7063 wxZipFSHandler
*result
;
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
7083 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7086 wxString
*arg2
= 0 ;
7088 bool temp2
= False
;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7092 (char *) "self",(char *) "location", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7098 arg2
= wxString_in_helper(obj1
);
7099 if (arg2
== NULL
) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7124 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
;
7126 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7127 wxFileSystem
*arg2
= 0 ;
7128 wxString
*arg3
= 0 ;
7130 bool temp3
= False
;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7133 PyObject
* obj2
= 0 ;
7135 (char *) "self",(char *) "fs",(char *) "location", NULL
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7142 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7145 arg3
= wxString_in_helper(obj2
);
7146 if (arg3
== NULL
) SWIG_fail
;
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= wxPyMake_wxObject(result
);
7173 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
*resultobj
;
7175 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7176 wxString
*arg2
= 0 ;
7177 int arg3
= (int) 0 ;
7179 bool temp2
= False
;
7180 PyObject
* obj0
= 0 ;
7181 PyObject
* obj1
= 0 ;
7182 PyObject
* obj2
= 0 ;
7184 (char *) "self",(char *) "spec",(char *) "flags", NULL
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7190 arg2
= wxString_in_helper(obj1
);
7191 if (arg2
== NULL
) SWIG_fail
;
7196 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7204 wxPyEndAllowThreads(__tstate
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7228 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
;
7230 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7232 PyObject
* obj0
= 0 ;
7234 (char *) "self", NULL
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 result
= (arg1
)->FindNext();
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7259 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7262 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7264 return Py_BuildValue((char *)"");
7266 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
*resultobj
;
7268 wxString
*arg1
= 0 ;
7271 bool temp1
= False
;
7272 PyObject
* obj0
= 0 ;
7273 PyObject
* obj1
= 0 ;
7274 PyObject
* obj2
= 0 ;
7276 (char *) "filename",(char *) "image",(char *) "type", NULL
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7281 arg1
= wxString_in_helper(obj0
);
7282 if (arg1
== NULL
) SWIG_fail
;
7285 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7287 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7290 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 Py_INCREF(Py_None
); resultobj
= Py_None
;
7315 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxString
*arg1
= 0 ;
7318 wxBitmap
*arg2
= 0 ;
7320 bool temp1
= False
;
7321 PyObject
* obj0
= 0 ;
7322 PyObject
* obj1
= 0 ;
7323 PyObject
* obj2
= 0 ;
7325 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7330 arg1
= wxString_in_helper(obj0
);
7331 if (arg1
== NULL
) SWIG_fail
;
7334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7336 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7339 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 Py_INCREF(Py_None
); resultobj
= Py_None
;
7364 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
*resultobj
;
7366 wxString
*arg1
= 0 ;
7367 PyObject
*arg2
= (PyObject
*) 0 ;
7368 bool temp1
= False
;
7369 PyObject
* obj0
= 0 ;
7370 PyObject
* obj1
= 0 ;
7372 (char *) "filename",(char *) "data", NULL
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7377 arg1
= wxString_in_helper(obj0
);
7378 if (arg1
== NULL
) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 Py_INCREF(Py_None
); resultobj
= Py_None
;
7404 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxMemoryFSHandler
*result
;
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7419 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
7426 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
*resultobj
;
7428 wxString
*arg1
= 0 ;
7429 bool temp1
= False
;
7430 PyObject
* obj0
= 0 ;
7432 (char *) "filename", NULL
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7437 arg1
= wxString_in_helper(obj0
);
7438 if (arg1
== NULL
) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 Py_INCREF(Py_None
); resultobj
= Py_None
;
7463 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
;
7465 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7466 wxString
*arg2
= 0 ;
7468 bool temp2
= False
;
7469 PyObject
* obj0
= 0 ;
7470 PyObject
* obj1
= 0 ;
7472 (char *) "self",(char *) "location", NULL
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7478 arg2
= wxString_in_helper(obj1
);
7479 if (arg2
== NULL
) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7504 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
;
7506 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7507 wxFileSystem
*arg2
= 0 ;
7508 wxString
*arg3
= 0 ;
7510 bool temp3
= False
;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7513 PyObject
* obj2
= 0 ;
7515 (char *) "self",(char *) "fs",(char *) "location", NULL
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7520 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7522 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7525 arg3
= wxString_in_helper(obj2
);
7526 if (arg3
== NULL
) SWIG_fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= wxPyMake_wxObject(result
);
7553 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7555 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7556 wxString
*arg2
= 0 ;
7557 int arg3
= (int) 0 ;
7559 bool temp2
= False
;
7560 PyObject
* obj0
= 0 ;
7561 PyObject
* obj1
= 0 ;
7562 PyObject
* obj2
= 0 ;
7564 (char *) "self",(char *) "spec",(char *) "flags", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7570 arg2
= wxString_in_helper(obj1
);
7571 if (arg2
== NULL
) SWIG_fail
;
7576 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7608 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7612 PyObject
* obj0
= 0 ;
7614 (char *) "self", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= (arg1
)->FindNext();
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7639 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7642 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7644 return Py_BuildValue((char *)"");
7646 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
;
7648 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7652 (char *) "self", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
7656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 result
= (arg1
)->GetName();
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7677 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
*resultobj
;
7679 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7681 PyObject
* obj0
= 0 ;
7683 (char *) "self", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
7687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (arg1
)->GetExtension();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7708 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7710 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7712 PyObject
* obj0
= 0 ;
7714 (char *) "self", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
7718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 result
= (long)(arg1
)->GetType();
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= SWIG_PyObj_FromLong((long)result
);
7733 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7737 PyObject
* obj0
= 0 ;
7739 (char *) "self", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (arg1
)->GetMimeType();
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7764 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7766 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7767 wxString
*arg2
= 0 ;
7769 bool temp2
= False
;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7773 (char *) "self",(char *) "name", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7779 arg2
= wxString_in_helper(obj1
);
7780 if (arg2
== NULL
) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7805 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
;
7807 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7808 wxString
*arg2
= 0 ;
7809 bool temp2
= False
;
7810 PyObject
* obj0
= 0 ;
7811 PyObject
* obj1
= 0 ;
7813 (char *) "self",(char *) "name", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7819 arg2
= wxString_in_helper(obj1
);
7820 if (arg2
== NULL
) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 (arg1
)->SetName((wxString
const &)*arg2
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 Py_INCREF(Py_None
); resultobj
= Py_None
;
7845 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7848 wxString
*arg2
= 0 ;
7849 bool temp2
= False
;
7850 PyObject
* obj0
= 0 ;
7851 PyObject
* obj1
= 0 ;
7853 (char *) "self",(char *) "extension", NULL
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7859 arg2
= wxString_in_helper(obj1
);
7860 if (arg2
== NULL
) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 (arg1
)->SetExtension((wxString
const &)*arg2
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 Py_INCREF(Py_None
); resultobj
= Py_None
;
7885 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
*resultobj
;
7887 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7889 PyObject
* obj0
= 0 ;
7890 PyObject
* obj1
= 0 ;
7892 (char *) "self",(char *) "type", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
7896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7898 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 (arg1
)->SetType(arg2
);
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7908 Py_INCREF(Py_None
); resultobj
= Py_None
;
7915 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
;
7917 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7918 wxString
*arg2
= 0 ;
7919 bool temp2
= False
;
7920 PyObject
* obj0
= 0 ;
7921 PyObject
* obj1
= 0 ;
7923 (char *) "self",(char *) "mimetype", NULL
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7929 arg2
= wxString_in_helper(obj1
);
7930 if (arg2
== NULL
) SWIG_fail
;
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7940 Py_INCREF(Py_None
); resultobj
= Py_None
;
7955 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7958 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7960 return Py_BuildValue((char *)"");
7962 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7964 wxImageHistogram
*result
;
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 result
= (wxImageHistogram
*)new wxImageHistogram();
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7984 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 unsigned char arg1
;
7987 unsigned char arg2
;
7988 unsigned char arg3
;
7989 unsigned long result
;
7990 PyObject
* obj0
= 0 ;
7991 PyObject
* obj1
= 0 ;
7992 PyObject
* obj2
= 0 ;
7994 (char *) "r",(char *) "g",(char *) "b", NULL
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7999 arg1
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj0
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8003 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8007 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
8024 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
*resultobj
;
8026 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8027 unsigned char *arg2
= (unsigned char *) 0 ;
8028 unsigned char *arg3
= (unsigned char *) 0 ;
8029 unsigned char *arg4
= (unsigned char *) 0 ;
8030 unsigned char arg5
= (unsigned char) 1 ;
8031 unsigned char arg6
= (unsigned char) 0 ;
8032 unsigned char arg7
= (unsigned char) 0 ;
8034 unsigned char temp2
;
8035 unsigned char temp3
;
8036 unsigned char temp4
;
8037 PyObject
* obj0
= 0 ;
8038 PyObject
* obj1
= 0 ;
8039 PyObject
* obj2
= 0 ;
8040 PyObject
* obj3
= 0 ;
8042 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8052 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8058 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8064 arg7
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8077 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8078 resultobj
= t_output_helper(resultobj
,o
);
8081 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8082 resultobj
= t_output_helper(resultobj
,o
);
8085 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8086 resultobj
= t_output_helper(resultobj
,o
);
8094 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8097 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8099 return Py_BuildValue((char *)"");
8101 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
;
8103 wxString
*arg1
= 0 ;
8104 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8105 int arg3
= (int) -1 ;
8107 bool temp1
= False
;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8110 PyObject
* obj2
= 0 ;
8112 (char *) "name",(char *) "type",(char *) "index", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8117 arg1
= wxString_in_helper(obj0
);
8118 if (arg1
== NULL
) SWIG_fail
;
8123 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8129 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8155 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxImage
*arg1
= (wxImage
*) 0 ;
8158 PyObject
* obj0
= 0 ;
8160 (char *) "self", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 Py_INCREF(Py_None
); resultobj
= Py_None
;
8179 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxString
*arg1
= 0 ;
8182 wxString
*arg2
= 0 ;
8183 int arg3
= (int) -1 ;
8185 bool temp1
= False
;
8186 bool temp2
= False
;
8187 PyObject
* obj0
= 0 ;
8188 PyObject
* obj1
= 0 ;
8189 PyObject
* obj2
= 0 ;
8191 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8196 arg1
= wxString_in_helper(obj0
);
8197 if (arg1
== NULL
) SWIG_fail
;
8201 arg2
= wxString_in_helper(obj1
);
8202 if (arg2
== NULL
) SWIG_fail
;
8207 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8241 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxInputStream
*arg1
= 0 ;
8244 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8245 int arg3
= (int) -1 ;
8247 wxPyInputStream
*temp1
;
8249 PyObject
* obj0
= 0 ;
8250 PyObject
* obj1
= 0 ;
8251 PyObject
* obj2
= 0 ;
8253 (char *) "stream",(char *) "type",(char *) "index", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8258 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8259 arg1
= temp1
->m_wxis
;
8262 PyErr_Clear(); // clear the failure of the wxPyConvert above
8263 arg1
= wxPyCBInputStream_create(obj0
, False
);
8265 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8273 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8279 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8305 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
;
8307 wxInputStream
*arg1
= 0 ;
8308 wxString
*arg2
= 0 ;
8309 int arg3
= (int) -1 ;
8311 wxPyInputStream
*temp1
;
8313 bool temp2
= False
;
8314 PyObject
* obj0
= 0 ;
8315 PyObject
* obj1
= 0 ;
8316 PyObject
* obj2
= 0 ;
8318 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8323 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8324 arg1
= temp1
->m_wxis
;
8327 PyErr_Clear(); // clear the failure of the wxPyConvert above
8328 arg1
= wxPyCBInputStream_create(obj0
, False
);
8330 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8337 arg2
= wxString_in_helper(obj1
);
8338 if (arg2
== NULL
) SWIG_fail
;
8343 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8377 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
;
8379 int arg1
= (int) 0 ;
8380 int arg2
= (int) 0 ;
8381 bool arg3
= (bool) True
;
8383 PyObject
* obj0
= 0 ;
8384 PyObject
* obj1
= 0 ;
8385 PyObject
* obj2
= 0 ;
8387 (char *) "width",(char *) "height",(char *) "clear", NULL
8390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8393 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8399 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8405 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8423 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 wxBitmap
*arg1
= 0 ;
8427 PyObject
* obj0
= 0 ;
8429 (char *) "bitmap", NULL
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8435 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8451 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8455 unsigned char *arg3
= (unsigned char *) 0 ;
8457 PyObject
* obj0
= 0 ;
8458 PyObject
* obj1
= 0 ;
8459 PyObject
* obj2
= 0 ;
8461 (char *) "width",(char *) "height",(char *) "data", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8466 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8470 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8488 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
;
8490 wxImage
*arg1
= (wxImage
*) 0 ;
8493 PyObject
* obj0
= 0 ;
8494 PyObject
* obj1
= 0 ;
8495 PyObject
* obj2
= 0 ;
8497 (char *) "self",(char *) "width",(char *) "height", NULL
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8503 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8507 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 (arg1
)->Create(arg2
,arg3
);
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8517 Py_INCREF(Py_None
); resultobj
= Py_None
;
8524 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
;
8526 wxImage
*arg1
= (wxImage
*) 0 ;
8527 PyObject
* obj0
= 0 ;
8529 (char *) "self", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 Py_INCREF(Py_None
); resultobj
= Py_None
;
8548 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxImage
*arg1
= (wxImage
*) 0 ;
8553 SwigValueWrapper
< wxImage
> result
;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8556 PyObject
* obj2
= 0 ;
8558 (char *) "self",(char *) "width",(char *) "height", NULL
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8564 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8568 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 result
= (arg1
)->Scale(arg2
,arg3
);
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8579 wxImage
* resultptr
;
8580 resultptr
= new wxImage((wxImage
&) result
);
8581 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8589 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
*resultobj
;
8591 wxImage
*arg1
= (wxImage
*) 0 ;
8594 SwigValueWrapper
< wxImage
> result
;
8595 PyObject
* obj0
= 0 ;
8596 PyObject
* obj1
= 0 ;
8597 PyObject
* obj2
= 0 ;
8599 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8605 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8609 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8620 wxImage
* resultptr
;
8621 resultptr
= new wxImage((wxImage
&) result
);
8622 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8630 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
;
8632 wxImage
*arg1
= (wxImage
*) 0 ;
8636 PyObject
* obj0
= 0 ;
8637 PyObject
* obj1
= 0 ;
8638 PyObject
* obj2
= 0 ;
8640 (char *) "self",(char *) "width",(char *) "height", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8646 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8650 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
8657 result
= (wxImage
*) &_result_ref
;
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
8670 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
;
8672 wxImage
*arg1
= (wxImage
*) 0 ;
8675 unsigned char arg4
;
8676 unsigned char arg5
;
8677 unsigned char arg6
;
8678 PyObject
* obj0
= 0 ;
8679 PyObject
* obj1
= 0 ;
8680 PyObject
* obj2
= 0 ;
8681 PyObject
* obj3
= 0 ;
8682 PyObject
* obj4
= 0 ;
8683 PyObject
* obj5
= 0 ;
8685 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8691 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8695 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8699 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8703 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj4
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8707 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj5
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 Py_INCREF(Py_None
); resultobj
= Py_None
;
8724 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxImage
*arg1
= (wxImage
*) 0 ;
8729 unsigned char result
;
8730 PyObject
* obj0
= 0 ;
8731 PyObject
* obj1
= 0 ;
8732 PyObject
* obj2
= 0 ;
8734 (char *) "self",(char *) "x",(char *) "y", NULL
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8740 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8761 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxImage
*arg1
= (wxImage
*) 0 ;
8766 unsigned char result
;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8769 PyObject
* obj2
= 0 ;
8771 (char *) "self",(char *) "x",(char *) "y", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8777 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8781 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8798 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxImage
*arg1
= (wxImage
*) 0 ;
8803 unsigned char result
;
8804 PyObject
* obj0
= 0 ;
8805 PyObject
* obj1
= 0 ;
8806 PyObject
* obj2
= 0 ;
8808 (char *) "self",(char *) "x",(char *) "y", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8814 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8818 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8835 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxImage
*arg1
= (wxImage
*) 0 ;
8840 unsigned char arg4
;
8841 PyObject
* obj0
= 0 ;
8842 PyObject
* obj1
= 0 ;
8843 PyObject
* obj2
= 0 ;
8844 PyObject
* obj3
= 0 ;
8846 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8852 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8856 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8860 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8865 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8870 Py_INCREF(Py_None
); resultobj
= Py_None
;
8877 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8878 PyObject
*resultobj
;
8879 wxImage
*arg1
= (wxImage
*) 0 ;
8882 unsigned char result
;
8883 PyObject
* obj0
= 0 ;
8884 PyObject
* obj1
= 0 ;
8885 PyObject
* obj2
= 0 ;
8887 (char *) "self",(char *) "x",(char *) "y", NULL
8890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8893 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8897 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8914 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxImage
*arg1
= (wxImage
*) 0 ;
8918 PyObject
* obj0
= 0 ;
8920 (char *) "self", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= (bool)(arg1
)->HasAlpha();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8939 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxImage
*arg1
= (wxImage
*) 0 ;
8942 byte
*arg2
= (byte
*) 0 ;
8943 byte
*arg3
= (byte
*) 0 ;
8944 byte
*arg4
= (byte
*) 0 ;
8945 byte arg5
= (byte
) 0 ;
8946 byte arg6
= (byte
) 0 ;
8947 byte arg7
= (byte
) 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8954 PyObject
* obj2
= 0 ;
8955 PyObject
* obj3
= 0 ;
8957 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8967 arg5
= (byte
) SWIG_PyObj_AsUnsignedChar(obj1
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8973 arg6
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8979 arg7
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8992 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8993 resultobj
= t_output_helper(resultobj
,o
);
8996 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8997 resultobj
= t_output_helper(resultobj
,o
);
9000 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9001 resultobj
= t_output_helper(resultobj
,o
);
9009 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
;
9011 wxImage
*arg1
= (wxImage
*) 0 ;
9017 PyObject
* obj0
= 0 ;
9018 PyObject
* obj1
= 0 ;
9019 PyObject
* obj2
= 0 ;
9020 PyObject
* obj3
= 0 ;
9021 PyObject
* obj4
= 0 ;
9023 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9028 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9030 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9033 arg3
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9037 arg4
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9041 arg5
= (byte
) SWIG_PyObj_AsUnsignedChar(obj4
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9058 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
;
9060 wxString
*arg1
= 0 ;
9062 bool temp1
= False
;
9063 PyObject
* obj0
= 0 ;
9065 (char *) "name", NULL
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9070 arg1
= wxString_in_helper(obj0
);
9071 if (arg1
== NULL
) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9096 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxString
*arg1
= 0 ;
9099 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9101 bool temp1
= False
;
9102 PyObject
* obj0
= 0 ;
9103 PyObject
* obj1
= 0 ;
9105 (char *) "name",(char *) "type", NULL
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9110 arg1
= wxString_in_helper(obj0
);
9111 if (arg1
== NULL
) SWIG_fail
;
9116 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 resultobj
= SWIG_PyObj_FromInt((int)result
);
9142 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxImage
*arg1
= (wxImage
*) 0 ;
9145 wxString
*arg2
= 0 ;
9146 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9147 int arg4
= (int) -1 ;
9149 bool temp2
= False
;
9150 PyObject
* obj0
= 0 ;
9151 PyObject
* obj1
= 0 ;
9152 PyObject
* obj2
= 0 ;
9153 PyObject
* obj3
= 0 ;
9155 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9161 arg2
= wxString_in_helper(obj1
);
9162 if (arg2
== NULL
) SWIG_fail
;
9167 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9173 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9199 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
;
9201 wxImage
*arg1
= (wxImage
*) 0 ;
9202 wxString
*arg2
= 0 ;
9203 wxString
*arg3
= 0 ;
9204 int arg4
= (int) -1 ;
9206 bool temp2
= False
;
9207 bool temp3
= False
;
9208 PyObject
* obj0
= 0 ;
9209 PyObject
* obj1
= 0 ;
9210 PyObject
* obj2
= 0 ;
9211 PyObject
* obj3
= 0 ;
9213 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9219 arg2
= wxString_in_helper(obj1
);
9220 if (arg2
== NULL
) SWIG_fail
;
9224 arg3
= wxString_in_helper(obj2
);
9225 if (arg3
== NULL
) SWIG_fail
;
9230 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9264 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
;
9266 wxImage
*arg1
= (wxImage
*) 0 ;
9267 wxString
*arg2
= 0 ;
9270 bool temp2
= False
;
9271 PyObject
* obj0
= 0 ;
9272 PyObject
* obj1
= 0 ;
9273 PyObject
* obj2
= 0 ;
9275 (char *) "self",(char *) "name",(char *) "type", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9281 arg2
= wxString_in_helper(obj1
);
9282 if (arg2
== NULL
) SWIG_fail
;
9286 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9311 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
;
9313 wxImage
*arg1
= (wxImage
*) 0 ;
9314 wxString
*arg2
= 0 ;
9315 wxString
*arg3
= 0 ;
9317 bool temp2
= False
;
9318 bool temp3
= False
;
9319 PyObject
* obj0
= 0 ;
9320 PyObject
* obj1
= 0 ;
9321 PyObject
* obj2
= 0 ;
9323 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9329 arg2
= wxString_in_helper(obj1
);
9330 if (arg2
== NULL
) SWIG_fail
;
9334 arg3
= wxString_in_helper(obj2
);
9335 if (arg3
== NULL
) SWIG_fail
;
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9368 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
*resultobj
;
9370 wxInputStream
*arg1
= 0 ;
9372 wxPyInputStream
*temp1
;
9374 PyObject
* obj0
= 0 ;
9376 (char *) "stream", NULL
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9381 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9382 arg1
= temp1
->m_wxis
;
9385 PyErr_Clear(); // clear the failure of the wxPyConvert above
9386 arg1
= wxPyCBInputStream_create(obj0
, False
);
9388 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 result
= (bool)wxImage::CanRead(*arg1
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9416 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxImage
*arg1
= (wxImage
*) 0 ;
9419 wxInputStream
*arg2
= 0 ;
9420 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9421 int arg4
= (int) -1 ;
9423 wxPyInputStream
*temp2
;
9425 PyObject
* obj0
= 0 ;
9426 PyObject
* obj1
= 0 ;
9427 PyObject
* obj2
= 0 ;
9428 PyObject
* obj3
= 0 ;
9430 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9436 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9437 arg2
= temp2
->m_wxis
;
9440 PyErr_Clear(); // clear the failure of the wxPyConvert above
9441 arg2
= wxPyCBInputStream_create(obj1
, False
);
9443 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9451 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9457 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9483 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxImage
*arg1
= (wxImage
*) 0 ;
9486 wxInputStream
*arg2
= 0 ;
9487 wxString
*arg3
= 0 ;
9488 int arg4
= (int) -1 ;
9490 wxPyInputStream
*temp2
;
9492 bool temp3
= False
;
9493 PyObject
* obj0
= 0 ;
9494 PyObject
* obj1
= 0 ;
9495 PyObject
* obj2
= 0 ;
9496 PyObject
* obj3
= 0 ;
9498 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9504 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9505 arg2
= temp2
->m_wxis
;
9508 PyErr_Clear(); // clear the failure of the wxPyConvert above
9509 arg2
= wxPyCBInputStream_create(obj1
, False
);
9511 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9518 arg3
= wxString_in_helper(obj2
);
9519 if (arg3
== NULL
) SWIG_fail
;
9524 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9558 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
;
9560 wxImage
*arg1
= (wxImage
*) 0 ;
9562 PyObject
* obj0
= 0 ;
9564 (char *) "self", NULL
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 result
= (bool)(arg1
)->Ok();
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9583 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
;
9585 wxImage
*arg1
= (wxImage
*) 0 ;
9587 PyObject
* obj0
= 0 ;
9589 (char *) "self", NULL
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 result
= (int)(arg1
)->GetWidth();
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) SWIG_fail
;
9601 resultobj
= SWIG_PyObj_FromInt((int)result
);
9608 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
*resultobj
;
9610 wxImage
*arg1
= (wxImage
*) 0 ;
9612 PyObject
* obj0
= 0 ;
9614 (char *) "self", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (int)(arg1
)->GetHeight();
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_PyObj_FromInt((int)result
);
9633 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9635 wxImage
*arg1
= (wxImage
*) 0 ;
9637 SwigValueWrapper
< wxImage
> result
;
9639 PyObject
* obj0
= 0 ;
9640 PyObject
* obj1
= 0 ;
9642 (char *) "self",(char *) "rect", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
9646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9649 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9659 wxImage
* resultptr
;
9660 resultptr
= new wxImage((wxImage
&) result
);
9661 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9669 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxImage
*arg1
= (wxImage
*) 0 ;
9672 SwigValueWrapper
< wxImage
> result
;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "self", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (arg1
)->Copy();
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9688 wxImage
* resultptr
;
9689 resultptr
= new wxImage((wxImage
&) result
);
9690 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9698 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
;
9700 wxImage
*arg1
= (wxImage
*) 0 ;
9704 PyObject
* obj0
= 0 ;
9705 PyObject
* obj1
= 0 ;
9706 PyObject
* obj2
= 0 ;
9707 PyObject
* obj3
= 0 ;
9709 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9714 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9716 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9719 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9723 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9733 Py_INCREF(Py_None
); resultobj
= Py_None
;
9740 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
;
9742 wxImage
*arg1
= (wxImage
*) 0 ;
9744 PyObject
* obj0
= 0 ;
9746 (char *) "self", NULL
9749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
9750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 result
= (PyObject
*)wxImage_GetData(arg1
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9765 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxImage
*arg1
= (wxImage
*) 0 ;
9768 PyObject
*arg2
= (PyObject
*) 0 ;
9769 PyObject
* obj0
= 0 ;
9770 PyObject
* obj1
= 0 ;
9772 (char *) "self",(char *) "data", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
9776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 wxImage_SetData(arg1
,arg2
);
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9785 Py_INCREF(Py_None
); resultobj
= Py_None
;
9792 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9794 wxImage
*arg1
= (wxImage
*) 0 ;
9796 PyObject
* obj0
= 0 ;
9798 (char *) "self", NULL
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
9802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9817 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxImage
*arg1
= (wxImage
*) 0 ;
9820 PyObject
*arg2
= (PyObject
*) 0 ;
9821 PyObject
* obj0
= 0 ;
9822 PyObject
* obj1
= 0 ;
9824 (char *) "self",(char *) "data", NULL
9827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 wxImage_SetDataBuffer(arg1
,arg2
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 Py_INCREF(Py_None
); resultobj
= Py_None
;
9844 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
;
9846 wxImage
*arg1
= (wxImage
*) 0 ;
9848 PyObject
* obj0
= 0 ;
9850 (char *) "self", NULL
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
9854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9869 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxImage
*arg1
= (wxImage
*) 0 ;
9872 PyObject
*arg2
= (PyObject
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9874 PyObject
* obj1
= 0 ;
9876 (char *) "self",(char *) "data", NULL
9879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
9880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 wxImage_SetAlphaData(arg1
,arg2
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9889 Py_INCREF(Py_None
); resultobj
= Py_None
;
9896 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9897 PyObject
*resultobj
;
9898 wxImage
*arg1
= (wxImage
*) 0 ;
9900 PyObject
* obj0
= 0 ;
9902 (char *) "self", NULL
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
9906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9921 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxImage
*arg1
= (wxImage
*) 0 ;
9924 PyObject
*arg2
= (PyObject
*) 0 ;
9925 PyObject
* obj0
= 0 ;
9926 PyObject
* obj1
= 0 ;
9928 (char *) "self",(char *) "data", NULL
9931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 wxImage_SetAlphaBuffer(arg1
,arg2
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9941 Py_INCREF(Py_None
); resultobj
= Py_None
;
9948 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxImage
*arg1
= (wxImage
*) 0 ;
9951 unsigned char arg2
;
9952 unsigned char arg3
;
9953 unsigned char arg4
;
9954 PyObject
* obj0
= 0 ;
9955 PyObject
* obj1
= 0 ;
9956 PyObject
* obj2
= 0 ;
9957 PyObject
* obj3
= 0 ;
9959 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9965 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9969 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9973 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 Py_INCREF(Py_None
); resultobj
= Py_None
;
9990 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
*resultobj
;
9992 wxImage
*arg1
= (wxImage
*) 0 ;
9993 unsigned char result
;
9994 PyObject
* obj0
= 0 ;
9996 (char *) "self", NULL
9999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= (unsigned char)(arg1
)->GetMaskRed();
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10008 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10015 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
*resultobj
;
10017 wxImage
*arg1
= (wxImage
*) 0 ;
10018 unsigned char result
;
10019 PyObject
* obj0
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "self", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 result
= (unsigned char)(arg1
)->GetMaskGreen();
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10033 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10040 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
*resultobj
;
10042 wxImage
*arg1
= (wxImage
*) 0 ;
10043 unsigned char result
;
10044 PyObject
* obj0
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "self", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 result
= (unsigned char)(arg1
)->GetMaskBlue();
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10058 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10065 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
;
10067 wxImage
*arg1
= (wxImage
*) 0 ;
10068 bool arg2
= (bool) True
;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self",(char *) "mask", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10079 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 (arg1
)->SetMask(arg2
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 Py_INCREF(Py_None
); resultobj
= Py_None
;
10097 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10099 wxImage
*arg1
= (wxImage
*) 0 ;
10101 PyObject
* obj0
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "self", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 result
= (bool)(arg1
)->HasMask();
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10122 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
;
10124 wxImage
*arg1
= (wxImage
*) 0 ;
10126 wxPoint
*arg3
= 0 ;
10127 bool arg4
= (bool) True
;
10128 wxPoint
*arg5
= (wxPoint
*) NULL
;
10129 SwigValueWrapper
< wxImage
> result
;
10131 PyObject
* obj0
= 0 ;
10132 PyObject
* obj1
= 0 ;
10133 PyObject
* obj2
= 0 ;
10134 PyObject
* obj3
= 0 ;
10135 PyObject
* obj4
= 0 ;
10136 char *kwnames
[] = {
10137 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10143 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10148 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10152 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10157 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10167 wxImage
* resultptr
;
10168 resultptr
= new wxImage((wxImage
&) result
);
10169 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10177 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
;
10179 wxImage
*arg1
= (wxImage
*) 0 ;
10180 bool arg2
= (bool) True
;
10181 SwigValueWrapper
< wxImage
> result
;
10182 PyObject
* obj0
= 0 ;
10183 PyObject
* obj1
= 0 ;
10184 char *kwnames
[] = {
10185 (char *) "self",(char *) "clockwise", NULL
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10192 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (arg1
)->Rotate90(arg2
);
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10204 wxImage
* resultptr
;
10205 resultptr
= new wxImage((wxImage
&) result
);
10206 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10214 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
;
10216 wxImage
*arg1
= (wxImage
*) 0 ;
10217 bool arg2
= (bool) True
;
10218 SwigValueWrapper
< wxImage
> result
;
10219 PyObject
* obj0
= 0 ;
10220 PyObject
* obj1
= 0 ;
10221 char *kwnames
[] = {
10222 (char *) "self",(char *) "horizontally", NULL
10225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10229 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 result
= (arg1
)->Mirror(arg2
);
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10241 wxImage
* resultptr
;
10242 resultptr
= new wxImage((wxImage
&) result
);
10243 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10251 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxImage
*arg1
= (wxImage
*) 0 ;
10254 unsigned char arg2
;
10255 unsigned char arg3
;
10256 unsigned char arg4
;
10257 unsigned char arg5
;
10258 unsigned char arg6
;
10259 unsigned char arg7
;
10260 PyObject
* obj0
= 0 ;
10261 PyObject
* obj1
= 0 ;
10262 PyObject
* obj2
= 0 ;
10263 PyObject
* obj3
= 0 ;
10264 PyObject
* obj4
= 0 ;
10265 PyObject
* obj5
= 0 ;
10266 PyObject
* obj6
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10274 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10278 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10282 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10286 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj4
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10290 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj5
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10294 arg7
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj6
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 Py_INCREF(Py_None
); resultobj
= Py_None
;
10311 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
*resultobj
;
10313 wxImage
*arg1
= (wxImage
*) 0 ;
10314 unsigned char arg2
;
10315 unsigned char arg3
;
10316 unsigned char arg4
;
10317 SwigValueWrapper
< wxImage
> result
;
10318 PyObject
* obj0
= 0 ;
10319 PyObject
* obj1
= 0 ;
10320 PyObject
* obj2
= 0 ;
10321 PyObject
* obj3
= 0 ;
10322 char *kwnames
[] = {
10323 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10329 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10333 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10337 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10348 wxImage
* resultptr
;
10349 resultptr
= new wxImage((wxImage
&) result
);
10350 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10358 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxImage
*arg1
= (wxImage
*) 0 ;
10361 wxString
*arg2
= 0 ;
10362 wxString
*arg3
= 0 ;
10363 bool temp2
= False
;
10364 bool temp3
= False
;
10365 PyObject
* obj0
= 0 ;
10366 PyObject
* obj1
= 0 ;
10367 PyObject
* obj2
= 0 ;
10368 char *kwnames
[] = {
10369 (char *) "self",(char *) "name",(char *) "value", NULL
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10375 arg2
= wxString_in_helper(obj1
);
10376 if (arg2
== NULL
) SWIG_fail
;
10380 arg3
= wxString_in_helper(obj2
);
10381 if (arg3
== NULL
) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10391 Py_INCREF(Py_None
); resultobj
= Py_None
;
10414 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
;
10416 wxImage
*arg1
= (wxImage
*) 0 ;
10417 wxString
*arg2
= 0 ;
10419 bool temp2
= False
;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 PyObject
* obj2
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self",(char *) "name",(char *) "value", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10430 arg2
= wxString_in_helper(obj1
);
10431 if (arg2
== NULL
) SWIG_fail
;
10435 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10445 Py_INCREF(Py_None
); resultobj
= Py_None
;
10460 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
*resultobj
;
10462 wxImage
*arg1
= (wxImage
*) 0 ;
10463 wxString
*arg2
= 0 ;
10465 bool temp2
= False
;
10466 PyObject
* obj0
= 0 ;
10467 PyObject
* obj1
= 0 ;
10468 char *kwnames
[] = {
10469 (char *) "self",(char *) "name", NULL
10472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10475 arg2
= wxString_in_helper(obj1
);
10476 if (arg2
== NULL
) SWIG_fail
;
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10507 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxImage
*arg1
= (wxImage
*) 0 ;
10510 wxString
*arg2
= 0 ;
10512 bool temp2
= False
;
10513 PyObject
* obj0
= 0 ;
10514 PyObject
* obj1
= 0 ;
10515 char *kwnames
[] = {
10516 (char *) "self",(char *) "name", NULL
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10522 arg2
= wxString_in_helper(obj1
);
10523 if (arg2
== NULL
) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 resultobj
= SWIG_PyObj_FromInt((int)result
);
10548 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
;
10550 wxImage
*arg1
= (wxImage
*) 0 ;
10551 wxString
*arg2
= 0 ;
10553 bool temp2
= False
;
10554 PyObject
* obj0
= 0 ;
10555 PyObject
* obj1
= 0 ;
10556 char *kwnames
[] = {
10557 (char *) "self",(char *) "name", NULL
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10563 arg2
= wxString_in_helper(obj1
);
10564 if (arg2
== NULL
) SWIG_fail
;
10568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10589 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
;
10591 wxImage
*arg1
= (wxImage
*) 0 ;
10592 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10593 unsigned long result
;
10594 PyObject
* obj0
= 0 ;
10595 PyObject
* obj1
= 0 ;
10596 char *kwnames
[] = {
10597 (char *) "self",(char *) "stopafter", NULL
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10604 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
10622 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxImage
*arg1
= (wxImage
*) 0 ;
10625 wxImageHistogram
*arg2
= 0 ;
10626 unsigned long result
;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "self",(char *) "h", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
10634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10635 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10636 if (arg2
== NULL
) {
10637 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
10653 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10656 PyObject
* obj0
= 0 ;
10657 char *kwnames
[] = {
10658 (char *) "handler", NULL
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
10662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 wxImage::AddHandler(arg1
);
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10670 Py_INCREF(Py_None
); resultobj
= Py_None
;
10677 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
;
10679 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10680 PyObject
* obj0
= 0 ;
10681 char *kwnames
[] = {
10682 (char *) "handler", NULL
10685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
10686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 wxImage::InsertHandler(arg1
);
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 Py_INCREF(Py_None
); resultobj
= Py_None
;
10701 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
;
10703 wxString
*arg1
= 0 ;
10705 bool temp1
= False
;
10706 PyObject
* obj0
= 0 ;
10707 char *kwnames
[] = {
10708 (char *) "name", NULL
10711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
10713 arg1
= wxString_in_helper(obj0
);
10714 if (arg1
== NULL
) SWIG_fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10739 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10742 char *kwnames
[] = {
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= wxImage::GetImageExtWildcard();
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10767 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
;
10769 wxImage
*arg1
= (wxImage
*) 0 ;
10771 PyObject
* obj0
= 0 ;
10772 char *kwnames
[] = {
10773 (char *) "self", NULL
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
10777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 result
= wxImage_ConvertToBitmap(arg1
);
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10786 wxBitmap
* resultptr
;
10787 resultptr
= new wxBitmap((wxBitmap
&) result
);
10788 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
10796 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxImage
*arg1
= (wxImage
*) 0 ;
10799 unsigned char arg2
;
10800 unsigned char arg3
;
10801 unsigned char arg4
;
10803 PyObject
* obj0
= 0 ;
10804 PyObject
* obj1
= 0 ;
10805 PyObject
* obj2
= 0 ;
10806 PyObject
* obj3
= 0 ;
10807 char *kwnames
[] = {
10808 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
10811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10814 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10818 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10822 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10833 wxBitmap
* resultptr
;
10834 resultptr
= new wxBitmap((wxBitmap
&) result
);
10835 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
10843 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
10845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10846 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
10848 return Py_BuildValue((char *)"");
10850 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 char *kwnames
[] = {
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 wxInitAllImageHandlers();
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10864 Py_INCREF(Py_None
); resultobj
= Py_None
;
10871 static int _wrap_NullImage_set(PyObject
*) {
10872 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
10877 static PyObject
*_wrap_NullImage_get() {
10880 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
10885 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
10886 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
10891 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
10896 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
10898 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
10905 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
10906 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
10911 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
10916 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10918 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10925 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
10926 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
10931 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
10936 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10938 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10945 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
10946 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
10951 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
10956 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10958 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10965 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
10966 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
10971 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
10976 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10978 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10985 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxBMPHandler
*result
;
10988 char *kwnames
[] = {
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (wxBMPHandler
*)new wxBMPHandler();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
11007 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11010 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11012 return Py_BuildValue((char *)"");
11014 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxICOHandler
*result
;
11017 char *kwnames
[] = {
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= (wxICOHandler
*)new wxICOHandler();
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
11036 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11039 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11041 return Py_BuildValue((char *)"");
11043 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
;
11045 wxCURHandler
*result
;
11046 char *kwnames
[] = {
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (wxCURHandler
*)new wxCURHandler();
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
11065 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11068 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11070 return Py_BuildValue((char *)"");
11072 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
;
11074 wxANIHandler
*result
;
11075 char *kwnames
[] = {
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 result
= (wxANIHandler
*)new wxANIHandler();
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
11094 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11097 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11099 return Py_BuildValue((char *)"");
11101 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
*resultobj
;
11103 wxPNGHandler
*result
;
11104 char *kwnames
[] = {
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 result
= (wxPNGHandler
*)new wxPNGHandler();
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
11123 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11126 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11128 return Py_BuildValue((char *)"");
11130 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
;
11132 wxGIFHandler
*result
;
11133 char *kwnames
[] = {
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 result
= (wxGIFHandler
*)new wxGIFHandler();
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
11152 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11155 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11157 return Py_BuildValue((char *)"");
11159 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
;
11161 wxPCXHandler
*result
;
11162 char *kwnames
[] = {
11166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 result
= (wxPCXHandler
*)new wxPCXHandler();
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
11181 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11184 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11186 return Py_BuildValue((char *)"");
11188 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxJPEGHandler
*result
;
11191 char *kwnames
[] = {
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11203 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
11210 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11213 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11215 return Py_BuildValue((char *)"");
11217 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
*resultobj
;
11219 wxPNMHandler
*result
;
11220 char *kwnames
[] = {
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (wxPNMHandler
*)new wxPNMHandler();
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
11239 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11242 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11244 return Py_BuildValue((char *)"");
11246 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxXPMHandler
*result
;
11249 char *kwnames
[] = {
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11256 result
= (wxXPMHandler
*)new wxXPMHandler();
11258 wxPyEndAllowThreads(__tstate
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
11268 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11271 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11273 return Py_BuildValue((char *)"");
11275 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
;
11277 wxTIFFHandler
*result
;
11278 char *kwnames
[] = {
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
11297 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11300 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11302 return Py_BuildValue((char *)"");
11304 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
*resultobj
;
11306 wxEvtHandler
*result
;
11307 char *kwnames
[] = {
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 result
= (wxEvtHandler
*)new wxEvtHandler();
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11320 resultobj
= wxPyMake_wxObject(result
);
11328 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11330 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11331 wxEvtHandler
*result
;
11332 PyObject
* obj0
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= wxPyMake_wxObject(result
);
11355 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
;
11357 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11358 wxEvtHandler
*result
;
11359 PyObject
* obj0
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= wxPyMake_wxObject(result
);
11382 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11383 PyObject
*resultobj
;
11384 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11385 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11386 PyObject
* obj0
= 0 ;
11387 PyObject
* obj1
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "self",(char *) "handler", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11394 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 (arg1
)->SetNextHandler(arg2
);
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 Py_INCREF(Py_None
); resultobj
= Py_None
;
11409 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11412 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11413 PyObject
* obj0
= 0 ;
11414 PyObject
* obj1
= 0 ;
11415 char *kwnames
[] = {
11416 (char *) "self",(char *) "handler", NULL
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11421 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 (arg1
)->SetPreviousHandler(arg2
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 Py_INCREF(Py_None
); resultobj
= Py_None
;
11436 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
;
11438 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11440 PyObject
* obj0
= 0 ;
11441 char *kwnames
[] = {
11442 (char *) "self", NULL
11445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11461 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
;
11463 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11465 PyObject
* obj0
= 0 ;
11466 PyObject
* obj1
= 0 ;
11467 char *kwnames
[] = {
11468 (char *) "self",(char *) "enabled", NULL
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11474 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 (arg1
)->SetEvtHandlerEnabled(arg2
);
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 Py_INCREF(Py_None
); resultobj
= Py_None
;
11491 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11494 wxEvent
*arg2
= 0 ;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 char *kwnames
[] = {
11499 (char *) "self",(char *) "event", NULL
11502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11504 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11505 if (arg2
== NULL
) {
11506 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11522 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
;
11524 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11525 wxEvent
*arg2
= 0 ;
11526 PyObject
* obj0
= 0 ;
11527 PyObject
* obj1
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "self",(char *) "event", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11534 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11535 if (arg2
== NULL
) {
11536 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 (arg1
)->AddPendingEvent(*arg2
);
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 Py_INCREF(Py_None
); resultobj
= Py_None
;
11552 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
;
11554 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11555 PyObject
* obj0
= 0 ;
11556 char *kwnames
[] = {
11557 (char *) "self", NULL
11560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 (arg1
)->ProcessPendingEvents();
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11569 Py_INCREF(Py_None
); resultobj
= Py_None
;
11576 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
;
11578 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11582 PyObject
*arg5
= (PyObject
*) 0 ;
11583 PyObject
* obj0
= 0 ;
11584 PyObject
* obj1
= 0 ;
11585 PyObject
* obj2
= 0 ;
11586 PyObject
* obj3
= 0 ;
11587 PyObject
* obj4
= 0 ;
11588 char *kwnames
[] = {
11589 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11595 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11599 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 Py_INCREF(Py_None
); resultobj
= Py_None
;
11621 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
;
11623 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11625 int arg3
= (int) -1 ;
11626 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
11628 PyObject
* obj0
= 0 ;
11629 PyObject
* obj1
= 0 ;
11630 PyObject
* obj2
= 0 ;
11631 PyObject
* obj3
= 0 ;
11632 char *kwnames
[] = {
11633 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11639 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11644 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11650 arg4
= (wxEventType
) SWIG_PyObj_AsInt(obj3
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11668 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
;
11670 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11671 PyObject
*arg2
= (PyObject
*) 0 ;
11672 PyObject
* obj0
= 0 ;
11673 PyObject
* obj1
= 0 ;
11674 char *kwnames
[] = {
11675 (char *) "self",(char *) "_self", NULL
11678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
11679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 wxEvtHandler__setOORInfo(arg1
,arg2
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 Py_INCREF(Py_None
); resultobj
= Py_None
;
11695 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11698 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
11700 return Py_BuildValue((char *)"");
11702 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
;
11704 wxEventType result
;
11705 char *kwnames
[] = {
11709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 result
= (wxEventType
)wxNewEventType();
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= SWIG_PyObj_FromInt((int)result
);
11724 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
*resultobj
;
11726 wxEvent
*arg1
= (wxEvent
*) 0 ;
11727 PyObject
* obj0
= 0 ;
11728 char *kwnames
[] = {
11729 (char *) "self", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
11733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 Py_INCREF(Py_None
); resultobj
= Py_None
;
11748 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
;
11750 wxEvent
*arg1
= (wxEvent
*) 0 ;
11752 PyObject
* obj0
= 0 ;
11753 PyObject
* obj1
= 0 ;
11754 char *kwnames
[] = {
11755 (char *) "self",(char *) "typ", NULL
11758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
11759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11761 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 (arg1
)->SetEventType(arg2
);
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 Py_INCREF(Py_None
); resultobj
= Py_None
;
11778 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
;
11780 wxEvent
*arg1
= (wxEvent
*) 0 ;
11781 wxEventType result
;
11782 PyObject
* obj0
= 0 ;
11783 char *kwnames
[] = {
11784 (char *) "self", NULL
11787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
11788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
11793 wxPyEndAllowThreads(__tstate
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11796 resultobj
= SWIG_PyObj_FromInt((int)result
);
11803 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11804 PyObject
*resultobj
;
11805 wxEvent
*arg1
= (wxEvent
*) 0 ;
11807 PyObject
* obj0
= 0 ;
11808 char *kwnames
[] = {
11809 (char *) "self", NULL
11812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
11813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11822 resultobj
= wxPyMake_wxObject(result
);
11830 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
;
11832 wxEvent
*arg1
= (wxEvent
*) 0 ;
11833 wxObject
*arg2
= (wxObject
*) 0 ;
11834 PyObject
* obj0
= 0 ;
11835 PyObject
* obj1
= 0 ;
11836 char *kwnames
[] = {
11837 (char *) "self",(char *) "obj", NULL
11840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
11841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11842 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 (arg1
)->SetEventObject(arg2
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 Py_INCREF(Py_None
); resultobj
= Py_None
;
11857 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxEvent
*arg1
= (wxEvent
*) 0 ;
11861 PyObject
* obj0
= 0 ;
11862 char *kwnames
[] = {
11863 (char *) "self", NULL
11866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
11867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= SWIG_PyObj_FromLong((long)result
);
11882 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11883 PyObject
*resultobj
;
11884 wxEvent
*arg1
= (wxEvent
*) 0 ;
11885 long arg2
= (long) 0 ;
11886 PyObject
* obj0
= 0 ;
11887 PyObject
* obj1
= 0 ;
11888 char *kwnames
[] = {
11889 (char *) "self",(char *) "ts", NULL
11892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
11893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11896 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 (arg1
)->SetTimestamp(arg2
);
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11907 Py_INCREF(Py_None
); resultobj
= Py_None
;
11914 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
;
11916 wxEvent
*arg1
= (wxEvent
*) 0 ;
11918 PyObject
* obj0
= 0 ;
11919 char *kwnames
[] = {
11920 (char *) "self", NULL
11923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
11924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (int)((wxEvent
const *)arg1
)->GetId();
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11932 resultobj
= SWIG_PyObj_FromInt((int)result
);
11939 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
;
11941 wxEvent
*arg1
= (wxEvent
*) 0 ;
11943 PyObject
* obj0
= 0 ;
11944 PyObject
* obj1
= 0 ;
11945 char *kwnames
[] = {
11946 (char *) "self",(char *) "Id", NULL
11949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
11950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11952 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 (arg1
)->SetId(arg2
);
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11962 Py_INCREF(Py_None
); resultobj
= Py_None
;
11969 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
;
11971 wxEvent
*arg1
= (wxEvent
*) 0 ;
11973 PyObject
* obj0
= 0 ;
11974 char *kwnames
[] = {
11975 (char *) "self", NULL
11978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
11979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11994 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
;
11996 wxEvent
*arg1
= (wxEvent
*) 0 ;
11997 bool arg2
= (bool) True
;
11998 PyObject
* obj0
= 0 ;
11999 PyObject
* obj1
= 0 ;
12000 char *kwnames
[] = {
12001 (char *) "self",(char *) "skip", NULL
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12008 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 (arg1
)->Skip(arg2
);
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12019 Py_INCREF(Py_None
); resultobj
= Py_None
;
12026 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12027 PyObject
*resultobj
;
12028 wxEvent
*arg1
= (wxEvent
*) 0 ;
12030 PyObject
* obj0
= 0 ;
12031 char *kwnames
[] = {
12032 (char *) "self", NULL
12035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12051 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
;
12053 wxEvent
*arg1
= (wxEvent
*) 0 ;
12055 PyObject
* obj0
= 0 ;
12056 char *kwnames
[] = {
12057 (char *) "self", NULL
12060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12076 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
;
12078 wxEvent
*arg1
= (wxEvent
*) 0 ;
12080 PyObject
* obj0
= 0 ;
12081 char *kwnames
[] = {
12082 (char *) "self", NULL
12085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= (int)(arg1
)->StopPropagation();
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= SWIG_PyObj_FromInt((int)result
);
12101 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
;
12103 wxEvent
*arg1
= (wxEvent
*) 0 ;
12105 PyObject
* obj0
= 0 ;
12106 PyObject
* obj1
= 0 ;
12107 char *kwnames
[] = {
12108 (char *) "self",(char *) "propagationLevel", NULL
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12114 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 (arg1
)->ResumePropagation(arg2
);
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 Py_INCREF(Py_None
); resultobj
= Py_None
;
12131 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
;
12133 wxEvent
*arg1
= (wxEvent
*) 0 ;
12135 PyObject
* obj0
= 0 ;
12136 char *kwnames
[] = {
12137 (char *) "self", NULL
12140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= (wxEvent
*)(arg1
)->Clone();
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
12156 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12159 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12161 return Py_BuildValue((char *)"");
12163 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxEvent
*arg1
= 0 ;
12166 wxPropagationDisabler
*result
;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "event", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12174 if (arg1
== NULL
) {
12175 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
12191 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12194 PyObject
* obj0
= 0 ;
12195 char *kwnames
[] = {
12196 (char *) "self", NULL
12199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12208 Py_INCREF(Py_None
); resultobj
= Py_None
;
12215 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12218 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12220 return Py_BuildValue((char *)"");
12222 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxEvent
*arg1
= 0 ;
12225 wxPropagateOnce
*result
;
12226 PyObject
* obj0
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "event", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12233 if (arg1
== NULL
) {
12234 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12238 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12240 wxPyEndAllowThreads(__tstate
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
12250 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12251 PyObject
*resultobj
;
12252 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12253 PyObject
* obj0
= 0 ;
12254 char *kwnames
[] = {
12255 (char *) "self", NULL
12258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 Py_INCREF(Py_None
); resultobj
= Py_None
;
12274 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12277 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12279 return Py_BuildValue((char *)"");
12281 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12284 int arg2
= (int) 0 ;
12285 wxCommandEvent
*result
;
12286 PyObject
* obj0
= 0 ;
12287 PyObject
* obj1
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "commandType",(char *) "winid", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12295 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12301 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12312 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
12319 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
*resultobj
;
12321 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12323 PyObject
* obj0
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12337 resultobj
= SWIG_PyObj_FromInt((int)result
);
12344 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
;
12346 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12347 wxString
*arg2
= 0 ;
12348 bool temp2
= False
;
12349 PyObject
* obj0
= 0 ;
12350 PyObject
* obj1
= 0 ;
12351 char *kwnames
[] = {
12352 (char *) "self",(char *) "s", NULL
12355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12358 arg2
= wxString_in_helper(obj1
);
12359 if (arg2
== NULL
) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 (arg1
)->SetString((wxString
const &)*arg2
);
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 Py_INCREF(Py_None
); resultobj
= Py_None
;
12384 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12388 PyObject
* obj0
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12415 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12419 PyObject
* obj0
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12440 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
;
12442 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12444 PyObject
* obj0
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12465 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12469 PyObject
* obj0
= 0 ;
12470 PyObject
* obj1
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self",(char *) "extraLong", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12478 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 (arg1
)->SetExtraLong(arg2
);
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12488 Py_INCREF(Py_None
); resultobj
= Py_None
;
12495 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12499 PyObject
* obj0
= 0 ;
12500 char *kwnames
[] = {
12501 (char *) "self", NULL
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 resultobj
= SWIG_PyObj_FromLong((long)result
);
12520 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12524 PyObject
* obj0
= 0 ;
12525 PyObject
* obj1
= 0 ;
12526 char *kwnames
[] = {
12527 (char *) "self",(char *) "i", NULL
12530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12533 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 (arg1
)->SetInt(arg2
);
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 Py_INCREF(Py_None
); resultobj
= Py_None
;
12550 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
;
12552 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12554 PyObject
* obj0
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "self", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12568 resultobj
= SWIG_PyObj_FromLong((long)result
);
12575 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12576 PyObject
*resultobj
;
12577 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12579 PyObject
* obj0
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12593 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
12600 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12603 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
12605 return Py_BuildValue((char *)"");
12607 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
;
12609 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12610 int arg2
= (int) 0 ;
12611 wxNotifyEvent
*result
;
12612 PyObject
* obj0
= 0 ;
12613 PyObject
* obj1
= 0 ;
12614 char *kwnames
[] = {
12615 (char *) "commandType",(char *) "winid", NULL
12618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12621 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12627 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
12645 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
;
12647 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 char *kwnames
[] = {
12650 (char *) "self", NULL
12653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
12654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 Py_INCREF(Py_None
); resultobj
= Py_None
;
12669 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12672 PyObject
* obj0
= 0 ;
12673 char *kwnames
[] = {
12674 (char *) "self", NULL
12677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
12678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 Py_INCREF(Py_None
); resultobj
= Py_None
;
12693 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
;
12695 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12697 PyObject
* obj0
= 0 ;
12698 char *kwnames
[] = {
12699 (char *) "self", NULL
12702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
12703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 result
= (bool)(arg1
)->IsAllowed();
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12718 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12721 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
12723 return Py_BuildValue((char *)"");
12725 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12728 int arg2
= (int) 0 ;
12729 int arg3
= (int) 0 ;
12730 int arg4
= (int) 0 ;
12731 wxScrollEvent
*result
;
12732 PyObject
* obj0
= 0 ;
12733 PyObject
* obj1
= 0 ;
12734 PyObject
* obj2
= 0 ;
12735 PyObject
* obj3
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12743 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12749 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12755 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12761 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
12779 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12783 PyObject
* obj0
= 0 ;
12784 char *kwnames
[] = {
12785 (char *) "self", NULL
12788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
12789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= SWIG_PyObj_FromInt((int)result
);
12804 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12808 PyObject
* obj0
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12822 resultobj
= SWIG_PyObj_FromInt((int)result
);
12829 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12830 PyObject
*resultobj
;
12831 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12833 PyObject
* obj0
= 0 ;
12834 PyObject
* obj1
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self",(char *) "orient", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
12840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12842 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 (arg1
)->SetOrientation(arg2
);
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12852 Py_INCREF(Py_None
); resultobj
= Py_None
;
12859 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
;
12861 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12863 PyObject
* obj0
= 0 ;
12864 PyObject
* obj1
= 0 ;
12865 char *kwnames
[] = {
12866 (char *) "self",(char *) "pos", NULL
12869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12872 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 (arg1
)->SetPosition(arg2
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 Py_INCREF(Py_None
); resultobj
= Py_None
;
12889 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12892 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
12894 return Py_BuildValue((char *)"");
12896 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
;
12898 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12899 int arg2
= (int) 0 ;
12900 int arg3
= (int) 0 ;
12901 wxScrollWinEvent
*result
;
12902 PyObject
* obj0
= 0 ;
12903 PyObject
* obj1
= 0 ;
12904 PyObject
* obj2
= 0 ;
12905 char *kwnames
[] = {
12906 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12912 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12918 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12924 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
12942 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
;
12944 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12946 PyObject
* obj0
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "self", NULL
12951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
12952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= SWIG_PyObj_FromInt((int)result
);
12967 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
;
12969 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12971 PyObject
* obj0
= 0 ;
12972 char *kwnames
[] = {
12973 (char *) "self", NULL
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= SWIG_PyObj_FromInt((int)result
);
12992 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12996 PyObject
* obj0
= 0 ;
12997 PyObject
* obj1
= 0 ;
12998 char *kwnames
[] = {
12999 (char *) "self",(char *) "orient", NULL
13002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13005 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13006 if (PyErr_Occurred()) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 (arg1
)->SetOrientation(arg2
);
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 Py_INCREF(Py_None
); resultobj
= Py_None
;
13022 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self",(char *) "pos", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13035 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 (arg1
)->SetPosition(arg2
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 Py_INCREF(Py_None
); resultobj
= Py_None
;
13052 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13055 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13057 return Py_BuildValue((char *)"");
13059 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13062 wxMouseEvent
*result
;
13063 PyObject
* obj0
= 0 ;
13064 char *kwnames
[] = {
13065 (char *) "mouseType", NULL
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13071 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13083 resultobj
= wxPyMake_wxObject(result
);
13091 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
;
13093 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13095 PyObject
* obj0
= 0 ;
13096 char *kwnames
[] = {
13097 (char *) "self", NULL
13100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13116 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
;
13118 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13119 int arg2
= (int) wxMOUSE_BTN_ANY
;
13121 PyObject
* obj0
= 0 ;
13122 PyObject
* obj1
= 0 ;
13123 char *kwnames
[] = {
13124 (char *) "self",(char *) "but", NULL
13127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13131 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13149 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13150 PyObject
*resultobj
;
13151 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13152 int arg2
= (int) wxMOUSE_BTN_ANY
;
13154 PyObject
* obj0
= 0 ;
13155 PyObject
* obj1
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self",(char *) "but", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13164 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13182 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
;
13184 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13185 int arg2
= (int) wxMOUSE_BTN_ANY
;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "self",(char *) "but", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13197 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13203 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13205 wxPyEndAllowThreads(__tstate
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13215 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13220 PyObject
* obj0
= 0 ;
13221 PyObject
* obj1
= 0 ;
13222 char *kwnames
[] = {
13223 (char *) "self",(char *) "but", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13229 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13246 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13251 PyObject
* obj0
= 0 ;
13252 PyObject
* obj1
= 0 ;
13253 char *kwnames
[] = {
13254 (char *) "self",(char *) "but", NULL
13257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13260 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13277 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
;
13279 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13281 PyObject
* obj0
= 0 ;
13282 char *kwnames
[] = {
13283 (char *) "self", NULL
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13290 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= SWIG_PyObj_FromInt((int)result
);
13302 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13306 PyObject
* obj0
= 0 ;
13307 char *kwnames
[] = {
13308 (char *) "self", NULL
13311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13327 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13331 PyObject
* obj0
= 0 ;
13332 char *kwnames
[] = {
13333 (char *) "self", NULL
13336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13352 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13353 PyObject
*resultobj
;
13354 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13356 PyObject
* obj0
= 0 ;
13357 char *kwnames
[] = {
13358 (char *) "self", NULL
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13377 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13381 PyObject
* obj0
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13402 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13403 PyObject
*resultobj
;
13404 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13406 PyObject
* obj0
= 0 ;
13407 char *kwnames
[] = {
13408 (char *) "self", NULL
13411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13415 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13427 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13428 PyObject
*resultobj
;
13429 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13431 PyObject
* obj0
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "self", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13452 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13456 PyObject
* obj0
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "self", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13477 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13481 PyObject
* obj0
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "self", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13490 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13502 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
;
13504 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13506 PyObject
* obj0
= 0 ;
13507 char *kwnames
[] = {
13508 (char *) "self", NULL
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13527 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13531 PyObject
* obj0
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "self", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13552 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13556 PyObject
* obj0
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
13562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13577 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
;
13579 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13581 PyObject
* obj0
= 0 ;
13582 char *kwnames
[] = {
13583 (char *) "self", NULL
13586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
13587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13590 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
13592 wxPyEndAllowThreads(__tstate
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13602 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
;
13604 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13606 PyObject
* obj0
= 0 ;
13607 char *kwnames
[] = {
13608 (char *) "self", NULL
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
13612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13615 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13627 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13628 PyObject
*resultobj
;
13629 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13631 PyObject
* obj0
= 0 ;
13632 char *kwnames
[] = {
13633 (char *) "self", NULL
13636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
13637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 result
= (bool)(arg1
)->LeftIsDown();
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13652 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "self", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
13662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (bool)(arg1
)->MiddleIsDown();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13677 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13681 PyObject
* obj0
= 0 ;
13682 char *kwnames
[] = {
13683 (char *) "self", NULL
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
13687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (bool)(arg1
)->RightIsDown();
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13702 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
;
13704 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13706 PyObject
* obj0
= 0 ;
13707 char *kwnames
[] = {
13708 (char *) "self", NULL
13711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
13712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13727 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13731 PyObject
* obj0
= 0 ;
13732 char *kwnames
[] = {
13733 (char *) "self", NULL
13736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
13737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13752 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
;
13754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13756 PyObject
* obj0
= 0 ;
13757 char *kwnames
[] = {
13758 (char *) "self", NULL
13761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
13762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13777 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
;
13779 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13781 PyObject
* obj0
= 0 ;
13782 char *kwnames
[] = {
13783 (char *) "self", NULL
13786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
13787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13802 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
;
13804 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13806 PyObject
* obj0
= 0 ;
13807 char *kwnames
[] = {
13808 (char *) "self", NULL
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 result
= (arg1
)->GetPosition();
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13821 wxPoint
* resultptr
;
13822 resultptr
= new wxPoint((wxPoint
&) result
);
13823 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13831 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
;
13833 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13834 long *arg2
= (long *) 0 ;
13835 long *arg3
= (long *) 0 ;
13838 PyObject
* obj0
= 0 ;
13839 char *kwnames
[] = {
13840 (char *) "self", NULL
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
13846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 (arg1
)->GetPosition(arg2
,arg3
);
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 Py_INCREF(Py_None
); resultobj
= Py_None
;
13856 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13857 resultobj
= t_output_helper(resultobj
,o
);
13860 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13861 resultobj
= t_output_helper(resultobj
,o
);
13869 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13870 PyObject
*resultobj
;
13871 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13874 PyObject
* obj0
= 0 ;
13875 PyObject
* obj1
= 0 ;
13876 char *kwnames
[] = {
13877 (char *) "self",(char *) "dc", NULL
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13883 if (arg2
== NULL
) {
13884 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13894 wxPoint
* resultptr
;
13895 resultptr
= new wxPoint((wxPoint
&) result
);
13896 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13904 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
;
13906 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13908 PyObject
* obj0
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "self", NULL
13913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
13914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13922 resultobj
= SWIG_PyObj_FromInt((int)result
);
13929 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
;
13931 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13933 PyObject
* obj0
= 0 ;
13934 char *kwnames
[] = {
13935 (char *) "self", NULL
13938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
13939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13947 resultobj
= SWIG_PyObj_FromInt((int)result
);
13954 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13955 PyObject
*resultobj
;
13956 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13958 PyObject
* obj0
= 0 ;
13959 char *kwnames
[] = {
13960 (char *) "self", NULL
13963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
13964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13967 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
13969 wxPyEndAllowThreads(__tstate
);
13970 if (PyErr_Occurred()) SWIG_fail
;
13972 resultobj
= SWIG_PyObj_FromInt((int)result
);
13979 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13980 PyObject
*resultobj
;
13981 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13983 PyObject
* obj0
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "self", NULL
13988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
13989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= SWIG_PyObj_FromInt((int)result
);
14004 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
;
14006 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14008 PyObject
* obj0
= 0 ;
14009 char *kwnames
[] = {
14010 (char *) "self", NULL
14013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 resultobj
= SWIG_PyObj_FromInt((int)result
);
14029 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14030 PyObject
*resultobj
;
14031 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14033 PyObject
* obj0
= 0 ;
14034 char *kwnames
[] = {
14035 (char *) "self", NULL
14038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14044 wxPyEndAllowThreads(__tstate
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14054 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
;
14056 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14058 PyObject
* obj0
= 0 ;
14059 PyObject
* obj1
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self",(char *) "m_x", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14067 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14070 if (arg1
) (arg1
)->m_x
= arg2
;
14072 Py_INCREF(Py_None
); resultobj
= Py_None
;
14079 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14080 PyObject
*resultobj
;
14081 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14083 PyObject
* obj0
= 0 ;
14084 char *kwnames
[] = {
14085 (char *) "self", NULL
14088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14090 result
= (int) ((arg1
)->m_x
);
14092 resultobj
= SWIG_PyObj_FromInt((int)result
);
14099 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
;
14101 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14103 PyObject
* obj0
= 0 ;
14104 PyObject
* obj1
= 0 ;
14105 char *kwnames
[] = {
14106 (char *) "self",(char *) "m_y", NULL
14109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14112 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 if (arg1
) (arg1
)->m_y
= arg2
;
14117 Py_INCREF(Py_None
); resultobj
= Py_None
;
14124 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14128 PyObject
* obj0
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14135 result
= (int) ((arg1
)->m_y
);
14137 resultobj
= SWIG_PyObj_FromInt((int)result
);
14144 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14148 PyObject
* obj0
= 0 ;
14149 PyObject
* obj1
= 0 ;
14150 char *kwnames
[] = {
14151 (char *) "self",(char *) "m_leftDown", NULL
14154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14157 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14160 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14162 Py_INCREF(Py_None
); resultobj
= Py_None
;
14169 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
;
14171 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14173 PyObject
* obj0
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14180 result
= (bool) ((arg1
)->m_leftDown
);
14182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14189 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
*resultobj
;
14191 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14193 PyObject
* obj0
= 0 ;
14194 PyObject
* obj1
= 0 ;
14195 char *kwnames
[] = {
14196 (char *) "self",(char *) "m_middleDown", NULL
14199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14202 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14205 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14207 Py_INCREF(Py_None
); resultobj
= Py_None
;
14214 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14215 PyObject
*resultobj
;
14216 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14218 PyObject
* obj0
= 0 ;
14219 char *kwnames
[] = {
14220 (char *) "self", NULL
14223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14225 result
= (bool) ((arg1
)->m_middleDown
);
14227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14234 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
;
14236 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14238 PyObject
* obj0
= 0 ;
14239 PyObject
* obj1
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self",(char *) "m_rightDown", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14247 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14250 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14252 Py_INCREF(Py_None
); resultobj
= Py_None
;
14259 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14261 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14263 PyObject
* obj0
= 0 ;
14264 char *kwnames
[] = {
14265 (char *) "self", NULL
14268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14270 result
= (bool) ((arg1
)->m_rightDown
);
14272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14279 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14280 PyObject
*resultobj
;
14281 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14283 PyObject
* obj0
= 0 ;
14284 PyObject
* obj1
= 0 ;
14285 char *kwnames
[] = {
14286 (char *) "self",(char *) "m_controlDown", NULL
14289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14292 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14297 Py_INCREF(Py_None
); resultobj
= Py_None
;
14304 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 char *kwnames
[] = {
14310 (char *) "self", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14315 result
= (bool) ((arg1
)->m_controlDown
);
14317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14324 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14325 PyObject
*resultobj
;
14326 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14328 PyObject
* obj0
= 0 ;
14329 PyObject
* obj1
= 0 ;
14330 char *kwnames
[] = {
14331 (char *) "self",(char *) "m_shiftDown", NULL
14334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14337 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14342 Py_INCREF(Py_None
); resultobj
= Py_None
;
14349 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
;
14351 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14353 PyObject
* obj0
= 0 ;
14354 char *kwnames
[] = {
14355 (char *) "self", NULL
14358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14360 result
= (bool) ((arg1
)->m_shiftDown
);
14362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14369 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14370 PyObject
*resultobj
;
14371 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14373 PyObject
* obj0
= 0 ;
14374 PyObject
* obj1
= 0 ;
14375 char *kwnames
[] = {
14376 (char *) "self",(char *) "m_altDown", NULL
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14382 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 if (arg1
) (arg1
)->m_altDown
= arg2
;
14387 Py_INCREF(Py_None
); resultobj
= Py_None
;
14394 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
;
14396 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14398 PyObject
* obj0
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14405 result
= (bool) ((arg1
)->m_altDown
);
14407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14414 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14418 PyObject
* obj0
= 0 ;
14419 PyObject
* obj1
= 0 ;
14420 char *kwnames
[] = {
14421 (char *) "self",(char *) "m_metaDown", NULL
14424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14427 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14430 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14432 Py_INCREF(Py_None
); resultobj
= Py_None
;
14439 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14440 PyObject
*resultobj
;
14441 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14443 PyObject
* obj0
= 0 ;
14444 char *kwnames
[] = {
14445 (char *) "self", NULL
14448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14450 result
= (bool) ((arg1
)->m_metaDown
);
14452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14459 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 PyObject
* obj1
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "self",(char *) "m_wheelRotation", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14472 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14475 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14477 Py_INCREF(Py_None
); resultobj
= Py_None
;
14484 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14485 PyObject
*resultobj
;
14486 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14488 PyObject
* obj0
= 0 ;
14489 char *kwnames
[] = {
14490 (char *) "self", NULL
14493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14495 result
= (int) ((arg1
)->m_wheelRotation
);
14497 resultobj
= SWIG_PyObj_FromInt((int)result
);
14504 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14508 PyObject
* obj0
= 0 ;
14509 PyObject
* obj1
= 0 ;
14510 char *kwnames
[] = {
14511 (char *) "self",(char *) "m_wheelDelta", NULL
14514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14517 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
14522 Py_INCREF(Py_None
); resultobj
= Py_None
;
14529 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14530 PyObject
*resultobj
;
14531 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14533 PyObject
* obj0
= 0 ;
14534 char *kwnames
[] = {
14535 (char *) "self", NULL
14538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
14539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14540 result
= (int) ((arg1
)->m_wheelDelta
);
14542 resultobj
= SWIG_PyObj_FromInt((int)result
);
14549 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14550 PyObject
*resultobj
;
14551 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14553 PyObject
* obj0
= 0 ;
14554 PyObject
* obj1
= 0 ;
14555 char *kwnames
[] = {
14556 (char *) "self",(char *) "m_linesPerAction", NULL
14559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14562 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14565 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
14567 Py_INCREF(Py_None
); resultobj
= Py_None
;
14574 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
14584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14585 result
= (int) ((arg1
)->m_linesPerAction
);
14587 resultobj
= SWIG_PyObj_FromInt((int)result
);
14594 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14597 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
14599 return Py_BuildValue((char *)"");
14601 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
;
14603 int arg1
= (int) 0 ;
14604 int arg2
= (int) 0 ;
14605 wxSetCursorEvent
*result
;
14606 PyObject
* obj0
= 0 ;
14607 PyObject
* obj1
= 0 ;
14608 char *kwnames
[] = {
14609 (char *) "x",(char *) "y", NULL
14612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14615 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14621 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
14639 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
;
14641 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14643 PyObject
* obj0
= 0 ;
14644 char *kwnames
[] = {
14645 (char *) "self", NULL
14648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
14649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= SWIG_PyObj_FromInt((int)result
);
14664 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
14674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14677 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
14679 wxPyEndAllowThreads(__tstate
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14682 resultobj
= SWIG_PyObj_FromInt((int)result
);
14689 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14690 PyObject
*resultobj
;
14691 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14692 wxCursor
*arg2
= 0 ;
14693 PyObject
* obj0
= 0 ;
14694 PyObject
* obj1
= 0 ;
14695 char *kwnames
[] = {
14696 (char *) "self",(char *) "cursor", NULL
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
14700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14701 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14702 if (arg2
== NULL
) {
14703 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14707 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14712 Py_INCREF(Py_None
); resultobj
= Py_None
;
14719 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
;
14721 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14723 PyObject
* obj0
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "self", NULL
14728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
14729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14733 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
14734 result
= (wxCursor
*) &_result_ref
;
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
14747 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14748 PyObject
*resultobj
;
14749 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14751 PyObject
* obj0
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "self", NULL
14756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
14757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14772 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14775 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
14777 return Py_BuildValue((char *)"");
14779 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14782 wxKeyEvent
*result
;
14783 PyObject
* obj0
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "keyType", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
14791 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
14809 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 char *kwnames
[] = {
14815 (char *) "self", NULL
14818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14834 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14859 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14863 PyObject
* obj0
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14884 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14888 PyObject
* obj0
= 0 ;
14889 char *kwnames
[] = {
14890 (char *) "self", NULL
14893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14909 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14913 PyObject
* obj0
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "self", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
14919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14934 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14935 PyObject
*resultobj
;
14936 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14938 PyObject
* obj0
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14952 resultobj
= SWIG_PyObj_FromInt((int)result
);
14959 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
14969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (int)wxKeyEvent_GetUniChar(arg1
);
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= SWIG_PyObj_FromInt((int)result
);
14984 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14987 unsigned int result
;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15009 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
;
15011 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15012 unsigned int result
;
15013 PyObject
* obj0
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15034 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
;
15036 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15038 PyObject
* obj0
= 0 ;
15039 char *kwnames
[] = {
15040 (char *) "self", NULL
15043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 result
= (arg1
)->GetPosition();
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15053 wxPoint
* resultptr
;
15054 resultptr
= new wxPoint((wxPoint
&) result
);
15055 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15063 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15064 PyObject
*resultobj
;
15065 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15066 long *arg2
= (long *) 0 ;
15067 long *arg3
= (long *) 0 ;
15070 PyObject
* obj0
= 0 ;
15071 char *kwnames
[] = {
15072 (char *) "self", NULL
15077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 (arg1
)->GetPosition(arg2
,arg3
);
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15086 Py_INCREF(Py_None
); resultobj
= Py_None
;
15088 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15089 resultobj
= t_output_helper(resultobj
,o
);
15092 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15093 resultobj
= t_output_helper(resultobj
,o
);
15101 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
;
15103 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15105 PyObject
* obj0
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15119 resultobj
= SWIG_PyObj_FromInt((int)result
);
15126 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15127 PyObject
*resultobj
;
15128 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15130 PyObject
* obj0
= 0 ;
15131 char *kwnames
[] = {
15132 (char *) "self", NULL
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15139 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= SWIG_PyObj_FromInt((int)result
);
15151 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15155 PyObject
* obj0
= 0 ;
15156 PyObject
* obj1
= 0 ;
15157 char *kwnames
[] = {
15158 (char *) "self",(char *) "m_x", NULL
15161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15164 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15167 if (arg1
) (arg1
)->m_x
= arg2
;
15169 Py_INCREF(Py_None
); resultobj
= Py_None
;
15176 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
;
15178 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15180 PyObject
* obj0
= 0 ;
15181 char *kwnames
[] = {
15182 (char *) "self", NULL
15185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15187 result
= (int) ((arg1
)->m_x
);
15189 resultobj
= SWIG_PyObj_FromInt((int)result
);
15196 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15197 PyObject
*resultobj
;
15198 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15200 PyObject
* obj0
= 0 ;
15201 PyObject
* obj1
= 0 ;
15202 char *kwnames
[] = {
15203 (char *) "self",(char *) "m_y", NULL
15206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15209 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15212 if (arg1
) (arg1
)->m_y
= arg2
;
15214 Py_INCREF(Py_None
); resultobj
= Py_None
;
15221 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
;
15223 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15225 PyObject
* obj0
= 0 ;
15226 char *kwnames
[] = {
15227 (char *) "self", NULL
15230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15232 result
= (int) ((arg1
)->m_y
);
15234 resultobj
= SWIG_PyObj_FromInt((int)result
);
15241 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
;
15243 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 PyObject
* obj1
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "self",(char *) "m_keyCode", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15254 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15257 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15259 Py_INCREF(Py_None
); resultobj
= Py_None
;
15266 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15268 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15270 PyObject
* obj0
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15277 result
= (long) ((arg1
)->m_keyCode
);
15279 resultobj
= SWIG_PyObj_FromLong((long)result
);
15286 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
;
15288 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15290 PyObject
* obj0
= 0 ;
15291 PyObject
* obj1
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self",(char *) "m_controlDown", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15299 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15302 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15304 Py_INCREF(Py_None
); resultobj
= Py_None
;
15311 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15312 PyObject
*resultobj
;
15313 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15315 PyObject
* obj0
= 0 ;
15316 char *kwnames
[] = {
15317 (char *) "self", NULL
15320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15322 result
= (bool) ((arg1
)->m_controlDown
);
15324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15331 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15335 PyObject
* obj0
= 0 ;
15336 PyObject
* obj1
= 0 ;
15337 char *kwnames
[] = {
15338 (char *) "self",(char *) "m_shiftDown", NULL
15341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15344 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15349 Py_INCREF(Py_None
); resultobj
= Py_None
;
15356 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15360 PyObject
* obj0
= 0 ;
15361 char *kwnames
[] = {
15362 (char *) "self", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15367 result
= (bool) ((arg1
)->m_shiftDown
);
15369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15376 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
;
15378 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15380 PyObject
* obj0
= 0 ;
15381 PyObject
* obj1
= 0 ;
15382 char *kwnames
[] = {
15383 (char *) "self",(char *) "m_altDown", NULL
15386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15389 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15392 if (arg1
) (arg1
)->m_altDown
= arg2
;
15394 Py_INCREF(Py_None
); resultobj
= Py_None
;
15401 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15405 PyObject
* obj0
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "self", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15412 result
= (bool) ((arg1
)->m_altDown
);
15414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15421 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
;
15423 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 PyObject
* obj1
= 0 ;
15427 char *kwnames
[] = {
15428 (char *) "self",(char *) "m_metaDown", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15434 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15437 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15439 Py_INCREF(Py_None
); resultobj
= Py_None
;
15446 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15447 PyObject
*resultobj
;
15448 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15450 PyObject
* obj0
= 0 ;
15451 char *kwnames
[] = {
15452 (char *) "self", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15457 result
= (bool) ((arg1
)->m_metaDown
);
15459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15466 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
;
15468 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 char *kwnames
[] = {
15473 (char *) "self",(char *) "m_scanCode", NULL
15476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15479 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 if (arg1
) (arg1
)->m_scanCode
= arg2
;
15484 Py_INCREF(Py_None
); resultobj
= Py_None
;
15491 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
;
15493 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15495 PyObject
* obj0
= 0 ;
15496 char *kwnames
[] = {
15497 (char *) "self", NULL
15500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
15501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15502 result
= (bool) ((arg1
)->m_scanCode
);
15504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15511 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
;
15513 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15514 unsigned int arg2
;
15515 PyObject
* obj0
= 0 ;
15516 PyObject
* obj1
= 0 ;
15517 char *kwnames
[] = {
15518 (char *) "self",(char *) "m_rawCode", NULL
15521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15524 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 if (arg1
) (arg1
)->m_rawCode
= arg2
;
15529 Py_INCREF(Py_None
); resultobj
= Py_None
;
15536 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15539 unsigned int result
;
15540 PyObject
* obj0
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
15546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15547 result
= (unsigned int) ((arg1
)->m_rawCode
);
15549 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15556 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15557 PyObject
*resultobj
;
15558 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15559 unsigned int arg2
;
15560 PyObject
* obj0
= 0 ;
15561 PyObject
* obj1
= 0 ;
15562 char *kwnames
[] = {
15563 (char *) "self",(char *) "m_rawFlags", NULL
15566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15569 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15572 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
15574 Py_INCREF(Py_None
); resultobj
= Py_None
;
15581 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
;
15583 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15584 unsigned int result
;
15585 PyObject
* obj0
= 0 ;
15586 char *kwnames
[] = {
15587 (char *) "self", NULL
15590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
15591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15592 result
= (unsigned int) ((arg1
)->m_rawFlags
);
15594 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15601 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15604 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
15606 return Py_BuildValue((char *)"");
15608 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15609 PyObject
*resultobj
;
15610 wxSize
const &arg1_defvalue
= wxDefaultSize
;
15611 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
15612 int arg2
= (int) 0 ;
15613 wxSizeEvent
*result
;
15615 PyObject
* obj0
= 0 ;
15616 PyObject
* obj1
= 0 ;
15617 char *kwnames
[] = {
15618 (char *) "sz",(char *) "winid", NULL
15621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15625 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
15630 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
15648 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
;
15650 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15652 PyObject
* obj0
= 0 ;
15653 char *kwnames
[] = {
15654 (char *) "self", NULL
15657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
15658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15667 wxSize
* resultptr
;
15668 resultptr
= new wxSize((wxSize
&) result
);
15669 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15677 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15681 PyObject
* obj0
= 0 ;
15682 char *kwnames
[] = {
15683 (char *) "self", NULL
15686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15696 wxRect
* resultptr
;
15697 resultptr
= new wxRect((wxRect
&) result
);
15698 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
15706 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15711 PyObject
* obj0
= 0 ;
15712 PyObject
* obj1
= 0 ;
15713 char *kwnames
[] = {
15714 (char *) "self",(char *) "rect", NULL
15717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15719 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15723 (arg1
)->SetRect(arg2
);
15725 wxPyEndAllowThreads(__tstate
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15728 Py_INCREF(Py_None
); resultobj
= Py_None
;
15735 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
;
15737 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self",(char *) "size", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15748 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 wxSizeEvent_SetSize(arg1
,arg2
);
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15757 Py_INCREF(Py_None
); resultobj
= Py_None
;
15764 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
;
15766 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15767 wxSize
*arg2
= (wxSize
*) 0 ;
15768 PyObject
* obj0
= 0 ;
15769 PyObject
* obj1
= 0 ;
15770 char *kwnames
[] = {
15771 (char *) "self",(char *) "m_size", NULL
15774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15777 if (arg1
) (arg1
)->m_size
= *arg2
;
15779 Py_INCREF(Py_None
); resultobj
= Py_None
;
15786 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
;
15788 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15790 PyObject
* obj0
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
15796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15797 result
= (wxSize
*)& ((arg1
)->m_size
);
15799 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
15806 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15807 PyObject
*resultobj
;
15808 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15809 wxRect
*arg2
= (wxRect
*) 0 ;
15810 PyObject
* obj0
= 0 ;
15811 PyObject
* obj1
= 0 ;
15812 char *kwnames
[] = {
15813 (char *) "self",(char *) "m_rect", NULL
15816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15818 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15819 if (arg1
) (arg1
)->m_rect
= *arg2
;
15821 Py_INCREF(Py_None
); resultobj
= Py_None
;
15828 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15829 PyObject
*resultobj
;
15830 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15832 PyObject
* obj0
= 0 ;
15833 char *kwnames
[] = {
15834 (char *) "self", NULL
15837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
15838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15839 result
= (wxRect
*)& ((arg1
)->m_rect
);
15841 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
15848 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15851 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
15853 return Py_BuildValue((char *)"");
15855 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15856 PyObject
*resultobj
;
15857 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
15858 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
15859 int arg2
= (int) 0 ;
15860 wxMoveEvent
*result
;
15862 PyObject
* obj0
= 0 ;
15863 PyObject
* obj1
= 0 ;
15864 char *kwnames
[] = {
15865 (char *) "pos",(char *) "winid", NULL
15868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15872 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
15877 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15888 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
15895 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
;
15897 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15899 PyObject
* obj0
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15914 wxPoint
* resultptr
;
15915 resultptr
= new wxPoint((wxPoint
&) result
);
15916 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15924 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15925 PyObject
*resultobj
;
15926 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15928 PyObject
* obj0
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "self", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15937 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
15939 wxPyEndAllowThreads(__tstate
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15943 wxRect
* resultptr
;
15944 resultptr
= new wxRect((wxRect
&) result
);
15945 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
15953 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
;
15955 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 PyObject
* obj1
= 0 ;
15960 char *kwnames
[] = {
15961 (char *) "self",(char *) "rect", NULL
15964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15966 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 (arg1
)->SetRect(arg2
);
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15975 Py_INCREF(Py_None
); resultobj
= Py_None
;
15982 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15984 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 char *kwnames
[] = {
15990 (char *) "self",(char *) "pos", NULL
15993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15995 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 wxMoveEvent_SetPosition(arg1
,arg2
);
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16004 Py_INCREF(Py_None
); resultobj
= Py_None
;
16011 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
;
16013 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16014 wxPoint
*arg2
= (wxPoint
*) 0 ;
16015 PyObject
* obj0
= 0 ;
16016 PyObject
* obj1
= 0 ;
16017 char *kwnames
[] = {
16018 (char *) "self",(char *) "m_pos", NULL
16021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16024 if (arg1
) (arg1
)->m_pos
= *arg2
;
16026 Py_INCREF(Py_None
); resultobj
= Py_None
;
16033 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16037 PyObject
* obj0
= 0 ;
16038 char *kwnames
[] = {
16039 (char *) "self", NULL
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16044 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16046 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16053 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
;
16055 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16056 wxRect
*arg2
= (wxRect
*) 0 ;
16057 PyObject
* obj0
= 0 ;
16058 PyObject
* obj1
= 0 ;
16059 char *kwnames
[] = {
16060 (char *) "self",(char *) "m_rect", NULL
16063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16065 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16066 if (arg1
) (arg1
)->m_rect
= *arg2
;
16068 Py_INCREF(Py_None
); resultobj
= Py_None
;
16075 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16079 PyObject
* obj0
= 0 ;
16080 char *kwnames
[] = {
16081 (char *) "self", NULL
16084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16086 result
= (wxRect
*)& ((arg1
)->m_rect
);
16088 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
16095 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16098 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16100 return Py_BuildValue((char *)"");
16102 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
;
16104 int arg1
= (int) 0 ;
16105 wxPaintEvent
*result
;
16106 PyObject
* obj0
= 0 ;
16107 char *kwnames
[] = {
16108 (char *) "Id", NULL
16111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16114 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
16132 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16135 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16137 return Py_BuildValue((char *)"");
16139 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
;
16141 int arg1
= (int) 0 ;
16142 wxNcPaintEvent
*result
;
16143 PyObject
* obj0
= 0 ;
16144 char *kwnames
[] = {
16145 (char *) "winid", NULL
16148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16151 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16162 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
16169 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16172 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16174 return Py_BuildValue((char *)"");
16176 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 int arg1
= (int) 0 ;
16179 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16180 wxEraseEvent
*result
;
16181 PyObject
* obj0
= 0 ;
16182 PyObject
* obj1
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "Id",(char *) "dc", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16190 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16195 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16199 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16201 wxPyEndAllowThreads(__tstate
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16204 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
16211 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
;
16213 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16215 PyObject
* obj0
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16230 resultobj
= wxPyMake_wxObject(result
);
16238 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16241 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16243 return Py_BuildValue((char *)"");
16245 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
;
16247 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16248 int arg2
= (int) 0 ;
16249 wxFocusEvent
*result
;
16250 PyObject
* obj0
= 0 ;
16251 PyObject
* obj1
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "type",(char *) "winid", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16259 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16265 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16276 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
16283 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
;
16285 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16287 PyObject
* obj0
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "self", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= wxPyMake_wxObject(result
);
16310 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16313 wxWindow
*arg2
= (wxWindow
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self",(char *) "win", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 (arg1
)->SetWindow(arg2
);
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16330 Py_INCREF(Py_None
); resultobj
= Py_None
;
16337 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16340 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16342 return Py_BuildValue((char *)"");
16344 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
;
16346 wxWindow
*arg1
= (wxWindow
*) NULL
;
16347 wxChildFocusEvent
*result
;
16348 PyObject
* obj0
= 0 ;
16349 char *kwnames
[] = {
16350 (char *) "win", NULL
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16361 wxPyEndAllowThreads(__tstate
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16364 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
16371 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16375 PyObject
* obj0
= 0 ;
16376 char *kwnames
[] = {
16377 (char *) "self", NULL
16380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16386 wxPyEndAllowThreads(__tstate
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16390 resultobj
= wxPyMake_wxObject(result
);
16398 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16401 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16403 return Py_BuildValue((char *)"");
16405 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16406 PyObject
*resultobj
;
16407 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16408 bool arg2
= (bool) True
;
16409 int arg3
= (int) 0 ;
16410 wxActivateEvent
*result
;
16411 PyObject
* obj0
= 0 ;
16412 PyObject
* obj1
= 0 ;
16413 PyObject
* obj2
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "type",(char *) "active",(char *) "Id", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16421 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16427 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16433 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16444 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
16451 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
16461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16476 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16479 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
16481 return Py_BuildValue((char *)"");
16483 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 int arg1
= (int) 0 ;
16486 wxInitDialogEvent
*result
;
16487 PyObject
* obj0
= 0 ;
16488 char *kwnames
[] = {
16489 (char *) "Id", NULL
16492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
16495 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16506 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
16513 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16516 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
16518 return Py_BuildValue((char *)"");
16520 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16523 int arg2
= (int) 0 ;
16524 wxMenu
*arg3
= (wxMenu
*) NULL
;
16525 wxMenuEvent
*result
;
16526 PyObject
* obj0
= 0 ;
16527 PyObject
* obj1
= 0 ;
16528 PyObject
* obj2
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "type",(char *) "winid",(char *) "menu", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16536 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16542 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16547 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
16553 wxPyEndAllowThreads(__tstate
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
16563 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
;
16565 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16567 PyObject
* obj0
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "self", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
16573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16576 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= SWIG_PyObj_FromInt((int)result
);
16588 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
;
16590 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16592 PyObject
* obj0
= 0 ;
16593 char *kwnames
[] = {
16594 (char *) "self", NULL
16597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
16598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16613 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16614 PyObject
*resultobj
;
16615 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16617 PyObject
* obj0
= 0 ;
16618 char *kwnames
[] = {
16619 (char *) "self", NULL
16622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
16623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16632 resultobj
= wxPyMake_wxObject(result
);
16640 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16643 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
16645 return Py_BuildValue((char *)"");
16647 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
;
16649 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16650 int arg2
= (int) 0 ;
16651 wxCloseEvent
*result
;
16652 PyObject
* obj0
= 0 ;
16653 PyObject
* obj1
= 0 ;
16654 char *kwnames
[] = {
16655 (char *) "type",(char *) "winid", NULL
16658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16661 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16662 if (PyErr_Occurred()) SWIG_fail
;
16667 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
16685 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
;
16687 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16689 PyObject
* obj0
= 0 ;
16690 PyObject
* obj1
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self",(char *) "logOff", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
16696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16698 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 (arg1
)->SetLoggingOff(arg2
);
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16708 Py_INCREF(Py_None
); resultobj
= Py_None
;
16715 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16719 PyObject
* obj0
= 0 ;
16720 char *kwnames
[] = {
16721 (char *) "self", NULL
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
16725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16740 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
;
16742 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16743 bool arg2
= (bool) True
;
16744 PyObject
* obj0
= 0 ;
16745 PyObject
* obj1
= 0 ;
16746 char *kwnames
[] = {
16747 (char *) "self",(char *) "veto", NULL
16750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
16751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16754 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 (arg1
)->Veto(arg2
);
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 Py_INCREF(Py_None
); resultobj
= Py_None
;
16772 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self",(char *) "canVeto", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
16783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16785 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 (arg1
)->SetCanVeto(arg2
);
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 Py_INCREF(Py_None
); resultobj
= Py_None
;
16802 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16803 PyObject
*resultobj
;
16804 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16806 PyObject
* obj0
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "self", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
16812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16827 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
;
16829 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16831 PyObject
* obj0
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "self", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
16837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16852 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16855 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
16857 return Py_BuildValue((char *)"");
16859 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
;
16861 int arg1
= (int) 0 ;
16862 bool arg2
= (bool) False
;
16863 wxShowEvent
*result
;
16864 PyObject
* obj0
= 0 ;
16865 PyObject
* obj1
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "winid",(char *) "show", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16873 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16879 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
16897 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
;
16899 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
16901 PyObject
* obj0
= 0 ;
16902 PyObject
* obj1
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self",(char *) "show", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16910 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16915 (arg1
)->SetShow(arg2
);
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 Py_INCREF(Py_None
); resultobj
= Py_None
;
16927 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
;
16929 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
16937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16952 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16955 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
16957 return Py_BuildValue((char *)"");
16959 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16960 PyObject
*resultobj
;
16961 int arg1
= (int) 0 ;
16962 bool arg2
= (bool) True
;
16963 wxIconizeEvent
*result
;
16964 PyObject
* obj0
= 0 ;
16965 PyObject
* obj1
= 0 ;
16966 char *kwnames
[] = {
16967 (char *) "id",(char *) "iconized", NULL
16970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16973 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16979 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
16997 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16998 PyObject
*resultobj
;
16999 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17001 PyObject
* obj0
= 0 ;
17002 char *kwnames
[] = {
17003 (char *) "self", NULL
17006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 result
= (bool)(arg1
)->Iconized();
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17022 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17025 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17027 return Py_BuildValue((char *)"");
17029 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
;
17031 int arg1
= (int) 0 ;
17032 wxMaximizeEvent
*result
;
17033 PyObject
* obj0
= 0 ;
17034 char *kwnames
[] = {
17035 (char *) "id", NULL
17038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17041 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17047 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
17059 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17062 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17064 return Py_BuildValue((char *)"");
17066 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
;
17068 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17070 PyObject
* obj0
= 0 ;
17071 char *kwnames
[] = {
17072 (char *) "self", NULL
17075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 result
= (arg1
)->GetPosition();
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17085 wxPoint
* resultptr
;
17086 resultptr
= new wxPoint((wxPoint
&) result
);
17087 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17095 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
;
17097 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17099 PyObject
* obj0
= 0 ;
17100 char *kwnames
[] = {
17101 (char *) "self", NULL
17104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 result
= (int)(arg1
)->GetNumberOfFiles();
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17113 resultobj
= SWIG_PyObj_FromInt((int)result
);
17120 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
;
17122 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17124 PyObject
* obj0
= 0 ;
17125 char *kwnames
[] = {
17126 (char *) "self", NULL
17129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17138 resultobj
= result
;
17145 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17148 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17150 return Py_BuildValue((char *)"");
17152 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
;
17154 int arg1
= (int) 0 ;
17155 wxUpdateUIEvent
*result
;
17156 PyObject
* obj0
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "commandId", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17164 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17170 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17172 wxPyEndAllowThreads(__tstate
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17175 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
17182 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17183 PyObject
*resultobj
;
17184 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17186 PyObject
* obj0
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17207 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
;
17209 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17211 PyObject
* obj0
= 0 ;
17212 char *kwnames
[] = {
17213 (char *) "self", NULL
17216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17232 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
;
17234 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17236 PyObject
* obj0
= 0 ;
17237 char *kwnames
[] = {
17238 (char *) "self", NULL
17241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17245 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17263 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17267 PyObject
* obj0
= 0 ;
17268 char *kwnames
[] = {
17269 (char *) "self", NULL
17272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17288 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
;
17290 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17292 PyObject
* obj0
= 0 ;
17293 char *kwnames
[] = {
17294 (char *) "self", NULL
17297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17301 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17313 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17315 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17317 PyObject
* obj0
= 0 ;
17318 char *kwnames
[] = {
17319 (char *) "self", NULL
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17328 wxPyEndAllowThreads(__tstate
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17338 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17339 PyObject
*resultobj
;
17340 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17342 PyObject
* obj0
= 0 ;
17343 PyObject
* obj1
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self",(char *) "check", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17351 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17356 (arg1
)->Check(arg2
);
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17361 Py_INCREF(Py_None
); resultobj
= Py_None
;
17368 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17369 PyObject
*resultobj
;
17370 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17372 PyObject
* obj0
= 0 ;
17373 PyObject
* obj1
= 0 ;
17374 char *kwnames
[] = {
17375 (char *) "self",(char *) "enable", NULL
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17381 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17386 (arg1
)->Enable(arg2
);
17388 wxPyEndAllowThreads(__tstate
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17391 Py_INCREF(Py_None
); resultobj
= Py_None
;
17398 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17399 PyObject
*resultobj
;
17400 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17401 wxString
*arg2
= 0 ;
17402 bool temp2
= False
;
17403 PyObject
* obj0
= 0 ;
17404 PyObject
* obj1
= 0 ;
17405 char *kwnames
[] = {
17406 (char *) "self",(char *) "text", NULL
17409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17412 arg2
= wxString_in_helper(obj1
);
17413 if (arg2
== NULL
) SWIG_fail
;
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 (arg1
)->SetText((wxString
const &)*arg2
);
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17423 Py_INCREF(Py_None
); resultobj
= Py_None
;
17438 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17439 PyObject
*resultobj
;
17441 PyObject
* obj0
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "updateInterval", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
17448 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 wxUpdateUIEvent::SetUpdateInterval(arg1
);
17455 wxPyEndAllowThreads(__tstate
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 Py_INCREF(Py_None
); resultobj
= Py_None
;
17465 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17466 PyObject
*resultobj
;
17468 char *kwnames
[] = {
17472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17480 resultobj
= SWIG_PyObj_FromLong((long)result
);
17487 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
;
17489 wxWindow
*arg1
= (wxWindow
*) 0 ;
17491 PyObject
* obj0
= 0 ;
17492 char *kwnames
[] = {
17493 (char *) "win", NULL
17496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
17497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17512 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
;
17514 char *kwnames
[] = {
17518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 wxUpdateUIEvent::ResetUpdateTime();
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 Py_INCREF(Py_None
); resultobj
= Py_None
;
17533 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17536 PyObject
* obj0
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "mode", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
17543 arg1
= (wxUpdateUIMode
) SWIG_PyObj_AsInt(obj0
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17553 Py_INCREF(Py_None
); resultobj
= Py_None
;
17560 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
;
17563 char *kwnames
[] = {
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 result
= (int)wxUpdateUIEvent::GetMode();
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= SWIG_PyObj_FromInt((int)result
);
17582 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17585 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
17587 return Py_BuildValue((char *)"");
17589 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
;
17591 wxSysColourChangedEvent
*result
;
17592 char *kwnames
[] = {
17596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
17611 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17614 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
17616 return Py_BuildValue((char *)"");
17618 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
;
17620 int arg1
= (int) 0 ;
17621 wxWindow
*arg2
= (wxWindow
*) NULL
;
17622 wxMouseCaptureChangedEvent
*result
;
17623 PyObject
* obj0
= 0 ;
17624 PyObject
* obj1
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "winid",(char *) "gainedCapture", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17632 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17637 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17646 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
17653 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
;
17655 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
17657 PyObject
* obj0
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "self", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
17663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17672 resultobj
= wxPyMake_wxObject(result
);
17680 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17683 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
17685 return Py_BuildValue((char *)"");
17687 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxDisplayChangedEvent
*result
;
17690 char *kwnames
[] = {
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
17696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
17709 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17712 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
17714 return Py_BuildValue((char *)"");
17716 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 int arg1
= (int) 0 ;
17719 wxPaletteChangedEvent
*result
;
17720 PyObject
* obj0
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "id", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
17728 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17734 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
17746 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
;
17748 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
17749 wxWindow
*arg2
= (wxWindow
*) 0 ;
17750 PyObject
* obj0
= 0 ;
17751 PyObject
* obj1
= 0 ;
17752 char *kwnames
[] = {
17753 (char *) "self",(char *) "win", NULL
17756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17758 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 (arg1
)->SetChangedWindow(arg2
);
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17766 Py_INCREF(Py_None
); resultobj
= Py_None
;
17773 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17774 PyObject
*resultobj
;
17775 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
17777 PyObject
* obj0
= 0 ;
17778 char *kwnames
[] = {
17779 (char *) "self", NULL
17782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
17783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17792 resultobj
= wxPyMake_wxObject(result
);
17800 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17803 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
17805 return Py_BuildValue((char *)"");
17807 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17808 PyObject
*resultobj
;
17809 int arg1
= (int) 0 ;
17810 wxQueryNewPaletteEvent
*result
;
17811 PyObject
* obj0
= 0 ;
17812 char *kwnames
[] = {
17813 (char *) "winid", NULL
17816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
17819 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
17837 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17839 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self",(char *) "realized", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
17848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17850 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 (arg1
)->SetPaletteRealized(arg2
);
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 Py_INCREF(Py_None
); resultobj
= Py_None
;
17867 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
17871 PyObject
* obj0
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "self", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
17877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
17882 wxPyEndAllowThreads(__tstate
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17892 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17895 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
17897 return Py_BuildValue((char *)"");
17899 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17900 PyObject
*resultobj
;
17901 wxNavigationKeyEvent
*result
;
17902 char *kwnames
[] = {
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
17921 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17925 PyObject
* obj0
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "self", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
17931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17946 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
;
17948 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17950 PyObject
* obj0
= 0 ;
17951 PyObject
* obj1
= 0 ;
17952 char *kwnames
[] = {
17953 (char *) "self",(char *) "bForward", NULL
17956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
17957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17959 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 (arg1
)->SetDirection(arg2
);
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 Py_INCREF(Py_None
); resultobj
= Py_None
;
17976 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
;
17978 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17980 PyObject
* obj0
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self", NULL
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
17986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18001 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
;
18003 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18005 PyObject
* obj0
= 0 ;
18006 PyObject
* obj1
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self",(char *) "bIs", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18014 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 (arg1
)->SetWindowChange(arg2
);
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 Py_INCREF(Py_None
); resultobj
= Py_None
;
18031 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18035 PyObject
* obj0
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self", NULL
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= wxPyMake_wxObject(result
);
18058 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18060 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18061 wxWindow
*arg2
= (wxWindow
*) 0 ;
18062 PyObject
* obj0
= 0 ;
18063 PyObject
* obj1
= 0 ;
18064 char *kwnames
[] = {
18065 (char *) "self",(char *) "win", NULL
18068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18070 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 (arg1
)->SetCurrentFocus(arg2
);
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 Py_INCREF(Py_None
); resultobj
= Py_None
;
18085 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18088 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18090 return Py_BuildValue((char *)"");
18092 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18093 PyObject
*resultobj
;
18094 wxWindow
*arg1
= (wxWindow
*) NULL
;
18095 wxWindowCreateEvent
*result
;
18096 PyObject
* obj0
= 0 ;
18097 char *kwnames
[] = {
18098 (char *) "win", NULL
18101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
18119 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18123 PyObject
* obj0
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "self", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= wxPyMake_wxObject(result
);
18146 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18149 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18151 return Py_BuildValue((char *)"");
18153 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18154 PyObject
*resultobj
;
18155 wxWindow
*arg1
= (wxWindow
*) NULL
;
18156 wxWindowDestroyEvent
*result
;
18157 PyObject
* obj0
= 0 ;
18158 char *kwnames
[] = {
18159 (char *) "win", NULL
18162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18180 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18181 PyObject
*resultobj
;
18182 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18184 PyObject
* obj0
= 0 ;
18185 char *kwnames
[] = {
18186 (char *) "self", NULL
18189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18199 resultobj
= wxPyMake_wxObject(result
);
18207 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18210 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18212 return Py_BuildValue((char *)"");
18214 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18217 int arg2
= (int) 0 ;
18218 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18219 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18220 wxContextMenuEvent
*result
;
18222 PyObject
* obj0
= 0 ;
18223 PyObject
* obj1
= 0 ;
18224 PyObject
* obj2
= 0 ;
18225 char *kwnames
[] = {
18226 (char *) "type",(char *) "winid",(char *) "pt", NULL
18229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18232 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18238 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18245 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
18262 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
;
18264 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18266 PyObject
* obj0
= 0 ;
18267 char *kwnames
[] = {
18268 (char *) "self", NULL
18271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18277 result
= (wxPoint
*) &_result_ref
;
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18283 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
18290 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18292 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18293 wxPoint
*arg2
= 0 ;
18295 PyObject
* obj0
= 0 ;
18296 PyObject
* obj1
= 0 ;
18297 char *kwnames
[] = {
18298 (char *) "self",(char *) "pos", NULL
18301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18305 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18314 Py_INCREF(Py_None
); resultobj
= Py_None
;
18321 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18324 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18326 return Py_BuildValue((char *)"");
18328 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
;
18330 wxIdleEvent
*result
;
18331 char *kwnames
[] = {
18335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 result
= (wxIdleEvent
*)new wxIdleEvent();
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
18350 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18351 PyObject
*resultobj
;
18352 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18353 bool arg2
= (bool) True
;
18354 PyObject
* obj0
= 0 ;
18355 PyObject
* obj1
= 0 ;
18356 char *kwnames
[] = {
18357 (char *) "self",(char *) "needMore", NULL
18360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18364 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18370 (arg1
)->RequestMore(arg2
);
18372 wxPyEndAllowThreads(__tstate
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18375 Py_INCREF(Py_None
); resultobj
= Py_None
;
18382 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18383 PyObject
*resultobj
;
18384 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18386 PyObject
* obj0
= 0 ;
18387 char *kwnames
[] = {
18388 (char *) "self", NULL
18391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18395 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18397 wxPyEndAllowThreads(__tstate
);
18398 if (PyErr_Occurred()) SWIG_fail
;
18400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18407 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18408 PyObject
*resultobj
;
18410 PyObject
* obj0
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "mode", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18417 arg1
= (wxIdleMode
) SWIG_PyObj_AsInt(obj0
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 Py_INCREF(Py_None
); resultobj
= Py_None
;
18434 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18437 char *kwnames
[] = {
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 result
= (int)wxIdleEvent::GetMode();
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= SWIG_PyObj_FromInt((int)result
);
18456 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
;
18458 wxWindow
*arg1
= (wxWindow
*) 0 ;
18460 PyObject
* obj0
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "win", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
18466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= (bool)wxIdleEvent::CanSend(arg1
);
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18481 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18484 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
18486 return Py_BuildValue((char *)"");
18488 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
;
18490 int arg1
= (int) 0 ;
18491 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
18493 PyObject
* obj0
= 0 ;
18494 PyObject
* obj1
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "winid",(char *) "commandType", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18502 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18508 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
18526 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18529 PyObject
* obj0
= 0 ;
18530 char *kwnames
[] = {
18531 (char *) "self", NULL
18534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
18535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 Py_INCREF(Py_None
); resultobj
= Py_None
;
18550 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18553 PyObject
*arg2
= (PyObject
*) 0 ;
18554 PyObject
* obj0
= 0 ;
18555 PyObject
* obj1
= 0 ;
18556 char *kwnames
[] = {
18557 (char *) "self",(char *) "self", NULL
18560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 (arg1
)->SetSelf(arg2
);
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 Py_INCREF(Py_None
); resultobj
= Py_None
;
18577 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18581 PyObject
* obj0
= 0 ;
18582 char *kwnames
[] = {
18583 (char *) "self", NULL
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 result
= (PyObject
*)(arg1
)->GetSelf();
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 resultobj
= result
;
18602 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18605 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
18607 return Py_BuildValue((char *)"");
18609 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18612 int arg2
= (int) 0 ;
18613 wxPyCommandEvent
*result
;
18614 PyObject
* obj0
= 0 ;
18615 PyObject
* obj1
= 0 ;
18616 char *kwnames
[] = {
18617 (char *) "commandType",(char *) "id", NULL
18620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18623 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18629 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18635 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
18647 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
;
18649 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18650 PyObject
* obj0
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
18656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 wxPyEndAllowThreads(__tstate
);
18662 if (PyErr_Occurred()) SWIG_fail
;
18664 Py_INCREF(Py_None
); resultobj
= Py_None
;
18671 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
;
18673 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18674 PyObject
*arg2
= (PyObject
*) 0 ;
18675 PyObject
* obj0
= 0 ;
18676 PyObject
* obj1
= 0 ;
18677 char *kwnames
[] = {
18678 (char *) "self",(char *) "self", NULL
18681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 (arg1
)->SetSelf(arg2
);
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 Py_INCREF(Py_None
); resultobj
= Py_None
;
18698 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18702 PyObject
* obj0
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "self", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (PyObject
*)(arg1
)->GetSelf();
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18716 resultobj
= result
;
18723 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18726 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
18728 return Py_BuildValue((char *)"");
18730 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
;
18733 char *kwnames
[] = {
18737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 result
= (wxPyApp
*)new_wxPyApp();
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18746 resultobj
= wxPyMake_wxObject(result
);
18754 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18755 PyObject
*resultobj
;
18756 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18757 PyObject
* obj0
= 0 ;
18758 char *kwnames
[] = {
18759 (char *) "self", NULL
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
18763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 Py_INCREF(Py_None
); resultobj
= Py_None
;
18778 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18781 PyObject
*arg2
= (PyObject
*) 0 ;
18782 PyObject
*arg3
= (PyObject
*) 0 ;
18783 PyObject
* obj0
= 0 ;
18784 PyObject
* obj1
= 0 ;
18785 PyObject
* obj2
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "self",(char *) "self",(char *) "_class", NULL
18790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18798 wxPyEndAllowThreads(__tstate
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18801 Py_INCREF(Py_None
); resultobj
= Py_None
;
18808 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
;
18810 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18812 PyObject
* obj0
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
18818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 result
= ((wxPyApp
const *)arg1
)->GetAppName();
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18839 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
;
18841 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18842 wxString
*arg2
= 0 ;
18843 bool temp2
= False
;
18844 PyObject
* obj0
= 0 ;
18845 PyObject
* obj1
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "self",(char *) "name", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18853 arg2
= wxString_in_helper(obj1
);
18854 if (arg2
== NULL
) SWIG_fail
;
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 (arg1
)->SetAppName((wxString
const &)*arg2
);
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 Py_INCREF(Py_None
); resultobj
= Py_None
;
18879 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18880 PyObject
*resultobj
;
18881 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18883 PyObject
* obj0
= 0 ;
18884 char *kwnames
[] = {
18885 (char *) "self", NULL
18888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
18889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 result
= ((wxPyApp
const *)arg1
)->GetClassName();
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18910 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18911 PyObject
*resultobj
;
18912 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18913 wxString
*arg2
= 0 ;
18914 bool temp2
= False
;
18915 PyObject
* obj0
= 0 ;
18916 PyObject
* obj1
= 0 ;
18917 char *kwnames
[] = {
18918 (char *) "self",(char *) "name", NULL
18921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
18922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18924 arg2
= wxString_in_helper(obj1
);
18925 if (arg2
== NULL
) SWIG_fail
;
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18930 (arg1
)->SetClassName((wxString
const &)*arg2
);
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18935 Py_INCREF(Py_None
); resultobj
= Py_None
;
18950 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
;
18952 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18954 PyObject
* obj0
= 0 ;
18955 char *kwnames
[] = {
18956 (char *) "self", NULL
18959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
18960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
18965 result
= (wxString
*) &_result_ref
;
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18973 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18975 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18984 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18987 wxString
*arg2
= 0 ;
18988 bool temp2
= False
;
18989 PyObject
* obj0
= 0 ;
18990 PyObject
* obj1
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "self",(char *) "name", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
18996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18998 arg2
= wxString_in_helper(obj1
);
18999 if (arg2
== NULL
) SWIG_fail
;
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 Py_INCREF(Py_None
); resultobj
= Py_None
;
19024 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
;
19026 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19027 wxAppTraits
*result
;
19028 PyObject
* obj0
= 0 ;
19029 char *kwnames
[] = {
19030 (char *) "self", NULL
19033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19037 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
19049 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
;
19051 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19052 PyObject
* obj0
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19061 (arg1
)->ProcessPendingEvents();
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 Py_INCREF(Py_None
); resultobj
= Py_None
;
19073 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19074 PyObject
*resultobj
;
19075 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19076 bool arg2
= (bool) False
;
19078 PyObject
* obj0
= 0 ;
19079 PyObject
* obj1
= 0 ;
19080 char *kwnames
[] = {
19081 (char *) "self",(char *) "onlyIfNeeded", NULL
19084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19088 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 result
= (bool)(arg1
)->Yield(arg2
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19106 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19109 PyObject
* obj0
= 0 ;
19110 char *kwnames
[] = {
19111 (char *) "self", NULL
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 (arg1
)->WakeUpIdle();
19120 wxPyEndAllowThreads(__tstate
);
19121 if (PyErr_Occurred()) SWIG_fail
;
19123 Py_INCREF(Py_None
); resultobj
= Py_None
;
19130 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 result
= (int)(arg1
)->MainLoop();
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19148 resultobj
= SWIG_PyObj_FromInt((int)result
);
19155 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
;
19157 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19158 PyObject
* obj0
= 0 ;
19159 char *kwnames
[] = {
19160 (char *) "self", NULL
19163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 Py_INCREF(Py_None
); resultobj
= Py_None
;
19179 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19182 PyObject
* obj0
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 (arg1
)->ExitMainLoop();
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 Py_INCREF(Py_None
); resultobj
= Py_None
;
19203 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19207 PyObject
* obj0
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "self", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 result
= (bool)(arg1
)->Pending();
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19228 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19232 PyObject
* obj0
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "self", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 result
= (bool)(arg1
)->Dispatch();
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19253 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
;
19255 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19257 PyObject
* obj0
= 0 ;
19258 char *kwnames
[] = {
19259 (char *) "self", NULL
19262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 result
= (bool)(arg1
)->ProcessIdle();
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19278 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19281 wxWindow
*arg2
= (wxWindow
*) 0 ;
19282 wxIdleEvent
*arg3
= 0 ;
19284 PyObject
* obj0
= 0 ;
19285 PyObject
* obj1
= 0 ;
19286 PyObject
* obj2
= 0 ;
19287 char *kwnames
[] = {
19288 (char *) "self",(char *) "win",(char *) "event", NULL
19291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19293 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19294 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19295 if (arg3
== NULL
) {
19296 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19312 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
;
19314 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19316 PyObject
* obj0
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19327 wxPyEndAllowThreads(__tstate
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19337 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19338 PyObject
*resultobj
;
19339 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19340 wxWindow
*arg2
= (wxWindow
*) 0 ;
19341 PyObject
* obj0
= 0 ;
19342 PyObject
* obj1
= 0 ;
19343 char *kwnames
[] = {
19344 (char *) "self",(char *) "win", NULL
19347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19349 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 (arg1
)->SetTopWindow(arg2
);
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19357 Py_INCREF(Py_None
); resultobj
= Py_None
;
19364 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19368 PyObject
* obj0
= 0 ;
19369 char *kwnames
[] = {
19370 (char *) "self", NULL
19373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= wxPyMake_wxObject(result
);
19391 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
;
19393 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 char *kwnames
[] = {
19398 (char *) "self",(char *) "flag", NULL
19401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
19402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19404 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 (arg1
)->SetExitOnFrameDelete(arg2
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 Py_INCREF(Py_None
); resultobj
= Py_None
;
19421 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19425 PyObject
* obj0
= 0 ;
19426 char *kwnames
[] = {
19427 (char *) "self", NULL
19430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
19431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19446 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self",(char *) "flag", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
19457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19459 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 (arg1
)->SetUseBestVisual(arg2
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 Py_INCREF(Py_None
); resultobj
= Py_None
;
19476 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19477 PyObject
*resultobj
;
19478 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19480 PyObject
* obj0
= 0 ;
19481 char *kwnames
[] = {
19482 (char *) "self", NULL
19485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
19486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19501 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 char *kwnames
[] = {
19508 (char *) "self",(char *) "mode", NULL
19511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19514 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 (arg1
)->SetPrintMode(arg2
);
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19524 Py_INCREF(Py_None
); resultobj
= Py_None
;
19531 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19535 PyObject
* obj0
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= SWIG_PyObj_FromInt((int)result
);
19556 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
;
19558 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19560 PyObject
* obj0
= 0 ;
19561 PyObject
* obj1
= 0 ;
19562 char *kwnames
[] = {
19563 (char *) "self",(char *) "mode", NULL
19566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19569 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 (arg1
)->SetAssertMode(arg2
);
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19579 Py_INCREF(Py_None
); resultobj
= Py_None
;
19586 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
;
19588 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19590 PyObject
* obj0
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
19596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 result
= (int)(arg1
)->GetAssertMode();
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= SWIG_PyObj_FromInt((int)result
);
19611 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
;
19614 char *kwnames
[] = {
19618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19633 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19636 char *kwnames
[] = {
19640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 result
= (long)wxPyApp::GetMacAboutMenuItemId();
19645 wxPyEndAllowThreads(__tstate
);
19646 if (PyErr_Occurred()) SWIG_fail
;
19648 resultobj
= SWIG_PyObj_FromLong((long)result
);
19655 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19656 PyObject
*resultobj
;
19658 char *kwnames
[] = {
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= SWIG_PyObj_FromLong((long)result
);
19677 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19680 char *kwnames
[] = {
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 result
= (long)wxPyApp::GetMacExitMenuItemId();
19689 wxPyEndAllowThreads(__tstate
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= SWIG_PyObj_FromLong((long)result
);
19699 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19700 PyObject
*resultobj
;
19702 char *kwnames
[] = {
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 result
= wxPyApp::GetMacHelpMenuTitleName();
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19727 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
;
19730 PyObject
* obj0
= 0 ;
19731 char *kwnames
[] = {
19732 (char *) "val", NULL
19735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
19737 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
19744 wxPyEndAllowThreads(__tstate
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19747 Py_INCREF(Py_None
); resultobj
= Py_None
;
19754 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
;
19757 PyObject
* obj0
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "val", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
19764 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 wxPyApp::SetMacAboutMenuItemId(arg1
);
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19774 Py_INCREF(Py_None
); resultobj
= Py_None
;
19781 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19784 PyObject
* obj0
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "val", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
19791 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 Py_INCREF(Py_None
); resultobj
= Py_None
;
19808 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19811 PyObject
* obj0
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "val", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
19818 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 wxPyApp::SetMacExitMenuItemId(arg1
);
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 Py_INCREF(Py_None
); resultobj
= Py_None
;
19835 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
;
19837 wxString
*arg1
= 0 ;
19838 bool temp1
= False
;
19839 PyObject
* obj0
= 0 ;
19840 char *kwnames
[] = {
19841 (char *) "val", NULL
19844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
19846 arg1
= wxString_in_helper(obj0
);
19847 if (arg1
== NULL
) SWIG_fail
;
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19857 Py_INCREF(Py_None
); resultobj
= Py_None
;
19872 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
;
19874 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19875 PyObject
* obj0
= 0 ;
19876 char *kwnames
[] = {
19877 (char *) "self", NULL
19880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
19881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 (arg1
)->_BootstrapApp();
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19889 Py_INCREF(Py_None
); resultobj
= Py_None
;
19896 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19897 PyObject
*resultobj
;
19899 char *kwnames
[] = {
19903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
19905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19906 result
= (int)PyApp_GetComCtl32Version();
19908 wxPyEndAllowThreads(__tstate
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19911 resultobj
= SWIG_PyObj_FromInt((int)result
);
19918 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
19920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19921 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
19923 return Py_BuildValue((char *)"");
19925 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 char *kwnames
[] = {
19931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19939 Py_INCREF(Py_None
); resultobj
= Py_None
;
19946 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
;
19949 char *kwnames
[] = {
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 result
= (bool)wxYield();
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19968 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19971 char *kwnames
[] = {
19975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 result
= (bool)wxYieldIfNeeded();
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19990 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxWindow
*arg1
= (wxWindow
*) NULL
;
19993 bool arg2
= (bool) False
;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "win",(char *) "onlyIfNeeded", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20007 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 result
= (bool)wxSafeYield(arg1
,arg2
);
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20025 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20026 PyObject
*resultobj
;
20027 char *kwnames
[] = {
20031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20039 Py_INCREF(Py_None
); resultobj
= Py_None
;
20046 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
;
20048 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20049 wxEvent
*arg2
= 0 ;
20050 PyObject
* obj0
= 0 ;
20051 PyObject
* obj1
= 0 ;
20052 char *kwnames
[] = {
20053 (char *) "dest",(char *) "event", NULL
20056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20058 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20059 if (arg2
== NULL
) {
20060 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20064 wxPostEvent(arg1
,*arg2
);
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20069 Py_INCREF(Py_None
); resultobj
= Py_None
;
20076 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20077 PyObject
*resultobj
;
20078 char *kwnames
[] = {
20082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 Py_INCREF(Py_None
); resultobj
= Py_None
;
20097 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
;
20100 char *kwnames
[] = {
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 result
= (wxPyApp
*)wxGetApp();
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20113 resultobj
= wxPyMake_wxObject(result
);
20121 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
;
20123 int arg1
= (int) 0 ;
20124 int arg2
= (int) 0 ;
20125 int arg3
= (int) 0 ;
20126 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20127 wxAcceleratorEntry
*result
;
20128 PyObject
* obj0
= 0 ;
20129 PyObject
* obj1
= 0 ;
20130 PyObject
* obj2
= 0 ;
20131 PyObject
* obj3
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20139 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20145 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20151 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20156 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20165 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
20172 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20173 PyObject
*resultobj
;
20174 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20175 PyObject
* obj0
= 0 ;
20176 char *kwnames
[] = {
20177 (char *) "self", NULL
20180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 Py_INCREF(Py_None
); resultobj
= Py_None
;
20196 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20202 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20203 PyObject
* obj0
= 0 ;
20204 PyObject
* obj1
= 0 ;
20205 PyObject
* obj2
= 0 ;
20206 PyObject
* obj3
= 0 ;
20207 PyObject
* obj4
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20215 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20219 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20223 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20227 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20231 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20236 Py_INCREF(Py_None
); resultobj
= Py_None
;
20243 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
;
20245 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20246 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20247 PyObject
* obj0
= 0 ;
20248 PyObject
* obj1
= 0 ;
20249 char *kwnames
[] = {
20250 (char *) "self",(char *) "item", NULL
20253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20258 (arg1
)->SetMenuItem(arg2
);
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 Py_INCREF(Py_None
); resultobj
= Py_None
;
20270 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
;
20272 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20273 wxMenuItem
*result
;
20274 PyObject
* obj0
= 0 ;
20275 char *kwnames
[] = {
20276 (char *) "self", NULL
20279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20289 resultobj
= wxPyMake_wxObject(result
);
20297 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20298 PyObject
*resultobj
;
20299 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20301 PyObject
* obj0
= 0 ;
20302 char *kwnames
[] = {
20303 (char *) "self", NULL
20306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 result
= (int)(arg1
)->GetFlags();
20312 wxPyEndAllowThreads(__tstate
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20315 resultobj
= SWIG_PyObj_FromInt((int)result
);
20322 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20323 PyObject
*resultobj
;
20324 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20326 PyObject
* obj0
= 0 ;
20327 char *kwnames
[] = {
20328 (char *) "self", NULL
20331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 result
= (int)(arg1
)->GetKeyCode();
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 resultobj
= SWIG_PyObj_FromInt((int)result
);
20347 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20349 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20351 PyObject
* obj0
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= (int)(arg1
)->GetCommand();
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20365 resultobj
= SWIG_PyObj_FromInt((int)result
);
20372 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20375 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20377 return Py_BuildValue((char *)"");
20379 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20382 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20383 wxAcceleratorTable
*result
;
20384 PyObject
* obj0
= 0 ;
20385 char *kwnames
[] = {
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20391 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20392 if (arg2
) arg1
= PyList_Size(obj0
);
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20402 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
20415 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
;
20417 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20418 PyObject
* obj0
= 0 ;
20419 char *kwnames
[] = {
20420 (char *) "self", NULL
20423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 Py_INCREF(Py_None
); resultobj
= Py_None
;
20439 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
;
20441 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20443 PyObject
* obj0
= 0 ;
20444 char *kwnames
[] = {
20445 (char *) "self", NULL
20448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
20449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20464 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
20466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20467 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
20469 return Py_BuildValue((char *)"");
20471 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
20472 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
20477 static PyObject
*_wrap_NullAcceleratorTable_get() {
20480 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
20485 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
;
20487 wxString
*arg1
= 0 ;
20488 wxAcceleratorEntry
*result
;
20489 bool temp1
= False
;
20490 PyObject
* obj0
= 0 ;
20491 char *kwnames
[] = {
20492 (char *) "label", NULL
20495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
20497 arg1
= wxString_in_helper(obj0
);
20498 if (arg1
== NULL
) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20508 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
20523 static int _wrap_PanelNameStr_set(PyObject
*) {
20524 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
20529 static PyObject
*_wrap_PanelNameStr_get() {
20534 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20536 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20543 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
;
20545 wxWindow
*arg1
= (wxWindow
*) 0 ;
20547 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20548 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20549 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20550 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20551 long arg5
= (long) 0 ;
20552 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20553 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20557 bool temp6
= False
;
20558 PyObject
* obj0
= 0 ;
20559 PyObject
* obj1
= 0 ;
20560 PyObject
* obj2
= 0 ;
20561 PyObject
* obj3
= 0 ;
20562 PyObject
* obj4
= 0 ;
20563 PyObject
* obj5
= 0 ;
20564 char *kwnames
[] = {
20565 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20571 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20577 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20583 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20588 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
20589 if (PyErr_Occurred()) SWIG_fail
;
20594 arg6
= wxString_in_helper(obj5
);
20595 if (arg6
== NULL
) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20607 resultobj
= wxPyMake_wxObject(result
);
20623 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20624 PyObject
*resultobj
;
20626 char *kwnames
[] = {
20630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= (wxWindow
*)new wxWindow();
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= wxPyMake_wxObject(result
);
20647 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20648 PyObject
*resultobj
;
20649 wxWindow
*arg1
= (wxWindow
*) 0 ;
20650 wxWindow
*arg2
= (wxWindow
*) 0 ;
20652 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20653 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20654 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20655 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20656 long arg6
= (long) 0 ;
20657 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20658 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20662 bool temp7
= False
;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20665 PyObject
* obj2
= 0 ;
20666 PyObject
* obj3
= 0 ;
20667 PyObject
* obj4
= 0 ;
20668 PyObject
* obj5
= 0 ;
20669 PyObject
* obj6
= 0 ;
20670 char *kwnames
[] = {
20671 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20676 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20678 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20684 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20690 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20695 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20696 if (PyErr_Occurred()) SWIG_fail
;
20701 arg7
= wxString_in_helper(obj6
);
20702 if (arg7
== NULL
) SWIG_fail
;
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20708 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20728 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxWindow
*arg1
= (wxWindow
*) 0 ;
20731 bool arg2
= (bool) False
;
20733 PyObject
* obj0
= 0 ;
20734 PyObject
* obj1
= 0 ;
20735 char *kwnames
[] = {
20736 (char *) "self",(char *) "force", NULL
20739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
20740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20743 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 result
= (bool)(arg1
)->Close(arg2
);
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20761 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20762 PyObject
*resultobj
;
20763 wxWindow
*arg1
= (wxWindow
*) 0 ;
20765 PyObject
* obj0
= 0 ;
20766 char *kwnames
[] = {
20767 (char *) "self", NULL
20770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
20771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 result
= (bool)(arg1
)->Destroy();
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20786 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20788 wxWindow
*arg1
= (wxWindow
*) 0 ;
20790 PyObject
* obj0
= 0 ;
20791 char *kwnames
[] = {
20792 (char *) "self", NULL
20795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
20796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (bool)(arg1
)->DestroyChildren();
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20811 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 wxWindow
*arg1
= (wxWindow
*) 0 ;
20815 PyObject
* obj0
= 0 ;
20816 char *kwnames
[] = {
20817 (char *) "self", NULL
20820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
20821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20836 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20838 wxWindow
*arg1
= (wxWindow
*) 0 ;
20839 wxString
*arg2
= 0 ;
20840 bool temp2
= False
;
20841 PyObject
* obj0
= 0 ;
20842 PyObject
* obj1
= 0 ;
20843 char *kwnames
[] = {
20844 (char *) "self",(char *) "title", NULL
20847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
20848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20850 arg2
= wxString_in_helper(obj1
);
20851 if (arg2
== NULL
) SWIG_fail
;
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 (arg1
)->SetTitle((wxString
const &)*arg2
);
20858 wxPyEndAllowThreads(__tstate
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20861 Py_INCREF(Py_None
); resultobj
= Py_None
;
20876 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20877 PyObject
*resultobj
;
20878 wxWindow
*arg1
= (wxWindow
*) 0 ;
20880 PyObject
* obj0
= 0 ;
20881 char *kwnames
[] = {
20882 (char *) "self", NULL
20885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
20886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 result
= ((wxWindow
const *)arg1
)->GetTitle();
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20907 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxWindow
*arg1
= (wxWindow
*) 0 ;
20910 wxString
*arg2
= 0 ;
20911 bool temp2
= False
;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self",(char *) "label", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20921 arg2
= wxString_in_helper(obj1
);
20922 if (arg2
== NULL
) SWIG_fail
;
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 (arg1
)->SetLabel((wxString
const &)*arg2
);
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20932 Py_INCREF(Py_None
); resultobj
= Py_None
;
20947 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20948 PyObject
*resultobj
;
20949 wxWindow
*arg1
= (wxWindow
*) 0 ;
20951 PyObject
* obj0
= 0 ;
20952 char *kwnames
[] = {
20953 (char *) "self", NULL
20956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
20957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= ((wxWindow
const *)arg1
)->GetLabel();
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20978 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
;
20980 wxWindow
*arg1
= (wxWindow
*) 0 ;
20981 wxString
*arg2
= 0 ;
20982 bool temp2
= False
;
20983 PyObject
* obj0
= 0 ;
20984 PyObject
* obj1
= 0 ;
20985 char *kwnames
[] = {
20986 (char *) "self",(char *) "name", NULL
20989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
20990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20992 arg2
= wxString_in_helper(obj1
);
20993 if (arg2
== NULL
) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 (arg1
)->SetName((wxString
const &)*arg2
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 Py_INCREF(Py_None
); resultobj
= Py_None
;
21018 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
;
21020 wxWindow
*arg1
= (wxWindow
*) 0 ;
21022 PyObject
* obj0
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 result
= ((wxWindow
const *)arg1
)->GetName();
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21049 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxWindow
*arg1
= (wxWindow
*) 0 ;
21053 PyObject
* obj0
= 0 ;
21054 PyObject
* obj1
= 0 ;
21055 char *kwnames
[] = {
21056 (char *) "self",(char *) "winid", NULL
21059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21062 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 (arg1
)->SetId(arg2
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 Py_INCREF(Py_None
); resultobj
= Py_None
;
21079 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
;
21081 wxWindow
*arg1
= (wxWindow
*) 0 ;
21083 PyObject
* obj0
= 0 ;
21084 char *kwnames
[] = {
21085 (char *) "self", NULL
21088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= (int)((wxWindow
const *)arg1
)->GetId();
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= SWIG_PyObj_FromInt((int)result
);
21104 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
;
21107 char *kwnames
[] = {
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 result
= (int)wxWindow::NewControlId();
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21119 resultobj
= SWIG_PyObj_FromInt((int)result
);
21126 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21130 PyObject
* obj0
= 0 ;
21131 char *kwnames
[] = {
21132 (char *) "winid", NULL
21135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21137 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 result
= (int)wxWindow::NextControlId(arg1
);
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 resultobj
= SWIG_PyObj_FromInt((int)result
);
21154 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
;
21158 PyObject
* obj0
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "winid", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
21165 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 result
= (int)wxWindow::PrevControlId(arg1
);
21172 wxPyEndAllowThreads(__tstate
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21175 resultobj
= SWIG_PyObj_FromInt((int)result
);
21182 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
;
21184 wxWindow
*arg1
= (wxWindow
*) 0 ;
21187 PyObject
* obj0
= 0 ;
21188 PyObject
* obj1
= 0 ;
21189 char *kwnames
[] = {
21190 (char *) "self",(char *) "size", NULL
21193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21197 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 (arg1
)->SetSize((wxSize
const &)*arg2
);
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 Py_INCREF(Py_None
); resultobj
= Py_None
;
21213 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21214 PyObject
*resultobj
;
21215 wxWindow
*arg1
= (wxWindow
*) 0 ;
21220 int arg6
= (int) wxSIZE_AUTO
;
21221 PyObject
* obj0
= 0 ;
21222 PyObject
* obj1
= 0 ;
21223 PyObject
* obj2
= 0 ;
21224 PyObject
* obj3
= 0 ;
21225 PyObject
* obj4
= 0 ;
21226 PyObject
* obj5
= 0 ;
21227 char *kwnames
[] = {
21228 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21234 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21238 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21242 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21246 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21251 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 Py_INCREF(Py_None
); resultobj
= Py_None
;
21269 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 wxWindow
*arg1
= (wxWindow
*) 0 ;
21273 int arg3
= (int) wxSIZE_AUTO
;
21275 PyObject
* obj0
= 0 ;
21276 PyObject
* obj1
= 0 ;
21277 PyObject
* obj2
= 0 ;
21278 char *kwnames
[] = {
21279 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21286 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21290 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21301 Py_INCREF(Py_None
); resultobj
= Py_None
;
21308 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxWindow
*arg1
= (wxWindow
*) 0 ;
21313 PyObject
* obj0
= 0 ;
21314 PyObject
* obj1
= 0 ;
21315 PyObject
* obj2
= 0 ;
21316 char *kwnames
[] = {
21317 (char *) "self",(char *) "width",(char *) "height", NULL
21320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21323 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21327 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 (arg1
)->SetSize(arg2
,arg3
);
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21337 Py_INCREF(Py_None
); resultobj
= Py_None
;
21344 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21345 PyObject
*resultobj
;
21346 wxWindow
*arg1
= (wxWindow
*) 0 ;
21347 wxPoint
*arg2
= 0 ;
21348 int arg3
= (int) wxSIZE_USE_EXISTING
;
21350 PyObject
* obj0
= 0 ;
21351 PyObject
* obj1
= 0 ;
21352 PyObject
* obj2
= 0 ;
21353 char *kwnames
[] = {
21354 (char *) "self",(char *) "pt",(char *) "flags", NULL
21357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21361 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21365 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
21373 wxPyEndAllowThreads(__tstate
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21376 Py_INCREF(Py_None
); resultobj
= Py_None
;
21383 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
;
21385 wxWindow
*arg1
= (wxWindow
*) 0 ;
21388 int arg4
= (int) wxSIZE_USE_EXISTING
;
21389 PyObject
* obj0
= 0 ;
21390 PyObject
* obj1
= 0 ;
21391 PyObject
* obj2
= 0 ;
21392 PyObject
* obj3
= 0 ;
21393 char *kwnames
[] = {
21394 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
21397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21400 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21404 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21409 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 (arg1
)->Move(arg2
,arg3
,arg4
);
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 Py_INCREF(Py_None
); resultobj
= Py_None
;
21427 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
;
21429 wxWindow
*arg1
= (wxWindow
*) 0 ;
21430 PyObject
* obj0
= 0 ;
21431 char *kwnames
[] = {
21432 (char *) "self", NULL
21435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
21436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21444 Py_INCREF(Py_None
); resultobj
= Py_None
;
21451 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
;
21453 wxWindow
*arg1
= (wxWindow
*) 0 ;
21454 PyObject
* obj0
= 0 ;
21455 char *kwnames
[] = {
21456 (char *) "self", NULL
21459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
21460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 Py_INCREF(Py_None
); resultobj
= Py_None
;
21475 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
;
21477 wxWindow
*arg1
= (wxWindow
*) 0 ;
21480 PyObject
* obj0
= 0 ;
21481 PyObject
* obj1
= 0 ;
21482 char *kwnames
[] = {
21483 (char *) "self",(char *) "size", NULL
21486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21490 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21499 Py_INCREF(Py_None
); resultobj
= Py_None
;
21506 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
;
21508 wxWindow
*arg1
= (wxWindow
*) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 PyObject
* obj1
= 0 ;
21513 PyObject
* obj2
= 0 ;
21514 char *kwnames
[] = {
21515 (char *) "self",(char *) "width",(char *) "height", NULL
21518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21521 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21525 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 (arg1
)->SetClientSize(arg2
,arg3
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 Py_INCREF(Py_None
); resultobj
= Py_None
;
21542 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
;
21544 wxWindow
*arg1
= (wxWindow
*) 0 ;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 char *kwnames
[] = {
21550 (char *) "self",(char *) "rect", NULL
21553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
21554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21557 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 Py_INCREF(Py_None
); resultobj
= Py_None
;
21573 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21574 PyObject
*resultobj
;
21575 wxWindow
*arg1
= (wxWindow
*) 0 ;
21577 PyObject
* obj0
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
21583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 result
= (arg1
)->GetPosition();
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21592 wxPoint
* resultptr
;
21593 resultptr
= new wxPoint((wxPoint
&) result
);
21594 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21602 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21603 PyObject
*resultobj
;
21604 wxWindow
*arg1
= (wxWindow
*) 0 ;
21605 int *arg2
= (int *) 0 ;
21606 int *arg3
= (int *) 0 ;
21609 PyObject
* obj0
= 0 ;
21610 char *kwnames
[] = {
21611 (char *) "self", NULL
21616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
21617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 (arg1
)->GetPosition(arg2
,arg3
);
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 Py_INCREF(Py_None
); resultobj
= Py_None
;
21627 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21628 resultobj
= t_output_helper(resultobj
,o
);
21631 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21632 resultobj
= t_output_helper(resultobj
,o
);
21640 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
;
21642 wxWindow
*arg1
= (wxWindow
*) 0 ;
21644 PyObject
* obj0
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
21650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21653 result
= ((wxWindow
const *)arg1
)->GetSize();
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21659 wxSize
* resultptr
;
21660 resultptr
= new wxSize((wxSize
&) result
);
21661 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21669 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
;
21671 wxWindow
*arg1
= (wxWindow
*) 0 ;
21672 int *arg2
= (int *) 0 ;
21673 int *arg3
= (int *) 0 ;
21676 PyObject
* obj0
= 0 ;
21677 char *kwnames
[] = {
21678 (char *) "self", NULL
21683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
21684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21692 Py_INCREF(Py_None
); resultobj
= Py_None
;
21694 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21695 resultobj
= t_output_helper(resultobj
,o
);
21698 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21699 resultobj
= t_output_helper(resultobj
,o
);
21707 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
;
21709 wxWindow
*arg1
= (wxWindow
*) 0 ;
21711 PyObject
* obj0
= 0 ;
21712 char *kwnames
[] = {
21713 (char *) "self", NULL
21716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
21717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 result
= ((wxWindow
const *)arg1
)->GetRect();
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21726 wxRect
* resultptr
;
21727 resultptr
= new wxRect((wxRect
&) result
);
21728 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
21736 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
;
21738 wxWindow
*arg1
= (wxWindow
*) 0 ;
21740 PyObject
* obj0
= 0 ;
21741 char *kwnames
[] = {
21742 (char *) "self", NULL
21745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
21746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21749 result
= ((wxWindow
const *)arg1
)->GetClientSize();
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21755 wxSize
* resultptr
;
21756 resultptr
= new wxSize((wxSize
&) result
);
21757 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21765 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
;
21767 wxWindow
*arg1
= (wxWindow
*) 0 ;
21768 int *arg2
= (int *) 0 ;
21769 int *arg3
= (int *) 0 ;
21772 PyObject
* obj0
= 0 ;
21773 char *kwnames
[] = {
21774 (char *) "self", NULL
21779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
21780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 Py_INCREF(Py_None
); resultobj
= Py_None
;
21790 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21791 resultobj
= t_output_helper(resultobj
,o
);
21794 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21795 resultobj
= t_output_helper(resultobj
,o
);
21803 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21805 wxWindow
*arg1
= (wxWindow
*) 0 ;
21807 PyObject
* obj0
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
21813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21822 wxPoint
* resultptr
;
21823 resultptr
= new wxPoint((wxPoint
&) result
);
21824 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21832 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
;
21834 wxWindow
*arg1
= (wxWindow
*) 0 ;
21836 PyObject
* obj0
= 0 ;
21837 char *kwnames
[] = {
21838 (char *) "self", NULL
21841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
21842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 result
= ((wxWindow
const *)arg1
)->GetClientRect();
21847 wxPyEndAllowThreads(__tstate
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21851 wxRect
* resultptr
;
21852 resultptr
= new wxRect((wxRect
&) result
);
21853 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
21861 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21863 wxWindow
*arg1
= (wxWindow
*) 0 ;
21865 PyObject
* obj0
= 0 ;
21866 char *kwnames
[] = {
21867 (char *) "self", NULL
21870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
21871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21874 result
= ((wxWindow
const *)arg1
)->GetBestSize();
21876 wxPyEndAllowThreads(__tstate
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21880 wxSize
* resultptr
;
21881 resultptr
= new wxSize((wxSize
&) result
);
21882 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21890 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21891 PyObject
*resultobj
;
21892 wxWindow
*arg1
= (wxWindow
*) 0 ;
21893 int *arg2
= (int *) 0 ;
21894 int *arg3
= (int *) 0 ;
21897 PyObject
* obj0
= 0 ;
21898 char *kwnames
[] = {
21899 (char *) "self", NULL
21904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
21905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21908 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21913 Py_INCREF(Py_None
); resultobj
= Py_None
;
21915 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21916 resultobj
= t_output_helper(resultobj
,o
);
21919 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21920 resultobj
= t_output_helper(resultobj
,o
);
21928 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21929 PyObject
*resultobj
;
21930 wxWindow
*arg1
= (wxWindow
*) 0 ;
21932 PyObject
* obj0
= 0 ;
21933 char *kwnames
[] = {
21934 (char *) "self", NULL
21937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
21938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21947 wxSize
* resultptr
;
21948 resultptr
= new wxSize((wxSize
&) result
);
21949 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21957 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21958 PyObject
*resultobj
;
21959 wxWindow
*arg1
= (wxWindow
*) 0 ;
21960 int arg2
= (int) wxBOTH
;
21961 PyObject
* obj0
= 0 ;
21962 PyObject
* obj1
= 0 ;
21963 char *kwnames
[] = {
21964 (char *) "self",(char *) "direction", NULL
21967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
21968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21971 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 (arg1
)->Center(arg2
);
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21982 Py_INCREF(Py_None
); resultobj
= Py_None
;
21989 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
;
21991 wxWindow
*arg1
= (wxWindow
*) 0 ;
21992 int arg2
= (int) wxBOTH
;
21993 PyObject
* obj0
= 0 ;
21994 PyObject
* obj1
= 0 ;
21995 char *kwnames
[] = {
21996 (char *) "self",(char *) "dir", NULL
21999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22003 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 (arg1
)->CenterOnScreen(arg2
);
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 Py_INCREF(Py_None
); resultobj
= Py_None
;
22021 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxWindow
*arg1
= (wxWindow
*) 0 ;
22024 int arg2
= (int) wxBOTH
;
22025 PyObject
* obj0
= 0 ;
22026 PyObject
* obj1
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self",(char *) "dir", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22035 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 (arg1
)->CenterOnParent(arg2
);
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 Py_INCREF(Py_None
); resultobj
= Py_None
;
22053 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
;
22055 wxWindow
*arg1
= (wxWindow
*) 0 ;
22056 PyObject
* obj0
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "self", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 Py_INCREF(Py_None
); resultobj
= Py_None
;
22077 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22078 PyObject
*resultobj
;
22079 wxWindow
*arg1
= (wxWindow
*) 0 ;
22080 PyObject
* obj0
= 0 ;
22081 char *kwnames
[] = {
22082 (char *) "self", NULL
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 (arg1
)->FitInside();
22091 wxPyEndAllowThreads(__tstate
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22094 Py_INCREF(Py_None
); resultobj
= Py_None
;
22101 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxWindow
*arg1
= (wxWindow
*) 0 ;
22106 int arg4
= (int) -1 ;
22107 int arg5
= (int) -1 ;
22108 int arg6
= (int) -1 ;
22109 int arg7
= (int) -1 ;
22110 PyObject
* obj0
= 0 ;
22111 PyObject
* obj1
= 0 ;
22112 PyObject
* obj2
= 0 ;
22113 PyObject
* obj3
= 0 ;
22114 PyObject
* obj4
= 0 ;
22115 PyObject
* obj5
= 0 ;
22116 PyObject
* obj6
= 0 ;
22117 char *kwnames
[] = {
22118 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22124 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22128 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22133 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22139 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22145 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22151 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 Py_INCREF(Py_None
); resultobj
= Py_None
;
22169 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxWindow
*arg1
= (wxWindow
*) 0 ;
22174 int arg4
= (int) -1 ;
22175 int arg5
= (int) -1 ;
22176 PyObject
* obj0
= 0 ;
22177 PyObject
* obj1
= 0 ;
22178 PyObject
* obj2
= 0 ;
22179 PyObject
* obj3
= 0 ;
22180 PyObject
* obj4
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22188 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22192 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22197 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22203 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
22211 wxPyEndAllowThreads(__tstate
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22214 Py_INCREF(Py_None
); resultobj
= Py_None
;
22221 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22222 PyObject
*resultobj
;
22223 wxWindow
*arg1
= (wxWindow
*) 0 ;
22225 PyObject
* obj0
= 0 ;
22226 char *kwnames
[] = {
22227 (char *) "self", NULL
22230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
22231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22239 resultobj
= SWIG_PyObj_FromInt((int)result
);
22246 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22247 PyObject
*resultobj
;
22248 wxWindow
*arg1
= (wxWindow
*) 0 ;
22250 PyObject
* obj0
= 0 ;
22251 char *kwnames
[] = {
22252 (char *) "self", NULL
22255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
22256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
22261 wxPyEndAllowThreads(__tstate
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= SWIG_PyObj_FromInt((int)result
);
22271 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22272 PyObject
*resultobj
;
22273 wxWindow
*arg1
= (wxWindow
*) 0 ;
22275 PyObject
* obj0
= 0 ;
22276 char *kwnames
[] = {
22277 (char *) "self", NULL
22280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
22281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= SWIG_PyObj_FromInt((int)result
);
22296 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
;
22298 wxWindow
*arg1
= (wxWindow
*) 0 ;
22300 PyObject
* obj0
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "self", NULL
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
22306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= SWIG_PyObj_FromInt((int)result
);
22321 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
;
22323 wxWindow
*arg1
= (wxWindow
*) 0 ;
22325 PyObject
* obj0
= 0 ;
22326 char *kwnames
[] = {
22327 (char *) "self", NULL
22330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
22331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22340 wxSize
* resultptr
;
22341 resultptr
= new wxSize((wxSize
&) result
);
22342 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22350 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22351 PyObject
*resultobj
;
22352 wxWindow
*arg1
= (wxWindow
*) 0 ;
22355 PyObject
* obj0
= 0 ;
22356 PyObject
* obj1
= 0 ;
22357 char *kwnames
[] = {
22358 (char *) "self",(char *) "size", NULL
22361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22365 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
22371 wxPyEndAllowThreads(__tstate
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22374 Py_INCREF(Py_None
); resultobj
= Py_None
;
22381 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22382 PyObject
*resultobj
;
22383 wxWindow
*arg1
= (wxWindow
*) 0 ;
22386 PyObject
* obj0
= 0 ;
22387 PyObject
* obj1
= 0 ;
22388 PyObject
* obj2
= 0 ;
22389 char *kwnames
[] = {
22390 (char *) "self",(char *) "w",(char *) "h", NULL
22393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22396 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22400 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 (arg1
)->SetVirtualSize(arg2
,arg3
);
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 Py_INCREF(Py_None
); resultobj
= Py_None
;
22417 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
;
22419 wxWindow
*arg1
= (wxWindow
*) 0 ;
22421 PyObject
* obj0
= 0 ;
22422 char *kwnames
[] = {
22423 (char *) "self", NULL
22426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
22427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22430 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22436 wxSize
* resultptr
;
22437 resultptr
= new wxSize((wxSize
&) result
);
22438 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22446 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22447 PyObject
*resultobj
;
22448 wxWindow
*arg1
= (wxWindow
*) 0 ;
22449 int *arg2
= (int *) 0 ;
22450 int *arg3
= (int *) 0 ;
22453 PyObject
* obj0
= 0 ;
22454 char *kwnames
[] = {
22455 (char *) "self", NULL
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
22461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 Py_INCREF(Py_None
); resultobj
= Py_None
;
22471 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22472 resultobj
= t_output_helper(resultobj
,o
);
22475 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22476 resultobj
= t_output_helper(resultobj
,o
);
22484 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22485 PyObject
*resultobj
;
22486 wxWindow
*arg1
= (wxWindow
*) 0 ;
22488 PyObject
* obj0
= 0 ;
22489 char *kwnames
[] = {
22490 (char *) "self", NULL
22493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
22494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22503 wxSize
* resultptr
;
22504 resultptr
= new wxSize((wxSize
&) result
);
22505 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22513 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22514 PyObject
*resultobj
;
22515 wxWindow
*arg1
= (wxWindow
*) 0 ;
22516 bool arg2
= (bool) True
;
22518 PyObject
* obj0
= 0 ;
22519 PyObject
* obj1
= 0 ;
22520 char *kwnames
[] = {
22521 (char *) "self",(char *) "show", NULL
22524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
22525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22528 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 result
= (bool)(arg1
)->Show(arg2
);
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22546 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxWindow
*arg1
= (wxWindow
*) 0 ;
22550 PyObject
* obj0
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
22556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 result
= (bool)(arg1
)->Hide();
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22571 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxWindow
*arg1
= (wxWindow
*) 0 ;
22574 bool arg2
= (bool) True
;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 char *kwnames
[] = {
22579 (char *) "self",(char *) "enable", NULL
22582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
22583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22586 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22592 result
= (bool)(arg1
)->Enable(arg2
);
22594 wxPyEndAllowThreads(__tstate
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22604 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
;
22606 wxWindow
*arg1
= (wxWindow
*) 0 ;
22608 PyObject
* obj0
= 0 ;
22609 char *kwnames
[] = {
22610 (char *) "self", NULL
22613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
22614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 result
= (bool)(arg1
)->Disable();
22619 wxPyEndAllowThreads(__tstate
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22629 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22630 PyObject
*resultobj
;
22631 wxWindow
*arg1
= (wxWindow
*) 0 ;
22633 PyObject
* obj0
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "self", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
22639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22654 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
;
22656 wxWindow
*arg1
= (wxWindow
*) 0 ;
22658 PyObject
* obj0
= 0 ;
22659 char *kwnames
[] = {
22660 (char *) "self", NULL
22663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
22664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22679 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22680 PyObject
*resultobj
;
22681 wxWindow
*arg1
= (wxWindow
*) 0 ;
22683 PyObject
* obj0
= 0 ;
22684 PyObject
* obj1
= 0 ;
22685 char *kwnames
[] = {
22686 (char *) "self",(char *) "style", NULL
22689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22692 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 (arg1
)->SetWindowStyleFlag(arg2
);
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 Py_INCREF(Py_None
); resultobj
= Py_None
;
22709 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22711 wxWindow
*arg1
= (wxWindow
*) 0 ;
22713 PyObject
* obj0
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
22719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22727 resultobj
= SWIG_PyObj_FromLong((long)result
);
22734 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22736 wxWindow
*arg1
= (wxWindow
*) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 PyObject
* obj1
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self",(char *) "style", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
22745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22747 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 (arg1
)->SetWindowStyle(arg2
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 Py_INCREF(Py_None
); resultobj
= Py_None
;
22764 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22765 PyObject
*resultobj
;
22766 wxWindow
*arg1
= (wxWindow
*) 0 ;
22768 PyObject
* obj0
= 0 ;
22769 char *kwnames
[] = {
22770 (char *) "self", NULL
22773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
22774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22782 resultobj
= SWIG_PyObj_FromLong((long)result
);
22789 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
;
22791 wxWindow
*arg1
= (wxWindow
*) 0 ;
22794 PyObject
* obj0
= 0 ;
22795 PyObject
* obj1
= 0 ;
22796 char *kwnames
[] = {
22797 (char *) "self",(char *) "flag", NULL
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22803 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22820 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxWindow
*arg1
= (wxWindow
*) 0 ;
22824 PyObject
* obj0
= 0 ;
22825 char *kwnames
[] = {
22826 (char *) "self", NULL
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
22830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22845 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxWindow
*arg1
= (wxWindow
*) 0 ;
22849 PyObject
* obj0
= 0 ;
22850 PyObject
* obj1
= 0 ;
22851 char *kwnames
[] = {
22852 (char *) "self",(char *) "exStyle", NULL
22855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
22856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22858 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 (arg1
)->SetExtraStyle(arg2
);
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 Py_INCREF(Py_None
); resultobj
= Py_None
;
22875 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
;
22877 wxWindow
*arg1
= (wxWindow
*) 0 ;
22879 PyObject
* obj0
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "self", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
22885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 resultobj
= SWIG_PyObj_FromLong((long)result
);
22900 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22901 PyObject
*resultobj
;
22902 wxWindow
*arg1
= (wxWindow
*) 0 ;
22903 bool arg2
= (bool) True
;
22904 PyObject
* obj0
= 0 ;
22905 PyObject
* obj1
= 0 ;
22906 char *kwnames
[] = {
22907 (char *) "self",(char *) "modal", NULL
22910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
22911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22914 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 (arg1
)->MakeModal(arg2
);
22922 wxPyEndAllowThreads(__tstate
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22925 Py_INCREF(Py_None
); resultobj
= Py_None
;
22932 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22933 PyObject
*resultobj
;
22934 wxWindow
*arg1
= (wxWindow
*) 0 ;
22936 PyObject
* obj0
= 0 ;
22937 PyObject
* obj1
= 0 ;
22938 char *kwnames
[] = {
22939 (char *) "self",(char *) "enableTheme", NULL
22942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
22943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22945 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 (arg1
)->SetThemeEnabled(arg2
);
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 Py_INCREF(Py_None
); resultobj
= Py_None
;
22962 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
;
22964 wxWindow
*arg1
= (wxWindow
*) 0 ;
22966 PyObject
* obj0
= 0 ;
22967 char *kwnames
[] = {
22968 (char *) "self", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
22972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22987 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22988 PyObject
*resultobj
;
22989 wxWindow
*arg1
= (wxWindow
*) 0 ;
22991 PyObject
* obj0
= 0 ;
22992 char *kwnames
[] = {
22993 (char *) "self", NULL
22996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
22997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23012 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
;
23014 wxWindow
*arg1
= (wxWindow
*) 0 ;
23015 PyObject
* obj0
= 0 ;
23016 char *kwnames
[] = {
23017 (char *) "self", NULL
23020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
23021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 (arg1
)->SetFocus();
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23029 Py_INCREF(Py_None
); resultobj
= Py_None
;
23036 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23037 PyObject
*resultobj
;
23038 wxWindow
*arg1
= (wxWindow
*) 0 ;
23039 PyObject
* obj0
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
23045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 (arg1
)->SetFocusFromKbd();
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 Py_INCREF(Py_None
); resultobj
= Py_None
;
23060 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23063 char *kwnames
[] = {
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 result
= (wxWindow
*)wxWindow::FindFocus();
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23076 resultobj
= wxPyMake_wxObject(result
);
23084 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxWindow
*arg1
= (wxWindow
*) 0 ;
23088 PyObject
* obj0
= 0 ;
23089 char *kwnames
[] = {
23090 (char *) "self", NULL
23093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
23094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
23099 wxPyEndAllowThreads(__tstate
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23109 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23110 PyObject
*resultobj
;
23111 wxWindow
*arg1
= (wxWindow
*) 0 ;
23113 PyObject
* obj0
= 0 ;
23114 char *kwnames
[] = {
23115 (char *) "self", NULL
23118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
23119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
23124 wxPyEndAllowThreads(__tstate
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23134 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23136 wxWindow
*arg1
= (wxWindow
*) 0 ;
23138 PyObject
* obj0
= 0 ;
23139 char *kwnames
[] = {
23140 (char *) "self", NULL
23143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
23144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
23149 wxPyEndAllowThreads(__tstate
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23153 resultobj
= wxPyMake_wxObject(result
);
23161 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23162 PyObject
*resultobj
;
23163 wxWindow
*arg1
= (wxWindow
*) 0 ;
23164 wxWindow
*arg2
= (wxWindow
*) 0 ;
23166 PyObject
* obj0
= 0 ;
23167 PyObject
* obj1
= 0 ;
23168 char *kwnames
[] = {
23169 (char *) "self",(char *) "child", NULL
23172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23174 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23177 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
23179 wxPyEndAllowThreads(__tstate
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23183 resultobj
= wxPyMake_wxObject(result
);
23191 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23192 PyObject
*resultobj
;
23193 wxWindow
*arg1
= (wxWindow
*) 0 ;
23194 wxWindow
*arg2
= (wxWindow
*) 0 ;
23195 PyObject
* obj0
= 0 ;
23196 PyObject
* obj1
= 0 ;
23197 char *kwnames
[] = {
23198 (char *) "self",(char *) "win", NULL
23201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23203 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23206 (arg1
)->SetTmpDefaultItem(arg2
);
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23211 Py_INCREF(Py_None
); resultobj
= Py_None
;
23218 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23219 PyObject
*resultobj
;
23220 wxWindow
*arg1
= (wxWindow
*) 0 ;
23222 PyObject
* obj0
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "self", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
23228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23231 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 resultobj
= result
;
23243 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
;
23245 wxWindow
*arg1
= (wxWindow
*) 0 ;
23247 PyObject
* obj0
= 0 ;
23248 char *kwnames
[] = {
23249 (char *) "self", NULL
23252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
23253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23262 resultobj
= wxPyMake_wxObject(result
);
23270 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23271 PyObject
*resultobj
;
23272 wxWindow
*arg1
= (wxWindow
*) 0 ;
23274 PyObject
* obj0
= 0 ;
23275 char *kwnames
[] = {
23276 (char *) "self", NULL
23279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
23280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23289 resultobj
= wxPyMake_wxObject(result
);
23297 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
;
23299 wxWindow
*arg1
= (wxWindow
*) 0 ;
23301 PyObject
* obj0
= 0 ;
23302 char *kwnames
[] = {
23303 (char *) "self", NULL
23306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
23307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23322 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
;
23324 wxWindow
*arg1
= (wxWindow
*) 0 ;
23325 wxWindow
*arg2
= (wxWindow
*) 0 ;
23327 PyObject
* obj0
= 0 ;
23328 PyObject
* obj1
= 0 ;
23329 char *kwnames
[] = {
23330 (char *) "self",(char *) "newParent", NULL
23333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
23334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23335 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23338 result
= (bool)(arg1
)->Reparent(arg2
);
23340 wxPyEndAllowThreads(__tstate
);
23341 if (PyErr_Occurred()) SWIG_fail
;
23343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23350 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23351 PyObject
*resultobj
;
23352 wxWindow
*arg1
= (wxWindow
*) 0 ;
23353 wxWindow
*arg2
= (wxWindow
*) 0 ;
23354 PyObject
* obj0
= 0 ;
23355 PyObject
* obj1
= 0 ;
23356 char *kwnames
[] = {
23357 (char *) "self",(char *) "child", NULL
23360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23362 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 (arg1
)->AddChild(arg2
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 Py_INCREF(Py_None
); resultobj
= Py_None
;
23377 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
;
23379 wxWindow
*arg1
= (wxWindow
*) 0 ;
23380 wxWindow
*arg2
= (wxWindow
*) 0 ;
23381 PyObject
* obj0
= 0 ;
23382 PyObject
* obj1
= 0 ;
23383 char *kwnames
[] = {
23384 (char *) "self",(char *) "child", NULL
23387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23389 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 (arg1
)->RemoveChild(arg2
);
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 Py_INCREF(Py_None
); resultobj
= Py_None
;
23404 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
;
23406 wxWindow
*arg1
= (wxWindow
*) 0 ;
23409 PyObject
* obj0
= 0 ;
23410 PyObject
* obj1
= 0 ;
23411 char *kwnames
[] = {
23412 (char *) "self",(char *) "winid", NULL
23415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
23416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23418 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
23425 wxPyEndAllowThreads(__tstate
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23429 resultobj
= wxPyMake_wxObject(result
);
23437 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
;
23439 wxWindow
*arg1
= (wxWindow
*) 0 ;
23440 wxString
*arg2
= 0 ;
23442 bool temp2
= False
;
23443 PyObject
* obj0
= 0 ;
23444 PyObject
* obj1
= 0 ;
23445 char *kwnames
[] = {
23446 (char *) "self",(char *) "name", NULL
23449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
23450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23452 arg2
= wxString_in_helper(obj1
);
23453 if (arg2
== NULL
) SWIG_fail
;
23457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23458 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
23460 wxPyEndAllowThreads(__tstate
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23464 resultobj
= wxPyMake_wxObject(result
);
23480 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxWindow
*arg1
= (wxWindow
*) 0 ;
23483 wxEvtHandler
*result
;
23484 PyObject
* obj0
= 0 ;
23485 char *kwnames
[] = {
23486 (char *) "self", NULL
23489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
23490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23493 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23499 resultobj
= wxPyMake_wxObject(result
);
23507 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23509 wxWindow
*arg1
= (wxWindow
*) 0 ;
23510 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 PyObject
* obj1
= 0 ;
23513 char *kwnames
[] = {
23514 (char *) "self",(char *) "handler", NULL
23517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23519 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 (arg1
)->SetEventHandler(arg2
);
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23527 Py_INCREF(Py_None
); resultobj
= Py_None
;
23534 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
;
23536 wxWindow
*arg1
= (wxWindow
*) 0 ;
23537 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self",(char *) "handler", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23546 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 (arg1
)->PushEventHandler(arg2
);
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 Py_INCREF(Py_None
); resultobj
= Py_None
;
23561 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
;
23563 wxWindow
*arg1
= (wxWindow
*) 0 ;
23564 bool arg2
= (bool) False
;
23565 wxEvtHandler
*result
;
23566 PyObject
* obj0
= 0 ;
23567 PyObject
* obj1
= 0 ;
23568 char *kwnames
[] = {
23569 (char *) "self",(char *) "deleteHandler", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23576 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23582 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23588 resultobj
= wxPyMake_wxObject(result
);
23596 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
;
23598 wxWindow
*arg1
= (wxWindow
*) 0 ;
23599 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23601 PyObject
* obj0
= 0 ;
23602 PyObject
* obj1
= 0 ;
23603 char *kwnames
[] = {
23604 (char *) "self",(char *) "handler", NULL
23607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23609 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23624 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
;
23626 wxWindow
*arg1
= (wxWindow
*) 0 ;
23627 wxValidator
*arg2
= 0 ;
23628 PyObject
* obj0
= 0 ;
23629 PyObject
* obj1
= 0 ;
23630 char *kwnames
[] = {
23631 (char *) "self",(char *) "validator", NULL
23634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
23635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23636 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23637 if (arg2
== NULL
) {
23638 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 Py_INCREF(Py_None
); resultobj
= Py_None
;
23654 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
;
23656 wxWindow
*arg1
= (wxWindow
*) 0 ;
23657 wxValidator
*result
;
23658 PyObject
* obj0
= 0 ;
23659 char *kwnames
[] = {
23660 (char *) "self", NULL
23663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
23664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 result
= (wxValidator
*)(arg1
)->GetValidator();
23669 wxPyEndAllowThreads(__tstate
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= wxPyMake_wxObject(result
);
23681 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxWindow
*arg1
= (wxWindow
*) 0 ;
23684 wxAcceleratorTable
*arg2
= 0 ;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self",(char *) "accel", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
23692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23693 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23694 if (arg2
== NULL
) {
23695 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 Py_INCREF(Py_None
); resultobj
= Py_None
;
23711 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
;
23713 wxWindow
*arg1
= (wxWindow
*) 0 ;
23714 wxAcceleratorTable
*result
;
23715 PyObject
* obj0
= 0 ;
23716 char *kwnames
[] = {
23717 (char *) "self", NULL
23720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
23721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23724 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
23736 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23737 PyObject
*resultobj
;
23738 wxWindow
*arg1
= (wxWindow
*) 0 ;
23743 PyObject
* obj0
= 0 ;
23744 PyObject
* obj1
= 0 ;
23745 PyObject
* obj2
= 0 ;
23746 PyObject
* obj3
= 0 ;
23747 char *kwnames
[] = {
23748 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
23751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23754 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23758 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23762 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23779 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23780 PyObject
*resultobj
;
23781 wxWindow
*arg1
= (wxWindow
*) 0 ;
23784 PyObject
* obj0
= 0 ;
23785 PyObject
* obj1
= 0 ;
23786 char *kwnames
[] = {
23787 (char *) "self",(char *) "hotkeyId", NULL
23790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
23791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23793 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
23800 wxPyEndAllowThreads(__tstate
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23810 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23811 PyObject
*resultobj
;
23812 wxWindow
*arg1
= (wxWindow
*) 0 ;
23813 wxPoint
*arg2
= 0 ;
23816 PyObject
* obj0
= 0 ;
23817 PyObject
* obj1
= 0 ;
23818 char *kwnames
[] = {
23819 (char *) "self",(char *) "pt", NULL
23822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
23823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23826 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23836 wxPoint
* resultptr
;
23837 resultptr
= new wxPoint((wxPoint
&) result
);
23838 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23846 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23847 PyObject
*resultobj
;
23848 wxWindow
*arg1
= (wxWindow
*) 0 ;
23852 PyObject
* obj0
= 0 ;
23853 PyObject
* obj1
= 0 ;
23854 char *kwnames
[] = {
23855 (char *) "self",(char *) "sz", NULL
23858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
23859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23862 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23866 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23872 wxSize
* resultptr
;
23873 resultptr
= new wxSize((wxSize
&) result
);
23874 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
23882 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
;
23884 wxWindow
*arg1
= (wxWindow
*) 0 ;
23885 wxPoint
*arg2
= 0 ;
23888 PyObject
* obj0
= 0 ;
23889 PyObject
* obj1
= 0 ;
23890 char *kwnames
[] = {
23891 (char *) "self",(char *) "pt", NULL
23894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
23895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23898 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23908 wxPoint
* resultptr
;
23909 resultptr
= new wxPoint((wxPoint
&) result
);
23910 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23918 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
;
23920 wxWindow
*arg1
= (wxWindow
*) 0 ;
23924 PyObject
* obj0
= 0 ;
23925 PyObject
* obj1
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "self",(char *) "sz", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23934 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23944 wxSize
* resultptr
;
23945 resultptr
= new wxSize((wxSize
&) result
);
23946 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
23954 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
;
23956 wxWindow
*arg1
= (wxWindow
*) 0 ;
23957 wxPoint
*arg2
= 0 ;
23960 PyObject
* obj0
= 0 ;
23961 PyObject
* obj1
= 0 ;
23962 char *kwnames
[] = {
23963 (char *) "self",(char *) "pt", NULL
23966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23970 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
23976 wxPyEndAllowThreads(__tstate
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23980 wxPoint
* resultptr
;
23981 resultptr
= new wxPoint((wxPoint
&) result
);
23982 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23990 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
;
23992 wxWindow
*arg1
= (wxWindow
*) 0 ;
23996 PyObject
* obj0
= 0 ;
23997 PyObject
* obj1
= 0 ;
23998 char *kwnames
[] = {
23999 (char *) "self",(char *) "sz", NULL
24002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24006 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
24012 wxPyEndAllowThreads(__tstate
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24016 wxSize
* resultptr
;
24017 resultptr
= new wxSize((wxSize
&) result
);
24018 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24026 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 wxWindow
*arg1
= (wxWindow
*) 0 ;
24031 PyObject
* obj0
= 0 ;
24032 PyObject
* obj1
= 0 ;
24033 PyObject
* obj2
= 0 ;
24034 char *kwnames
[] = {
24035 (char *) "self",(char *) "x",(char *) "y", NULL
24038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24041 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24045 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 (arg1
)->WarpPointer(arg2
,arg3
);
24052 wxPyEndAllowThreads(__tstate
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24055 Py_INCREF(Py_None
); resultobj
= Py_None
;
24062 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
;
24064 wxWindow
*arg1
= (wxWindow
*) 0 ;
24065 PyObject
* obj0
= 0 ;
24066 char *kwnames
[] = {
24067 (char *) "self", NULL
24070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
24071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24074 (arg1
)->CaptureMouse();
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24079 Py_INCREF(Py_None
); resultobj
= Py_None
;
24086 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24087 PyObject
*resultobj
;
24088 wxWindow
*arg1
= (wxWindow
*) 0 ;
24089 PyObject
* obj0
= 0 ;
24090 char *kwnames
[] = {
24091 (char *) "self", NULL
24094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
24095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 (arg1
)->ReleaseMouse();
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24103 Py_INCREF(Py_None
); resultobj
= Py_None
;
24110 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24111 PyObject
*resultobj
;
24113 char *kwnames
[] = {
24117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
24119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24120 result
= (wxWindow
*)wxWindow::GetCapture();
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= wxPyMake_wxObject(result
);
24134 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
;
24136 wxWindow
*arg1
= (wxWindow
*) 0 ;
24138 PyObject
* obj0
= 0 ;
24139 char *kwnames
[] = {
24140 (char *) "self", NULL
24143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
24144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24159 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxWindow
*arg1
= (wxWindow
*) 0 ;
24162 bool arg2
= (bool) True
;
24163 wxRect
*arg3
= (wxRect
*) NULL
;
24164 PyObject
* obj0
= 0 ;
24165 PyObject
* obj1
= 0 ;
24166 PyObject
* obj2
= 0 ;
24167 char *kwnames
[] = {
24168 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24175 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24180 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24189 Py_INCREF(Py_None
); resultobj
= Py_None
;
24196 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxWindow
*arg1
= (wxWindow
*) 0 ;
24201 PyObject
* obj0
= 0 ;
24202 PyObject
* obj1
= 0 ;
24203 char *kwnames
[] = {
24204 (char *) "self",(char *) "rect", NULL
24207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24211 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24215 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24220 Py_INCREF(Py_None
); resultobj
= Py_None
;
24227 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24228 PyObject
*resultobj
;
24229 wxWindow
*arg1
= (wxWindow
*) 0 ;
24230 PyObject
* obj0
= 0 ;
24231 char *kwnames
[] = {
24232 (char *) "self", NULL
24235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
24236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 wxPyEndAllowThreads(__tstate
);
24242 if (PyErr_Occurred()) SWIG_fail
;
24244 Py_INCREF(Py_None
); resultobj
= Py_None
;
24251 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
;
24253 wxWindow
*arg1
= (wxWindow
*) 0 ;
24254 PyObject
* obj0
= 0 ;
24255 char *kwnames
[] = {
24256 (char *) "self", NULL
24259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
24260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 (arg1
)->ClearBackground();
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 Py_INCREF(Py_None
); resultobj
= Py_None
;
24275 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
;
24277 wxWindow
*arg1
= (wxWindow
*) 0 ;
24278 PyObject
* obj0
= 0 ;
24279 char *kwnames
[] = {
24280 (char *) "self", NULL
24283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
24284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24292 Py_INCREF(Py_None
); resultobj
= Py_None
;
24299 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24300 PyObject
*resultobj
;
24301 wxWindow
*arg1
= (wxWindow
*) 0 ;
24302 PyObject
* obj0
= 0 ;
24303 char *kwnames
[] = {
24304 (char *) "self", NULL
24307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
24308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 wxPyEndAllowThreads(__tstate
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24316 Py_INCREF(Py_None
); resultobj
= Py_None
;
24323 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
;
24325 wxWindow
*arg1
= (wxWindow
*) 0 ;
24327 PyObject
* obj0
= 0 ;
24328 PyObject
* obj1
= 0 ;
24329 char *kwnames
[] = {
24330 (char *) "self",(char *) "dc", NULL
24333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24335 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24336 if (arg2
== NULL
) {
24337 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 (arg1
)->PrepareDC(*arg2
);
24343 wxPyEndAllowThreads(__tstate
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24346 Py_INCREF(Py_None
); resultobj
= Py_None
;
24353 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxWindow
*arg1
= (wxWindow
*) 0 ;
24357 PyObject
* obj0
= 0 ;
24358 char *kwnames
[] = {
24359 (char *) "self", NULL
24362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
24363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
24368 result
= (wxRegion
*) &_result_ref
;
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
24381 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
;
24383 wxWindow
*arg1
= (wxWindow
*) 0 ;
24385 PyObject
* obj0
= 0 ;
24386 char *kwnames
[] = {
24387 (char *) "self", NULL
24390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
24391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24394 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
24396 wxPyEndAllowThreads(__tstate
);
24397 if (PyErr_Occurred()) SWIG_fail
;
24400 wxRect
* resultptr
;
24401 resultptr
= new wxRect((wxRect
&) result
);
24402 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
24410 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24411 PyObject
*resultobj
;
24412 wxWindow
*arg1
= (wxWindow
*) 0 ;
24415 int arg4
= (int) 1 ;
24416 int arg5
= (int) 1 ;
24418 PyObject
* obj0
= 0 ;
24419 PyObject
* obj1
= 0 ;
24420 PyObject
* obj2
= 0 ;
24421 PyObject
* obj3
= 0 ;
24422 PyObject
* obj4
= 0 ;
24423 char *kwnames
[] = {
24424 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24430 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24434 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24439 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24445 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24446 if (PyErr_Occurred()) SWIG_fail
;
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24463 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24464 PyObject
*resultobj
;
24465 wxWindow
*arg1
= (wxWindow
*) 0 ;
24466 wxPoint
*arg2
= 0 ;
24469 PyObject
* obj0
= 0 ;
24470 PyObject
* obj1
= 0 ;
24471 char *kwnames
[] = {
24472 (char *) "self",(char *) "pt", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24479 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24495 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
;
24497 wxWindow
*arg1
= (wxWindow
*) 0 ;
24501 PyObject
* obj0
= 0 ;
24502 PyObject
* obj1
= 0 ;
24503 char *kwnames
[] = {
24504 (char *) "self",(char *) "rect", NULL
24507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24511 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24527 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
;
24529 wxWindow
*arg1
= (wxWindow
*) 0 ;
24530 wxColour
*arg2
= 0 ;
24533 PyObject
* obj0
= 0 ;
24534 PyObject
* obj1
= 0 ;
24535 char *kwnames
[] = {
24536 (char *) "self",(char *) "colour", NULL
24539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24543 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24547 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24559 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24560 PyObject
*resultobj
;
24561 wxWindow
*arg1
= (wxWindow
*) 0 ;
24562 wxColour
*arg2
= 0 ;
24565 PyObject
* obj0
= 0 ;
24566 PyObject
* obj1
= 0 ;
24567 char *kwnames
[] = {
24568 (char *) "self",(char *) "colour", NULL
24571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24575 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24591 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24592 PyObject
*resultobj
;
24593 wxWindow
*arg1
= (wxWindow
*) 0 ;
24595 PyObject
* obj0
= 0 ;
24596 char *kwnames
[] = {
24597 (char *) "self", NULL
24600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
24601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24610 wxColour
* resultptr
;
24611 resultptr
= new wxColour((wxColour
&) result
);
24612 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24620 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24621 PyObject
*resultobj
;
24622 wxWindow
*arg1
= (wxWindow
*) 0 ;
24624 PyObject
* obj0
= 0 ;
24625 char *kwnames
[] = {
24626 (char *) "self", NULL
24629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
24630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24639 wxColour
* resultptr
;
24640 resultptr
= new wxColour((wxColour
&) result
);
24641 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24649 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24650 PyObject
*resultobj
;
24651 wxWindow
*arg1
= (wxWindow
*) 0 ;
24652 wxCursor
*arg2
= 0 ;
24654 PyObject
* obj0
= 0 ;
24655 PyObject
* obj1
= 0 ;
24656 char *kwnames
[] = {
24657 (char *) "self",(char *) "cursor", NULL
24660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
24661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24662 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24663 if (arg2
== NULL
) {
24664 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24680 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24681 PyObject
*resultobj
;
24682 wxWindow
*arg1
= (wxWindow
*) 0 ;
24684 PyObject
* obj0
= 0 ;
24685 char *kwnames
[] = {
24686 (char *) "self", NULL
24689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
24690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 wxCursor
&_result_ref
= (arg1
)->GetCursor();
24695 result
= (wxCursor
*) &_result_ref
;
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
24708 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 wxWindow
*arg1
= (wxWindow
*) 0 ;
24713 PyObject
* obj0
= 0 ;
24714 PyObject
* obj1
= 0 ;
24715 char *kwnames
[] = {
24716 (char *) "self",(char *) "font", NULL
24719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24721 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24722 if (arg2
== NULL
) {
24723 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24739 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
;
24741 wxWindow
*arg1
= (wxWindow
*) 0 ;
24743 PyObject
* obj0
= 0 ;
24744 char *kwnames
[] = {
24745 (char *) "self", NULL
24748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
24749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 wxFont
&_result_ref
= (arg1
)->GetFont();
24754 result
= (wxFont
*) &_result_ref
;
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24760 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
24767 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
;
24769 wxWindow
*arg1
= (wxWindow
*) 0 ;
24770 wxCaret
*arg2
= (wxCaret
*) 0 ;
24771 PyObject
* obj0
= 0 ;
24772 PyObject
* obj1
= 0 ;
24773 char *kwnames
[] = {
24774 (char *) "self",(char *) "caret", NULL
24777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
24778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24779 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24782 (arg1
)->SetCaret(arg2
);
24784 wxPyEndAllowThreads(__tstate
);
24785 if (PyErr_Occurred()) SWIG_fail
;
24787 Py_INCREF(Py_None
); resultobj
= Py_None
;
24794 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24795 PyObject
*resultobj
;
24796 wxWindow
*arg1
= (wxWindow
*) 0 ;
24798 PyObject
* obj0
= 0 ;
24799 char *kwnames
[] = {
24800 (char *) "self", NULL
24803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
24804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24807 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
24809 wxPyEndAllowThreads(__tstate
);
24810 if (PyErr_Occurred()) SWIG_fail
;
24812 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
24819 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24820 PyObject
*resultobj
;
24821 wxWindow
*arg1
= (wxWindow
*) 0 ;
24823 PyObject
* obj0
= 0 ;
24824 char *kwnames
[] = {
24825 (char *) "self", NULL
24828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
24829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24832 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
24834 wxPyEndAllowThreads(__tstate
);
24835 if (PyErr_Occurred()) SWIG_fail
;
24837 resultobj
= SWIG_PyObj_FromInt((int)result
);
24844 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24845 PyObject
*resultobj
;
24846 wxWindow
*arg1
= (wxWindow
*) 0 ;
24848 PyObject
* obj0
= 0 ;
24849 char *kwnames
[] = {
24850 (char *) "self", NULL
24853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
24854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24862 resultobj
= SWIG_PyObj_FromInt((int)result
);
24869 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24870 PyObject
*resultobj
;
24871 wxWindow
*arg1
= (wxWindow
*) 0 ;
24872 wxString
*arg2
= 0 ;
24873 int *arg3
= (int *) 0 ;
24874 int *arg4
= (int *) 0 ;
24875 bool temp2
= False
;
24878 PyObject
* obj0
= 0 ;
24879 PyObject
* obj1
= 0 ;
24880 char *kwnames
[] = {
24881 (char *) "self",(char *) "string", NULL
24886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
24887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24889 arg2
= wxString_in_helper(obj1
);
24890 if (arg2
== NULL
) SWIG_fail
;
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24900 Py_INCREF(Py_None
); resultobj
= Py_None
;
24902 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24903 resultobj
= t_output_helper(resultobj
,o
);
24906 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24907 resultobj
= t_output_helper(resultobj
,o
);
24923 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxWindow
*arg1
= (wxWindow
*) 0 ;
24926 wxString
*arg2
= 0 ;
24927 int *arg3
= (int *) 0 ;
24928 int *arg4
= (int *) 0 ;
24929 int *arg5
= (int *) 0 ;
24930 int *arg6
= (int *) 0 ;
24931 wxFont
*arg7
= (wxFont
*) NULL
;
24932 bool temp2
= False
;
24937 PyObject
* obj0
= 0 ;
24938 PyObject
* obj1
= 0 ;
24939 PyObject
* obj2
= 0 ;
24940 char *kwnames
[] = {
24941 (char *) "self",(char *) "string",(char *) "font", NULL
24948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24951 arg2
= wxString_in_helper(obj1
);
24952 if (arg2
== NULL
) SWIG_fail
;
24956 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
24962 wxPyEndAllowThreads(__tstate
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24965 Py_INCREF(Py_None
); resultobj
= Py_None
;
24967 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24968 resultobj
= t_output_helper(resultobj
,o
);
24971 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24972 resultobj
= t_output_helper(resultobj
,o
);
24975 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
24976 resultobj
= t_output_helper(resultobj
,o
);
24979 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
24980 resultobj
= t_output_helper(resultobj
,o
);
24996 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxWindow
*arg1
= (wxWindow
*) 0 ;
24999 int *arg2
= (int *) 0 ;
25000 int *arg3
= (int *) 0 ;
25003 PyObject
* obj0
= 0 ;
25004 PyObject
* obj1
= 0 ;
25005 PyObject
* obj2
= 0 ;
25006 char *kwnames
[] = {
25007 (char *) "self",(char *) "x",(char *) "y", NULL
25010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25013 temp2
= PyInt_AsLong(obj1
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25018 temp3
= PyInt_AsLong(obj2
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25024 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 Py_INCREF(Py_None
); resultobj
= Py_None
;
25031 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25032 resultobj
= t_output_helper(resultobj
,o
);
25035 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25036 resultobj
= t_output_helper(resultobj
,o
);
25044 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25046 wxWindow
*arg1
= (wxWindow
*) 0 ;
25047 int *arg2
= (int *) 0 ;
25048 int *arg3
= (int *) 0 ;
25051 PyObject
* obj0
= 0 ;
25052 PyObject
* obj1
= 0 ;
25053 PyObject
* obj2
= 0 ;
25054 char *kwnames
[] = {
25055 (char *) "self",(char *) "x",(char *) "y", NULL
25058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25061 temp2
= PyInt_AsLong(obj1
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25066 temp3
= PyInt_AsLong(obj2
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25077 Py_INCREF(Py_None
); resultobj
= Py_None
;
25079 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25080 resultobj
= t_output_helper(resultobj
,o
);
25083 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25084 resultobj
= t_output_helper(resultobj
,o
);
25092 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25093 PyObject
*resultobj
;
25094 wxWindow
*arg1
= (wxWindow
*) 0 ;
25095 wxPoint
*arg2
= 0 ;
25098 PyObject
* obj0
= 0 ;
25099 PyObject
* obj1
= 0 ;
25100 char *kwnames
[] = {
25101 (char *) "self",(char *) "pt", NULL
25104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25108 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25118 wxPoint
* resultptr
;
25119 resultptr
= new wxPoint((wxPoint
&) result
);
25120 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
25128 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
;
25130 wxWindow
*arg1
= (wxWindow
*) 0 ;
25131 wxPoint
*arg2
= 0 ;
25134 PyObject
* obj0
= 0 ;
25135 PyObject
* obj1
= 0 ;
25136 char *kwnames
[] = {
25137 (char *) "self",(char *) "pt", NULL
25140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
25141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25144 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25154 wxPoint
* resultptr
;
25155 resultptr
= new wxPoint((wxPoint
&) result
);
25156 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
25164 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
;
25166 wxWindow
*arg1
= (wxWindow
*) 0 ;
25170 PyObject
* obj0
= 0 ;
25171 PyObject
* obj1
= 0 ;
25172 PyObject
* obj2
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "self",(char *) "x",(char *) "y", NULL
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25180 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25184 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= SWIG_PyObj_FromInt((int)result
);
25201 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxWindow
*arg1
= (wxWindow
*) 0 ;
25204 wxPoint
*arg2
= 0 ;
25207 PyObject
* obj0
= 0 ;
25208 PyObject
* obj1
= 0 ;
25209 char *kwnames
[] = {
25210 (char *) "self",(char *) "pt", NULL
25213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25217 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= SWIG_PyObj_FromInt((int)result
);
25233 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
;
25235 wxWindow
*arg1
= (wxWindow
*) 0 ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 char *kwnames
[] = {
25241 (char *) "self",(char *) "flags", NULL
25244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetBorderFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
25245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25247 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
25254 wxPyEndAllowThreads(__tstate
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25257 resultobj
= SWIG_PyObj_FromInt((int)result
);
25264 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25265 PyObject
*resultobj
;
25266 wxWindow
*arg1
= (wxWindow
*) 0 ;
25268 PyObject
* obj0
= 0 ;
25269 char *kwnames
[] = {
25270 (char *) "self", NULL
25273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
25274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25277 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
25279 wxPyEndAllowThreads(__tstate
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25282 resultobj
= SWIG_PyObj_FromInt((int)result
);
25289 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
;
25291 wxWindow
*arg1
= (wxWindow
*) 0 ;
25292 long arg2
= (long) wxUPDATE_UI_NONE
;
25293 PyObject
* obj0
= 0 ;
25294 PyObject
* obj1
= 0 ;
25295 char *kwnames
[] = {
25296 (char *) "self",(char *) "flags", NULL
25299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
25300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25303 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 (arg1
)->UpdateWindowUI(arg2
);
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 Py_INCREF(Py_None
); resultobj
= Py_None
;
25321 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
;
25323 wxWindow
*arg1
= (wxWindow
*) 0 ;
25324 wxMenu
*arg2
= (wxMenu
*) 0 ;
25328 PyObject
* obj0
= 0 ;
25329 PyObject
* obj1
= 0 ;
25330 PyObject
* obj2
= 0 ;
25331 PyObject
* obj3
= 0 ;
25332 char *kwnames
[] = {
25333 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
25336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25338 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25340 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25344 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25361 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25362 PyObject
*resultobj
;
25363 wxWindow
*arg1
= (wxWindow
*) 0 ;
25364 wxMenu
*arg2
= (wxMenu
*) 0 ;
25365 wxPoint
*arg3
= 0 ;
25368 PyObject
* obj0
= 0 ;
25369 PyObject
* obj1
= 0 ;
25370 PyObject
* obj2
= 0 ;
25371 char *kwnames
[] = {
25372 (char *) "self",(char *) "menu",(char *) "pos", NULL
25375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25377 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25380 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25396 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25397 PyObject
*resultobj
;
25398 wxWindow
*arg1
= (wxWindow
*) 0 ;
25400 PyObject
* obj0
= 0 ;
25401 char *kwnames
[] = {
25402 (char *) "self", NULL
25405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
25406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25409 result
= (long)wxWindow_GetHandle(arg1
);
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_PyObj_FromLong((long)result
);
25421 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
;
25423 wxWindow
*arg1
= (wxWindow
*) 0 ;
25426 PyObject
* obj0
= 0 ;
25427 PyObject
* obj1
= 0 ;
25428 char *kwnames
[] = {
25429 (char *) "self",(char *) "orient", NULL
25432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
25433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25435 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25436 if (PyErr_Occurred()) SWIG_fail
;
25439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25440 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25452 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
;
25454 wxWindow
*arg1
= (wxWindow
*) 0 ;
25459 bool arg6
= (bool) True
;
25460 PyObject
* obj0
= 0 ;
25461 PyObject
* obj1
= 0 ;
25462 PyObject
* obj2
= 0 ;
25463 PyObject
* obj3
= 0 ;
25464 PyObject
* obj4
= 0 ;
25465 PyObject
* obj5
= 0 ;
25466 char *kwnames
[] = {
25467 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
25470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25473 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25477 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25481 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25485 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25486 if (PyErr_Occurred()) SWIG_fail
;
25490 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
25491 if (PyErr_Occurred()) SWIG_fail
;
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 Py_INCREF(Py_None
); resultobj
= Py_None
;
25508 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
;
25510 wxWindow
*arg1
= (wxWindow
*) 0 ;
25513 bool arg4
= (bool) True
;
25514 PyObject
* obj0
= 0 ;
25515 PyObject
* obj1
= 0 ;
25516 PyObject
* obj2
= 0 ;
25517 PyObject
* obj3
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25525 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25529 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25534 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25540 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 Py_INCREF(Py_None
); resultobj
= Py_None
;
25552 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
;
25554 wxWindow
*arg1
= (wxWindow
*) 0 ;
25557 PyObject
* obj0
= 0 ;
25558 PyObject
* obj1
= 0 ;
25559 char *kwnames
[] = {
25560 (char *) "self",(char *) "orient", NULL
25563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
25564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25566 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25567 if (PyErr_Occurred()) SWIG_fail
;
25570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25571 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
25573 wxPyEndAllowThreads(__tstate
);
25574 if (PyErr_Occurred()) SWIG_fail
;
25576 resultobj
= SWIG_PyObj_FromInt((int)result
);
25583 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25584 PyObject
*resultobj
;
25585 wxWindow
*arg1
= (wxWindow
*) 0 ;
25588 PyObject
* obj0
= 0 ;
25589 PyObject
* obj1
= 0 ;
25590 char *kwnames
[] = {
25591 (char *) "self",(char *) "orient", NULL
25594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
25595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25597 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 resultobj
= SWIG_PyObj_FromInt((int)result
);
25614 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
;
25616 wxWindow
*arg1
= (wxWindow
*) 0 ;
25619 PyObject
* obj0
= 0 ;
25620 PyObject
* obj1
= 0 ;
25621 char *kwnames
[] = {
25622 (char *) "self",(char *) "orient", NULL
25625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
25626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25628 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25638 resultobj
= SWIG_PyObj_FromInt((int)result
);
25645 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25646 PyObject
*resultobj
;
25647 wxWindow
*arg1
= (wxWindow
*) 0 ;
25650 wxRect
*arg4
= (wxRect
*) NULL
;
25651 PyObject
* obj0
= 0 ;
25652 PyObject
* obj1
= 0 ;
25653 PyObject
* obj2
= 0 ;
25654 PyObject
* obj3
= 0 ;
25655 char *kwnames
[] = {
25656 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
25659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25662 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25666 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25670 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
25676 wxPyEndAllowThreads(__tstate
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25679 Py_INCREF(Py_None
); resultobj
= Py_None
;
25686 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25687 PyObject
*resultobj
;
25688 wxWindow
*arg1
= (wxWindow
*) 0 ;
25691 PyObject
* obj0
= 0 ;
25692 PyObject
* obj1
= 0 ;
25693 char *kwnames
[] = {
25694 (char *) "self",(char *) "lines", NULL
25697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
25698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25700 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25705 result
= (bool)(arg1
)->ScrollLines(arg2
);
25707 wxPyEndAllowThreads(__tstate
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25717 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25718 PyObject
*resultobj
;
25719 wxWindow
*arg1
= (wxWindow
*) 0 ;
25722 PyObject
* obj0
= 0 ;
25723 PyObject
* obj1
= 0 ;
25724 char *kwnames
[] = {
25725 (char *) "self",(char *) "pages", NULL
25728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
25729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25731 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25736 result
= (bool)(arg1
)->ScrollPages(arg2
);
25738 wxPyEndAllowThreads(__tstate
);
25739 if (PyErr_Occurred()) SWIG_fail
;
25741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25748 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25749 PyObject
*resultobj
;
25750 wxWindow
*arg1
= (wxWindow
*) 0 ;
25752 PyObject
* obj0
= 0 ;
25753 char *kwnames
[] = {
25754 (char *) "self", NULL
25757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
25758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 result
= (bool)(arg1
)->LineUp();
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25773 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
;
25775 wxWindow
*arg1
= (wxWindow
*) 0 ;
25777 PyObject
* obj0
= 0 ;
25778 char *kwnames
[] = {
25779 (char *) "self", NULL
25782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
25783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 result
= (bool)(arg1
)->LineDown();
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25798 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25799 PyObject
*resultobj
;
25800 wxWindow
*arg1
= (wxWindow
*) 0 ;
25802 PyObject
* obj0
= 0 ;
25803 char *kwnames
[] = {
25804 (char *) "self", NULL
25807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
25808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 result
= (bool)(arg1
)->PageUp();
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25823 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25824 PyObject
*resultobj
;
25825 wxWindow
*arg1
= (wxWindow
*) 0 ;
25827 PyObject
* obj0
= 0 ;
25828 char *kwnames
[] = {
25829 (char *) "self", NULL
25832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
25833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25836 result
= (bool)(arg1
)->PageDown();
25838 wxPyEndAllowThreads(__tstate
);
25839 if (PyErr_Occurred()) SWIG_fail
;
25841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25848 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25849 PyObject
*resultobj
;
25850 wxWindow
*arg1
= (wxWindow
*) 0 ;
25851 wxString
*arg2
= 0 ;
25852 bool temp2
= False
;
25853 PyObject
* obj0
= 0 ;
25854 PyObject
* obj1
= 0 ;
25855 char *kwnames
[] = {
25856 (char *) "self",(char *) "text", NULL
25859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
25860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25862 arg2
= wxString_in_helper(obj1
);
25863 if (arg2
== NULL
) SWIG_fail
;
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 (arg1
)->SetHelpText((wxString
const &)*arg2
);
25870 wxPyEndAllowThreads(__tstate
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25873 Py_INCREF(Py_None
); resultobj
= Py_None
;
25888 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25889 PyObject
*resultobj
;
25890 wxWindow
*arg1
= (wxWindow
*) 0 ;
25891 wxString
*arg2
= 0 ;
25892 bool temp2
= False
;
25893 PyObject
* obj0
= 0 ;
25894 PyObject
* obj1
= 0 ;
25895 char *kwnames
[] = {
25896 (char *) "self",(char *) "text", NULL
25899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
25900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25902 arg2
= wxString_in_helper(obj1
);
25903 if (arg2
== NULL
) SWIG_fail
;
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
25910 wxPyEndAllowThreads(__tstate
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25913 Py_INCREF(Py_None
); resultobj
= Py_None
;
25928 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
;
25930 wxWindow
*arg1
= (wxWindow
*) 0 ;
25932 PyObject
* obj0
= 0 ;
25933 char *kwnames
[] = {
25934 (char *) "self", NULL
25937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
25938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 result
= ((wxWindow
const *)arg1
)->GetHelpText();
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25959 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25960 PyObject
*resultobj
;
25961 wxWindow
*arg1
= (wxWindow
*) 0 ;
25962 wxString
*arg2
= 0 ;
25963 bool temp2
= False
;
25964 PyObject
* obj0
= 0 ;
25965 PyObject
* obj1
= 0 ;
25966 char *kwnames
[] = {
25967 (char *) "self",(char *) "tip", NULL
25970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
25971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25973 arg2
= wxString_in_helper(obj1
);
25974 if (arg2
== NULL
) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 Py_INCREF(Py_None
); resultobj
= Py_None
;
25999 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26000 PyObject
*resultobj
;
26001 wxWindow
*arg1
= (wxWindow
*) 0 ;
26002 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
26003 PyObject
* obj0
= 0 ;
26004 PyObject
* obj1
= 0 ;
26005 char *kwnames
[] = {
26006 (char *) "self",(char *) "tip", NULL
26009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
26010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26011 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26014 (arg1
)->SetToolTip(arg2
);
26016 wxPyEndAllowThreads(__tstate
);
26017 if (PyErr_Occurred()) SWIG_fail
;
26019 Py_INCREF(Py_None
); resultobj
= Py_None
;
26026 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26027 PyObject
*resultobj
;
26028 wxWindow
*arg1
= (wxWindow
*) 0 ;
26030 PyObject
* obj0
= 0 ;
26031 char *kwnames
[] = {
26032 (char *) "self", NULL
26035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
26036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26039 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
26041 wxPyEndAllowThreads(__tstate
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26045 resultobj
= wxPyMake_wxObject(result
);
26053 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26054 PyObject
*resultobj
;
26055 wxWindow
*arg1
= (wxWindow
*) 0 ;
26056 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
26057 PyObject
* obj0
= 0 ;
26058 PyObject
* obj1
= 0 ;
26059 char *kwnames
[] = {
26060 (char *) "self",(char *) "dropTarget", NULL
26063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
26064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26065 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26068 (arg1
)->SetDropTarget(arg2
);
26070 wxPyEndAllowThreads(__tstate
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26073 Py_INCREF(Py_None
); resultobj
= Py_None
;
26080 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26081 PyObject
*resultobj
;
26082 wxWindow
*arg1
= (wxWindow
*) 0 ;
26083 wxPyDropTarget
*result
;
26084 PyObject
* obj0
= 0 ;
26085 char *kwnames
[] = {
26086 (char *) "self", NULL
26089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
26090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 0);
26105 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
;
26107 wxWindow
*arg1
= (wxWindow
*) 0 ;
26108 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
26109 PyObject
* obj0
= 0 ;
26110 PyObject
* obj1
= 0 ;
26111 char *kwnames
[] = {
26112 (char *) "self",(char *) "constraints", NULL
26115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
26116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 (arg1
)->SetConstraints(arg2
);
26122 wxPyEndAllowThreads(__tstate
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26125 Py_INCREF(Py_None
); resultobj
= Py_None
;
26132 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26133 PyObject
*resultobj
;
26134 wxWindow
*arg1
= (wxWindow
*) 0 ;
26135 wxLayoutConstraints
*result
;
26136 PyObject
* obj0
= 0 ;
26137 char *kwnames
[] = {
26138 (char *) "self", NULL
26141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
26142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26145 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
26147 wxPyEndAllowThreads(__tstate
);
26148 if (PyErr_Occurred()) SWIG_fail
;
26150 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
26157 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26158 PyObject
*resultobj
;
26159 wxWindow
*arg1
= (wxWindow
*) 0 ;
26161 PyObject
* obj0
= 0 ;
26162 PyObject
* obj1
= 0 ;
26163 char *kwnames
[] = {
26164 (char *) "self",(char *) "autoLayout", NULL
26167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
26168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26170 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26175 (arg1
)->SetAutoLayout(arg2
);
26177 wxPyEndAllowThreads(__tstate
);
26178 if (PyErr_Occurred()) SWIG_fail
;
26180 Py_INCREF(Py_None
); resultobj
= Py_None
;
26187 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26188 PyObject
*resultobj
;
26189 wxWindow
*arg1
= (wxWindow
*) 0 ;
26191 PyObject
* obj0
= 0 ;
26192 char *kwnames
[] = {
26193 (char *) "self", NULL
26196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
26197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26212 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxWindow
*arg1
= (wxWindow
*) 0 ;
26216 PyObject
* obj0
= 0 ;
26217 char *kwnames
[] = {
26218 (char *) "self", NULL
26221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
26222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26225 result
= (bool)(arg1
)->Layout();
26227 wxPyEndAllowThreads(__tstate
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26237 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26238 PyObject
*resultobj
;
26239 wxWindow
*arg1
= (wxWindow
*) 0 ;
26240 wxSizer
*arg2
= (wxSizer
*) 0 ;
26241 bool arg3
= (bool) True
;
26242 PyObject
* obj0
= 0 ;
26243 PyObject
* obj1
= 0 ;
26244 PyObject
* obj2
= 0 ;
26245 char *kwnames
[] = {
26246 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26251 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26254 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26260 (arg1
)->SetSizer(arg2
,arg3
);
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26265 Py_INCREF(Py_None
); resultobj
= Py_None
;
26272 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
;
26274 wxWindow
*arg1
= (wxWindow
*) 0 ;
26275 wxSizer
*arg2
= (wxSizer
*) 0 ;
26276 bool arg3
= (bool) True
;
26277 PyObject
* obj0
= 0 ;
26278 PyObject
* obj1
= 0 ;
26279 PyObject
* obj2
= 0 ;
26280 char *kwnames
[] = {
26281 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26286 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26289 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 (arg1
)->SetSizerAndFit(arg2
,arg3
);
26297 wxPyEndAllowThreads(__tstate
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26300 Py_INCREF(Py_None
); resultobj
= Py_None
;
26307 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26308 PyObject
*resultobj
;
26309 wxWindow
*arg1
= (wxWindow
*) 0 ;
26311 PyObject
* obj0
= 0 ;
26312 char *kwnames
[] = {
26313 (char *) "self", NULL
26316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
26317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26326 resultobj
= wxPyMake_wxSizer(result
);
26334 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26335 PyObject
*resultobj
;
26336 wxWindow
*arg1
= (wxWindow
*) 0 ;
26337 wxSizer
*arg2
= (wxSizer
*) 0 ;
26338 PyObject
* obj0
= 0 ;
26339 PyObject
* obj1
= 0 ;
26340 char *kwnames
[] = {
26341 (char *) "self",(char *) "sizer", NULL
26344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
26345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26346 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 (arg1
)->SetContainingSizer(arg2
);
26351 wxPyEndAllowThreads(__tstate
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26354 Py_INCREF(Py_None
); resultobj
= Py_None
;
26361 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26362 PyObject
*resultobj
;
26363 wxWindow
*arg1
= (wxWindow
*) 0 ;
26365 PyObject
* obj0
= 0 ;
26366 char *kwnames
[] = {
26367 (char *) "self", NULL
26370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
26371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
26376 wxPyEndAllowThreads(__tstate
);
26377 if (PyErr_Occurred()) SWIG_fail
;
26380 resultobj
= wxPyMake_wxSizer(result
);
26388 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
26390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26391 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
26393 return Py_BuildValue((char *)"");
26395 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26396 PyObject
*resultobj
;
26398 wxWindow
*arg2
= (wxWindow
*) NULL
;
26400 PyObject
* obj0
= 0 ;
26401 PyObject
* obj1
= 0 ;
26402 char *kwnames
[] = {
26403 (char *) "id",(char *) "parent", NULL
26406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
26408 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26412 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26416 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
26418 wxPyEndAllowThreads(__tstate
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26422 resultobj
= wxPyMake_wxObject(result
);
26430 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
;
26432 wxString
*arg1
= 0 ;
26433 wxWindow
*arg2
= (wxWindow
*) NULL
;
26435 bool temp1
= False
;
26436 PyObject
* obj0
= 0 ;
26437 PyObject
* obj1
= 0 ;
26438 char *kwnames
[] = {
26439 (char *) "name",(char *) "parent", NULL
26442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
26444 arg1
= wxString_in_helper(obj0
);
26445 if (arg1
== NULL
) SWIG_fail
;
26449 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26455 wxPyEndAllowThreads(__tstate
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26459 resultobj
= wxPyMake_wxObject(result
);
26475 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26476 PyObject
*resultobj
;
26477 wxString
*arg1
= 0 ;
26478 wxWindow
*arg2
= (wxWindow
*) NULL
;
26480 bool temp1
= False
;
26481 PyObject
* obj0
= 0 ;
26482 PyObject
* obj1
= 0 ;
26483 char *kwnames
[] = {
26484 (char *) "label",(char *) "parent", NULL
26487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26489 arg1
= wxString_in_helper(obj0
);
26490 if (arg1
== NULL
) SWIG_fail
;
26494 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26500 wxPyEndAllowThreads(__tstate
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26504 resultobj
= wxPyMake_wxObject(result
);
26520 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26521 PyObject
*resultobj
;
26522 unsigned long arg1
;
26524 PyObject
* obj0
= 0 ;
26525 char *kwnames
[] = {
26526 (char *) "hWnd", NULL
26529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
26531 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26536 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
26538 wxPyEndAllowThreads(__tstate
);
26539 if (PyErr_Occurred()) SWIG_fail
;
26542 resultobj
= wxPyMake_wxObject(result
);
26550 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26551 PyObject
*resultobj
;
26552 wxValidator
*result
;
26553 char *kwnames
[] = {
26557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26560 result
= (wxValidator
*)new wxValidator();
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26566 resultobj
= wxPyMake_wxObject(result
);
26574 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26575 PyObject
*resultobj
;
26576 wxValidator
*arg1
= (wxValidator
*) 0 ;
26577 wxValidator
*result
;
26578 PyObject
* obj0
= 0 ;
26579 char *kwnames
[] = {
26580 (char *) "self", NULL
26583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
26584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 result
= (wxValidator
*)(arg1
)->Clone();
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26593 resultobj
= wxPyMake_wxObject(result
);
26601 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26602 PyObject
*resultobj
;
26603 wxValidator
*arg1
= (wxValidator
*) 0 ;
26604 wxWindow
*arg2
= (wxWindow
*) 0 ;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 char *kwnames
[] = {
26609 (char *) "self",(char *) "parent", NULL
26612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
26613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26614 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 result
= (bool)(arg1
)->Validate(arg2
);
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26629 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26630 PyObject
*resultobj
;
26631 wxValidator
*arg1
= (wxValidator
*) 0 ;
26633 PyObject
* obj0
= 0 ;
26634 char *kwnames
[] = {
26635 (char *) "self", NULL
26638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
26639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 result
= (bool)(arg1
)->TransferToWindow();
26644 wxPyEndAllowThreads(__tstate
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26654 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26655 PyObject
*resultobj
;
26656 wxValidator
*arg1
= (wxValidator
*) 0 ;
26658 PyObject
* obj0
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
26664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 result
= (bool)(arg1
)->TransferFromWindow();
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26679 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
;
26681 wxValidator
*arg1
= (wxValidator
*) 0 ;
26683 PyObject
* obj0
= 0 ;
26684 char *kwnames
[] = {
26685 (char *) "self", NULL
26688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
26689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26692 result
= (wxWindow
*)(arg1
)->GetWindow();
26694 wxPyEndAllowThreads(__tstate
);
26695 if (PyErr_Occurred()) SWIG_fail
;
26698 resultobj
= wxPyMake_wxObject(result
);
26706 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26707 PyObject
*resultobj
;
26708 wxValidator
*arg1
= (wxValidator
*) 0 ;
26709 wxWindow
*arg2
= (wxWindow
*) 0 ;
26710 PyObject
* obj0
= 0 ;
26711 PyObject
* obj1
= 0 ;
26712 char *kwnames
[] = {
26713 (char *) "self",(char *) "window", NULL
26716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
26717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26718 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 (arg1
)->SetWindow(arg2
);
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26726 Py_INCREF(Py_None
); resultobj
= Py_None
;
26733 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26734 PyObject
*resultobj
;
26736 char *kwnames
[] = {
26740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
26742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26743 result
= (bool)wxValidator::IsSilent();
26745 wxPyEndAllowThreads(__tstate
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26755 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
;
26757 int arg1
= (int) True
;
26758 PyObject
* obj0
= 0 ;
26759 char *kwnames
[] = {
26760 (char *) "doIt", NULL
26763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
26766 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
26767 if (PyErr_Occurred()) SWIG_fail
;
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 wxValidator::SetBellOnError(arg1
);
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26777 Py_INCREF(Py_None
); resultobj
= Py_None
;
26784 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
26786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26787 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
26789 return Py_BuildValue((char *)"");
26791 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26792 PyObject
*resultobj
;
26793 wxPyValidator
*result
;
26794 char *kwnames
[] = {
26798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 result
= (wxPyValidator
*)new wxPyValidator();
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
26813 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
;
26815 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
26816 PyObject
*arg2
= (PyObject
*) 0 ;
26817 PyObject
*arg3
= (PyObject
*) 0 ;
26818 int arg4
= (int) True
;
26819 PyObject
* obj0
= 0 ;
26820 PyObject
* obj1
= 0 ;
26821 PyObject
* obj2
= 0 ;
26822 PyObject
* obj3
= 0 ;
26823 char *kwnames
[] = {
26824 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26833 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26839 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26841 wxPyEndAllowThreads(__tstate
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26844 Py_INCREF(Py_None
); resultobj
= Py_None
;
26851 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
26853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26854 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
26856 return Py_BuildValue((char *)"");
26858 static int _wrap_DefaultValidator_set(PyObject
*) {
26859 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
26864 static PyObject
*_wrap_DefaultValidator_get() {
26867 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
26872 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26873 PyObject
*resultobj
;
26874 wxString
const &arg1_defvalue
= wxPyEmptyString
;
26875 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
26876 long arg2
= (long) 0 ;
26878 bool temp1
= False
;
26879 PyObject
* obj0
= 0 ;
26880 PyObject
* obj1
= 0 ;
26881 char *kwnames
[] = {
26882 (char *) "title",(char *) "style", NULL
26885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
26888 arg1
= wxString_in_helper(obj0
);
26889 if (arg1
== NULL
) SWIG_fail
;
26895 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26907 resultobj
= wxPyMake_wxObject(result
);
26923 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26924 PyObject
*resultobj
;
26925 wxMenu
*arg1
= (wxMenu
*) 0 ;
26927 wxString
*arg3
= 0 ;
26928 wxString
const &arg4_defvalue
= wxPyEmptyString
;
26929 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26930 int arg5
= (int) wxITEM_NORMAL
;
26931 wxMenuItem
*result
;
26932 bool temp3
= False
;
26933 bool temp4
= False
;
26934 PyObject
* obj0
= 0 ;
26935 PyObject
* obj1
= 0 ;
26936 PyObject
* obj2
= 0 ;
26937 PyObject
* obj3
= 0 ;
26938 PyObject
* obj4
= 0 ;
26939 char *kwnames
[] = {
26940 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
26943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26946 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26950 arg3
= wxString_in_helper(obj2
);
26951 if (arg3
== NULL
) SWIG_fail
;
26956 arg4
= wxString_in_helper(obj3
);
26957 if (arg4
== NULL
) SWIG_fail
;
26963 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= wxPyMake_wxObject(result
);
26999 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27000 PyObject
*resultobj
;
27001 wxMenu
*arg1
= (wxMenu
*) 0 ;
27002 wxMenuItem
*result
;
27003 PyObject
* obj0
= 0 ;
27004 char *kwnames
[] = {
27005 (char *) "self", NULL
27008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
27009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27018 resultobj
= wxPyMake_wxObject(result
);
27026 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27027 PyObject
*resultobj
;
27028 wxMenu
*arg1
= (wxMenu
*) 0 ;
27030 wxString
*arg3
= 0 ;
27031 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27032 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27033 wxMenuItem
*result
;
27034 bool temp3
= False
;
27035 bool temp4
= False
;
27036 PyObject
* obj0
= 0 ;
27037 PyObject
* obj1
= 0 ;
27038 PyObject
* obj2
= 0 ;
27039 PyObject
* obj3
= 0 ;
27040 char *kwnames
[] = {
27041 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27047 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27051 arg3
= wxString_in_helper(obj2
);
27052 if (arg3
== NULL
) SWIG_fail
;
27057 arg4
= wxString_in_helper(obj3
);
27058 if (arg4
== NULL
) SWIG_fail
;
27063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27064 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27066 wxPyEndAllowThreads(__tstate
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27070 resultobj
= wxPyMake_wxObject(result
);
27094 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
;
27096 wxMenu
*arg1
= (wxMenu
*) 0 ;
27098 wxString
*arg3
= 0 ;
27099 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27100 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27101 wxMenuItem
*result
;
27102 bool temp3
= False
;
27103 bool temp4
= False
;
27104 PyObject
* obj0
= 0 ;
27105 PyObject
* obj1
= 0 ;
27106 PyObject
* obj2
= 0 ;
27107 PyObject
* obj3
= 0 ;
27108 char *kwnames
[] = {
27109 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27115 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27116 if (PyErr_Occurred()) SWIG_fail
;
27119 arg3
= wxString_in_helper(obj2
);
27120 if (arg3
== NULL
) SWIG_fail
;
27125 arg4
= wxString_in_helper(obj3
);
27126 if (arg4
== NULL
) SWIG_fail
;
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27134 wxPyEndAllowThreads(__tstate
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27138 resultobj
= wxPyMake_wxObject(result
);
27162 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27163 PyObject
*resultobj
;
27164 wxMenu
*arg1
= (wxMenu
*) 0 ;
27166 wxString
*arg3
= 0 ;
27167 wxMenu
*arg4
= (wxMenu
*) 0 ;
27168 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27169 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27170 wxMenuItem
*result
;
27171 bool temp3
= False
;
27172 bool temp5
= False
;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 PyObject
* obj2
= 0 ;
27176 PyObject
* obj3
= 0 ;
27177 PyObject
* obj4
= 0 ;
27178 char *kwnames
[] = {
27179 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27185 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27189 arg3
= wxString_in_helper(obj2
);
27190 if (arg3
== NULL
) SWIG_fail
;
27193 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27196 arg5
= wxString_in_helper(obj4
);
27197 if (arg5
== NULL
) SWIG_fail
;
27202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27203 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27205 wxPyEndAllowThreads(__tstate
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27209 resultobj
= wxPyMake_wxObject(result
);
27233 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
;
27235 wxMenu
*arg1
= (wxMenu
*) 0 ;
27236 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27237 wxMenuItem
*result
;
27238 PyObject
* obj0
= 0 ;
27239 PyObject
* obj1
= 0 ;
27240 char *kwnames
[] = {
27241 (char *) "self",(char *) "item", NULL
27244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
27251 wxPyEndAllowThreads(__tstate
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= wxPyMake_wxObject(result
);
27263 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
;
27265 wxMenu
*arg1
= (wxMenu
*) 0 ;
27266 PyObject
* obj0
= 0 ;
27267 char *kwnames
[] = {
27268 (char *) "self", NULL
27271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
27272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27277 wxPyEndAllowThreads(__tstate
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27280 Py_INCREF(Py_None
); resultobj
= Py_None
;
27287 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27288 PyObject
*resultobj
;
27289 wxMenu
*arg1
= (wxMenu
*) 0 ;
27291 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
27292 wxMenuItem
*result
;
27293 PyObject
* obj0
= 0 ;
27294 PyObject
* obj1
= 0 ;
27295 PyObject
* obj2
= 0 ;
27296 char *kwnames
[] = {
27297 (char *) "self",(char *) "pos",(char *) "item", NULL
27300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27303 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27309 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
27311 wxPyEndAllowThreads(__tstate
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27315 resultobj
= wxPyMake_wxObject(result
);
27323 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27324 PyObject
*resultobj
;
27325 wxMenu
*arg1
= (wxMenu
*) 0 ;
27328 wxString
*arg4
= 0 ;
27329 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27330 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27331 int arg6
= (int) wxITEM_NORMAL
;
27332 wxMenuItem
*result
;
27333 bool temp4
= False
;
27334 bool temp5
= False
;
27335 PyObject
* obj0
= 0 ;
27336 PyObject
* obj1
= 0 ;
27337 PyObject
* obj2
= 0 ;
27338 PyObject
* obj3
= 0 ;
27339 PyObject
* obj4
= 0 ;
27340 PyObject
* obj5
= 0 ;
27341 char *kwnames
[] = {
27342 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27348 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27352 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27356 arg4
= wxString_in_helper(obj3
);
27357 if (arg4
== NULL
) SWIG_fail
;
27362 arg5
= wxString_in_helper(obj4
);
27363 if (arg5
== NULL
) SWIG_fail
;
27369 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27375 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
27377 wxPyEndAllowThreads(__tstate
);
27378 if (PyErr_Occurred()) SWIG_fail
;
27381 resultobj
= wxPyMake_wxObject(result
);
27405 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27406 PyObject
*resultobj
;
27407 wxMenu
*arg1
= (wxMenu
*) 0 ;
27409 wxMenuItem
*result
;
27410 PyObject
* obj0
= 0 ;
27411 PyObject
* obj1
= 0 ;
27412 char *kwnames
[] = {
27413 (char *) "self",(char *) "pos", NULL
27416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
27417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27419 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27424 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
27426 wxPyEndAllowThreads(__tstate
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27430 resultobj
= wxPyMake_wxObject(result
);
27438 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
;
27440 wxMenu
*arg1
= (wxMenu
*) 0 ;
27443 wxString
*arg4
= 0 ;
27444 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27445 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27446 wxMenuItem
*result
;
27447 bool temp4
= False
;
27448 bool temp5
= False
;
27449 PyObject
* obj0
= 0 ;
27450 PyObject
* obj1
= 0 ;
27451 PyObject
* obj2
= 0 ;
27452 PyObject
* obj3
= 0 ;
27453 PyObject
* obj4
= 0 ;
27454 char *kwnames
[] = {
27455 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27461 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27462 if (PyErr_Occurred()) SWIG_fail
;
27465 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27469 arg4
= wxString_in_helper(obj3
);
27470 if (arg4
== NULL
) SWIG_fail
;
27475 arg5
= wxString_in_helper(obj4
);
27476 if (arg5
== NULL
) SWIG_fail
;
27481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27482 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27484 wxPyEndAllowThreads(__tstate
);
27485 if (PyErr_Occurred()) SWIG_fail
;
27488 resultobj
= wxPyMake_wxObject(result
);
27512 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
;
27514 wxMenu
*arg1
= (wxMenu
*) 0 ;
27517 wxString
*arg4
= 0 ;
27518 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27519 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27520 wxMenuItem
*result
;
27521 bool temp4
= False
;
27522 bool temp5
= False
;
27523 PyObject
* obj0
= 0 ;
27524 PyObject
* obj1
= 0 ;
27525 PyObject
* obj2
= 0 ;
27526 PyObject
* obj3
= 0 ;
27527 PyObject
* obj4
= 0 ;
27528 char *kwnames
[] = {
27529 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27535 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27539 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27543 arg4
= wxString_in_helper(obj3
);
27544 if (arg4
== NULL
) SWIG_fail
;
27549 arg5
= wxString_in_helper(obj4
);
27550 if (arg5
== NULL
) SWIG_fail
;
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27562 resultobj
= wxPyMake_wxObject(result
);
27586 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27587 PyObject
*resultobj
;
27588 wxMenu
*arg1
= (wxMenu
*) 0 ;
27591 wxString
*arg4
= 0 ;
27592 wxMenu
*arg5
= (wxMenu
*) 0 ;
27593 wxString
const &arg6_defvalue
= wxPyEmptyString
;
27594 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
27595 wxMenuItem
*result
;
27596 bool temp4
= False
;
27597 bool temp6
= False
;
27598 PyObject
* obj0
= 0 ;
27599 PyObject
* obj1
= 0 ;
27600 PyObject
* obj2
= 0 ;
27601 PyObject
* obj3
= 0 ;
27602 PyObject
* obj4
= 0 ;
27603 PyObject
* obj5
= 0 ;
27604 char *kwnames
[] = {
27605 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27611 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27612 if (PyErr_Occurred()) SWIG_fail
;
27615 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27616 if (PyErr_Occurred()) SWIG_fail
;
27619 arg4
= wxString_in_helper(obj3
);
27620 if (arg4
== NULL
) SWIG_fail
;
27623 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27626 arg6
= wxString_in_helper(obj5
);
27627 if (arg6
== NULL
) SWIG_fail
;
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27639 resultobj
= wxPyMake_wxObject(result
);
27663 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27664 PyObject
*resultobj
;
27665 wxMenu
*arg1
= (wxMenu
*) 0 ;
27666 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27667 wxMenuItem
*result
;
27668 PyObject
* obj0
= 0 ;
27669 PyObject
* obj1
= 0 ;
27670 char *kwnames
[] = {
27671 (char *) "self",(char *) "item", NULL
27674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27676 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27679 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
27681 wxPyEndAllowThreads(__tstate
);
27682 if (PyErr_Occurred()) SWIG_fail
;
27685 resultobj
= wxPyMake_wxObject(result
);
27693 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27694 PyObject
*resultobj
;
27695 wxMenu
*arg1
= (wxMenu
*) 0 ;
27697 wxString
*arg3
= 0 ;
27698 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27699 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27700 int arg5
= (int) wxITEM_NORMAL
;
27701 wxMenuItem
*result
;
27702 bool temp3
= False
;
27703 bool temp4
= False
;
27704 PyObject
* obj0
= 0 ;
27705 PyObject
* obj1
= 0 ;
27706 PyObject
* obj2
= 0 ;
27707 PyObject
* obj3
= 0 ;
27708 PyObject
* obj4
= 0 ;
27709 char *kwnames
[] = {
27710 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27716 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27717 if (PyErr_Occurred()) SWIG_fail
;
27720 arg3
= wxString_in_helper(obj2
);
27721 if (arg3
== NULL
) SWIG_fail
;
27726 arg4
= wxString_in_helper(obj3
);
27727 if (arg4
== NULL
) SWIG_fail
;
27733 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
27734 if (PyErr_Occurred()) SWIG_fail
;
27738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27739 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27741 wxPyEndAllowThreads(__tstate
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27745 resultobj
= wxPyMake_wxObject(result
);
27769 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27770 PyObject
*resultobj
;
27771 wxMenu
*arg1
= (wxMenu
*) 0 ;
27772 wxMenuItem
*result
;
27773 PyObject
* obj0
= 0 ;
27774 char *kwnames
[] = {
27775 (char *) "self", NULL
27778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
27779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27782 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
27784 wxPyEndAllowThreads(__tstate
);
27785 if (PyErr_Occurred()) SWIG_fail
;
27788 resultobj
= wxPyMake_wxObject(result
);
27796 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27797 PyObject
*resultobj
;
27798 wxMenu
*arg1
= (wxMenu
*) 0 ;
27800 wxString
*arg3
= 0 ;
27801 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27802 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27803 wxMenuItem
*result
;
27804 bool temp3
= False
;
27805 bool temp4
= False
;
27806 PyObject
* obj0
= 0 ;
27807 PyObject
* obj1
= 0 ;
27808 PyObject
* obj2
= 0 ;
27809 PyObject
* obj3
= 0 ;
27810 char *kwnames
[] = {
27811 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27817 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27821 arg3
= wxString_in_helper(obj2
);
27822 if (arg3
== NULL
) SWIG_fail
;
27827 arg4
= wxString_in_helper(obj3
);
27828 if (arg4
== NULL
) SWIG_fail
;
27833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27834 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27836 wxPyEndAllowThreads(__tstate
);
27837 if (PyErr_Occurred()) SWIG_fail
;
27840 resultobj
= wxPyMake_wxObject(result
);
27864 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27865 PyObject
*resultobj
;
27866 wxMenu
*arg1
= (wxMenu
*) 0 ;
27868 wxString
*arg3
= 0 ;
27869 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27870 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27871 wxMenuItem
*result
;
27872 bool temp3
= False
;
27873 bool temp4
= False
;
27874 PyObject
* obj0
= 0 ;
27875 PyObject
* obj1
= 0 ;
27876 PyObject
* obj2
= 0 ;
27877 PyObject
* obj3
= 0 ;
27878 char *kwnames
[] = {
27879 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27885 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27889 arg3
= wxString_in_helper(obj2
);
27890 if (arg3
== NULL
) SWIG_fail
;
27895 arg4
= wxString_in_helper(obj3
);
27896 if (arg4
== NULL
) SWIG_fail
;
27901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27902 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27904 wxPyEndAllowThreads(__tstate
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= wxPyMake_wxObject(result
);
27932 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27933 PyObject
*resultobj
;
27934 wxMenu
*arg1
= (wxMenu
*) 0 ;
27936 wxString
*arg3
= 0 ;
27937 wxMenu
*arg4
= (wxMenu
*) 0 ;
27938 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27939 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27940 wxMenuItem
*result
;
27941 bool temp3
= False
;
27942 bool temp5
= False
;
27943 PyObject
* obj0
= 0 ;
27944 PyObject
* obj1
= 0 ;
27945 PyObject
* obj2
= 0 ;
27946 PyObject
* obj3
= 0 ;
27947 PyObject
* obj4
= 0 ;
27948 char *kwnames
[] = {
27949 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27955 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27959 arg3
= wxString_in_helper(obj2
);
27960 if (arg3
== NULL
) SWIG_fail
;
27963 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27966 arg5
= wxString_in_helper(obj4
);
27967 if (arg5
== NULL
) SWIG_fail
;
27972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27973 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27975 wxPyEndAllowThreads(__tstate
);
27976 if (PyErr_Occurred()) SWIG_fail
;
27979 resultobj
= wxPyMake_wxObject(result
);
28003 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28004 PyObject
*resultobj
;
28005 wxMenu
*arg1
= (wxMenu
*) 0 ;
28007 wxMenuItem
*result
;
28008 PyObject
* obj0
= 0 ;
28009 PyObject
* obj1
= 0 ;
28010 char *kwnames
[] = {
28011 (char *) "self",(char *) "id", NULL
28014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
28015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28017 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28018 if (PyErr_Occurred()) SWIG_fail
;
28021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28022 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28024 wxPyEndAllowThreads(__tstate
);
28025 if (PyErr_Occurred()) SWIG_fail
;
28028 resultobj
= wxPyMake_wxObject(result
);
28036 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28037 PyObject
*resultobj
;
28038 wxMenu
*arg1
= (wxMenu
*) 0 ;
28039 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28040 wxMenuItem
*result
;
28041 PyObject
* obj0
= 0 ;
28042 PyObject
* obj1
= 0 ;
28043 char *kwnames
[] = {
28044 (char *) "self",(char *) "item", NULL
28047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28049 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28052 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28054 wxPyEndAllowThreads(__tstate
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28058 resultobj
= wxPyMake_wxObject(result
);
28066 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28067 PyObject
*resultobj
;
28068 wxMenu
*arg1
= (wxMenu
*) 0 ;
28071 PyObject
* obj0
= 0 ;
28072 PyObject
* obj1
= 0 ;
28073 char *kwnames
[] = {
28074 (char *) "self",(char *) "id", NULL
28077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
28078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28080 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28085 result
= (bool)(arg1
)->Delete(arg2
);
28087 wxPyEndAllowThreads(__tstate
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28097 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28098 PyObject
*resultobj
;
28099 wxMenu
*arg1
= (wxMenu
*) 0 ;
28100 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28102 PyObject
* obj0
= 0 ;
28103 PyObject
* obj1
= 0 ;
28104 char *kwnames
[] = {
28105 (char *) "self",(char *) "item", NULL
28108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28113 result
= (bool)(arg1
)->Delete(arg2
);
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28125 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28126 PyObject
*resultobj
;
28127 wxMenu
*arg1
= (wxMenu
*) 0 ;
28128 PyObject
* obj0
= 0 ;
28129 char *kwnames
[] = {
28130 (char *) "self", NULL
28133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
28134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 wxMenu_Destroy(arg1
);
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28142 Py_INCREF(Py_None
); resultobj
= Py_None
;
28149 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28150 PyObject
*resultobj
;
28151 wxMenu
*arg1
= (wxMenu
*) 0 ;
28154 PyObject
* obj0
= 0 ;
28155 PyObject
* obj1
= 0 ;
28156 char *kwnames
[] = {
28157 (char *) "self",(char *) "id", NULL
28160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
28161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28163 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28168 result
= (bool)(arg1
)->Destroy(arg2
);
28170 wxPyEndAllowThreads(__tstate
);
28171 if (PyErr_Occurred()) SWIG_fail
;
28173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28180 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
;
28182 wxMenu
*arg1
= (wxMenu
*) 0 ;
28183 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28185 PyObject
* obj0
= 0 ;
28186 PyObject
* obj1
= 0 ;
28187 char *kwnames
[] = {
28188 (char *) "self",(char *) "item", NULL
28191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28193 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28196 result
= (bool)(arg1
)->Destroy(arg2
);
28198 wxPyEndAllowThreads(__tstate
);
28199 if (PyErr_Occurred()) SWIG_fail
;
28201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28208 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28209 PyObject
*resultobj
;
28210 wxMenu
*arg1
= (wxMenu
*) 0 ;
28212 PyObject
* obj0
= 0 ;
28213 char *kwnames
[] = {
28214 (char *) "self", NULL
28217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
28218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28221 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
28223 wxPyEndAllowThreads(__tstate
);
28224 if (PyErr_Occurred()) SWIG_fail
;
28226 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
28233 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28234 PyObject
*resultobj
;
28235 wxMenu
*arg1
= (wxMenu
*) 0 ;
28237 PyObject
* obj0
= 0 ;
28238 char *kwnames
[] = {
28239 (char *) "self", NULL
28242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
28243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
28248 wxPyEndAllowThreads(__tstate
);
28249 if (PyErr_Occurred()) SWIG_fail
;
28251 resultobj
= result
;
28258 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
;
28260 wxMenu
*arg1
= (wxMenu
*) 0 ;
28261 wxString
*arg2
= 0 ;
28263 bool temp2
= False
;
28264 PyObject
* obj0
= 0 ;
28265 PyObject
* obj1
= 0 ;
28266 char *kwnames
[] = {
28267 (char *) "self",(char *) "item", NULL
28270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28273 arg2
= wxString_in_helper(obj1
);
28274 if (arg2
== NULL
) SWIG_fail
;
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28284 resultobj
= SWIG_PyObj_FromInt((int)result
);
28299 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28300 PyObject
*resultobj
;
28301 wxMenu
*arg1
= (wxMenu
*) 0 ;
28303 wxMenuItem
*result
;
28304 PyObject
* obj0
= 0 ;
28305 PyObject
* obj1
= 0 ;
28306 char *kwnames
[] = {
28307 (char *) "self",(char *) "id", NULL
28310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
28311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28313 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28314 if (PyErr_Occurred()) SWIG_fail
;
28317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28318 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
28320 wxPyEndAllowThreads(__tstate
);
28321 if (PyErr_Occurred()) SWIG_fail
;
28324 resultobj
= wxPyMake_wxObject(result
);
28332 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28333 PyObject
*resultobj
;
28334 wxMenu
*arg1
= (wxMenu
*) 0 ;
28336 wxMenuItem
*result
;
28337 PyObject
* obj0
= 0 ;
28338 PyObject
* obj1
= 0 ;
28339 char *kwnames
[] = {
28340 (char *) "self",(char *) "position", NULL
28343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28346 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
28347 if (PyErr_Occurred()) SWIG_fail
;
28350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28351 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
28353 wxPyEndAllowThreads(__tstate
);
28354 if (PyErr_Occurred()) SWIG_fail
;
28357 resultobj
= wxPyMake_wxObject(result
);
28365 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28366 PyObject
*resultobj
;
28367 wxMenu
*arg1
= (wxMenu
*) 0 ;
28370 PyObject
* obj0
= 0 ;
28371 PyObject
* obj1
= 0 ;
28372 PyObject
* obj2
= 0 ;
28373 char *kwnames
[] = {
28374 (char *) "self",(char *) "id",(char *) "enable", NULL
28377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28380 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28384 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28389 (arg1
)->Enable(arg2
,arg3
);
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28394 Py_INCREF(Py_None
); resultobj
= Py_None
;
28401 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28402 PyObject
*resultobj
;
28403 wxMenu
*arg1
= (wxMenu
*) 0 ;
28406 PyObject
* obj0
= 0 ;
28407 PyObject
* obj1
= 0 ;
28408 char *kwnames
[] = {
28409 (char *) "self",(char *) "id", NULL
28412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
28413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28415 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28416 if (PyErr_Occurred()) SWIG_fail
;
28419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28420 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
28422 wxPyEndAllowThreads(__tstate
);
28423 if (PyErr_Occurred()) SWIG_fail
;
28425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28432 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28433 PyObject
*resultobj
;
28434 wxMenu
*arg1
= (wxMenu
*) 0 ;
28437 PyObject
* obj0
= 0 ;
28438 PyObject
* obj1
= 0 ;
28439 PyObject
* obj2
= 0 ;
28440 char *kwnames
[] = {
28441 (char *) "self",(char *) "id",(char *) "check", NULL
28444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28447 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28448 if (PyErr_Occurred()) SWIG_fail
;
28451 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 (arg1
)->Check(arg2
,arg3
);
28458 wxPyEndAllowThreads(__tstate
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28461 Py_INCREF(Py_None
); resultobj
= Py_None
;
28468 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28469 PyObject
*resultobj
;
28470 wxMenu
*arg1
= (wxMenu
*) 0 ;
28473 PyObject
* obj0
= 0 ;
28474 PyObject
* obj1
= 0 ;
28475 char *kwnames
[] = {
28476 (char *) "self",(char *) "id", NULL
28479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
28480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28482 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28487 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
28489 wxPyEndAllowThreads(__tstate
);
28490 if (PyErr_Occurred()) SWIG_fail
;
28492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28499 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28500 PyObject
*resultobj
;
28501 wxMenu
*arg1
= (wxMenu
*) 0 ;
28503 wxString
*arg3
= 0 ;
28504 bool temp3
= False
;
28505 PyObject
* obj0
= 0 ;
28506 PyObject
* obj1
= 0 ;
28507 PyObject
* obj2
= 0 ;
28508 char *kwnames
[] = {
28509 (char *) "self",(char *) "id",(char *) "label", NULL
28512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28515 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28519 arg3
= wxString_in_helper(obj2
);
28520 if (arg3
== NULL
) SWIG_fail
;
28524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28525 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
28527 wxPyEndAllowThreads(__tstate
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28530 Py_INCREF(Py_None
); resultobj
= Py_None
;
28545 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28546 PyObject
*resultobj
;
28547 wxMenu
*arg1
= (wxMenu
*) 0 ;
28550 PyObject
* obj0
= 0 ;
28551 PyObject
* obj1
= 0 ;
28552 char *kwnames
[] = {
28553 (char *) "self",(char *) "id", NULL
28556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28559 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28560 if (PyErr_Occurred()) SWIG_fail
;
28563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28564 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
28566 wxPyEndAllowThreads(__tstate
);
28567 if (PyErr_Occurred()) SWIG_fail
;
28571 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28573 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28582 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28583 PyObject
*resultobj
;
28584 wxMenu
*arg1
= (wxMenu
*) 0 ;
28586 wxString
*arg3
= 0 ;
28587 bool temp3
= False
;
28588 PyObject
* obj0
= 0 ;
28589 PyObject
* obj1
= 0 ;
28590 PyObject
* obj2
= 0 ;
28591 char *kwnames
[] = {
28592 (char *) "self",(char *) "id",(char *) "helpString", NULL
28595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28598 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28602 arg3
= wxString_in_helper(obj2
);
28603 if (arg3
== NULL
) SWIG_fail
;
28607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28608 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28613 Py_INCREF(Py_None
); resultobj
= Py_None
;
28628 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28629 PyObject
*resultobj
;
28630 wxMenu
*arg1
= (wxMenu
*) 0 ;
28633 PyObject
* obj0
= 0 ;
28634 PyObject
* obj1
= 0 ;
28635 char *kwnames
[] = {
28636 (char *) "self",(char *) "id", NULL
28639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
28640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28642 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28643 if (PyErr_Occurred()) SWIG_fail
;
28646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28647 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
28649 wxPyEndAllowThreads(__tstate
);
28650 if (PyErr_Occurred()) SWIG_fail
;
28654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28665 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28666 PyObject
*resultobj
;
28667 wxMenu
*arg1
= (wxMenu
*) 0 ;
28668 wxString
*arg2
= 0 ;
28669 bool temp2
= False
;
28670 PyObject
* obj0
= 0 ;
28671 PyObject
* obj1
= 0 ;
28672 char *kwnames
[] = {
28673 (char *) "self",(char *) "title", NULL
28676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
28677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28679 arg2
= wxString_in_helper(obj1
);
28680 if (arg2
== NULL
) SWIG_fail
;
28684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28685 (arg1
)->SetTitle((wxString
const &)*arg2
);
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28690 Py_INCREF(Py_None
); resultobj
= Py_None
;
28705 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28706 PyObject
*resultobj
;
28707 wxMenu
*arg1
= (wxMenu
*) 0 ;
28709 PyObject
* obj0
= 0 ;
28710 char *kwnames
[] = {
28711 (char *) "self", NULL
28714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
28715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28718 result
= ((wxMenu
const *)arg1
)->GetTitle();
28720 wxPyEndAllowThreads(__tstate
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28736 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28737 PyObject
*resultobj
;
28738 wxMenu
*arg1
= (wxMenu
*) 0 ;
28739 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28740 PyObject
* obj0
= 0 ;
28741 PyObject
* obj1
= 0 ;
28742 char *kwnames
[] = {
28743 (char *) "self",(char *) "handler", NULL
28746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28748 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28751 (arg1
)->SetEventHandler(arg2
);
28753 wxPyEndAllowThreads(__tstate
);
28754 if (PyErr_Occurred()) SWIG_fail
;
28756 Py_INCREF(Py_None
); resultobj
= Py_None
;
28763 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
;
28765 wxMenu
*arg1
= (wxMenu
*) 0 ;
28766 wxEvtHandler
*result
;
28767 PyObject
* obj0
= 0 ;
28768 char *kwnames
[] = {
28769 (char *) "self", NULL
28772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",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
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
28778 wxPyEndAllowThreads(__tstate
);
28779 if (PyErr_Occurred()) SWIG_fail
;
28782 resultobj
= wxPyMake_wxObject(result
);
28790 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28791 PyObject
*resultobj
;
28792 wxMenu
*arg1
= (wxMenu
*) 0 ;
28793 wxWindow
*arg2
= (wxWindow
*) 0 ;
28794 PyObject
* obj0
= 0 ;
28795 PyObject
* obj1
= 0 ;
28796 char *kwnames
[] = {
28797 (char *) "self",(char *) "win", NULL
28800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28802 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 (arg1
)->SetInvokingWindow(arg2
);
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28810 Py_INCREF(Py_None
); resultobj
= Py_None
;
28817 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28818 PyObject
*resultobj
;
28819 wxMenu
*arg1
= (wxMenu
*) 0 ;
28821 PyObject
* obj0
= 0 ;
28822 char *kwnames
[] = {
28823 (char *) "self", NULL
28826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
28827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28830 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
28832 wxPyEndAllowThreads(__tstate
);
28833 if (PyErr_Occurred()) SWIG_fail
;
28836 resultobj
= wxPyMake_wxObject(result
);
28844 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28845 PyObject
*resultobj
;
28846 wxMenu
*arg1
= (wxMenu
*) 0 ;
28848 PyObject
* obj0
= 0 ;
28849 char *kwnames
[] = {
28850 (char *) "self", NULL
28853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
28854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28857 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
28859 wxPyEndAllowThreads(__tstate
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28862 resultobj
= SWIG_PyObj_FromLong((long)result
);
28869 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28870 PyObject
*resultobj
;
28871 wxMenu
*arg1
= (wxMenu
*) 0 ;
28872 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
28873 PyObject
* obj0
= 0 ;
28874 PyObject
* obj1
= 0 ;
28875 char *kwnames
[] = {
28876 (char *) "self",(char *) "source", NULL
28879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
28880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28886 (arg1
)->UpdateUI(arg2
);
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 Py_INCREF(Py_None
); resultobj
= Py_None
;
28898 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28899 PyObject
*resultobj
;
28900 wxMenu
*arg1
= (wxMenu
*) 0 ;
28902 PyObject
* obj0
= 0 ;
28903 char *kwnames
[] = {
28904 (char *) "self", NULL
28907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
28908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= wxPyMake_wxObject(result
);
28925 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28926 PyObject
*resultobj
;
28927 wxMenu
*arg1
= (wxMenu
*) 0 ;
28928 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
28929 PyObject
* obj0
= 0 ;
28930 PyObject
* obj1
= 0 ;
28931 char *kwnames
[] = {
28932 (char *) "self",(char *) "menubar", NULL
28935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
28936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28940 (arg1
)->Attach(arg2
);
28942 wxPyEndAllowThreads(__tstate
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28945 Py_INCREF(Py_None
); resultobj
= Py_None
;
28952 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28953 PyObject
*resultobj
;
28954 wxMenu
*arg1
= (wxMenu
*) 0 ;
28955 PyObject
* obj0
= 0 ;
28956 char *kwnames
[] = {
28957 (char *) "self", NULL
28960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
28961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 wxPyEndAllowThreads(__tstate
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28969 Py_INCREF(Py_None
); resultobj
= Py_None
;
28976 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28977 PyObject
*resultobj
;
28978 wxMenu
*arg1
= (wxMenu
*) 0 ;
28980 PyObject
* obj0
= 0 ;
28981 char *kwnames
[] = {
28982 (char *) "self", NULL
28985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
28986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28989 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
28991 wxPyEndAllowThreads(__tstate
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29001 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29002 PyObject
*resultobj
;
29003 wxMenu
*arg1
= (wxMenu
*) 0 ;
29004 wxMenu
*arg2
= (wxMenu
*) 0 ;
29005 PyObject
* obj0
= 0 ;
29006 PyObject
* obj1
= 0 ;
29007 char *kwnames
[] = {
29008 (char *) "self",(char *) "parent", NULL
29011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29013 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29016 (arg1
)->SetParent(arg2
);
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29021 Py_INCREF(Py_None
); resultobj
= Py_None
;
29028 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29029 PyObject
*resultobj
;
29030 wxMenu
*arg1
= (wxMenu
*) 0 ;
29032 PyObject
* obj0
= 0 ;
29033 char *kwnames
[] = {
29034 (char *) "self", NULL
29037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
29038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29041 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
29043 wxPyEndAllowThreads(__tstate
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29047 resultobj
= wxPyMake_wxObject(result
);
29055 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
29057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29058 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
29060 return Py_BuildValue((char *)"");
29062 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29063 PyObject
*resultobj
;
29064 long arg1
= (long) 0 ;
29066 PyObject
* obj0
= 0 ;
29067 char *kwnames
[] = {
29068 (char *) "style", NULL
29071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
29074 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
29082 wxPyEndAllowThreads(__tstate
);
29083 if (PyErr_Occurred()) SWIG_fail
;
29086 resultobj
= wxPyMake_wxObject(result
);
29094 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29095 PyObject
*resultobj
;
29096 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29097 wxMenu
*arg2
= (wxMenu
*) 0 ;
29098 wxString
*arg3
= 0 ;
29100 bool temp3
= False
;
29101 PyObject
* obj0
= 0 ;
29102 PyObject
* obj1
= 0 ;
29103 PyObject
* obj2
= 0 ;
29104 char *kwnames
[] = {
29105 (char *) "self",(char *) "menu",(char *) "title", NULL
29108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29112 arg3
= wxString_in_helper(obj2
);
29113 if (arg3
== NULL
) SWIG_fail
;
29117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29118 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
29120 wxPyEndAllowThreads(__tstate
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29138 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29139 PyObject
*resultobj
;
29140 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29142 wxMenu
*arg3
= (wxMenu
*) 0 ;
29143 wxString
*arg4
= 0 ;
29145 bool temp4
= False
;
29146 PyObject
* obj0
= 0 ;
29147 PyObject
* obj1
= 0 ;
29148 PyObject
* obj2
= 0 ;
29149 PyObject
* obj3
= 0 ;
29150 char *kwnames
[] = {
29151 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29157 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29160 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29162 arg4
= wxString_in_helper(obj3
);
29163 if (arg4
== NULL
) SWIG_fail
;
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
29170 wxPyEndAllowThreads(__tstate
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29188 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29189 PyObject
*resultobj
;
29190 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29192 PyObject
* obj0
= 0 ;
29193 char *kwnames
[] = {
29194 (char *) "self", NULL
29197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
29198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29201 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
29203 wxPyEndAllowThreads(__tstate
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29206 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
29213 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29214 PyObject
*resultobj
;
29215 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29218 PyObject
* obj0
= 0 ;
29219 PyObject
* obj1
= 0 ;
29220 char *kwnames
[] = {
29221 (char *) "self",(char *) "pos", NULL
29224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29227 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29228 if (PyErr_Occurred()) SWIG_fail
;
29231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29232 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29238 resultobj
= wxPyMake_wxObject(result
);
29246 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29247 PyObject
*resultobj
;
29248 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29250 wxMenu
*arg3
= (wxMenu
*) 0 ;
29251 wxString
*arg4
= 0 ;
29253 bool temp4
= False
;
29254 PyObject
* obj0
= 0 ;
29255 PyObject
* obj1
= 0 ;
29256 PyObject
* obj2
= 0 ;
29257 PyObject
* obj3
= 0 ;
29258 char *kwnames
[] = {
29259 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29265 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29266 if (PyErr_Occurred()) SWIG_fail
;
29268 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29270 arg4
= wxString_in_helper(obj3
);
29271 if (arg4
== NULL
) SWIG_fail
;
29275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29276 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
29278 wxPyEndAllowThreads(__tstate
);
29279 if (PyErr_Occurred()) SWIG_fail
;
29282 resultobj
= wxPyMake_wxObject(result
);
29298 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29299 PyObject
*resultobj
;
29300 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29303 PyObject
* obj0
= 0 ;
29304 PyObject
* obj1
= 0 ;
29305 char *kwnames
[] = {
29306 (char *) "self",(char *) "pos", NULL
29309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29312 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29313 if (PyErr_Occurred()) SWIG_fail
;
29316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29317 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
29319 wxPyEndAllowThreads(__tstate
);
29320 if (PyErr_Occurred()) SWIG_fail
;
29323 resultobj
= wxPyMake_wxObject(result
);
29331 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29332 PyObject
*resultobj
;
29333 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29336 PyObject
* obj0
= 0 ;
29337 PyObject
* obj1
= 0 ;
29338 PyObject
* obj2
= 0 ;
29339 char *kwnames
[] = {
29340 (char *) "self",(char *) "pos",(char *) "enable", NULL
29343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29346 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29350 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29355 (arg1
)->EnableTop(arg2
,arg3
);
29357 wxPyEndAllowThreads(__tstate
);
29358 if (PyErr_Occurred()) SWIG_fail
;
29360 Py_INCREF(Py_None
); resultobj
= Py_None
;
29367 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29368 PyObject
*resultobj
;
29369 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29372 PyObject
* obj0
= 0 ;
29373 PyObject
* obj1
= 0 ;
29374 char *kwnames
[] = {
29375 (char *) "self",(char *) "pos", NULL
29378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29381 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29386 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
29388 wxPyEndAllowThreads(__tstate
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29398 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29399 PyObject
*resultobj
;
29400 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29402 wxString
*arg3
= 0 ;
29403 bool temp3
= False
;
29404 PyObject
* obj0
= 0 ;
29405 PyObject
* obj1
= 0 ;
29406 PyObject
* obj2
= 0 ;
29407 char *kwnames
[] = {
29408 (char *) "self",(char *) "pos",(char *) "label", NULL
29411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29414 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29415 if (PyErr_Occurred()) SWIG_fail
;
29418 arg3
= wxString_in_helper(obj2
);
29419 if (arg3
== NULL
) SWIG_fail
;
29423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29424 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
29426 wxPyEndAllowThreads(__tstate
);
29427 if (PyErr_Occurred()) SWIG_fail
;
29429 Py_INCREF(Py_None
); resultobj
= Py_None
;
29444 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29445 PyObject
*resultobj
;
29446 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29449 PyObject
* obj0
= 0 ;
29450 PyObject
* obj1
= 0 ;
29451 char *kwnames
[] = {
29452 (char *) "self",(char *) "pos", NULL
29455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29458 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29459 if (PyErr_Occurred()) SWIG_fail
;
29462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29463 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
29465 wxPyEndAllowThreads(__tstate
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29481 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29482 PyObject
*resultobj
;
29483 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29484 wxString
*arg2
= 0 ;
29485 wxString
*arg3
= 0 ;
29487 bool temp2
= False
;
29488 bool temp3
= False
;
29489 PyObject
* obj0
= 0 ;
29490 PyObject
* obj1
= 0 ;
29491 PyObject
* obj2
= 0 ;
29492 char *kwnames
[] = {
29493 (char *) "self",(char *) "menu",(char *) "item", NULL
29496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29499 arg2
= wxString_in_helper(obj1
);
29500 if (arg2
== NULL
) SWIG_fail
;
29504 arg3
= wxString_in_helper(obj2
);
29505 if (arg3
== NULL
) SWIG_fail
;
29509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29510 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
29512 wxPyEndAllowThreads(__tstate
);
29513 if (PyErr_Occurred()) SWIG_fail
;
29515 resultobj
= SWIG_PyObj_FromInt((int)result
);
29538 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29539 PyObject
*resultobj
;
29540 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29542 wxMenuItem
*result
;
29543 PyObject
* obj0
= 0 ;
29544 PyObject
* obj1
= 0 ;
29545 char *kwnames
[] = {
29546 (char *) "self",(char *) "id", NULL
29549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29552 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29557 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
29559 wxPyEndAllowThreads(__tstate
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29563 resultobj
= wxPyMake_wxObject(result
);
29571 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29572 PyObject
*resultobj
;
29573 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29574 wxString
*arg2
= 0 ;
29576 bool temp2
= False
;
29577 PyObject
* obj0
= 0 ;
29578 PyObject
* obj1
= 0 ;
29579 char *kwnames
[] = {
29580 (char *) "self",(char *) "title", NULL
29583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29586 arg2
= wxString_in_helper(obj1
);
29587 if (arg2
== NULL
) SWIG_fail
;
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29597 resultobj
= SWIG_PyObj_FromInt((int)result
);
29612 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29613 PyObject
*resultobj
;
29614 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29617 PyObject
* obj0
= 0 ;
29618 PyObject
* obj1
= 0 ;
29619 PyObject
* obj2
= 0 ;
29620 char *kwnames
[] = {
29621 (char *) "self",(char *) "id",(char *) "enable", NULL
29624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29627 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29631 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29632 if (PyErr_Occurred()) SWIG_fail
;
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 (arg1
)->Enable(arg2
,arg3
);
29638 wxPyEndAllowThreads(__tstate
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29641 Py_INCREF(Py_None
); resultobj
= Py_None
;
29648 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29649 PyObject
*resultobj
;
29650 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 PyObject
* obj2
= 0 ;
29656 char *kwnames
[] = {
29657 (char *) "self",(char *) "id",(char *) "check", NULL
29660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29663 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29667 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29672 (arg1
)->Check(arg2
,arg3
);
29674 wxPyEndAllowThreads(__tstate
);
29675 if (PyErr_Occurred()) SWIG_fail
;
29677 Py_INCREF(Py_None
); resultobj
= Py_None
;
29684 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29685 PyObject
*resultobj
;
29686 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29689 PyObject
* obj0
= 0 ;
29690 PyObject
* obj1
= 0 ;
29691 char *kwnames
[] = {
29692 (char *) "self",(char *) "id", NULL
29695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
29696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29698 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29703 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
29705 wxPyEndAllowThreads(__tstate
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29715 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29716 PyObject
*resultobj
;
29717 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29720 PyObject
* obj0
= 0 ;
29721 PyObject
* obj1
= 0 ;
29722 char *kwnames
[] = {
29723 (char *) "self",(char *) "id", NULL
29726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29729 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
29736 wxPyEndAllowThreads(__tstate
);
29737 if (PyErr_Occurred()) SWIG_fail
;
29739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29746 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29747 PyObject
*resultobj
;
29748 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29750 wxString
*arg3
= 0 ;
29751 bool temp3
= False
;
29752 PyObject
* obj0
= 0 ;
29753 PyObject
* obj1
= 0 ;
29754 PyObject
* obj2
= 0 ;
29755 char *kwnames
[] = {
29756 (char *) "self",(char *) "id",(char *) "label", NULL
29759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29762 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29763 if (PyErr_Occurred()) SWIG_fail
;
29766 arg3
= wxString_in_helper(obj2
);
29767 if (arg3
== NULL
) SWIG_fail
;
29771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29772 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
29774 wxPyEndAllowThreads(__tstate
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29777 Py_INCREF(Py_None
); resultobj
= Py_None
;
29792 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29793 PyObject
*resultobj
;
29794 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29797 PyObject
* obj0
= 0 ;
29798 PyObject
* obj1
= 0 ;
29799 char *kwnames
[] = {
29800 (char *) "self",(char *) "id", NULL
29803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29806 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29807 if (PyErr_Occurred()) SWIG_fail
;
29810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29811 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
29813 wxPyEndAllowThreads(__tstate
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29829 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29830 PyObject
*resultobj
;
29831 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29833 wxString
*arg3
= 0 ;
29834 bool temp3
= False
;
29835 PyObject
* obj0
= 0 ;
29836 PyObject
* obj1
= 0 ;
29837 PyObject
* obj2
= 0 ;
29838 char *kwnames
[] = {
29839 (char *) "self",(char *) "id",(char *) "helpString", NULL
29842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29845 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 arg3
= wxString_in_helper(obj2
);
29850 if (arg3
== NULL
) SWIG_fail
;
29854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29855 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
29857 wxPyEndAllowThreads(__tstate
);
29858 if (PyErr_Occurred()) SWIG_fail
;
29860 Py_INCREF(Py_None
); resultobj
= Py_None
;
29875 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29876 PyObject
*resultobj
;
29877 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29880 PyObject
* obj0
= 0 ;
29881 PyObject
* obj1
= 0 ;
29882 char *kwnames
[] = {
29883 (char *) "self",(char *) "id", NULL
29886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
29887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29889 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
29896 wxPyEndAllowThreads(__tstate
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29912 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29913 PyObject
*resultobj
;
29914 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29916 PyObject
* obj0
= 0 ;
29917 char *kwnames
[] = {
29918 (char *) "self", NULL
29921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
29922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29925 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
29927 wxPyEndAllowThreads(__tstate
);
29928 if (PyErr_Occurred()) SWIG_fail
;
29931 resultobj
= wxPyMake_wxObject(result
);
29939 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29940 PyObject
*resultobj
;
29941 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29943 PyObject
* obj0
= 0 ;
29944 char *kwnames
[] = {
29945 (char *) "self", NULL
29948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
29949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29952 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
29954 wxPyEndAllowThreads(__tstate
);
29955 if (PyErr_Occurred()) SWIG_fail
;
29957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29964 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29965 PyObject
*resultobj
;
29966 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29967 wxFrame
*arg2
= (wxFrame
*) 0 ;
29968 PyObject
* obj0
= 0 ;
29969 PyObject
* obj1
= 0 ;
29970 char *kwnames
[] = {
29971 (char *) "self",(char *) "frame", NULL
29974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
29975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29976 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29979 (arg1
)->Attach(arg2
);
29981 wxPyEndAllowThreads(__tstate
);
29982 if (PyErr_Occurred()) SWIG_fail
;
29984 Py_INCREF(Py_None
); resultobj
= Py_None
;
29991 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29992 PyObject
*resultobj
;
29993 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29994 PyObject
* obj0
= 0 ;
29995 char *kwnames
[] = {
29996 (char *) "self", NULL
29999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
30000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30005 wxPyEndAllowThreads(__tstate
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30008 Py_INCREF(Py_None
); resultobj
= Py_None
;
30015 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
30017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30018 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
30020 return Py_BuildValue((char *)"");
30022 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30023 PyObject
*resultobj
;
30024 wxMenu
*arg1
= (wxMenu
*) NULL
;
30025 int arg2
= (int) wxID_SEPARATOR
;
30026 wxString
const &arg3_defvalue
= wxPyEmptyString
;
30027 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30028 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30029 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30030 int arg5
= (int) wxITEM_NORMAL
;
30031 wxMenu
*arg6
= (wxMenu
*) NULL
;
30032 wxMenuItem
*result
;
30033 bool temp3
= False
;
30034 bool temp4
= False
;
30035 PyObject
* obj0
= 0 ;
30036 PyObject
* obj1
= 0 ;
30037 PyObject
* obj2
= 0 ;
30038 PyObject
* obj3
= 0 ;
30039 PyObject
* obj4
= 0 ;
30040 PyObject
* obj5
= 0 ;
30041 char *kwnames
[] = {
30042 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30051 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30057 arg3
= wxString_in_helper(obj2
);
30058 if (arg3
== NULL
) SWIG_fail
;
30064 arg4
= wxString_in_helper(obj3
);
30065 if (arg4
== NULL
) SWIG_fail
;
30071 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30076 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30080 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
30082 wxPyEndAllowThreads(__tstate
);
30083 if (PyErr_Occurred()) SWIG_fail
;
30086 resultobj
= wxPyMake_wxObject(result
);
30110 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30111 PyObject
*resultobj
;
30112 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30114 PyObject
* obj0
= 0 ;
30115 char *kwnames
[] = {
30116 (char *) "self", NULL
30119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
30120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30123 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
30125 wxPyEndAllowThreads(__tstate
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30129 resultobj
= wxPyMake_wxObject(result
);
30137 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30138 PyObject
*resultobj
;
30139 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30140 wxMenu
*arg2
= (wxMenu
*) 0 ;
30141 PyObject
* obj0
= 0 ;
30142 PyObject
* obj1
= 0 ;
30143 char *kwnames
[] = {
30144 (char *) "self",(char *) "menu", NULL
30147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30152 (arg1
)->SetMenu(arg2
);
30154 wxPyEndAllowThreads(__tstate
);
30155 if (PyErr_Occurred()) SWIG_fail
;
30157 Py_INCREF(Py_None
); resultobj
= Py_None
;
30164 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30165 PyObject
*resultobj
;
30166 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30168 PyObject
* obj0
= 0 ;
30169 PyObject
* obj1
= 0 ;
30170 char *kwnames
[] = {
30171 (char *) "self",(char *) "id", NULL
30174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
30175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30177 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
30178 if (PyErr_Occurred()) SWIG_fail
;
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 (arg1
)->SetId(arg2
);
30184 wxPyEndAllowThreads(__tstate
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30187 Py_INCREF(Py_None
); resultobj
= Py_None
;
30194 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30195 PyObject
*resultobj
;
30196 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30198 PyObject
* obj0
= 0 ;
30199 char *kwnames
[] = {
30200 (char *) "self", NULL
30203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
30204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30207 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
30209 wxPyEndAllowThreads(__tstate
);
30210 if (PyErr_Occurred()) SWIG_fail
;
30212 resultobj
= SWIG_PyObj_FromInt((int)result
);
30219 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30220 PyObject
*resultobj
;
30221 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30223 PyObject
* obj0
= 0 ;
30224 char *kwnames
[] = {
30225 (char *) "self", NULL
30228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
30229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30232 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
30234 wxPyEndAllowThreads(__tstate
);
30235 if (PyErr_Occurred()) SWIG_fail
;
30237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30244 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30245 PyObject
*resultobj
;
30246 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30247 wxString
*arg2
= 0 ;
30248 bool temp2
= False
;
30249 PyObject
* obj0
= 0 ;
30250 PyObject
* obj1
= 0 ;
30251 char *kwnames
[] = {
30252 (char *) "self",(char *) "str", NULL
30255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
30256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30258 arg2
= wxString_in_helper(obj1
);
30259 if (arg2
== NULL
) SWIG_fail
;
30263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30264 (arg1
)->SetText((wxString
const &)*arg2
);
30266 wxPyEndAllowThreads(__tstate
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30269 Py_INCREF(Py_None
); resultobj
= Py_None
;
30284 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30285 PyObject
*resultobj
;
30286 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30288 PyObject
* obj0
= 0 ;
30289 char *kwnames
[] = {
30290 (char *) "self", NULL
30293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
30294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30297 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
30299 wxPyEndAllowThreads(__tstate
);
30300 if (PyErr_Occurred()) SWIG_fail
;
30304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30315 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30316 PyObject
*resultobj
;
30317 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30319 PyObject
* obj0
= 0 ;
30320 char *kwnames
[] = {
30321 (char *) "self", NULL
30324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
30325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30329 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
30330 result
= (wxString
*) &_result_ref
;
30333 wxPyEndAllowThreads(__tstate
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30338 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30340 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30349 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30350 PyObject
*resultobj
;
30351 wxString
*arg1
= 0 ;
30353 bool temp1
= False
;
30354 PyObject
* obj0
= 0 ;
30355 char *kwnames
[] = {
30356 (char *) "text", NULL
30359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
30361 arg1
= wxString_in_helper(obj0
);
30362 if (arg1
== NULL
) SWIG_fail
;
30366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30367 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
30369 wxPyEndAllowThreads(__tstate
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30393 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30394 PyObject
*resultobj
;
30395 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30397 PyObject
* obj0
= 0 ;
30398 char *kwnames
[] = {
30399 (char *) "self", NULL
30402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
30403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30406 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
30408 wxPyEndAllowThreads(__tstate
);
30409 if (PyErr_Occurred()) SWIG_fail
;
30411 resultobj
= SWIG_PyObj_FromInt((int)result
);
30418 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30419 PyObject
*resultobj
;
30420 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30422 PyObject
* obj0
= 0 ;
30423 PyObject
* obj1
= 0 ;
30424 char *kwnames
[] = {
30425 (char *) "self",(char *) "checkable", NULL
30428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
30429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30431 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30436 (arg1
)->SetCheckable(arg2
);
30438 wxPyEndAllowThreads(__tstate
);
30439 if (PyErr_Occurred()) SWIG_fail
;
30441 Py_INCREF(Py_None
); resultobj
= Py_None
;
30448 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30449 PyObject
*resultobj
;
30450 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30452 PyObject
* obj0
= 0 ;
30453 char *kwnames
[] = {
30454 (char *) "self", NULL
30457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
30458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30461 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
30463 wxPyEndAllowThreads(__tstate
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30473 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30474 PyObject
*resultobj
;
30475 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30477 PyObject
* obj0
= 0 ;
30478 char *kwnames
[] = {
30479 (char *) "self", NULL
30482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
30483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30486 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
30488 wxPyEndAllowThreads(__tstate
);
30489 if (PyErr_Occurred()) SWIG_fail
;
30491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30498 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30499 PyObject
*resultobj
;
30500 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30501 wxMenu
*arg2
= (wxMenu
*) 0 ;
30502 PyObject
* obj0
= 0 ;
30503 PyObject
* obj1
= 0 ;
30504 char *kwnames
[] = {
30505 (char *) "self",(char *) "menu", NULL
30508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30510 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 (arg1
)->SetSubMenu(arg2
);
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30518 Py_INCREF(Py_None
); resultobj
= Py_None
;
30525 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30526 PyObject
*resultobj
;
30527 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30529 PyObject
* obj0
= 0 ;
30530 char *kwnames
[] = {
30531 (char *) "self", NULL
30534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
30535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30538 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
30540 wxPyEndAllowThreads(__tstate
);
30541 if (PyErr_Occurred()) SWIG_fail
;
30544 resultobj
= wxPyMake_wxObject(result
);
30552 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30553 PyObject
*resultobj
;
30554 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30555 bool arg2
= (bool) True
;
30556 PyObject
* obj0
= 0 ;
30557 PyObject
* obj1
= 0 ;
30558 char *kwnames
[] = {
30559 (char *) "self",(char *) "enable", NULL
30562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
30563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30566 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30567 if (PyErr_Occurred()) SWIG_fail
;
30571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30572 (arg1
)->Enable(arg2
);
30574 wxPyEndAllowThreads(__tstate
);
30575 if (PyErr_Occurred()) SWIG_fail
;
30577 Py_INCREF(Py_None
); resultobj
= Py_None
;
30584 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30585 PyObject
*resultobj
;
30586 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30588 PyObject
* obj0
= 0 ;
30589 char *kwnames
[] = {
30590 (char *) "self", NULL
30593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
30594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
30599 wxPyEndAllowThreads(__tstate
);
30600 if (PyErr_Occurred()) SWIG_fail
;
30602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30609 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30610 PyObject
*resultobj
;
30611 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30612 bool arg2
= (bool) True
;
30613 PyObject
* obj0
= 0 ;
30614 PyObject
* obj1
= 0 ;
30615 char *kwnames
[] = {
30616 (char *) "self",(char *) "check", NULL
30619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
30620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30623 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30624 if (PyErr_Occurred()) SWIG_fail
;
30628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30629 (arg1
)->Check(arg2
);
30631 wxPyEndAllowThreads(__tstate
);
30632 if (PyErr_Occurred()) SWIG_fail
;
30634 Py_INCREF(Py_None
); resultobj
= Py_None
;
30641 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30642 PyObject
*resultobj
;
30643 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30645 PyObject
* obj0
= 0 ;
30646 char *kwnames
[] = {
30647 (char *) "self", NULL
30650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
30651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30654 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
30656 wxPyEndAllowThreads(__tstate
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30666 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30667 PyObject
*resultobj
;
30668 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30669 PyObject
* obj0
= 0 ;
30670 char *kwnames
[] = {
30671 (char *) "self", NULL
30674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
30675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30683 Py_INCREF(Py_None
); resultobj
= Py_None
;
30690 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
;
30692 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30693 wxString
*arg2
= 0 ;
30694 bool temp2
= False
;
30695 PyObject
* obj0
= 0 ;
30696 PyObject
* obj1
= 0 ;
30697 char *kwnames
[] = {
30698 (char *) "self",(char *) "str", NULL
30701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30704 arg2
= wxString_in_helper(obj1
);
30705 if (arg2
== NULL
) SWIG_fail
;
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 (arg1
)->SetHelp((wxString
const &)*arg2
);
30712 wxPyEndAllowThreads(__tstate
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30715 Py_INCREF(Py_None
); resultobj
= Py_None
;
30730 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30731 PyObject
*resultobj
;
30732 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30734 PyObject
* obj0
= 0 ;
30735 char *kwnames
[] = {
30736 (char *) "self", NULL
30739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
30740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30744 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
30745 result
= (wxString
*) &_result_ref
;
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30753 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30755 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30764 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30765 PyObject
*resultobj
;
30766 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30767 wxAcceleratorEntry
*result
;
30768 PyObject
* obj0
= 0 ;
30769 char *kwnames
[] = {
30770 (char *) "self", NULL
30773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
30774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30777 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
30779 wxPyEndAllowThreads(__tstate
);
30780 if (PyErr_Occurred()) SWIG_fail
;
30782 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
30789 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
;
30791 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30792 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
30793 PyObject
* obj0
= 0 ;
30794 PyObject
* obj1
= 0 ;
30795 char *kwnames
[] = {
30796 (char *) "self",(char *) "accel", NULL
30799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
30800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30801 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30804 (arg1
)->SetAccel(arg2
);
30806 wxPyEndAllowThreads(__tstate
);
30807 if (PyErr_Occurred()) SWIG_fail
;
30809 Py_INCREF(Py_None
); resultobj
= Py_None
;
30816 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30817 PyObject
*resultobj
;
30819 char *kwnames
[] = {
30823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
30825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30826 result
= (int)MenuItem_GetDefaultMarginWidth();
30828 wxPyEndAllowThreads(__tstate
);
30829 if (PyErr_Occurred()) SWIG_fail
;
30831 resultobj
= SWIG_PyObj_FromInt((int)result
);
30838 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30839 PyObject
*resultobj
;
30840 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30841 wxBitmap
*arg2
= 0 ;
30842 PyObject
* obj0
= 0 ;
30843 PyObject
* obj1
= 0 ;
30844 char *kwnames
[] = {
30845 (char *) "self",(char *) "bitmap", NULL
30848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30850 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30851 if (arg2
== NULL
) {
30852 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30861 Py_INCREF(Py_None
); resultobj
= Py_None
;
30868 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30869 PyObject
*resultobj
;
30870 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30872 PyObject
* obj0
= 0 ;
30873 char *kwnames
[] = {
30874 (char *) "self", NULL
30877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
30878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30882 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
30883 result
= (wxBitmap
*) &_result_ref
;
30886 wxPyEndAllowThreads(__tstate
);
30887 if (PyErr_Occurred()) SWIG_fail
;
30889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
30896 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
30898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30899 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
30901 return Py_BuildValue((char *)"");
30903 static int _wrap_ControlNameStr_set(PyObject
*) {
30904 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
30909 static PyObject
*_wrap_ControlNameStr_get() {
30914 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
30916 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
30923 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30924 PyObject
*resultobj
;
30925 wxWindow
*arg1
= (wxWindow
*) 0 ;
30927 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30928 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30929 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30930 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30931 long arg5
= (long) 0 ;
30932 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
30933 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
30934 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
30935 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30939 bool temp7
= False
;
30940 PyObject
* obj0
= 0 ;
30941 PyObject
* obj1
= 0 ;
30942 PyObject
* obj2
= 0 ;
30943 PyObject
* obj3
= 0 ;
30944 PyObject
* obj4
= 0 ;
30945 PyObject
* obj5
= 0 ;
30946 PyObject
* obj6
= 0 ;
30947 char *kwnames
[] = {
30948 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
30951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30954 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
30955 if (PyErr_Occurred()) SWIG_fail
;
30960 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30966 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30971 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30976 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30977 if (arg6
== NULL
) {
30978 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30983 arg7
= wxString_in_helper(obj6
);
30984 if (arg7
== NULL
) SWIG_fail
;
30989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30990 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
30992 wxPyEndAllowThreads(__tstate
);
30993 if (PyErr_Occurred()) SWIG_fail
;
30996 resultobj
= wxPyMake_wxObject(result
);
31012 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31013 PyObject
*resultobj
;
31015 char *kwnames
[] = {
31019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
31021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31022 result
= (wxControl
*)new wxControl();
31024 wxPyEndAllowThreads(__tstate
);
31025 if (PyErr_Occurred()) SWIG_fail
;
31028 resultobj
= wxPyMake_wxObject(result
);
31036 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
;
31038 wxControl
*arg1
= (wxControl
*) 0 ;
31039 wxWindow
*arg2
= (wxWindow
*) 0 ;
31041 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31042 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31043 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31044 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31045 long arg6
= (long) 0 ;
31046 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31047 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31048 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
31049 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31053 bool temp8
= False
;
31054 PyObject
* obj0
= 0 ;
31055 PyObject
* obj1
= 0 ;
31056 PyObject
* obj2
= 0 ;
31057 PyObject
* obj3
= 0 ;
31058 PyObject
* obj4
= 0 ;
31059 PyObject
* obj5
= 0 ;
31060 PyObject
* obj6
= 0 ;
31061 PyObject
* obj7
= 0 ;
31062 char *kwnames
[] = {
31063 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
31067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31068 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31070 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31071 if (PyErr_Occurred()) SWIG_fail
;
31076 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31082 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31087 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31092 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31093 if (arg7
== NULL
) {
31094 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31099 arg8
= wxString_in_helper(obj7
);
31100 if (arg8
== NULL
) SWIG_fail
;
31105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31106 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31108 wxPyEndAllowThreads(__tstate
);
31109 if (PyErr_Occurred()) SWIG_fail
;
31111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31126 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31127 PyObject
*resultobj
;
31128 wxControl
*arg1
= (wxControl
*) 0 ;
31129 wxCommandEvent
*arg2
= 0 ;
31130 PyObject
* obj0
= 0 ;
31131 PyObject
* obj1
= 0 ;
31132 char *kwnames
[] = {
31133 (char *) "self",(char *) "event", NULL
31136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
31137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31138 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31139 if (arg2
== NULL
) {
31140 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31144 (arg1
)->Command(*arg2
);
31146 wxPyEndAllowThreads(__tstate
);
31147 if (PyErr_Occurred()) SWIG_fail
;
31149 Py_INCREF(Py_None
); resultobj
= Py_None
;
31156 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31157 PyObject
*resultobj
;
31158 wxControl
*arg1
= (wxControl
*) 0 ;
31160 PyObject
* obj0
= 0 ;
31161 char *kwnames
[] = {
31162 (char *) "self", NULL
31165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
31166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 result
= (arg1
)->GetLabel();
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31187 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31188 PyObject
*resultobj
;
31189 wxControl
*arg1
= (wxControl
*) 0 ;
31190 wxString
*arg2
= 0 ;
31191 bool temp2
= False
;
31192 PyObject
* obj0
= 0 ;
31193 PyObject
* obj1
= 0 ;
31194 char *kwnames
[] = {
31195 (char *) "self",(char *) "label", NULL
31198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31201 arg2
= wxString_in_helper(obj1
);
31202 if (arg2
== NULL
) SWIG_fail
;
31206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31207 (arg1
)->SetLabel((wxString
const &)*arg2
);
31209 wxPyEndAllowThreads(__tstate
);
31210 if (PyErr_Occurred()) SWIG_fail
;
31212 Py_INCREF(Py_None
); resultobj
= Py_None
;
31227 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
31229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31230 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
31232 return Py_BuildValue((char *)"");
31234 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31235 PyObject
*resultobj
;
31236 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31237 wxString
*arg2
= 0 ;
31238 PyObject
*arg3
= (PyObject
*) NULL
;
31240 bool temp2
= False
;
31241 PyObject
* obj0
= 0 ;
31242 PyObject
* obj1
= 0 ;
31243 PyObject
* obj2
= 0 ;
31244 char *kwnames
[] = {
31245 (char *) "self",(char *) "item",(char *) "clientData", NULL
31248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31251 arg2
= wxString_in_helper(obj1
);
31252 if (arg2
== NULL
) SWIG_fail
;
31259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31260 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
31262 wxPyEndAllowThreads(__tstate
);
31263 if (PyErr_Occurred()) SWIG_fail
;
31265 resultobj
= SWIG_PyObj_FromInt((int)result
);
31280 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31281 PyObject
*resultobj
;
31282 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31283 wxArrayString
*arg2
= 0 ;
31284 PyObject
* obj0
= 0 ;
31285 PyObject
* obj1
= 0 ;
31286 char *kwnames
[] = {
31287 (char *) "self",(char *) "strings", NULL
31290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31293 if (! PySequence_Check(obj1
)) {
31294 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
31297 arg2
= new wxArrayString
;
31298 int i
, len
=PySequence_Length(obj1
);
31299 for (i
=0; i
<len
; i
++) {
31300 PyObject
* item
= PySequence_GetItem(obj1
, i
);
31302 PyObject
* str
= PyObject_Unicode(item
);
31304 PyObject
* str
= PyObject_Str(item
);
31306 arg2
->Add(Py2wxString(str
));
31312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31313 (arg1
)->Append((wxArrayString
const &)*arg2
);
31315 wxPyEndAllowThreads(__tstate
);
31316 if (PyErr_Occurred()) SWIG_fail
;
31318 Py_INCREF(Py_None
); resultobj
= Py_None
;
31320 if (arg2
) delete arg2
;
31325 if (arg2
) delete arg2
;
31331 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31332 PyObject
*resultobj
;
31333 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31334 wxString
*arg2
= 0 ;
31336 PyObject
*arg4
= (PyObject
*) NULL
;
31338 bool temp2
= False
;
31339 PyObject
* obj0
= 0 ;
31340 PyObject
* obj1
= 0 ;
31341 PyObject
* obj2
= 0 ;
31342 PyObject
* obj3
= 0 ;
31343 char *kwnames
[] = {
31344 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
31347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31350 arg2
= wxString_in_helper(obj1
);
31351 if (arg2
== NULL
) SWIG_fail
;
31355 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31356 if (PyErr_Occurred()) SWIG_fail
;
31362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31363 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
31365 wxPyEndAllowThreads(__tstate
);
31366 if (PyErr_Occurred()) SWIG_fail
;
31368 resultobj
= SWIG_PyObj_FromInt((int)result
);
31383 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31384 PyObject
*resultobj
;
31385 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31386 PyObject
* obj0
= 0 ;
31387 char *kwnames
[] = {
31388 (char *) "self", NULL
31391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
31392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31397 wxPyEndAllowThreads(__tstate
);
31398 if (PyErr_Occurred()) SWIG_fail
;
31400 Py_INCREF(Py_None
); resultobj
= Py_None
;
31407 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31408 PyObject
*resultobj
;
31409 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31411 PyObject
* obj0
= 0 ;
31412 PyObject
* obj1
= 0 ;
31413 char *kwnames
[] = {
31414 (char *) "self",(char *) "n", NULL
31417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
31418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31420 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31421 if (PyErr_Occurred()) SWIG_fail
;
31424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31425 (arg1
)->Delete(arg2
);
31427 wxPyEndAllowThreads(__tstate
);
31428 if (PyErr_Occurred()) SWIG_fail
;
31430 Py_INCREF(Py_None
); resultobj
= Py_None
;
31437 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31438 PyObject
*resultobj
;
31439 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31441 PyObject
* obj0
= 0 ;
31442 char *kwnames
[] = {
31443 (char *) "self", NULL
31446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
31447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31450 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
31452 wxPyEndAllowThreads(__tstate
);
31453 if (PyErr_Occurred()) SWIG_fail
;
31455 resultobj
= SWIG_PyObj_FromInt((int)result
);
31462 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31463 PyObject
*resultobj
;
31464 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31466 PyObject
* obj0
= 0 ;
31467 char *kwnames
[] = {
31468 (char *) "self", NULL
31471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
31472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31487 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31488 PyObject
*resultobj
;
31489 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31492 PyObject
* obj0
= 0 ;
31493 PyObject
* obj1
= 0 ;
31494 char *kwnames
[] = {
31495 (char *) "self",(char *) "n", NULL
31498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
31499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31501 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31506 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
31508 wxPyEndAllowThreads(__tstate
);
31509 if (PyErr_Occurred()) SWIG_fail
;
31513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31524 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31525 PyObject
*resultobj
;
31526 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31527 wxArrayString result
;
31528 PyObject
* obj0
= 0 ;
31529 char *kwnames
[] = {
31530 (char *) "self", NULL
31533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
31534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31537 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
31539 wxPyEndAllowThreads(__tstate
);
31540 if (PyErr_Occurred()) SWIG_fail
;
31543 resultobj
= wxArrayString2PyList_helper(result
);
31551 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31552 PyObject
*resultobj
;
31553 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31555 wxString
*arg3
= 0 ;
31556 bool temp3
= False
;
31557 PyObject
* obj0
= 0 ;
31558 PyObject
* obj1
= 0 ;
31559 PyObject
* obj2
= 0 ;
31560 char *kwnames
[] = {
31561 (char *) "self",(char *) "n",(char *) "s", NULL
31564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31567 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31568 if (PyErr_Occurred()) SWIG_fail
;
31571 arg3
= wxString_in_helper(obj2
);
31572 if (arg3
== NULL
) SWIG_fail
;
31576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31577 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
31579 wxPyEndAllowThreads(__tstate
);
31580 if (PyErr_Occurred()) SWIG_fail
;
31582 Py_INCREF(Py_None
); resultobj
= Py_None
;
31597 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31598 PyObject
*resultobj
;
31599 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31600 wxString
*arg2
= 0 ;
31602 bool temp2
= False
;
31603 PyObject
* obj0
= 0 ;
31604 PyObject
* obj1
= 0 ;
31605 char *kwnames
[] = {
31606 (char *) "self",(char *) "s", NULL
31609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
31610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31612 arg2
= wxString_in_helper(obj1
);
31613 if (arg2
== NULL
) SWIG_fail
;
31617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31618 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
31620 wxPyEndAllowThreads(__tstate
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31623 resultobj
= SWIG_PyObj_FromInt((int)result
);
31638 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31639 PyObject
*resultobj
;
31640 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31642 PyObject
* obj0
= 0 ;
31643 PyObject
* obj1
= 0 ;
31644 char *kwnames
[] = {
31645 (char *) "self",(char *) "n", NULL
31648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
31649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31651 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31656 (arg1
)->Select(arg2
);
31658 wxPyEndAllowThreads(__tstate
);
31659 if (PyErr_Occurred()) SWIG_fail
;
31661 Py_INCREF(Py_None
); resultobj
= Py_None
;
31668 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31669 PyObject
*resultobj
;
31670 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31672 PyObject
* obj0
= 0 ;
31673 char *kwnames
[] = {
31674 (char *) "self", NULL
31677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
31678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31681 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
31683 wxPyEndAllowThreads(__tstate
);
31684 if (PyErr_Occurred()) SWIG_fail
;
31686 resultobj
= SWIG_PyObj_FromInt((int)result
);
31693 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31694 PyObject
*resultobj
;
31695 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31697 PyObject
* obj0
= 0 ;
31698 char *kwnames
[] = {
31699 (char *) "self", NULL
31702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
31703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31706 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
31708 wxPyEndAllowThreads(__tstate
);
31709 if (PyErr_Occurred()) SWIG_fail
;
31713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31724 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31725 PyObject
*resultobj
;
31726 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31729 PyObject
* obj0
= 0 ;
31730 PyObject
* obj1
= 0 ;
31731 char *kwnames
[] = {
31732 (char *) "self",(char *) "n", NULL
31735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
31736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31738 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31739 if (PyErr_Occurred()) SWIG_fail
;
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
31745 wxPyEndAllowThreads(__tstate
);
31746 if (PyErr_Occurred()) SWIG_fail
;
31748 resultobj
= result
;
31755 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31756 PyObject
*resultobj
;
31757 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31759 PyObject
*arg3
= (PyObject
*) 0 ;
31760 PyObject
* obj0
= 0 ;
31761 PyObject
* obj1
= 0 ;
31762 PyObject
* obj2
= 0 ;
31763 char *kwnames
[] = {
31764 (char *) "self",(char *) "n",(char *) "clientData", NULL
31767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31770 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31776 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
31778 wxPyEndAllowThreads(__tstate
);
31779 if (PyErr_Occurred()) SWIG_fail
;
31781 Py_INCREF(Py_None
); resultobj
= Py_None
;
31788 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
31790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31791 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
31793 return Py_BuildValue((char *)"");
31795 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
31797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31798 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
31800 return Py_BuildValue((char *)"");
31802 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31803 PyObject
*resultobj
;
31804 wxSizerItem
*result
;
31805 char *kwnames
[] = {
31809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31812 result
= (wxSizerItem
*)new wxSizerItem();
31814 wxPyEndAllowThreads(__tstate
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31817 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
31824 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31825 PyObject
*resultobj
;
31831 wxObject
*arg6
= (wxObject
*) 0 ;
31832 wxSizerItem
*result
;
31833 PyObject
* obj0
= 0 ;
31834 PyObject
* obj1
= 0 ;
31835 PyObject
* obj2
= 0 ;
31836 PyObject
* obj3
= 0 ;
31837 PyObject
* obj4
= 0 ;
31838 PyObject
* obj5
= 0 ;
31839 char *kwnames
[] = {
31840 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
31843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31845 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
31846 if (PyErr_Occurred()) SWIG_fail
;
31849 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31850 if (PyErr_Occurred()) SWIG_fail
;
31853 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31854 if (PyErr_Occurred()) SWIG_fail
;
31857 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31858 if (PyErr_Occurred()) SWIG_fail
;
31861 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31862 if (PyErr_Occurred()) SWIG_fail
;
31864 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31867 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31869 wxPyEndAllowThreads(__tstate
);
31870 if (PyErr_Occurred()) SWIG_fail
;
31872 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
31879 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31880 PyObject
*resultobj
;
31881 wxWindow
*arg1
= (wxWindow
*) 0 ;
31885 wxObject
*arg5
= (wxObject
*) 0 ;
31886 wxSizerItem
*result
;
31887 PyObject
* obj0
= 0 ;
31888 PyObject
* obj1
= 0 ;
31889 PyObject
* obj2
= 0 ;
31890 PyObject
* obj3
= 0 ;
31891 PyObject
* obj4
= 0 ;
31892 char *kwnames
[] = {
31893 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
31896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31899 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31900 if (PyErr_Occurred()) SWIG_fail
;
31903 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31904 if (PyErr_Occurred()) SWIG_fail
;
31907 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31908 if (PyErr_Occurred()) SWIG_fail
;
31910 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31913 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
31915 wxPyEndAllowThreads(__tstate
);
31916 if (PyErr_Occurred()) SWIG_fail
;
31918 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
31925 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31926 PyObject
*resultobj
;
31927 wxSizer
*arg1
= (wxSizer
*) 0 ;
31931 wxObject
*arg5
= (wxObject
*) 0 ;
31932 wxSizerItem
*result
;
31933 PyObject
* obj0
= 0 ;
31934 PyObject
* obj1
= 0 ;
31935 PyObject
* obj2
= 0 ;
31936 PyObject
* obj3
= 0 ;
31937 PyObject
* obj4
= 0 ;
31938 char *kwnames
[] = {
31939 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
31942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31945 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31946 if (PyErr_Occurred()) SWIG_fail
;
31949 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31950 if (PyErr_Occurred()) SWIG_fail
;
31953 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31954 if (PyErr_Occurred()) SWIG_fail
;
31956 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31959 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
31961 wxPyEndAllowThreads(__tstate
);
31962 if (PyErr_Occurred()) SWIG_fail
;
31964 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
31971 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31972 PyObject
*resultobj
;
31973 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
31974 PyObject
* obj0
= 0 ;
31975 char *kwnames
[] = {
31976 (char *) "self", NULL
31979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
31980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31983 (arg1
)->DeleteWindows();
31985 wxPyEndAllowThreads(__tstate
);
31986 if (PyErr_Occurred()) SWIG_fail
;
31988 Py_INCREF(Py_None
); resultobj
= Py_None
;
31995 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31996 PyObject
*resultobj
;
31997 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
31998 PyObject
* obj0
= 0 ;
31999 char *kwnames
[] = {
32000 (char *) "self", NULL
32003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
32004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32007 (arg1
)->DetachSizer();
32009 wxPyEndAllowThreads(__tstate
);
32010 if (PyErr_Occurred()) SWIG_fail
;
32012 Py_INCREF(Py_None
); resultobj
= Py_None
;
32019 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32020 PyObject
*resultobj
;
32021 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32023 PyObject
* obj0
= 0 ;
32024 char *kwnames
[] = {
32025 (char *) "self", NULL
32028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
32029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32032 result
= (arg1
)->GetSize();
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32038 wxSize
* resultptr
;
32039 resultptr
= new wxSize((wxSize
&) result
);
32040 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32048 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32049 PyObject
*resultobj
;
32050 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32052 PyObject
* obj0
= 0 ;
32053 char *kwnames
[] = {
32054 (char *) "self", NULL
32057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
32058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32061 result
= (arg1
)->CalcMin();
32063 wxPyEndAllowThreads(__tstate
);
32064 if (PyErr_Occurred()) SWIG_fail
;
32067 wxSize
* resultptr
;
32068 resultptr
= new wxSize((wxSize
&) result
);
32069 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32077 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32078 PyObject
*resultobj
;
32079 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32084 PyObject
* obj0
= 0 ;
32085 PyObject
* obj1
= 0 ;
32086 PyObject
* obj2
= 0 ;
32087 char *kwnames
[] = {
32088 (char *) "self",(char *) "pos",(char *) "size", NULL
32091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32093 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32095 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32099 (arg1
)->SetDimension(arg2
,arg3
);
32101 wxPyEndAllowThreads(__tstate
);
32102 if (PyErr_Occurred()) SWIG_fail
;
32104 Py_INCREF(Py_None
); resultobj
= Py_None
;
32111 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32112 PyObject
*resultobj
;
32113 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32115 PyObject
* obj0
= 0 ;
32116 char *kwnames
[] = {
32117 (char *) "self", NULL
32120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
32121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32124 result
= (arg1
)->GetMinSize();
32126 wxPyEndAllowThreads(__tstate
);
32127 if (PyErr_Occurred()) SWIG_fail
;
32130 wxSize
* resultptr
;
32131 resultptr
= new wxSize((wxSize
&) result
);
32132 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32140 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32141 PyObject
*resultobj
;
32142 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32145 PyObject
* obj0
= 0 ;
32146 PyObject
* obj1
= 0 ;
32147 PyObject
* obj2
= 0 ;
32148 char *kwnames
[] = {
32149 (char *) "self",(char *) "x",(char *) "y", NULL
32152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32155 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32156 if (PyErr_Occurred()) SWIG_fail
;
32159 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32160 if (PyErr_Occurred()) SWIG_fail
;
32163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32164 (arg1
)->SetInitSize(arg2
,arg3
);
32166 wxPyEndAllowThreads(__tstate
);
32167 if (PyErr_Occurred()) SWIG_fail
;
32169 Py_INCREF(Py_None
); resultobj
= Py_None
;
32176 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32177 PyObject
*resultobj
;
32178 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32181 PyObject
* obj0
= 0 ;
32182 PyObject
* obj1
= 0 ;
32183 PyObject
* obj2
= 0 ;
32184 char *kwnames
[] = {
32185 (char *) "self",(char *) "width",(char *) "height", NULL
32188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32191 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32192 if (PyErr_Occurred()) SWIG_fail
;
32195 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32196 if (PyErr_Occurred()) SWIG_fail
;
32199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32200 (arg1
)->SetRatio(arg2
,arg3
);
32202 wxPyEndAllowThreads(__tstate
);
32203 if (PyErr_Occurred()) SWIG_fail
;
32205 Py_INCREF(Py_None
); resultobj
= Py_None
;
32212 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32213 PyObject
*resultobj
;
32214 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32217 PyObject
* obj0
= 0 ;
32218 PyObject
* obj1
= 0 ;
32219 char *kwnames
[] = {
32220 (char *) "self",(char *) "size", NULL
32223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32225 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32229 (arg1
)->SetRatio(arg2
);
32231 wxPyEndAllowThreads(__tstate
);
32232 if (PyErr_Occurred()) SWIG_fail
;
32234 Py_INCREF(Py_None
); resultobj
= Py_None
;
32241 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32242 PyObject
*resultobj
;
32243 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32245 PyObject
* obj0
= 0 ;
32246 PyObject
* obj1
= 0 ;
32247 char *kwnames
[] = {
32248 (char *) "self",(char *) "ratio", NULL
32251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
32252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32254 arg2
= (float) SWIG_PyObj_AsFloat(obj1
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32259 (arg1
)->SetRatio(arg2
);
32261 wxPyEndAllowThreads(__tstate
);
32262 if (PyErr_Occurred()) SWIG_fail
;
32264 Py_INCREF(Py_None
); resultobj
= Py_None
;
32271 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32272 PyObject
*resultobj
;
32273 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32275 PyObject
* obj0
= 0 ;
32276 char *kwnames
[] = {
32277 (char *) "self", NULL
32280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
32281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32284 result
= (float)(arg1
)->GetRatio();
32286 wxPyEndAllowThreads(__tstate
);
32287 if (PyErr_Occurred()) SWIG_fail
;
32289 resultobj
= SWIG_PyObj_FromFloat((float)result
);
32296 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32297 PyObject
*resultobj
;
32298 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32300 PyObject
* obj0
= 0 ;
32301 char *kwnames
[] = {
32302 (char *) "self", NULL
32305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
32306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32309 result
= (bool)(arg1
)->IsWindow();
32311 wxPyEndAllowThreads(__tstate
);
32312 if (PyErr_Occurred()) SWIG_fail
;
32314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32321 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32322 PyObject
*resultobj
;
32323 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32325 PyObject
* obj0
= 0 ;
32326 char *kwnames
[] = {
32327 (char *) "self", NULL
32330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
32331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32334 result
= (bool)(arg1
)->IsSizer();
32336 wxPyEndAllowThreads(__tstate
);
32337 if (PyErr_Occurred()) SWIG_fail
;
32339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32346 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32347 PyObject
*resultobj
;
32348 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32350 PyObject
* obj0
= 0 ;
32351 char *kwnames
[] = {
32352 (char *) "self", NULL
32355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
32356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32359 result
= (bool)(arg1
)->IsSpacer();
32361 wxPyEndAllowThreads(__tstate
);
32362 if (PyErr_Occurred()) SWIG_fail
;
32364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32371 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32372 PyObject
*resultobj
;
32373 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32375 PyObject
* obj0
= 0 ;
32376 PyObject
* obj1
= 0 ;
32377 char *kwnames
[] = {
32378 (char *) "self",(char *) "proportion", NULL
32381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
32382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32384 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32385 if (PyErr_Occurred()) SWIG_fail
;
32388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32389 (arg1
)->SetProportion(arg2
);
32391 wxPyEndAllowThreads(__tstate
);
32392 if (PyErr_Occurred()) SWIG_fail
;
32394 Py_INCREF(Py_None
); resultobj
= Py_None
;
32401 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32402 PyObject
*resultobj
;
32403 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32405 PyObject
* obj0
= 0 ;
32406 char *kwnames
[] = {
32407 (char *) "self", NULL
32410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
32411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32414 result
= (int)(arg1
)->GetProportion();
32416 wxPyEndAllowThreads(__tstate
);
32417 if (PyErr_Occurred()) SWIG_fail
;
32419 resultobj
= SWIG_PyObj_FromInt((int)result
);
32426 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32427 PyObject
*resultobj
;
32428 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32430 PyObject
* obj0
= 0 ;
32431 PyObject
* obj1
= 0 ;
32432 char *kwnames
[] = {
32433 (char *) "self",(char *) "flag", NULL
32436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
32437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32439 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32440 if (PyErr_Occurred()) SWIG_fail
;
32443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32444 (arg1
)->SetFlag(arg2
);
32446 wxPyEndAllowThreads(__tstate
);
32447 if (PyErr_Occurred()) SWIG_fail
;
32449 Py_INCREF(Py_None
); resultobj
= Py_None
;
32456 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32457 PyObject
*resultobj
;
32458 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32460 PyObject
* obj0
= 0 ;
32461 char *kwnames
[] = {
32462 (char *) "self", NULL
32465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
32466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32469 result
= (int)(arg1
)->GetFlag();
32471 wxPyEndAllowThreads(__tstate
);
32472 if (PyErr_Occurred()) SWIG_fail
;
32474 resultobj
= SWIG_PyObj_FromInt((int)result
);
32481 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32482 PyObject
*resultobj
;
32483 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32485 PyObject
* obj0
= 0 ;
32486 PyObject
* obj1
= 0 ;
32487 char *kwnames
[] = {
32488 (char *) "self",(char *) "border", NULL
32491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
32492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32494 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32495 if (PyErr_Occurred()) SWIG_fail
;
32498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32499 (arg1
)->SetBorder(arg2
);
32501 wxPyEndAllowThreads(__tstate
);
32502 if (PyErr_Occurred()) SWIG_fail
;
32504 Py_INCREF(Py_None
); resultobj
= Py_None
;
32511 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32512 PyObject
*resultobj
;
32513 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32515 PyObject
* obj0
= 0 ;
32516 char *kwnames
[] = {
32517 (char *) "self", NULL
32520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
32521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32524 result
= (int)(arg1
)->GetBorder();
32526 wxPyEndAllowThreads(__tstate
);
32527 if (PyErr_Occurred()) SWIG_fail
;
32529 resultobj
= SWIG_PyObj_FromInt((int)result
);
32536 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32537 PyObject
*resultobj
;
32538 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32540 PyObject
* obj0
= 0 ;
32541 char *kwnames
[] = {
32542 (char *) "self", NULL
32545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
32546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32549 result
= (wxWindow
*)(arg1
)->GetWindow();
32551 wxPyEndAllowThreads(__tstate
);
32552 if (PyErr_Occurred()) SWIG_fail
;
32555 resultobj
= wxPyMake_wxObject(result
);
32563 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32564 PyObject
*resultobj
;
32565 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32566 wxWindow
*arg2
= (wxWindow
*) 0 ;
32567 PyObject
* obj0
= 0 ;
32568 PyObject
* obj1
= 0 ;
32569 char *kwnames
[] = {
32570 (char *) "self",(char *) "window", NULL
32573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32575 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32578 (arg1
)->SetWindow(arg2
);
32580 wxPyEndAllowThreads(__tstate
);
32581 if (PyErr_Occurred()) SWIG_fail
;
32583 Py_INCREF(Py_None
); resultobj
= Py_None
;
32590 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32591 PyObject
*resultobj
;
32592 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32594 PyObject
* obj0
= 0 ;
32595 char *kwnames
[] = {
32596 (char *) "self", NULL
32599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
32600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32603 result
= (wxSizer
*)(arg1
)->GetSizer();
32605 wxPyEndAllowThreads(__tstate
);
32606 if (PyErr_Occurred()) SWIG_fail
;
32609 resultobj
= wxPyMake_wxSizer(result
);
32617 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32618 PyObject
*resultobj
;
32619 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32620 wxSizer
*arg2
= (wxSizer
*) 0 ;
32621 PyObject
* obj0
= 0 ;
32622 PyObject
* obj1
= 0 ;
32623 char *kwnames
[] = {
32624 (char *) "self",(char *) "sizer", NULL
32627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32629 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32632 (arg1
)->SetSizer(arg2
);
32634 wxPyEndAllowThreads(__tstate
);
32635 if (PyErr_Occurred()) SWIG_fail
;
32637 Py_INCREF(Py_None
); resultobj
= Py_None
;
32644 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32645 PyObject
*resultobj
;
32646 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32648 PyObject
* obj0
= 0 ;
32649 char *kwnames
[] = {
32650 (char *) "self", NULL
32653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
32654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32658 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
32659 result
= (wxSize
*) &_result_ref
;
32662 wxPyEndAllowThreads(__tstate
);
32663 if (PyErr_Occurred()) SWIG_fail
;
32665 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
32672 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32673 PyObject
*resultobj
;
32674 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32677 PyObject
* obj0
= 0 ;
32678 PyObject
* obj1
= 0 ;
32679 char *kwnames
[] = {
32680 (char *) "self",(char *) "size", NULL
32683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
32684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32687 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32691 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
32693 wxPyEndAllowThreads(__tstate
);
32694 if (PyErr_Occurred()) SWIG_fail
;
32696 Py_INCREF(Py_None
); resultobj
= Py_None
;
32703 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32704 PyObject
*resultobj
;
32705 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32707 PyObject
* obj0
= 0 ;
32708 PyObject
* obj1
= 0 ;
32709 char *kwnames
[] = {
32710 (char *) "self",(char *) "show", NULL
32713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
32714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32716 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
32717 if (PyErr_Occurred()) SWIG_fail
;
32720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32721 (arg1
)->Show(arg2
);
32723 wxPyEndAllowThreads(__tstate
);
32724 if (PyErr_Occurred()) SWIG_fail
;
32726 Py_INCREF(Py_None
); resultobj
= Py_None
;
32733 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32734 PyObject
*resultobj
;
32735 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32737 PyObject
* obj0
= 0 ;
32738 char *kwnames
[] = {
32739 (char *) "self", NULL
32742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
32743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32746 result
= (bool)(arg1
)->IsShown();
32748 wxPyEndAllowThreads(__tstate
);
32749 if (PyErr_Occurred()) SWIG_fail
;
32751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32758 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32759 PyObject
*resultobj
;
32760 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32762 PyObject
* obj0
= 0 ;
32763 char *kwnames
[] = {
32764 (char *) "self", NULL
32767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
32768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32771 result
= (arg1
)->GetPosition();
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32777 wxPoint
* resultptr
;
32778 resultptr
= new wxPoint((wxPoint
&) result
);
32779 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
32787 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32788 PyObject
*resultobj
;
32789 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32791 PyObject
* obj0
= 0 ;
32792 char *kwnames
[] = {
32793 (char *) "self", NULL
32796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
32797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32800 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
32802 wxPyEndAllowThreads(__tstate
);
32803 if (PyErr_Occurred()) SWIG_fail
;
32805 resultobj
= result
;
32812 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
32814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32815 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
32817 return Py_BuildValue((char *)"");
32819 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32820 PyObject
*resultobj
;
32821 wxSizer
*arg1
= (wxSizer
*) 0 ;
32822 PyObject
*arg2
= (PyObject
*) 0 ;
32823 PyObject
* obj0
= 0 ;
32824 PyObject
* obj1
= 0 ;
32825 char *kwnames
[] = {
32826 (char *) "self",(char *) "_self", NULL
32829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
32830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32834 wxSizer__setOORInfo(arg1
,arg2
);
32836 wxPyEndAllowThreads(__tstate
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32839 Py_INCREF(Py_None
); resultobj
= Py_None
;
32846 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32847 PyObject
*resultobj
;
32848 wxSizer
*arg1
= (wxSizer
*) 0 ;
32849 PyObject
*arg2
= (PyObject
*) 0 ;
32850 int arg3
= (int) 0 ;
32851 int arg4
= (int) 0 ;
32852 int arg5
= (int) 0 ;
32853 PyObject
*arg6
= (PyObject
*) NULL
;
32854 PyObject
* obj0
= 0 ;
32855 PyObject
* obj1
= 0 ;
32856 PyObject
* obj2
= 0 ;
32857 PyObject
* obj3
= 0 ;
32858 PyObject
* obj4
= 0 ;
32859 PyObject
* obj5
= 0 ;
32860 char *kwnames
[] = {
32861 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32869 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32870 if (PyErr_Occurred()) SWIG_fail
;
32875 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32876 if (PyErr_Occurred()) SWIG_fail
;
32881 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
32882 if (PyErr_Occurred()) SWIG_fail
;
32889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32890 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
32892 wxPyEndAllowThreads(__tstate
);
32893 if (PyErr_Occurred()) SWIG_fail
;
32895 Py_INCREF(Py_None
); resultobj
= Py_None
;
32902 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32903 PyObject
*resultobj
;
32904 wxSizer
*arg1
= (wxSizer
*) 0 ;
32906 PyObject
*arg3
= (PyObject
*) 0 ;
32907 int arg4
= (int) 0 ;
32908 int arg5
= (int) 0 ;
32909 int arg6
= (int) 0 ;
32910 PyObject
*arg7
= (PyObject
*) NULL
;
32911 PyObject
* obj0
= 0 ;
32912 PyObject
* obj1
= 0 ;
32913 PyObject
* obj2
= 0 ;
32914 PyObject
* obj3
= 0 ;
32915 PyObject
* obj4
= 0 ;
32916 PyObject
* obj5
= 0 ;
32917 PyObject
* obj6
= 0 ;
32918 char *kwnames
[] = {
32919 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32925 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32926 if (PyErr_Occurred()) SWIG_fail
;
32931 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32932 if (PyErr_Occurred()) SWIG_fail
;
32937 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
32938 if (PyErr_Occurred()) SWIG_fail
;
32943 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
32944 if (PyErr_Occurred()) SWIG_fail
;
32951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32952 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32954 wxPyEndAllowThreads(__tstate
);
32955 if (PyErr_Occurred()) SWIG_fail
;
32957 Py_INCREF(Py_None
); resultobj
= Py_None
;
32964 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32965 PyObject
*resultobj
;
32966 wxSizer
*arg1
= (wxSizer
*) 0 ;
32967 PyObject
*arg2
= (PyObject
*) 0 ;
32968 int arg3
= (int) 0 ;
32969 int arg4
= (int) 0 ;
32970 int arg5
= (int) 0 ;
32971 PyObject
*arg6
= (PyObject
*) NULL
;
32972 PyObject
* obj0
= 0 ;
32973 PyObject
* obj1
= 0 ;
32974 PyObject
* obj2
= 0 ;
32975 PyObject
* obj3
= 0 ;
32976 PyObject
* obj4
= 0 ;
32977 PyObject
* obj5
= 0 ;
32978 char *kwnames
[] = {
32979 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32987 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32988 if (PyErr_Occurred()) SWIG_fail
;
32993 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32994 if (PyErr_Occurred()) SWIG_fail
;
32999 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33000 if (PyErr_Occurred()) SWIG_fail
;
33007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33008 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33010 wxPyEndAllowThreads(__tstate
);
33011 if (PyErr_Occurred()) SWIG_fail
;
33013 Py_INCREF(Py_None
); resultobj
= Py_None
;
33020 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33021 PyObject
*resultobj
;
33022 wxSizer
*arg1
= (wxSizer
*) 0 ;
33023 PyObject
*arg2
= (PyObject
*) 0 ;
33025 PyObject
* obj0
= 0 ;
33026 PyObject
* obj1
= 0 ;
33027 char *kwnames
[] = {
33028 (char *) "self",(char *) "item", NULL
33031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33036 result
= (bool)wxSizer_Remove(arg1
,arg2
);
33038 wxPyEndAllowThreads(__tstate
);
33039 if (PyErr_Occurred()) SWIG_fail
;
33041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33048 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33049 PyObject
*resultobj
;
33050 wxSizer
*arg1
= (wxSizer
*) 0 ;
33051 PyObject
*arg2
= (PyObject
*) 0 ;
33054 PyObject
* obj0
= 0 ;
33055 PyObject
* obj1
= 0 ;
33056 PyObject
* obj2
= 0 ;
33057 char *kwnames
[] = {
33058 (char *) "self",(char *) "item",(char *) "size", NULL
33061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33066 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33070 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
33072 wxPyEndAllowThreads(__tstate
);
33073 if (PyErr_Occurred()) SWIG_fail
;
33075 Py_INCREF(Py_None
); resultobj
= Py_None
;
33082 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33083 PyObject
*resultobj
;
33084 wxSizer
*arg1
= (wxSizer
*) 0 ;
33085 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33086 PyObject
* obj0
= 0 ;
33087 PyObject
* obj1
= 0 ;
33088 char *kwnames
[] = {
33089 (char *) "self",(char *) "item", NULL
33092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33094 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33099 wxPyEndAllowThreads(__tstate
);
33100 if (PyErr_Occurred()) SWIG_fail
;
33102 Py_INCREF(Py_None
); resultobj
= Py_None
;
33109 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33110 PyObject
*resultobj
;
33111 wxSizer
*arg1
= (wxSizer
*) 0 ;
33113 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
33114 PyObject
* obj0
= 0 ;
33115 PyObject
* obj1
= 0 ;
33116 PyObject
* obj2
= 0 ;
33117 char *kwnames
[] = {
33118 (char *) "self",(char *) "index",(char *) "item", NULL
33121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33124 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
33125 if (PyErr_Occurred()) SWIG_fail
;
33127 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33130 (arg1
)->Insert(arg2
,arg3
);
33132 wxPyEndAllowThreads(__tstate
);
33133 if (PyErr_Occurred()) SWIG_fail
;
33135 Py_INCREF(Py_None
); resultobj
= Py_None
;
33142 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33143 PyObject
*resultobj
;
33144 wxSizer
*arg1
= (wxSizer
*) 0 ;
33145 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33146 PyObject
* obj0
= 0 ;
33147 PyObject
* obj1
= 0 ;
33148 char *kwnames
[] = {
33149 (char *) "self",(char *) "item", NULL
33152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33154 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33157 (arg1
)->Prepend(arg2
);
33159 wxPyEndAllowThreads(__tstate
);
33160 if (PyErr_Occurred()) SWIG_fail
;
33162 Py_INCREF(Py_None
); resultobj
= Py_None
;
33169 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33170 PyObject
*resultobj
;
33171 wxSizer
*arg1
= (wxSizer
*) 0 ;
33176 PyObject
* obj0
= 0 ;
33177 PyObject
* obj1
= 0 ;
33178 PyObject
* obj2
= 0 ;
33179 PyObject
* obj3
= 0 ;
33180 PyObject
* obj4
= 0 ;
33181 char *kwnames
[] = {
33182 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33188 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
33189 if (PyErr_Occurred()) SWIG_fail
;
33192 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
33193 if (PyErr_Occurred()) SWIG_fail
;
33196 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33197 if (PyErr_Occurred()) SWIG_fail
;
33200 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33201 if (PyErr_Occurred()) SWIG_fail
;
33204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33205 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
33207 wxPyEndAllowThreads(__tstate
);
33208 if (PyErr_Occurred()) SWIG_fail
;
33210 Py_INCREF(Py_None
); resultobj
= Py_None
;
33217 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33218 PyObject
*resultobj
;
33219 wxSizer
*arg1
= (wxSizer
*) 0 ;
33222 PyObject
* obj0
= 0 ;
33223 PyObject
* obj1
= 0 ;
33224 char *kwnames
[] = {
33225 (char *) "self",(char *) "size", NULL
33228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33232 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33236 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
33238 wxPyEndAllowThreads(__tstate
);
33239 if (PyErr_Occurred()) SWIG_fail
;
33241 Py_INCREF(Py_None
); resultobj
= Py_None
;
33248 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33249 PyObject
*resultobj
;
33250 wxSizer
*arg1
= (wxSizer
*) 0 ;
33252 PyObject
* obj0
= 0 ;
33253 char *kwnames
[] = {
33254 (char *) "self", NULL
33257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
33258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33261 result
= (arg1
)->GetSize();
33263 wxPyEndAllowThreads(__tstate
);
33264 if (PyErr_Occurred()) SWIG_fail
;
33267 wxSize
* resultptr
;
33268 resultptr
= new wxSize((wxSize
&) result
);
33269 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33277 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33278 PyObject
*resultobj
;
33279 wxSizer
*arg1
= (wxSizer
*) 0 ;
33281 PyObject
* obj0
= 0 ;
33282 char *kwnames
[] = {
33283 (char *) "self", NULL
33286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
33287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33290 result
= (arg1
)->GetPosition();
33292 wxPyEndAllowThreads(__tstate
);
33293 if (PyErr_Occurred()) SWIG_fail
;
33296 wxPoint
* resultptr
;
33297 resultptr
= new wxPoint((wxPoint
&) result
);
33298 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
33306 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33307 PyObject
*resultobj
;
33308 wxSizer
*arg1
= (wxSizer
*) 0 ;
33310 PyObject
* obj0
= 0 ;
33311 char *kwnames
[] = {
33312 (char *) "self", NULL
33315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
33316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33319 result
= (arg1
)->GetMinSize();
33321 wxPyEndAllowThreads(__tstate
);
33322 if (PyErr_Occurred()) SWIG_fail
;
33325 wxSize
* resultptr
;
33326 resultptr
= new wxSize((wxSize
&) result
);
33327 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33335 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33336 PyObject
*resultobj
;
33337 wxSizer
*arg1
= (wxSizer
*) 0 ;
33338 PyObject
* obj0
= 0 ;
33339 char *kwnames
[] = {
33340 (char *) "self", NULL
33343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
33344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33347 (arg1
)->RecalcSizes();
33349 wxPyEndAllowThreads(__tstate
);
33350 if (PyErr_Occurred()) SWIG_fail
;
33352 Py_INCREF(Py_None
); resultobj
= Py_None
;
33359 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33360 PyObject
*resultobj
;
33361 wxSizer
*arg1
= (wxSizer
*) 0 ;
33363 PyObject
* obj0
= 0 ;
33364 char *kwnames
[] = {
33365 (char *) "self", NULL
33368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
33369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33372 result
= (arg1
)->CalcMin();
33374 wxPyEndAllowThreads(__tstate
);
33375 if (PyErr_Occurred()) SWIG_fail
;
33378 wxSize
* resultptr
;
33379 resultptr
= new wxSize((wxSize
&) result
);
33380 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33388 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33389 PyObject
*resultobj
;
33390 wxSizer
*arg1
= (wxSizer
*) 0 ;
33391 PyObject
* obj0
= 0 ;
33392 char *kwnames
[] = {
33393 (char *) "self", NULL
33396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
33397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33402 wxPyEndAllowThreads(__tstate
);
33403 if (PyErr_Occurred()) SWIG_fail
;
33405 Py_INCREF(Py_None
); resultobj
= Py_None
;
33412 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33413 PyObject
*resultobj
;
33414 wxSizer
*arg1
= (wxSizer
*) 0 ;
33415 wxWindow
*arg2
= (wxWindow
*) 0 ;
33417 PyObject
* obj0
= 0 ;
33418 PyObject
* obj1
= 0 ;
33419 char *kwnames
[] = {
33420 (char *) "self",(char *) "window", NULL
33423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
33424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33425 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33428 result
= (arg1
)->Fit(arg2
);
33430 wxPyEndAllowThreads(__tstate
);
33431 if (PyErr_Occurred()) SWIG_fail
;
33434 wxSize
* resultptr
;
33435 resultptr
= new wxSize((wxSize
&) result
);
33436 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33444 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33445 PyObject
*resultobj
;
33446 wxSizer
*arg1
= (wxSizer
*) 0 ;
33447 wxWindow
*arg2
= (wxWindow
*) 0 ;
33448 PyObject
* obj0
= 0 ;
33449 PyObject
* obj1
= 0 ;
33450 char *kwnames
[] = {
33451 (char *) "self",(char *) "window", NULL
33454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
33455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33456 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33459 (arg1
)->FitInside(arg2
);
33461 wxPyEndAllowThreads(__tstate
);
33462 if (PyErr_Occurred()) SWIG_fail
;
33464 Py_INCREF(Py_None
); resultobj
= Py_None
;
33471 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33472 PyObject
*resultobj
;
33473 wxSizer
*arg1
= (wxSizer
*) 0 ;
33474 wxWindow
*arg2
= (wxWindow
*) 0 ;
33475 PyObject
* obj0
= 0 ;
33476 PyObject
* obj1
= 0 ;
33477 char *kwnames
[] = {
33478 (char *) "self",(char *) "window", NULL
33481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33483 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33486 (arg1
)->SetSizeHints(arg2
);
33488 wxPyEndAllowThreads(__tstate
);
33489 if (PyErr_Occurred()) SWIG_fail
;
33491 Py_INCREF(Py_None
); resultobj
= Py_None
;
33498 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33499 PyObject
*resultobj
;
33500 wxSizer
*arg1
= (wxSizer
*) 0 ;
33501 wxWindow
*arg2
= (wxWindow
*) 0 ;
33502 PyObject
* obj0
= 0 ;
33503 PyObject
* obj1
= 0 ;
33504 char *kwnames
[] = {
33505 (char *) "self",(char *) "window", NULL
33508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33510 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33513 (arg1
)->SetVirtualSizeHints(arg2
);
33515 wxPyEndAllowThreads(__tstate
);
33516 if (PyErr_Occurred()) SWIG_fail
;
33518 Py_INCREF(Py_None
); resultobj
= Py_None
;
33525 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33526 PyObject
*resultobj
;
33527 wxSizer
*arg1
= (wxSizer
*) 0 ;
33528 bool arg2
= (bool) False
;
33529 PyObject
* obj0
= 0 ;
33530 PyObject
* obj1
= 0 ;
33531 char *kwnames
[] = {
33532 (char *) "self",(char *) "delete_windows", NULL
33535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
33536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33539 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
33540 if (PyErr_Occurred()) SWIG_fail
;
33544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33545 (arg1
)->Clear(arg2
);
33547 wxPyEndAllowThreads(__tstate
);
33548 if (PyErr_Occurred()) SWIG_fail
;
33550 Py_INCREF(Py_None
); resultobj
= Py_None
;
33557 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33558 PyObject
*resultobj
;
33559 wxSizer
*arg1
= (wxSizer
*) 0 ;
33560 PyObject
* obj0
= 0 ;
33561 char *kwnames
[] = {
33562 (char *) "self", NULL
33565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33569 (arg1
)->DeleteWindows();
33571 wxPyEndAllowThreads(__tstate
);
33572 if (PyErr_Occurred()) SWIG_fail
;
33574 Py_INCREF(Py_None
); resultobj
= Py_None
;
33581 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33582 PyObject
*resultobj
;
33583 wxSizer
*arg1
= (wxSizer
*) 0 ;
33585 PyObject
* obj0
= 0 ;
33586 char *kwnames
[] = {
33587 (char *) "self", NULL
33590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
33591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33594 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
33596 wxPyEndAllowThreads(__tstate
);
33597 if (PyErr_Occurred()) SWIG_fail
;
33599 resultobj
= result
;
33606 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33607 PyObject
*resultobj
;
33608 wxSizer
*arg1
= (wxSizer
*) 0 ;
33609 PyObject
*arg2
= (PyObject
*) 0 ;
33610 bool arg3
= (bool) True
;
33611 PyObject
* obj0
= 0 ;
33612 PyObject
* obj1
= 0 ;
33613 PyObject
* obj2
= 0 ;
33614 char *kwnames
[] = {
33615 (char *) "self",(char *) "item",(char *) "show", NULL
33618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33623 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
33624 if (PyErr_Occurred()) SWIG_fail
;
33628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33629 wxSizer_Show(arg1
,arg2
,arg3
);
33631 wxPyEndAllowThreads(__tstate
);
33632 if (PyErr_Occurred()) SWIG_fail
;
33634 Py_INCREF(Py_None
); resultobj
= Py_None
;
33641 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33642 PyObject
*resultobj
;
33643 wxSizer
*arg1
= (wxSizer
*) 0 ;
33644 PyObject
*arg2
= (PyObject
*) 0 ;
33645 PyObject
* obj0
= 0 ;
33646 PyObject
* obj1
= 0 ;
33647 char *kwnames
[] = {
33648 (char *) "self",(char *) "item", NULL
33651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
33652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33656 wxSizer_Hide(arg1
,arg2
);
33658 wxPyEndAllowThreads(__tstate
);
33659 if (PyErr_Occurred()) SWIG_fail
;
33661 Py_INCREF(Py_None
); resultobj
= Py_None
;
33668 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33669 PyObject
*resultobj
;
33670 wxSizer
*arg1
= (wxSizer
*) 0 ;
33671 PyObject
*arg2
= (PyObject
*) 0 ;
33673 PyObject
* obj0
= 0 ;
33674 PyObject
* obj1
= 0 ;
33675 char *kwnames
[] = {
33676 (char *) "self",(char *) "item", NULL
33679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
33680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33684 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
33686 wxPyEndAllowThreads(__tstate
);
33687 if (PyErr_Occurred()) SWIG_fail
;
33689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33696 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33697 PyObject
*resultobj
;
33698 wxSizer
*arg1
= (wxSizer
*) 0 ;
33700 PyObject
* obj0
= 0 ;
33701 PyObject
* obj1
= 0 ;
33702 char *kwnames
[] = {
33703 (char *) "self",(char *) "show", NULL
33706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33709 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
33710 if (PyErr_Occurred()) SWIG_fail
;
33713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33714 (arg1
)->ShowItems(arg2
);
33716 wxPyEndAllowThreads(__tstate
);
33717 if (PyErr_Occurred()) SWIG_fail
;
33719 Py_INCREF(Py_None
); resultobj
= Py_None
;
33726 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
33728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33729 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
33731 return Py_BuildValue((char *)"");
33733 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33734 PyObject
*resultobj
;
33736 char *kwnames
[] = {
33740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
33742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33743 result
= (wxPySizer
*)new wxPySizer();
33745 wxPyEndAllowThreads(__tstate
);
33746 if (PyErr_Occurred()) SWIG_fail
;
33748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
33755 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33756 PyObject
*resultobj
;
33757 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
33758 PyObject
*arg2
= (PyObject
*) 0 ;
33759 PyObject
*arg3
= (PyObject
*) 0 ;
33760 PyObject
* obj0
= 0 ;
33761 PyObject
* obj1
= 0 ;
33762 PyObject
* obj2
= 0 ;
33763 char *kwnames
[] = {
33764 (char *) "self",(char *) "self",(char *) "_class", NULL
33767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33773 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33775 wxPyEndAllowThreads(__tstate
);
33776 if (PyErr_Occurred()) SWIG_fail
;
33778 Py_INCREF(Py_None
); resultobj
= Py_None
;
33785 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
33787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33788 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
33790 return Py_BuildValue((char *)"");
33792 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33793 PyObject
*resultobj
;
33794 int arg1
= (int) wxHORIZONTAL
;
33795 wxBoxSizer
*result
;
33796 PyObject
* obj0
= 0 ;
33797 char *kwnames
[] = {
33798 (char *) "orient", NULL
33801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
33804 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
33805 if (PyErr_Occurred()) SWIG_fail
;
33809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33810 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
33812 wxPyEndAllowThreads(__tstate
);
33813 if (PyErr_Occurred()) SWIG_fail
;
33815 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
33822 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33823 PyObject
*resultobj
;
33824 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
33826 PyObject
* obj0
= 0 ;
33827 char *kwnames
[] = {
33828 (char *) "self", NULL
33831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
33832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33835 result
= (int)(arg1
)->GetOrientation();
33837 wxPyEndAllowThreads(__tstate
);
33838 if (PyErr_Occurred()) SWIG_fail
;
33840 resultobj
= SWIG_PyObj_FromInt((int)result
);
33847 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33848 PyObject
*resultobj
;
33849 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
33851 PyObject
* obj0
= 0 ;
33852 PyObject
* obj1
= 0 ;
33853 char *kwnames
[] = {
33854 (char *) "self",(char *) "orient", NULL
33857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
33858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33860 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
33861 if (PyErr_Occurred()) SWIG_fail
;
33864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33865 (arg1
)->SetOrientation(arg2
);
33867 wxPyEndAllowThreads(__tstate
);
33868 if (PyErr_Occurred()) SWIG_fail
;
33870 Py_INCREF(Py_None
); resultobj
= Py_None
;
33877 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33878 PyObject
*resultobj
;
33879 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
33880 PyObject
* obj0
= 0 ;
33881 char *kwnames
[] = {
33882 (char *) "self", NULL
33885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
33886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33889 (arg1
)->RecalcSizes();
33891 wxPyEndAllowThreads(__tstate
);
33892 if (PyErr_Occurred()) SWIG_fail
;
33894 Py_INCREF(Py_None
); resultobj
= Py_None
;
33901 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33902 PyObject
*resultobj
;
33903 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
33905 PyObject
* obj0
= 0 ;
33906 char *kwnames
[] = {
33907 (char *) "self", NULL
33910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
33911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33914 result
= (arg1
)->CalcMin();
33916 wxPyEndAllowThreads(__tstate
);
33917 if (PyErr_Occurred()) SWIG_fail
;
33920 wxSize
* resultptr
;
33921 resultptr
= new wxSize((wxSize
&) result
);
33922 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33930 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
33932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33933 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
33935 return Py_BuildValue((char *)"");
33937 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33938 PyObject
*resultobj
;
33939 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
33940 int arg2
= (int) wxHORIZONTAL
;
33941 wxStaticBoxSizer
*result
;
33942 PyObject
* obj0
= 0 ;
33943 PyObject
* obj1
= 0 ;
33944 char *kwnames
[] = {
33945 (char *) "box",(char *) "orient", NULL
33948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33952 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
33953 if (PyErr_Occurred()) SWIG_fail
;
33957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33958 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
33960 wxPyEndAllowThreads(__tstate
);
33961 if (PyErr_Occurred()) SWIG_fail
;
33963 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
33970 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33971 PyObject
*resultobj
;
33972 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
33973 wxStaticBox
*result
;
33974 PyObject
* obj0
= 0 ;
33975 char *kwnames
[] = {
33976 (char *) "self", NULL
33979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
33980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33983 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
33985 wxPyEndAllowThreads(__tstate
);
33986 if (PyErr_Occurred()) SWIG_fail
;
33989 resultobj
= wxPyMake_wxObject(result
);
33997 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33998 PyObject
*resultobj
;
33999 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34000 PyObject
* obj0
= 0 ;
34001 char *kwnames
[] = {
34002 (char *) "self", NULL
34005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34009 (arg1
)->RecalcSizes();
34011 wxPyEndAllowThreads(__tstate
);
34012 if (PyErr_Occurred()) SWIG_fail
;
34014 Py_INCREF(Py_None
); resultobj
= Py_None
;
34021 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34022 PyObject
*resultobj
;
34023 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34025 PyObject
* obj0
= 0 ;
34026 char *kwnames
[] = {
34027 (char *) "self", NULL
34030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34034 result
= (arg1
)->CalcMin();
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34040 wxSize
* resultptr
;
34041 resultptr
= new wxSize((wxSize
&) result
);
34042 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34050 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34053 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
34055 return Py_BuildValue((char *)"");
34057 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34058 PyObject
*resultobj
;
34059 int arg1
= (int) 1 ;
34060 int arg2
= (int) 0 ;
34061 int arg3
= (int) 0 ;
34062 int arg4
= (int) 0 ;
34063 wxGridSizer
*result
;
34064 PyObject
* obj0
= 0 ;
34065 PyObject
* obj1
= 0 ;
34066 PyObject
* obj2
= 0 ;
34067 PyObject
* obj3
= 0 ;
34068 char *kwnames
[] = {
34069 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34075 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34076 if (PyErr_Occurred()) SWIG_fail
;
34081 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34082 if (PyErr_Occurred()) SWIG_fail
;
34087 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34088 if (PyErr_Occurred()) SWIG_fail
;
34093 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
34094 if (PyErr_Occurred()) SWIG_fail
;
34098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34099 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
34101 wxPyEndAllowThreads(__tstate
);
34102 if (PyErr_Occurred()) SWIG_fail
;
34104 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
34111 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34112 PyObject
*resultobj
;
34113 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34114 PyObject
* obj0
= 0 ;
34115 char *kwnames
[] = {
34116 (char *) "self", NULL
34119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34123 (arg1
)->RecalcSizes();
34125 wxPyEndAllowThreads(__tstate
);
34126 if (PyErr_Occurred()) SWIG_fail
;
34128 Py_INCREF(Py_None
); resultobj
= Py_None
;
34135 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34136 PyObject
*resultobj
;
34137 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34139 PyObject
* obj0
= 0 ;
34140 char *kwnames
[] = {
34141 (char *) "self", NULL
34144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34148 result
= (arg1
)->CalcMin();
34150 wxPyEndAllowThreads(__tstate
);
34151 if (PyErr_Occurred()) SWIG_fail
;
34154 wxSize
* resultptr
;
34155 resultptr
= new wxSize((wxSize
&) result
);
34156 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34164 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34165 PyObject
*resultobj
;
34166 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34168 PyObject
* obj0
= 0 ;
34169 PyObject
* obj1
= 0 ;
34170 char *kwnames
[] = {
34171 (char *) "self",(char *) "cols", NULL
34174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
34175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34177 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34178 if (PyErr_Occurred()) SWIG_fail
;
34181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34182 (arg1
)->SetCols(arg2
);
34184 wxPyEndAllowThreads(__tstate
);
34185 if (PyErr_Occurred()) SWIG_fail
;
34187 Py_INCREF(Py_None
); resultobj
= Py_None
;
34194 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34195 PyObject
*resultobj
;
34196 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34198 PyObject
* obj0
= 0 ;
34199 PyObject
* obj1
= 0 ;
34200 char *kwnames
[] = {
34201 (char *) "self",(char *) "rows", NULL
34204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
34205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34207 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34208 if (PyErr_Occurred()) SWIG_fail
;
34211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34212 (arg1
)->SetRows(arg2
);
34214 wxPyEndAllowThreads(__tstate
);
34215 if (PyErr_Occurred()) SWIG_fail
;
34217 Py_INCREF(Py_None
); resultobj
= Py_None
;
34224 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34225 PyObject
*resultobj
;
34226 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34228 PyObject
* obj0
= 0 ;
34229 PyObject
* obj1
= 0 ;
34230 char *kwnames
[] = {
34231 (char *) "self",(char *) "gap", NULL
34234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34237 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34238 if (PyErr_Occurred()) SWIG_fail
;
34241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34242 (arg1
)->SetVGap(arg2
);
34244 wxPyEndAllowThreads(__tstate
);
34245 if (PyErr_Occurred()) SWIG_fail
;
34247 Py_INCREF(Py_None
); resultobj
= Py_None
;
34254 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34255 PyObject
*resultobj
;
34256 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34258 PyObject
* obj0
= 0 ;
34259 PyObject
* obj1
= 0 ;
34260 char *kwnames
[] = {
34261 (char *) "self",(char *) "gap", NULL
34264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34267 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34268 if (PyErr_Occurred()) SWIG_fail
;
34271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34272 (arg1
)->SetHGap(arg2
);
34274 wxPyEndAllowThreads(__tstate
);
34275 if (PyErr_Occurred()) SWIG_fail
;
34277 Py_INCREF(Py_None
); resultobj
= Py_None
;
34284 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34285 PyObject
*resultobj
;
34286 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34288 PyObject
* obj0
= 0 ;
34289 char *kwnames
[] = {
34290 (char *) "self", NULL
34293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
34294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34297 result
= (int)(arg1
)->GetCols();
34299 wxPyEndAllowThreads(__tstate
);
34300 if (PyErr_Occurred()) SWIG_fail
;
34302 resultobj
= SWIG_PyObj_FromInt((int)result
);
34309 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34310 PyObject
*resultobj
;
34311 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34313 PyObject
* obj0
= 0 ;
34314 char *kwnames
[] = {
34315 (char *) "self", NULL
34318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
34319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34322 result
= (int)(arg1
)->GetRows();
34324 wxPyEndAllowThreads(__tstate
);
34325 if (PyErr_Occurred()) SWIG_fail
;
34327 resultobj
= SWIG_PyObj_FromInt((int)result
);
34334 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34335 PyObject
*resultobj
;
34336 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34338 PyObject
* obj0
= 0 ;
34339 char *kwnames
[] = {
34340 (char *) "self", NULL
34343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
34344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34347 result
= (int)(arg1
)->GetVGap();
34349 wxPyEndAllowThreads(__tstate
);
34350 if (PyErr_Occurred()) SWIG_fail
;
34352 resultobj
= SWIG_PyObj_FromInt((int)result
);
34359 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34360 PyObject
*resultobj
;
34361 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34363 PyObject
* obj0
= 0 ;
34364 char *kwnames
[] = {
34365 (char *) "self", NULL
34368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
34369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34372 result
= (int)(arg1
)->GetHGap();
34374 wxPyEndAllowThreads(__tstate
);
34375 if (PyErr_Occurred()) SWIG_fail
;
34377 resultobj
= SWIG_PyObj_FromInt((int)result
);
34384 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34387 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
34389 return Py_BuildValue((char *)"");
34391 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34392 PyObject
*resultobj
;
34393 int arg1
= (int) 1 ;
34394 int arg2
= (int) 0 ;
34395 int arg3
= (int) 0 ;
34396 int arg4
= (int) 0 ;
34397 wxFlexGridSizer
*result
;
34398 PyObject
* obj0
= 0 ;
34399 PyObject
* obj1
= 0 ;
34400 PyObject
* obj2
= 0 ;
34401 PyObject
* obj3
= 0 ;
34402 char *kwnames
[] = {
34403 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34409 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34410 if (PyErr_Occurred()) SWIG_fail
;
34415 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34416 if (PyErr_Occurred()) SWIG_fail
;
34421 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34422 if (PyErr_Occurred()) SWIG_fail
;
34427 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
34428 if (PyErr_Occurred()) SWIG_fail
;
34432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34433 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
34435 wxPyEndAllowThreads(__tstate
);
34436 if (PyErr_Occurred()) SWIG_fail
;
34438 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
34445 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34446 PyObject
*resultobj
;
34447 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34448 PyObject
* obj0
= 0 ;
34449 char *kwnames
[] = {
34450 (char *) "self", NULL
34453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34457 (arg1
)->RecalcSizes();
34459 wxPyEndAllowThreads(__tstate
);
34460 if (PyErr_Occurred()) SWIG_fail
;
34462 Py_INCREF(Py_None
); resultobj
= Py_None
;
34469 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34470 PyObject
*resultobj
;
34471 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34473 PyObject
* obj0
= 0 ;
34474 char *kwnames
[] = {
34475 (char *) "self", NULL
34478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34482 result
= (arg1
)->CalcMin();
34484 wxPyEndAllowThreads(__tstate
);
34485 if (PyErr_Occurred()) SWIG_fail
;
34488 wxSize
* resultptr
;
34489 resultptr
= new wxSize((wxSize
&) result
);
34490 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34498 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34499 PyObject
*resultobj
;
34500 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34502 int arg3
= (int) 0 ;
34503 PyObject
* obj0
= 0 ;
34504 PyObject
* obj1
= 0 ;
34505 PyObject
* obj2
= 0 ;
34506 char *kwnames
[] = {
34507 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34513 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
34514 if (PyErr_Occurred()) SWIG_fail
;
34518 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34519 if (PyErr_Occurred()) SWIG_fail
;
34523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34524 (arg1
)->AddGrowableRow(arg2
,arg3
);
34526 wxPyEndAllowThreads(__tstate
);
34527 if (PyErr_Occurred()) SWIG_fail
;
34529 Py_INCREF(Py_None
); resultobj
= Py_None
;
34536 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34537 PyObject
*resultobj
;
34538 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34540 PyObject
* obj0
= 0 ;
34541 PyObject
* obj1
= 0 ;
34542 char *kwnames
[] = {
34543 (char *) "self",(char *) "idx", NULL
34546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
34547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34549 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
34550 if (PyErr_Occurred()) SWIG_fail
;
34553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34554 (arg1
)->RemoveGrowableRow(arg2
);
34556 wxPyEndAllowThreads(__tstate
);
34557 if (PyErr_Occurred()) SWIG_fail
;
34559 Py_INCREF(Py_None
); resultobj
= Py_None
;
34566 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34567 PyObject
*resultobj
;
34568 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34570 int arg3
= (int) 0 ;
34571 PyObject
* obj0
= 0 ;
34572 PyObject
* obj1
= 0 ;
34573 PyObject
* obj2
= 0 ;
34574 char *kwnames
[] = {
34575 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34581 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
34582 if (PyErr_Occurred()) SWIG_fail
;
34586 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34587 if (PyErr_Occurred()) SWIG_fail
;
34591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34592 (arg1
)->AddGrowableCol(arg2
,arg3
);
34594 wxPyEndAllowThreads(__tstate
);
34595 if (PyErr_Occurred()) SWIG_fail
;
34597 Py_INCREF(Py_None
); resultobj
= Py_None
;
34604 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34605 PyObject
*resultobj
;
34606 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34608 PyObject
* obj0
= 0 ;
34609 PyObject
* obj1
= 0 ;
34610 char *kwnames
[] = {
34611 (char *) "self",(char *) "idx", NULL
34614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
34615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34617 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
34618 if (PyErr_Occurred()) SWIG_fail
;
34621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34622 (arg1
)->RemoveGrowableCol(arg2
);
34624 wxPyEndAllowThreads(__tstate
);
34625 if (PyErr_Occurred()) SWIG_fail
;
34627 Py_INCREF(Py_None
); resultobj
= Py_None
;
34634 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34635 PyObject
*resultobj
;
34636 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34638 PyObject
* obj0
= 0 ;
34639 PyObject
* obj1
= 0 ;
34640 char *kwnames
[] = {
34641 (char *) "self",(char *) "direction", NULL
34644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
34645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,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
)->SetFlexibleDirection(arg2
);
34654 wxPyEndAllowThreads(__tstate
);
34655 if (PyErr_Occurred()) SWIG_fail
;
34657 Py_INCREF(Py_None
); resultobj
= Py_None
;
34664 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34665 PyObject
*resultobj
;
34666 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34668 PyObject
* obj0
= 0 ;
34669 char *kwnames
[] = {
34670 (char *) "self", NULL
34673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
34674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34677 result
= (int)(arg1
)->GetFlexibleDirection();
34679 wxPyEndAllowThreads(__tstate
);
34680 if (PyErr_Occurred()) SWIG_fail
;
34682 resultobj
= SWIG_PyObj_FromInt((int)result
);
34689 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34690 PyObject
*resultobj
;
34691 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34693 PyObject
* obj0
= 0 ;
34694 PyObject
* obj1
= 0 ;
34695 char *kwnames
[] = {
34696 (char *) "self",(char *) "mode", NULL
34699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
34700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34702 arg2
= (wxFlexSizerGrowMode
) SWIG_PyObj_AsInt(obj1
);
34703 if (PyErr_Occurred()) SWIG_fail
;
34706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34707 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
34709 wxPyEndAllowThreads(__tstate
);
34710 if (PyErr_Occurred()) SWIG_fail
;
34712 Py_INCREF(Py_None
); resultobj
= Py_None
;
34719 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34720 PyObject
*resultobj
;
34721 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34723 PyObject
* obj0
= 0 ;
34724 char *kwnames
[] = {
34725 (char *) "self", NULL
34728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
34729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34732 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
34734 wxPyEndAllowThreads(__tstate
);
34735 if (PyErr_Occurred()) SWIG_fail
;
34737 resultobj
= SWIG_PyObj_FromInt((int)result
);
34744 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34745 PyObject
*resultobj
;
34746 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34747 wxArrayInt
*result
;
34748 PyObject
* obj0
= 0 ;
34749 char *kwnames
[] = {
34750 (char *) "self", NULL
34753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
34754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34758 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
34759 result
= (wxArrayInt
*) &_result_ref
;
34762 wxPyEndAllowThreads(__tstate
);
34763 if (PyErr_Occurred()) SWIG_fail
;
34766 resultobj
= PyList_New(0);
34768 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
34769 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
34770 PyList_Append(resultobj
, val
);
34780 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34781 PyObject
*resultobj
;
34782 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34783 wxArrayInt
*result
;
34784 PyObject
* obj0
= 0 ;
34785 char *kwnames
[] = {
34786 (char *) "self", NULL
34789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
34790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34794 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
34795 result
= (wxArrayInt
*) &_result_ref
;
34798 wxPyEndAllowThreads(__tstate
);
34799 if (PyErr_Occurred()) SWIG_fail
;
34802 resultobj
= PyList_New(0);
34804 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
34805 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
34806 PyList_Append(resultobj
, val
);
34816 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34819 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
34821 return Py_BuildValue((char *)"");
34823 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34824 PyObject
*resultobj
;
34825 int arg1
= (int) 0 ;
34826 int arg2
= (int) 0 ;
34827 wxGBPosition
*result
;
34828 PyObject
* obj0
= 0 ;
34829 PyObject
* obj1
= 0 ;
34830 char *kwnames
[] = {
34831 (char *) "row",(char *) "col", NULL
34834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34837 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34838 if (PyErr_Occurred()) SWIG_fail
;
34843 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34844 if (PyErr_Occurred()) SWIG_fail
;
34848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34849 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
34851 wxPyEndAllowThreads(__tstate
);
34852 if (PyErr_Occurred()) SWIG_fail
;
34854 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
34861 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34862 PyObject
*resultobj
;
34863 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
34865 PyObject
* obj0
= 0 ;
34866 char *kwnames
[] = {
34867 (char *) "self", NULL
34870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
34871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34874 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
34876 wxPyEndAllowThreads(__tstate
);
34877 if (PyErr_Occurred()) SWIG_fail
;
34879 resultobj
= SWIG_PyObj_FromInt((int)result
);
34886 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34887 PyObject
*resultobj
;
34888 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
34890 PyObject
* obj0
= 0 ;
34891 char *kwnames
[] = {
34892 (char *) "self", NULL
34895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
34896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34899 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
34901 wxPyEndAllowThreads(__tstate
);
34902 if (PyErr_Occurred()) SWIG_fail
;
34904 resultobj
= SWIG_PyObj_FromInt((int)result
);
34911 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34912 PyObject
*resultobj
;
34913 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
34915 PyObject
* obj0
= 0 ;
34916 PyObject
* obj1
= 0 ;
34917 char *kwnames
[] = {
34918 (char *) "self",(char *) "row", NULL
34921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
34922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34924 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34925 if (PyErr_Occurred()) SWIG_fail
;
34928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34929 (arg1
)->SetRow(arg2
);
34931 wxPyEndAllowThreads(__tstate
);
34932 if (PyErr_Occurred()) SWIG_fail
;
34934 Py_INCREF(Py_None
); resultobj
= Py_None
;
34941 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34942 PyObject
*resultobj
;
34943 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
34945 PyObject
* obj0
= 0 ;
34946 PyObject
* obj1
= 0 ;
34947 char *kwnames
[] = {
34948 (char *) "self",(char *) "col", NULL
34951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
34952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34954 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34955 if (PyErr_Occurred()) SWIG_fail
;
34958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34959 (arg1
)->SetCol(arg2
);
34961 wxPyEndAllowThreads(__tstate
);
34962 if (PyErr_Occurred()) SWIG_fail
;
34964 Py_INCREF(Py_None
); resultobj
= Py_None
;
34971 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34972 PyObject
*resultobj
;
34973 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
34974 wxGBPosition
*arg2
= 0 ;
34976 wxGBPosition temp2
;
34977 PyObject
* obj0
= 0 ;
34978 PyObject
* obj1
= 0 ;
34979 char *kwnames
[] = {
34980 (char *) "self",(char *) "p", NULL
34983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
34984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34987 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34991 result
= (bool)((wxGBPosition
const *)arg1
)->operator ==((wxGBPosition
const &)*arg2
);
34993 wxPyEndAllowThreads(__tstate
);
34994 if (PyErr_Occurred()) SWIG_fail
;
34996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35003 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35004 PyObject
*resultobj
;
35005 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35006 wxGBPosition
*arg2
= 0 ;
35008 wxGBPosition temp2
;
35009 PyObject
* obj0
= 0 ;
35010 PyObject
* obj1
= 0 ;
35011 char *kwnames
[] = {
35012 (char *) "self",(char *) "p", NULL
35015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35019 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35023 result
= (bool)((wxGBPosition
const *)arg1
)->operator !=((wxGBPosition
const &)*arg2
);
35025 wxPyEndAllowThreads(__tstate
);
35026 if (PyErr_Occurred()) SWIG_fail
;
35028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35035 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35036 PyObject
*resultobj
;
35037 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35038 int arg2
= (int) 0 ;
35039 int arg3
= (int) 0 ;
35040 PyObject
* obj0
= 0 ;
35041 PyObject
* obj1
= 0 ;
35042 PyObject
* obj2
= 0 ;
35043 char *kwnames
[] = {
35044 (char *) "self",(char *) "row",(char *) "col", NULL
35047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35051 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35052 if (PyErr_Occurred()) SWIG_fail
;
35057 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
35058 if (PyErr_Occurred()) SWIG_fail
;
35062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35063 wxGBPosition_Set(arg1
,arg2
,arg3
);
35065 wxPyEndAllowThreads(__tstate
);
35066 if (PyErr_Occurred()) SWIG_fail
;
35068 Py_INCREF(Py_None
); resultobj
= Py_None
;
35075 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35076 PyObject
*resultobj
;
35077 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35079 PyObject
* obj0
= 0 ;
35080 char *kwnames
[] = {
35081 (char *) "self", NULL
35084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
35085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35088 result
= (PyObject
*)wxGBPosition_Get(arg1
);
35090 wxPyEndAllowThreads(__tstate
);
35091 if (PyErr_Occurred()) SWIG_fail
;
35093 resultobj
= result
;
35100 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
35102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35103 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
35105 return Py_BuildValue((char *)"");
35107 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35108 PyObject
*resultobj
;
35109 int arg1
= (int) 1 ;
35110 int arg2
= (int) 1 ;
35112 PyObject
* obj0
= 0 ;
35113 PyObject
* obj1
= 0 ;
35114 char *kwnames
[] = {
35115 (char *) "rowspan",(char *) "colspan", NULL
35118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35121 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
35122 if (PyErr_Occurred()) SWIG_fail
;
35127 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35128 if (PyErr_Occurred()) SWIG_fail
;
35132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35133 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
35135 wxPyEndAllowThreads(__tstate
);
35136 if (PyErr_Occurred()) SWIG_fail
;
35138 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
35145 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35146 PyObject
*resultobj
;
35147 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35149 PyObject
* obj0
= 0 ;
35150 char *kwnames
[] = {
35151 (char *) "self", NULL
35154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
35155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35158 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
35160 wxPyEndAllowThreads(__tstate
);
35161 if (PyErr_Occurred()) SWIG_fail
;
35163 resultobj
= SWIG_PyObj_FromInt((int)result
);
35170 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35171 PyObject
*resultobj
;
35172 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35174 PyObject
* obj0
= 0 ;
35175 char *kwnames
[] = {
35176 (char *) "self", NULL
35179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
35180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35183 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
35185 wxPyEndAllowThreads(__tstate
);
35186 if (PyErr_Occurred()) SWIG_fail
;
35188 resultobj
= SWIG_PyObj_FromInt((int)result
);
35195 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35196 PyObject
*resultobj
;
35197 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35199 PyObject
* obj0
= 0 ;
35200 PyObject
* obj1
= 0 ;
35201 char *kwnames
[] = {
35202 (char *) "self",(char *) "rowspan", NULL
35205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35208 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35209 if (PyErr_Occurred()) SWIG_fail
;
35212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35213 (arg1
)->SetRowspan(arg2
);
35215 wxPyEndAllowThreads(__tstate
);
35216 if (PyErr_Occurred()) SWIG_fail
;
35218 Py_INCREF(Py_None
); resultobj
= Py_None
;
35225 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35226 PyObject
*resultobj
;
35227 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35229 PyObject
* obj0
= 0 ;
35230 PyObject
* obj1
= 0 ;
35231 char *kwnames
[] = {
35232 (char *) "self",(char *) "colspan", NULL
35235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35238 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35239 if (PyErr_Occurred()) SWIG_fail
;
35242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35243 (arg1
)->SetColspan(arg2
);
35245 wxPyEndAllowThreads(__tstate
);
35246 if (PyErr_Occurred()) SWIG_fail
;
35248 Py_INCREF(Py_None
); resultobj
= Py_None
;
35255 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35256 PyObject
*resultobj
;
35257 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35258 wxGBSpan
*arg2
= 0 ;
35261 PyObject
* obj0
= 0 ;
35262 PyObject
* obj1
= 0 ;
35263 char *kwnames
[] = {
35264 (char *) "self",(char *) "o", NULL
35267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35271 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
35274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35275 result
= (bool)((wxGBSpan
const *)arg1
)->operator ==((wxGBSpan
const &)*arg2
);
35277 wxPyEndAllowThreads(__tstate
);
35278 if (PyErr_Occurred()) SWIG_fail
;
35280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35287 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35288 PyObject
*resultobj
;
35289 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35290 wxGBSpan
*arg2
= 0 ;
35293 PyObject
* obj0
= 0 ;
35294 PyObject
* obj1
= 0 ;
35295 char *kwnames
[] = {
35296 (char *) "self",(char *) "o", NULL
35299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35303 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
35306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35307 result
= (bool)((wxGBSpan
const *)arg1
)->operator !=((wxGBSpan
const &)*arg2
);
35309 wxPyEndAllowThreads(__tstate
);
35310 if (PyErr_Occurred()) SWIG_fail
;
35312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35319 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35320 PyObject
*resultobj
;
35321 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35322 int arg2
= (int) 1 ;
35323 int arg3
= (int) 1 ;
35324 PyObject
* obj0
= 0 ;
35325 PyObject
* obj1
= 0 ;
35326 PyObject
* obj2
= 0 ;
35327 char *kwnames
[] = {
35328 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
35331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35335 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35336 if (PyErr_Occurred()) SWIG_fail
;
35341 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
35342 if (PyErr_Occurred()) SWIG_fail
;
35346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35347 wxGBSpan_Set(arg1
,arg2
,arg3
);
35349 wxPyEndAllowThreads(__tstate
);
35350 if (PyErr_Occurred()) SWIG_fail
;
35352 Py_INCREF(Py_None
); resultobj
= Py_None
;
35359 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35360 PyObject
*resultobj
;
35361 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35363 PyObject
* obj0
= 0 ;
35364 char *kwnames
[] = {
35365 (char *) "self", NULL
35368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
35369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35372 result
= (PyObject
*)wxGBSpan_Get(arg1
);
35374 wxPyEndAllowThreads(__tstate
);
35375 if (PyErr_Occurred()) SWIG_fail
;
35377 resultobj
= result
;
35384 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
35386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35387 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
35389 return Py_BuildValue((char *)"");
35391 static int _wrap_DefaultSpan_set(PyObject
*) {
35392 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
35397 static PyObject
*_wrap_DefaultSpan_get() {
35400 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
35405 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35406 PyObject
*resultobj
;
35407 wxGBSizerItem
*result
;
35408 char *kwnames
[] = {
35412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
35414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35415 result
= (wxGBSizerItem
*)new wxGBSizerItem();
35417 wxPyEndAllowThreads(__tstate
);
35418 if (PyErr_Occurred()) SWIG_fail
;
35420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35427 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35428 PyObject
*resultobj
;
35429 wxWindow
*arg1
= (wxWindow
*) 0 ;
35430 wxGBPosition
*arg2
= 0 ;
35431 wxGBSpan
*arg3
= 0 ;
35434 wxObject
*arg6
= (wxObject
*) 0 ;
35435 wxGBSizerItem
*result
;
35436 wxGBPosition temp2
;
35438 PyObject
* obj0
= 0 ;
35439 PyObject
* obj1
= 0 ;
35440 PyObject
* obj2
= 0 ;
35441 PyObject
* obj3
= 0 ;
35442 PyObject
* obj4
= 0 ;
35443 PyObject
* obj5
= 0 ;
35444 char *kwnames
[] = {
35445 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35452 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35456 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35459 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
35460 if (PyErr_Occurred()) SWIG_fail
;
35463 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
35464 if (PyErr_Occurred()) SWIG_fail
;
35466 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35469 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
35471 wxPyEndAllowThreads(__tstate
);
35472 if (PyErr_Occurred()) SWIG_fail
;
35474 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35481 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35482 PyObject
*resultobj
;
35483 wxSizer
*arg1
= (wxSizer
*) 0 ;
35484 wxGBPosition
*arg2
= 0 ;
35485 wxGBSpan
*arg3
= 0 ;
35488 wxObject
*arg6
= (wxObject
*) 0 ;
35489 wxGBSizerItem
*result
;
35490 wxGBPosition temp2
;
35492 PyObject
* obj0
= 0 ;
35493 PyObject
* obj1
= 0 ;
35494 PyObject
* obj2
= 0 ;
35495 PyObject
* obj3
= 0 ;
35496 PyObject
* obj4
= 0 ;
35497 PyObject
* obj5
= 0 ;
35498 char *kwnames
[] = {
35499 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35506 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35510 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35513 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
35514 if (PyErr_Occurred()) SWIG_fail
;
35517 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
35518 if (PyErr_Occurred()) SWIG_fail
;
35520 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35523 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
35525 wxPyEndAllowThreads(__tstate
);
35526 if (PyErr_Occurred()) SWIG_fail
;
35528 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35535 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35536 PyObject
*resultobj
;
35539 wxGBPosition
*arg3
= 0 ;
35540 wxGBSpan
*arg4
= 0 ;
35543 wxObject
*arg7
= (wxObject
*) 0 ;
35544 wxGBSizerItem
*result
;
35545 wxGBPosition temp3
;
35547 PyObject
* obj0
= 0 ;
35548 PyObject
* obj1
= 0 ;
35549 PyObject
* obj2
= 0 ;
35550 PyObject
* obj3
= 0 ;
35551 PyObject
* obj4
= 0 ;
35552 PyObject
* obj5
= 0 ;
35553 PyObject
* obj6
= 0 ;
35554 char *kwnames
[] = {
35555 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35560 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
35561 if (PyErr_Occurred()) SWIG_fail
;
35564 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35565 if (PyErr_Occurred()) SWIG_fail
;
35569 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
35573 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
35576 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
35577 if (PyErr_Occurred()) SWIG_fail
;
35580 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
35581 if (PyErr_Occurred()) SWIG_fail
;
35583 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35586 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
35588 wxPyEndAllowThreads(__tstate
);
35589 if (PyErr_Occurred()) SWIG_fail
;
35591 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35598 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35599 PyObject
*resultobj
;
35600 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35601 wxGBPosition result
;
35602 PyObject
* obj0
= 0 ;
35603 char *kwnames
[] = {
35604 (char *) "self", NULL
35607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
35608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35611 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
35613 wxPyEndAllowThreads(__tstate
);
35614 if (PyErr_Occurred()) SWIG_fail
;
35617 wxGBPosition
* resultptr
;
35618 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
35619 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
35627 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35628 PyObject
*resultobj
;
35629 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35631 PyObject
* obj0
= 0 ;
35632 char *kwnames
[] = {
35633 (char *) "self", NULL
35636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
35637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35640 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
35642 wxPyEndAllowThreads(__tstate
);
35643 if (PyErr_Occurred()) SWIG_fail
;
35646 wxGBSpan
* resultptr
;
35647 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
35648 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
35656 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35657 PyObject
*resultobj
;
35658 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35659 wxGBPosition
*arg2
= 0 ;
35661 wxGBPosition temp2
;
35662 PyObject
* obj0
= 0 ;
35663 PyObject
* obj1
= 0 ;
35664 char *kwnames
[] = {
35665 (char *) "self",(char *) "pos", NULL
35668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
35669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35672 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35676 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
35678 wxPyEndAllowThreads(__tstate
);
35679 if (PyErr_Occurred()) SWIG_fail
;
35681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35688 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35689 PyObject
*resultobj
;
35690 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35691 wxGBSpan
*arg2
= 0 ;
35694 PyObject
* obj0
= 0 ;
35695 PyObject
* obj1
= 0 ;
35696 char *kwnames
[] = {
35697 (char *) "self",(char *) "span", NULL
35700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35704 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
35707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35708 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
35710 wxPyEndAllowThreads(__tstate
);
35711 if (PyErr_Occurred()) SWIG_fail
;
35713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35720 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
35721 PyObject
*resultobj
;
35722 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35723 wxGBSizerItem
*arg2
= 0 ;
35725 PyObject
* obj0
= 0 ;
35726 PyObject
* obj1
= 0 ;
35728 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
35729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35730 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35731 if (arg2
== NULL
) {
35732 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
35735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35736 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
35738 wxPyEndAllowThreads(__tstate
);
35739 if (PyErr_Occurred()) SWIG_fail
;
35741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35748 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
35749 PyObject
*resultobj
;
35750 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35751 wxGBPosition
*arg2
= 0 ;
35752 wxGBSpan
*arg3
= 0 ;
35754 wxGBPosition temp2
;
35756 PyObject
* obj0
= 0 ;
35757 PyObject
* obj1
= 0 ;
35758 PyObject
* obj2
= 0 ;
35760 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
35761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35764 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35768 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35772 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
35774 wxPyEndAllowThreads(__tstate
);
35775 if (PyErr_Occurred()) SWIG_fail
;
35777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35784 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
35789 argc
= PyObject_Length(args
);
35790 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
35791 argv
[ii
] = PyTuple_GetItem(args
,ii
);
35797 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
35807 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
35815 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
35823 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
35832 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
35836 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
35839 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
35845 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
35850 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35851 PyObject
*resultobj
;
35852 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35855 PyObject
* obj0
= 0 ;
35856 PyObject
* obj1
= 0 ;
35857 PyObject
* obj2
= 0 ;
35858 char *kwnames
[] = {
35859 (char *) "self",(char *) "row",(char *) "col", NULL
35862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35864 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35865 if (arg2
== NULL
) {
35866 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
35868 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35869 if (arg3
== NULL
) {
35870 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
35873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35874 (arg1
)->GetEndPos(*arg2
,*arg3
);
35876 wxPyEndAllowThreads(__tstate
);
35877 if (PyErr_Occurred()) SWIG_fail
;
35879 Py_INCREF(Py_None
); resultobj
= Py_None
;
35886 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35887 PyObject
*resultobj
;
35888 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35889 wxGridBagSizer
*result
;
35890 PyObject
* obj0
= 0 ;
35891 char *kwnames
[] = {
35892 (char *) "self", NULL
35895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
35896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35899 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
35901 wxPyEndAllowThreads(__tstate
);
35902 if (PyErr_Occurred()) SWIG_fail
;
35904 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
35911 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35912 PyObject
*resultobj
;
35913 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35914 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
35915 PyObject
* obj0
= 0 ;
35916 PyObject
* obj1
= 0 ;
35917 char *kwnames
[] = {
35918 (char *) "self",(char *) "sizer", NULL
35921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35923 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35926 (arg1
)->SetGBSizer(arg2
);
35928 wxPyEndAllowThreads(__tstate
);
35929 if (PyErr_Occurred()) SWIG_fail
;
35931 Py_INCREF(Py_None
); resultobj
= Py_None
;
35938 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
35940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35941 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
35943 return Py_BuildValue((char *)"");
35945 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35946 PyObject
*resultobj
;
35947 int arg1
= (int) 0 ;
35948 int arg2
= (int) 0 ;
35949 wxGridBagSizer
*result
;
35950 PyObject
* obj0
= 0 ;
35951 PyObject
* obj1
= 0 ;
35952 char *kwnames
[] = {
35953 (char *) "vgap",(char *) "hgap", NULL
35956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35959 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
35960 if (PyErr_Occurred()) SWIG_fail
;
35965 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35966 if (PyErr_Occurred()) SWIG_fail
;
35970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35971 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
35973 wxPyEndAllowThreads(__tstate
);
35974 if (PyErr_Occurred()) SWIG_fail
;
35976 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
35983 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35984 PyObject
*resultobj
;
35985 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
35986 PyObject
*arg2
= (PyObject
*) 0 ;
35987 wxGBPosition
*arg3
= 0 ;
35988 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
35989 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
35990 int arg5
= (int) 0 ;
35991 int arg6
= (int) 0 ;
35992 PyObject
*arg7
= (PyObject
*) NULL
;
35994 wxGBPosition temp3
;
35996 PyObject
* obj0
= 0 ;
35997 PyObject
* obj1
= 0 ;
35998 PyObject
* obj2
= 0 ;
35999 PyObject
* obj3
= 0 ;
36000 PyObject
* obj4
= 0 ;
36001 PyObject
* obj5
= 0 ;
36002 PyObject
* obj6
= 0 ;
36003 char *kwnames
[] = {
36004 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36012 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36017 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36022 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
36023 if (PyErr_Occurred()) SWIG_fail
;
36028 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
36029 if (PyErr_Occurred()) SWIG_fail
;
36036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36037 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36039 wxPyEndAllowThreads(__tstate
);
36040 if (PyErr_Occurred()) SWIG_fail
;
36042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36049 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36050 PyObject
*resultobj
;
36051 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36052 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
36054 PyObject
* obj0
= 0 ;
36055 PyObject
* obj1
= 0 ;
36056 char *kwnames
[] = {
36057 (char *) "self",(char *) "item", NULL
36060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36062 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36065 result
= (bool)(arg1
)->Add(arg2
);
36067 wxPyEndAllowThreads(__tstate
);
36068 if (PyErr_Occurred()) SWIG_fail
;
36070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36077 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36078 PyObject
*resultobj
;
36079 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36081 PyObject
* obj0
= 0 ;
36082 char *kwnames
[] = {
36083 (char *) "self", NULL
36086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
36087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36090 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
36092 wxPyEndAllowThreads(__tstate
);
36093 if (PyErr_Occurred()) SWIG_fail
;
36096 wxSize
* resultptr
;
36097 resultptr
= new wxSize((wxSize
&) result
);
36098 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
36106 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36107 PyObject
*resultobj
;
36108 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36111 PyObject
* obj0
= 0 ;
36112 PyObject
* obj1
= 0 ;
36113 char *kwnames
[] = {
36114 (char *) "self",(char *) "sz", NULL
36117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36121 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36125 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
36127 wxPyEndAllowThreads(__tstate
);
36128 if (PyErr_Occurred()) SWIG_fail
;
36130 Py_INCREF(Py_None
); resultobj
= Py_None
;
36137 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
36138 PyObject
*resultobj
;
36139 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36140 wxWindow
*arg2
= (wxWindow
*) 0 ;
36141 wxGBPosition result
;
36142 PyObject
* obj0
= 0 ;
36143 PyObject
* obj1
= 0 ;
36145 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36147 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36150 result
= (arg1
)->GetItemPosition(arg2
);
36152 wxPyEndAllowThreads(__tstate
);
36153 if (PyErr_Occurred()) SWIG_fail
;
36156 wxGBPosition
* resultptr
;
36157 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36158 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36166 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
36167 PyObject
*resultobj
;
36168 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36169 wxSizer
*arg2
= (wxSizer
*) 0 ;
36170 wxGBPosition result
;
36171 PyObject
* obj0
= 0 ;
36172 PyObject
* obj1
= 0 ;
36174 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36176 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36179 result
= (arg1
)->GetItemPosition(arg2
);
36181 wxPyEndAllowThreads(__tstate
);
36182 if (PyErr_Occurred()) SWIG_fail
;
36185 wxGBPosition
* resultptr
;
36186 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36187 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36195 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
36196 PyObject
*resultobj
;
36197 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36199 wxGBPosition result
;
36200 PyObject
* obj0
= 0 ;
36201 PyObject
* obj1
= 0 ;
36203 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36206 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36207 if (PyErr_Occurred()) SWIG_fail
;
36210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36211 result
= (arg1
)->GetItemPosition(arg2
);
36213 wxPyEndAllowThreads(__tstate
);
36214 if (PyErr_Occurred()) SWIG_fail
;
36217 wxGBPosition
* resultptr
;
36218 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36219 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36227 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
36232 argc
= PyObject_Length(args
);
36233 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36234 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36240 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36250 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36258 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
36266 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36276 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36284 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
36292 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36301 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36302 if (PyErr_Occurred()) {
36310 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
36315 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
36320 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
36321 PyObject
*resultobj
;
36322 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36323 wxWindow
*arg2
= (wxWindow
*) 0 ;
36324 wxGBPosition
*arg3
= 0 ;
36326 wxGBPosition temp3
;
36327 PyObject
* obj0
= 0 ;
36328 PyObject
* obj1
= 0 ;
36329 PyObject
* obj2
= 0 ;
36331 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36336 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36340 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36342 wxPyEndAllowThreads(__tstate
);
36343 if (PyErr_Occurred()) SWIG_fail
;
36345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36352 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
36353 PyObject
*resultobj
;
36354 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36355 wxSizer
*arg2
= (wxSizer
*) 0 ;
36356 wxGBPosition
*arg3
= 0 ;
36358 wxGBPosition temp3
;
36359 PyObject
* obj0
= 0 ;
36360 PyObject
* obj1
= 0 ;
36361 PyObject
* obj2
= 0 ;
36363 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36368 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36372 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36374 wxPyEndAllowThreads(__tstate
);
36375 if (PyErr_Occurred()) SWIG_fail
;
36377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36384 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
36385 PyObject
*resultobj
;
36386 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36388 wxGBPosition
*arg3
= 0 ;
36390 wxGBPosition temp3
;
36391 PyObject
* obj0
= 0 ;
36392 PyObject
* obj1
= 0 ;
36393 PyObject
* obj2
= 0 ;
36395 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36398 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36399 if (PyErr_Occurred()) SWIG_fail
;
36403 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36407 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36409 wxPyEndAllowThreads(__tstate
);
36410 if (PyErr_Occurred()) SWIG_fail
;
36412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36419 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
36424 argc
= PyObject_Length(args
);
36425 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36426 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36432 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36442 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36451 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36454 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
36463 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36473 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36482 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36485 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
36494 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36503 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36504 if (PyErr_Occurred()) {
36513 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36516 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
36522 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
36527 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
36528 PyObject
*resultobj
;
36529 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36530 wxWindow
*arg2
= (wxWindow
*) 0 ;
36532 PyObject
* obj0
= 0 ;
36533 PyObject
* obj1
= 0 ;
36535 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36537 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36540 result
= (arg1
)->GetItemSpan(arg2
);
36542 wxPyEndAllowThreads(__tstate
);
36543 if (PyErr_Occurred()) SWIG_fail
;
36546 wxGBSpan
* resultptr
;
36547 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36548 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
36556 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
36557 PyObject
*resultobj
;
36558 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36559 wxSizer
*arg2
= (wxSizer
*) 0 ;
36561 PyObject
* obj0
= 0 ;
36562 PyObject
* obj1
= 0 ;
36564 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36566 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36569 result
= (arg1
)->GetItemSpan(arg2
);
36571 wxPyEndAllowThreads(__tstate
);
36572 if (PyErr_Occurred()) SWIG_fail
;
36575 wxGBSpan
* resultptr
;
36576 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36577 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
36585 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
36586 PyObject
*resultobj
;
36587 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36590 PyObject
* obj0
= 0 ;
36591 PyObject
* obj1
= 0 ;
36593 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36596 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36597 if (PyErr_Occurred()) SWIG_fail
;
36600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36601 result
= (arg1
)->GetItemSpan(arg2
);
36603 wxPyEndAllowThreads(__tstate
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36607 wxGBSpan
* resultptr
;
36608 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36609 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
36617 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
36622 argc
= PyObject_Length(args
);
36623 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36624 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36630 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36640 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36648 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
36656 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36666 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36674 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
36682 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36691 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36692 if (PyErr_Occurred()) {
36700 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
36705 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
36710 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
36711 PyObject
*resultobj
;
36712 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36713 wxWindow
*arg2
= (wxWindow
*) 0 ;
36714 wxGBSpan
*arg3
= 0 ;
36717 PyObject
* obj0
= 0 ;
36718 PyObject
* obj1
= 0 ;
36719 PyObject
* obj2
= 0 ;
36721 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
36722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36723 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36726 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36730 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
36732 wxPyEndAllowThreads(__tstate
);
36733 if (PyErr_Occurred()) SWIG_fail
;
36735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36742 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
36743 PyObject
*resultobj
;
36744 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36745 wxSizer
*arg2
= (wxSizer
*) 0 ;
36746 wxGBSpan
*arg3
= 0 ;
36749 PyObject
* obj0
= 0 ;
36750 PyObject
* obj1
= 0 ;
36751 PyObject
* obj2
= 0 ;
36753 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
36754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36755 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36758 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36762 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
36764 wxPyEndAllowThreads(__tstate
);
36765 if (PyErr_Occurred()) SWIG_fail
;
36767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36774 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
36775 PyObject
*resultobj
;
36776 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36778 wxGBSpan
*arg3
= 0 ;
36781 PyObject
* obj0
= 0 ;
36782 PyObject
* obj1
= 0 ;
36783 PyObject
* obj2
= 0 ;
36785 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
36786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36788 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36789 if (PyErr_Occurred()) SWIG_fail
;
36793 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36797 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
36799 wxPyEndAllowThreads(__tstate
);
36800 if (PyErr_Occurred()) SWIG_fail
;
36802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36809 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
36814 argc
= PyObject_Length(args
);
36815 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36816 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36822 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36832 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36841 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36844 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
36853 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36863 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36872 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36875 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
36884 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36893 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36894 if (PyErr_Occurred()) {
36903 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36906 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
36912 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
36917 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
36918 PyObject
*resultobj
;
36919 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36920 wxWindow
*arg2
= (wxWindow
*) 0 ;
36921 wxGBSizerItem
*result
;
36922 PyObject
* obj0
= 0 ;
36923 PyObject
* obj1
= 0 ;
36925 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
36926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36927 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36930 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
36932 wxPyEndAllowThreads(__tstate
);
36933 if (PyErr_Occurred()) SWIG_fail
;
36935 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
36942 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
36943 PyObject
*resultobj
;
36944 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36945 wxSizer
*arg2
= (wxSizer
*) 0 ;
36946 wxGBSizerItem
*result
;
36947 PyObject
* obj0
= 0 ;
36948 PyObject
* obj1
= 0 ;
36950 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
36951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36952 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36955 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
36957 wxPyEndAllowThreads(__tstate
);
36958 if (PyErr_Occurred()) SWIG_fail
;
36960 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
36967 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
36972 argc
= PyObject_Length(args
);
36973 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36974 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36980 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36990 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36998 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
37006 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37016 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37024 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
37029 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
37034 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37035 PyObject
*resultobj
;
37036 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37037 wxGBPosition
*arg2
= 0 ;
37038 wxGBSizerItem
*result
;
37039 wxGBPosition temp2
;
37040 PyObject
* obj0
= 0 ;
37041 PyObject
* obj1
= 0 ;
37042 char *kwnames
[] = {
37043 (char *) "self",(char *) "pos", NULL
37046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37050 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37054 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
37056 wxPyEndAllowThreads(__tstate
);
37057 if (PyErr_Occurred()) SWIG_fail
;
37059 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37066 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37067 PyObject
*resultobj
;
37068 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37069 wxPoint
*arg2
= 0 ;
37070 wxGBSizerItem
*result
;
37072 PyObject
* obj0
= 0 ;
37073 PyObject
* obj1
= 0 ;
37074 char *kwnames
[] = {
37075 (char *) "self",(char *) "pt", NULL
37078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
37079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37082 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37086 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
37088 wxPyEndAllowThreads(__tstate
);
37089 if (PyErr_Occurred()) SWIG_fail
;
37091 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37098 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37099 PyObject
*resultobj
;
37100 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37101 wxObject
*arg2
= (wxObject
*) 0 ;
37102 wxGBSizerItem
*result
;
37103 PyObject
* obj0
= 0 ;
37104 PyObject
* obj1
= 0 ;
37105 char *kwnames
[] = {
37106 (char *) "self",(char *) "userData", NULL
37109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
37110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37114 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
37116 wxPyEndAllowThreads(__tstate
);
37117 if (PyErr_Occurred()) SWIG_fail
;
37119 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37126 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37127 PyObject
*resultobj
;
37128 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37129 PyObject
* obj0
= 0 ;
37130 char *kwnames
[] = {
37131 (char *) "self", NULL
37134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
37135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37138 (arg1
)->RecalcSizes();
37140 wxPyEndAllowThreads(__tstate
);
37141 if (PyErr_Occurred()) SWIG_fail
;
37143 Py_INCREF(Py_None
); resultobj
= Py_None
;
37150 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37151 PyObject
*resultobj
;
37152 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37154 PyObject
* obj0
= 0 ;
37155 char *kwnames
[] = {
37156 (char *) "self", NULL
37159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
37160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37163 result
= (arg1
)->CalcMin();
37165 wxPyEndAllowThreads(__tstate
);
37166 if (PyErr_Occurred()) SWIG_fail
;
37169 wxSize
* resultptr
;
37170 resultptr
= new wxSize((wxSize
&) result
);
37171 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
37179 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
37180 PyObject
*resultobj
;
37181 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37182 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37183 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
37185 PyObject
* obj0
= 0 ;
37186 PyObject
* obj1
= 0 ;
37187 PyObject
* obj2
= 0 ;
37189 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
37190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37191 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37193 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37197 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
37199 wxPyEndAllowThreads(__tstate
);
37200 if (PyErr_Occurred()) SWIG_fail
;
37202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37209 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
37210 PyObject
*resultobj
;
37211 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37212 wxGBPosition
*arg2
= 0 ;
37213 wxGBSpan
*arg3
= 0 ;
37214 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
37216 wxGBPosition temp2
;
37218 PyObject
* obj0
= 0 ;
37219 PyObject
* obj1
= 0 ;
37220 PyObject
* obj2
= 0 ;
37221 PyObject
* obj3
= 0 ;
37223 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37227 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37231 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37234 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37238 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
37240 wxPyEndAllowThreads(__tstate
);
37241 if (PyErr_Occurred()) SWIG_fail
;
37243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37250 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
37255 argc
= PyObject_Length(args
);
37256 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
37257 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37259 if ((argc
>= 2) && (argc
<= 3)) {
37263 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37273 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37282 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37286 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37294 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37299 if ((argc
>= 3) && (argc
<= 4)) {
37303 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37312 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37316 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37320 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37324 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37332 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37339 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
37344 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37347 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
37349 return Py_BuildValue((char *)"");
37351 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37352 PyObject
*resultobj
;
37353 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37355 wxWindow
*arg3
= (wxWindow
*) 0 ;
37357 int arg5
= (int) 0 ;
37358 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
37359 PyObject
* obj0
= 0 ;
37360 PyObject
* obj1
= 0 ;
37361 PyObject
* obj2
= 0 ;
37362 PyObject
* obj3
= 0 ;
37363 PyObject
* obj4
= 0 ;
37364 PyObject
* obj5
= 0 ;
37365 char *kwnames
[] = {
37366 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
37369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37372 arg2
= (wxRelationship
) SWIG_PyObj_AsInt(obj1
);
37373 if (PyErr_Occurred()) SWIG_fail
;
37375 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37377 arg4
= (wxEdge
) SWIG_PyObj_AsInt(obj3
);
37378 if (PyErr_Occurred()) SWIG_fail
;
37382 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
37383 if (PyErr_Occurred()) SWIG_fail
;
37388 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
37389 if (PyErr_Occurred()) SWIG_fail
;
37393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37394 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
37396 wxPyEndAllowThreads(__tstate
);
37397 if (PyErr_Occurred()) SWIG_fail
;
37399 Py_INCREF(Py_None
); resultobj
= Py_None
;
37406 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37407 PyObject
*resultobj
;
37408 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37409 wxWindow
*arg2
= (wxWindow
*) 0 ;
37410 int arg3
= (int) 0 ;
37411 PyObject
* obj0
= 0 ;
37412 PyObject
* obj1
= 0 ;
37413 PyObject
* obj2
= 0 ;
37414 char *kwnames
[] = {
37415 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37420 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37423 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37424 if (PyErr_Occurred()) SWIG_fail
;
37428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37429 (arg1
)->LeftOf(arg2
,arg3
);
37431 wxPyEndAllowThreads(__tstate
);
37432 if (PyErr_Occurred()) SWIG_fail
;
37434 Py_INCREF(Py_None
); resultobj
= Py_None
;
37441 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37442 PyObject
*resultobj
;
37443 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37444 wxWindow
*arg2
= (wxWindow
*) 0 ;
37445 int arg3
= (int) 0 ;
37446 PyObject
* obj0
= 0 ;
37447 PyObject
* obj1
= 0 ;
37448 PyObject
* obj2
= 0 ;
37449 char *kwnames
[] = {
37450 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37455 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37458 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37459 if (PyErr_Occurred()) SWIG_fail
;
37463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37464 (arg1
)->RightOf(arg2
,arg3
);
37466 wxPyEndAllowThreads(__tstate
);
37467 if (PyErr_Occurred()) SWIG_fail
;
37469 Py_INCREF(Py_None
); resultobj
= Py_None
;
37476 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37477 PyObject
*resultobj
;
37478 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37479 wxWindow
*arg2
= (wxWindow
*) 0 ;
37480 int arg3
= (int) 0 ;
37481 PyObject
* obj0
= 0 ;
37482 PyObject
* obj1
= 0 ;
37483 PyObject
* obj2
= 0 ;
37484 char *kwnames
[] = {
37485 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37493 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37494 if (PyErr_Occurred()) SWIG_fail
;
37498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37499 (arg1
)->Above(arg2
,arg3
);
37501 wxPyEndAllowThreads(__tstate
);
37502 if (PyErr_Occurred()) SWIG_fail
;
37504 Py_INCREF(Py_None
); resultobj
= Py_None
;
37511 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37512 PyObject
*resultobj
;
37513 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37514 wxWindow
*arg2
= (wxWindow
*) 0 ;
37515 int arg3
= (int) 0 ;
37516 PyObject
* obj0
= 0 ;
37517 PyObject
* obj1
= 0 ;
37518 PyObject
* obj2
= 0 ;
37519 char *kwnames
[] = {
37520 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37525 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37528 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37529 if (PyErr_Occurred()) SWIG_fail
;
37533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37534 (arg1
)->Below(arg2
,arg3
);
37536 wxPyEndAllowThreads(__tstate
);
37537 if (PyErr_Occurred()) SWIG_fail
;
37539 Py_INCREF(Py_None
); resultobj
= Py_None
;
37546 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37547 PyObject
*resultobj
;
37548 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37549 wxWindow
*arg2
= (wxWindow
*) 0 ;
37551 int arg4
= (int) 0 ;
37552 PyObject
* obj0
= 0 ;
37553 PyObject
* obj1
= 0 ;
37554 PyObject
* obj2
= 0 ;
37555 PyObject
* obj3
= 0 ;
37556 char *kwnames
[] = {
37557 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
37560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37564 arg3
= (wxEdge
) SWIG_PyObj_AsInt(obj2
);
37565 if (PyErr_Occurred()) SWIG_fail
;
37569 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
37570 if (PyErr_Occurred()) SWIG_fail
;
37574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37575 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
37577 wxPyEndAllowThreads(__tstate
);
37578 if (PyErr_Occurred()) SWIG_fail
;
37580 Py_INCREF(Py_None
); resultobj
= Py_None
;
37587 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37588 PyObject
*resultobj
;
37589 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37590 wxWindow
*arg2
= (wxWindow
*) 0 ;
37593 PyObject
* obj0
= 0 ;
37594 PyObject
* obj1
= 0 ;
37595 PyObject
* obj2
= 0 ;
37596 PyObject
* obj3
= 0 ;
37597 char *kwnames
[] = {
37598 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
37601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37603 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37605 arg3
= (wxEdge
) SWIG_PyObj_AsInt(obj2
);
37606 if (PyErr_Occurred()) SWIG_fail
;
37609 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
37610 if (PyErr_Occurred()) SWIG_fail
;
37613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37614 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
37616 wxPyEndAllowThreads(__tstate
);
37617 if (PyErr_Occurred()) SWIG_fail
;
37619 Py_INCREF(Py_None
); resultobj
= Py_None
;
37626 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37627 PyObject
*resultobj
;
37628 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37630 PyObject
* obj0
= 0 ;
37631 PyObject
* obj1
= 0 ;
37632 char *kwnames
[] = {
37633 (char *) "self",(char *) "val", NULL
37636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
37637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37639 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
37640 if (PyErr_Occurred()) SWIG_fail
;
37643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37644 (arg1
)->Absolute(arg2
);
37646 wxPyEndAllowThreads(__tstate
);
37647 if (PyErr_Occurred()) SWIG_fail
;
37649 Py_INCREF(Py_None
); resultobj
= Py_None
;
37656 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37657 PyObject
*resultobj
;
37658 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37659 PyObject
* obj0
= 0 ;
37660 char *kwnames
[] = {
37661 (char *) "self", NULL
37664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
37665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37668 (arg1
)->Unconstrained();
37670 wxPyEndAllowThreads(__tstate
);
37671 if (PyErr_Occurred()) SWIG_fail
;
37673 Py_INCREF(Py_None
); resultobj
= Py_None
;
37680 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37681 PyObject
*resultobj
;
37682 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37683 PyObject
* obj0
= 0 ;
37684 char *kwnames
[] = {
37685 (char *) "self", NULL
37688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
37689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37694 wxPyEndAllowThreads(__tstate
);
37695 if (PyErr_Occurred()) SWIG_fail
;
37697 Py_INCREF(Py_None
); resultobj
= Py_None
;
37704 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37705 PyObject
*resultobj
;
37706 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37708 PyObject
* obj0
= 0 ;
37709 char *kwnames
[] = {
37710 (char *) "self", NULL
37713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
37714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37717 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
37719 wxPyEndAllowThreads(__tstate
);
37720 if (PyErr_Occurred()) SWIG_fail
;
37723 resultobj
= wxPyMake_wxObject(result
);
37731 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37732 PyObject
*resultobj
;
37733 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37735 PyObject
* obj0
= 0 ;
37736 char *kwnames
[] = {
37737 (char *) "self", NULL
37740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
37741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37744 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
37746 wxPyEndAllowThreads(__tstate
);
37747 if (PyErr_Occurred()) SWIG_fail
;
37749 resultobj
= SWIG_PyObj_FromInt((int)result
);
37756 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37757 PyObject
*resultobj
;
37758 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37760 PyObject
* obj0
= 0 ;
37761 PyObject
* obj1
= 0 ;
37762 char *kwnames
[] = {
37763 (char *) "self",(char *) "which", NULL
37766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
37767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37769 arg2
= (wxEdge
) SWIG_PyObj_AsInt(obj1
);
37770 if (PyErr_Occurred()) SWIG_fail
;
37773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37774 (arg1
)->SetEdge((wxEdge
)arg2
);
37776 wxPyEndAllowThreads(__tstate
);
37777 if (PyErr_Occurred()) SWIG_fail
;
37779 Py_INCREF(Py_None
); resultobj
= Py_None
;
37786 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37787 PyObject
*resultobj
;
37788 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37790 PyObject
* obj0
= 0 ;
37791 PyObject
* obj1
= 0 ;
37792 char *kwnames
[] = {
37793 (char *) "self",(char *) "v", NULL
37796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
37797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37799 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
37800 if (PyErr_Occurred()) SWIG_fail
;
37803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37804 (arg1
)->SetValue(arg2
);
37806 wxPyEndAllowThreads(__tstate
);
37807 if (PyErr_Occurred()) SWIG_fail
;
37809 Py_INCREF(Py_None
); resultobj
= Py_None
;
37816 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37817 PyObject
*resultobj
;
37818 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37820 PyObject
* obj0
= 0 ;
37821 char *kwnames
[] = {
37822 (char *) "self", NULL
37825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
37826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37829 result
= (int)(arg1
)->GetMargin();
37831 wxPyEndAllowThreads(__tstate
);
37832 if (PyErr_Occurred()) SWIG_fail
;
37834 resultobj
= SWIG_PyObj_FromInt((int)result
);
37841 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37842 PyObject
*resultobj
;
37843 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37845 PyObject
* obj0
= 0 ;
37846 PyObject
* obj1
= 0 ;
37847 char *kwnames
[] = {
37848 (char *) "self",(char *) "m", NULL
37851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
37852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37854 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
37855 if (PyErr_Occurred()) SWIG_fail
;
37858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37859 (arg1
)->SetMargin(arg2
);
37861 wxPyEndAllowThreads(__tstate
);
37862 if (PyErr_Occurred()) SWIG_fail
;
37864 Py_INCREF(Py_None
); resultobj
= Py_None
;
37871 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37872 PyObject
*resultobj
;
37873 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37875 PyObject
* obj0
= 0 ;
37876 char *kwnames
[] = {
37877 (char *) "self", NULL
37880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
37881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37884 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
37886 wxPyEndAllowThreads(__tstate
);
37887 if (PyErr_Occurred()) SWIG_fail
;
37889 resultobj
= SWIG_PyObj_FromInt((int)result
);
37896 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37897 PyObject
*resultobj
;
37898 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37900 PyObject
* obj0
= 0 ;
37901 char *kwnames
[] = {
37902 (char *) "self", NULL
37905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
37906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37909 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
37911 wxPyEndAllowThreads(__tstate
);
37912 if (PyErr_Occurred()) SWIG_fail
;
37914 resultobj
= SWIG_PyObj_FromInt((int)result
);
37921 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37922 PyObject
*resultobj
;
37923 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37925 PyObject
* obj0
= 0 ;
37926 char *kwnames
[] = {
37927 (char *) "self", NULL
37930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
37931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37934 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
37936 wxPyEndAllowThreads(__tstate
);
37937 if (PyErr_Occurred()) SWIG_fail
;
37939 resultobj
= SWIG_PyObj_FromInt((int)result
);
37946 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37947 PyObject
*resultobj
;
37948 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37950 PyObject
* obj0
= 0 ;
37951 char *kwnames
[] = {
37952 (char *) "self", NULL
37955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
37956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37959 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
37961 wxPyEndAllowThreads(__tstate
);
37962 if (PyErr_Occurred()) SWIG_fail
;
37964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37971 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37972 PyObject
*resultobj
;
37973 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37975 PyObject
* obj0
= 0 ;
37976 PyObject
* obj1
= 0 ;
37977 char *kwnames
[] = {
37978 (char *) "self",(char *) "d", NULL
37981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
37982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37984 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
37985 if (PyErr_Occurred()) SWIG_fail
;
37988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37989 (arg1
)->SetDone(arg2
);
37991 wxPyEndAllowThreads(__tstate
);
37992 if (PyErr_Occurred()) SWIG_fail
;
37994 Py_INCREF(Py_None
); resultobj
= Py_None
;
38001 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38002 PyObject
*resultobj
;
38003 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38005 PyObject
* obj0
= 0 ;
38006 char *kwnames
[] = {
38007 (char *) "self", NULL
38010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
38011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38014 result
= (int)(arg1
)->GetRelationship();
38016 wxPyEndAllowThreads(__tstate
);
38017 if (PyErr_Occurred()) SWIG_fail
;
38019 resultobj
= SWIG_PyObj_FromInt((int)result
);
38026 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38027 PyObject
*resultobj
;
38028 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38030 PyObject
* obj0
= 0 ;
38031 PyObject
* obj1
= 0 ;
38032 char *kwnames
[] = {
38033 (char *) "self",(char *) "r", NULL
38036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
38037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38039 arg2
= (wxRelationship
) SWIG_PyObj_AsInt(obj1
);
38040 if (PyErr_Occurred()) SWIG_fail
;
38043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38044 (arg1
)->SetRelationship((wxRelationship
)arg2
);
38046 wxPyEndAllowThreads(__tstate
);
38047 if (PyErr_Occurred()) SWIG_fail
;
38049 Py_INCREF(Py_None
); resultobj
= Py_None
;
38056 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38057 PyObject
*resultobj
;
38058 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38059 wxWindow
*arg2
= (wxWindow
*) 0 ;
38061 PyObject
* obj0
= 0 ;
38062 PyObject
* obj1
= 0 ;
38063 char *kwnames
[] = {
38064 (char *) "self",(char *) "otherW", NULL
38067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
38068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38069 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38072 result
= (bool)(arg1
)->ResetIfWin(arg2
);
38074 wxPyEndAllowThreads(__tstate
);
38075 if (PyErr_Occurred()) SWIG_fail
;
38077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38084 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38085 PyObject
*resultobj
;
38086 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38087 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
38088 wxWindow
*arg3
= (wxWindow
*) 0 ;
38090 PyObject
* obj0
= 0 ;
38091 PyObject
* obj1
= 0 ;
38092 PyObject
* obj2
= 0 ;
38093 char *kwnames
[] = {
38094 (char *) "self",(char *) "constraints",(char *) "win", NULL
38097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38099 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38100 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38103 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
38105 wxPyEndAllowThreads(__tstate
);
38106 if (PyErr_Occurred()) SWIG_fail
;
38108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38115 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38116 PyObject
*resultobj
;
38117 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38119 wxWindow
*arg3
= (wxWindow
*) 0 ;
38120 wxWindow
*arg4
= (wxWindow
*) 0 ;
38122 PyObject
* obj0
= 0 ;
38123 PyObject
* obj1
= 0 ;
38124 PyObject
* obj2
= 0 ;
38125 PyObject
* obj3
= 0 ;
38126 char *kwnames
[] = {
38127 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38133 arg2
= (wxEdge
) SWIG_PyObj_AsInt(obj1
);
38134 if (PyErr_Occurred()) SWIG_fail
;
38136 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38137 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38140 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
38142 wxPyEndAllowThreads(__tstate
);
38143 if (PyErr_Occurred()) SWIG_fail
;
38145 resultobj
= SWIG_PyObj_FromInt((int)result
);
38152 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
38154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38155 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
38157 return Py_BuildValue((char *)"");
38159 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38160 PyObject
*resultobj
;
38161 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38162 wxIndividualLayoutConstraint
*result
;
38163 PyObject
* obj0
= 0 ;
38164 char *kwnames
[] = {
38165 (char *) "self", NULL
38168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
38169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38170 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
38172 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38179 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38180 PyObject
*resultobj
;
38181 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38182 wxIndividualLayoutConstraint
*result
;
38183 PyObject
* obj0
= 0 ;
38184 char *kwnames
[] = {
38185 (char *) "self", NULL
38188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
38189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38190 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
38192 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38199 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38200 PyObject
*resultobj
;
38201 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38202 wxIndividualLayoutConstraint
*result
;
38203 PyObject
* obj0
= 0 ;
38204 char *kwnames
[] = {
38205 (char *) "self", NULL
38208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
38209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38210 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
38212 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38219 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38220 PyObject
*resultobj
;
38221 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38222 wxIndividualLayoutConstraint
*result
;
38223 PyObject
* obj0
= 0 ;
38224 char *kwnames
[] = {
38225 (char *) "self", NULL
38228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
38229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38230 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
38232 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38239 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38240 PyObject
*resultobj
;
38241 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38242 wxIndividualLayoutConstraint
*result
;
38243 PyObject
* obj0
= 0 ;
38244 char *kwnames
[] = {
38245 (char *) "self", NULL
38248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
38249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38250 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
38252 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38259 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38260 PyObject
*resultobj
;
38261 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38262 wxIndividualLayoutConstraint
*result
;
38263 PyObject
* obj0
= 0 ;
38264 char *kwnames
[] = {
38265 (char *) "self", NULL
38268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
38269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38270 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
38272 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38279 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38280 PyObject
*resultobj
;
38281 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38282 wxIndividualLayoutConstraint
*result
;
38283 PyObject
* obj0
= 0 ;
38284 char *kwnames
[] = {
38285 (char *) "self", NULL
38288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
38289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38290 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
38292 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38299 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38300 PyObject
*resultobj
;
38301 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38302 wxIndividualLayoutConstraint
*result
;
38303 PyObject
* obj0
= 0 ;
38304 char *kwnames
[] = {
38305 (char *) "self", NULL
38308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
38309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38310 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
38312 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38319 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38320 PyObject
*resultobj
;
38321 wxLayoutConstraints
*result
;
38322 char *kwnames
[] = {
38326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
38328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38329 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
38331 wxPyEndAllowThreads(__tstate
);
38332 if (PyErr_Occurred()) SWIG_fail
;
38334 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
38341 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38342 PyObject
*resultobj
;
38343 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38344 wxWindow
*arg2
= (wxWindow
*) 0 ;
38345 int *arg3
= (int *) 0 ;
38348 PyObject
* obj0
= 0 ;
38349 PyObject
* obj1
= 0 ;
38350 char *kwnames
[] = {
38351 (char *) "self",(char *) "win", NULL
38355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
38356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38357 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38360 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
38362 wxPyEndAllowThreads(__tstate
);
38363 if (PyErr_Occurred()) SWIG_fail
;
38365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38367 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
38368 resultobj
= t_output_helper(resultobj
,o
);
38376 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38377 PyObject
*resultobj
;
38378 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38380 PyObject
* obj0
= 0 ;
38381 char *kwnames
[] = {
38382 (char *) "self", NULL
38385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
38386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38389 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
38391 wxPyEndAllowThreads(__tstate
);
38392 if (PyErr_Occurred()) SWIG_fail
;
38394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38401 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
38403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38404 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
38406 return Py_BuildValue((char *)"");
38408 static PyMethodDef SwigMethods
[] = {
38409 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
38410 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
38411 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
38412 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
38413 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
38414 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
38415 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
38416 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
38417 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
38418 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
38419 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
38420 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38421 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38422 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
38423 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38424 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
38425 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
38426 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
38427 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38428 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38429 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38430 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38431 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
38432 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
38433 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38434 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38435 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38436 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38437 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
38438 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
38439 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38440 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38441 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
38442 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38443 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
38444 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
38445 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
38446 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38447 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38448 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38449 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38450 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
38451 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
38452 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38453 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38454 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
38455 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38456 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38457 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
38458 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
38459 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
38460 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
38461 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
38462 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
38463 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
38464 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
38465 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38466 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
38467 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38468 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
38469 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38470 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38471 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38472 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38473 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38474 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38475 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
38476 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
38477 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
38478 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
38479 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
38480 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
38481 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
38482 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
38483 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
38484 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
38485 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
38486 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
38487 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
38488 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
38489 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
38490 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
38491 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
38492 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
38493 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
38494 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
38495 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38496 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38497 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38498 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
38499 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
38500 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
38501 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38502 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38503 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38504 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38505 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
38506 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
38507 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
38508 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
38509 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
38510 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
38511 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
38512 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
38513 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
38514 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
38515 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
38516 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
38517 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
38518 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
38519 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
38520 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
38521 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
38522 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
38523 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
38524 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
38525 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
38526 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
38527 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38528 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
38529 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
38530 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
38531 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38532 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38533 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38534 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38535 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38536 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38537 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
38538 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
38539 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
38540 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
38541 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
38542 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
38543 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
38544 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
38545 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
38546 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
38547 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
38548 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
38549 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
38550 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
38551 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
38552 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
38553 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
38554 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
38555 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
38556 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
38557 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
38558 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
38559 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
38560 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
38561 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
38562 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
38563 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
38564 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
38565 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
38566 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
38567 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
38568 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
38569 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
38570 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
38571 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38572 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38573 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38574 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38575 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
38576 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
38577 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
38578 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
38579 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
38580 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
38581 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
38582 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
38583 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
38584 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
38585 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38586 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38587 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38588 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
38589 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
38590 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
38591 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
38592 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
38593 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
38594 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38595 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38596 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
38597 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
38598 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38599 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38600 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38601 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38602 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
38603 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
38604 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
38605 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
38606 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
38607 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
38608 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38609 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38610 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38611 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38612 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
38613 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
38614 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
38615 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
38616 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
38617 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
38618 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
38619 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
38620 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
38621 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
38622 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
38623 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
38624 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
38625 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
38626 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
38627 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
38628 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
38629 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
38630 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
38631 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
38632 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
38633 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
38634 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
38635 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
38636 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
38637 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
38638 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
38639 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
38640 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
38641 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
38642 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
38643 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
38644 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
38645 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
38646 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
38647 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
38648 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
38649 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
38650 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
38651 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
38652 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
38653 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
38654 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
38655 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
38656 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
38657 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
38658 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
38659 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38660 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38661 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
38662 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
38663 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
38664 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
38665 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
38666 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
38667 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
38668 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
38669 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
38670 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
38671 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
38672 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
38673 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
38674 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
38675 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
38676 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
38677 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
38678 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
38679 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
38680 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
38681 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
38682 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
38683 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
38684 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
38685 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
38686 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
38687 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
38688 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
38689 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
38690 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
38691 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
38692 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
38693 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
38694 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
38695 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
38696 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
38697 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
38698 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
38699 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
38700 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
38701 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
38702 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
38703 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
38704 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
38705 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
38706 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
38707 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
38708 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
38709 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
38710 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
38711 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
38712 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
38713 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
38714 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
38715 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
38716 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
38717 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
38718 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
38719 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
38720 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
38721 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
38722 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
38723 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
38724 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
38725 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
38726 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
38727 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
38728 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
38729 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
38730 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
38731 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
38732 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
38733 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
38734 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
38735 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
38736 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
38737 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
38738 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
38739 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
38740 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
38741 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
38742 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
38743 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
38744 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
38745 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
38746 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
38747 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
38748 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
38749 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
38750 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
38751 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
38752 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
38753 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
38754 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
38755 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
38756 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
38757 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
38758 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
38759 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
38760 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
38761 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
38762 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
38763 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
38764 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
38765 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
38766 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
38767 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
38768 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
38769 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
38770 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
38771 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
38772 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
38773 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
38774 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
38775 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
38776 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
38777 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38778 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
38779 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38780 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
38781 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
38782 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
38783 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38784 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
38785 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38786 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
38787 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
38788 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
38789 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
38790 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
38791 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
38792 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
38793 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
38794 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
38795 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
38796 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
38797 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
38798 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
38799 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
38800 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
38801 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
38802 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
38803 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
38804 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
38805 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
38806 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
38807 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
38808 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
38809 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
38810 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
38811 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
38812 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
38813 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
38814 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
38815 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38816 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
38817 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
38818 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38819 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38820 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
38821 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
38822 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
38823 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
38824 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38825 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38826 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38827 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38828 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38829 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38830 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38831 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38832 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38833 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38834 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38835 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38836 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38837 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38838 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38839 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38840 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38841 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38842 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
38843 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
38844 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
38845 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
38846 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
38847 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
38848 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
38849 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
38850 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38851 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38852 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
38853 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
38854 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
38855 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
38856 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
38857 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
38858 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
38859 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
38860 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
38861 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
38862 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
38863 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
38864 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
38865 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
38866 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38867 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
38868 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38869 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38870 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38871 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38872 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38873 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38874 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
38875 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
38876 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38877 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38878 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38879 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38880 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38881 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38882 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38883 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38884 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
38885 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
38886 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
38887 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
38888 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
38889 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
38890 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
38891 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
38892 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
38893 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
38894 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
38895 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
38896 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
38897 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
38898 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
38899 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
38900 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
38901 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
38902 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38903 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
38904 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
38905 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38906 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
38907 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
38908 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
38909 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
38910 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
38911 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
38912 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
38913 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
38914 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
38915 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
38916 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
38917 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
38918 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
38919 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
38920 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
38921 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
38922 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
38923 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
38924 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
38925 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
38926 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
38927 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
38928 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
38929 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
38930 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
38931 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
38932 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
38933 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
38934 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
38935 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
38936 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
38937 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
38938 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
38939 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
38940 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
38941 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
38942 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
38943 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
38944 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
38945 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
38946 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
38947 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
38948 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
38949 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
38950 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
38951 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
38952 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38953 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
38954 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
38955 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
38956 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
38957 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
38958 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
38959 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
38960 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
38961 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
38962 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
38963 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
38964 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
38965 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
38966 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
38967 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
38968 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
38969 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
38970 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
38971 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
38972 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
38973 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
38974 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
38975 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
38976 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
38977 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
38978 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
38979 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
38980 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
38981 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
38982 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
38983 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
38984 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
38985 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
38986 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
38987 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
38988 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
38989 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
38990 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
38991 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
38992 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
38993 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
38994 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
38995 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
38996 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
38997 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
38998 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
38999 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39000 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39001 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
39002 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
39003 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39004 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39005 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
39006 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
39007 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
39008 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
39009 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
39010 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
39011 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
39012 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
39013 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39014 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39015 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39016 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39017 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
39018 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39019 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39020 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39021 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39022 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
39023 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39024 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39025 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39026 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39027 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39028 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39029 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39030 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39031 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39032 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
39033 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
39034 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39035 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39036 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39037 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39038 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39039 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
39040 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
39041 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
39042 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
39043 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
39044 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39045 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39046 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39047 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39048 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39049 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39050 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39051 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39052 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39053 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39054 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39055 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39056 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39057 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39058 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39059 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39060 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39061 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39062 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39063 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39064 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
39065 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
39066 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
39067 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39068 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39069 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
39070 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
39071 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39072 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
39073 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
39074 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
39075 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39076 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39077 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
39078 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39079 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39080 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
39081 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39082 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
39083 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
39084 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39085 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39086 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39087 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
39088 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
39089 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
39090 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
39091 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
39092 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
39093 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39094 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
39095 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
39096 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39097 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39098 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39099 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39100 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39101 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39102 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39103 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39104 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
39105 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
39106 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
39107 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39108 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
39109 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39110 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39111 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
39112 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
39113 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
39114 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
39115 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39116 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39117 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39118 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39119 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39120 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39121 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39122 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39123 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39124 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39125 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
39126 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39127 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39128 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39129 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39130 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
39131 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
39132 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
39133 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
39134 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
39135 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39136 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39137 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
39138 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
39139 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
39140 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
39141 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
39142 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39143 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39144 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39145 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39146 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39147 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
39148 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
39149 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39150 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
39151 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39152 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39153 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39154 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39155 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
39156 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
39157 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
39158 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
39159 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39160 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39161 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
39162 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39163 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39164 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
39165 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
39166 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
39167 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
39168 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
39169 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
39170 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39171 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39172 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39173 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
39174 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
39175 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
39176 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
39177 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
39178 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
39179 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
39180 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
39181 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
39182 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39183 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39184 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39185 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39186 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39187 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39188 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39189 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39190 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39191 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39192 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39193 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39194 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39195 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
39196 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
39197 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39198 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39199 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
39200 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
39201 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
39202 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
39203 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
39204 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
39205 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
39206 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
39207 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
39208 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
39209 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
39210 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
39211 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
39212 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39213 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
39214 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
39215 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
39216 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39217 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39218 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39219 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39220 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39221 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39222 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
39223 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
39224 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
39225 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
39226 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
39227 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
39228 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
39229 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
39230 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
39231 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
39232 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
39233 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
39234 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
39235 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
39236 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
39237 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39238 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
39239 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
39240 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
39241 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
39242 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
39243 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
39244 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
39245 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
39246 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
39247 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
39248 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
39249 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
39250 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
39251 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
39252 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
39253 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
39254 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
39255 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
39256 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
39257 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
39258 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
39259 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
39260 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
39261 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
39262 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
39263 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39264 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39265 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
39266 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
39267 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
39268 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39269 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
39270 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39271 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
39272 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
39273 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
39274 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
39275 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
39276 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
39277 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
39278 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
39279 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39280 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
39281 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
39282 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
39283 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39284 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39285 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
39286 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
39287 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
39288 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
39289 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39290 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
39291 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
39292 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
39293 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39294 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39295 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39296 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
39297 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
39298 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
39299 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
39300 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39301 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39302 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39303 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39304 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
39305 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
39306 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
39307 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39308 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39309 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39310 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
39311 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39312 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
39313 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
39314 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
39315 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39316 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
39317 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
39318 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
39319 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
39320 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
39321 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
39322 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
39323 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39324 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39325 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
39326 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39327 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39328 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39329 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39330 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39331 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39332 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39333 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39334 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39335 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
39336 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
39337 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
39338 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
39339 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
39340 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
39341 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
39342 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
39343 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
39344 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
39345 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
39346 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
39347 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
39348 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39349 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
39350 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39351 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
39352 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39353 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
39354 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
39355 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
39356 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
39357 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39358 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
39359 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
39360 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39361 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
39362 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39363 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39364 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39365 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39366 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39367 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39368 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
39369 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
39370 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
39371 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
39372 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
39373 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39374 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39375 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39376 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39377 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39378 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39379 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
39380 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39381 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
39382 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
39383 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
39384 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
39385 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
39386 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39387 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39388 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39389 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39390 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39391 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
39392 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39393 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
39394 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
39395 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
39396 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
39397 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
39398 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
39399 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39400 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39401 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
39402 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
39403 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
39404 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
39405 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
39406 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39407 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39408 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
39409 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
39410 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
39411 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39412 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
39413 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
39414 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
39415 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
39416 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
39417 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
39418 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
39419 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
39420 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
39421 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
39422 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
39423 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
39424 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
39425 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
39426 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
39427 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
39428 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39429 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
39430 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
39431 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
39432 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
39433 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39434 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39435 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
39436 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39437 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
39438 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
39439 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
39440 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
39441 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
39442 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
39443 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
39444 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39445 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
39446 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
39447 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
39448 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
39449 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39450 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39451 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39452 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39453 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39454 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39455 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39456 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39457 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
39458 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39459 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39460 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
39461 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
39462 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
39463 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
39464 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39465 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
39466 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39467 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39468 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
39469 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
39470 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
39471 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
39472 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39473 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39474 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39475 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39476 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39477 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39478 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
39479 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
39480 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
39481 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39482 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39483 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
39484 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
39485 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
39486 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
39487 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
39488 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39489 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
39490 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
39491 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
39492 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39493 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
39494 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
39495 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39496 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39497 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39498 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39499 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
39500 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
39501 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
39502 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39503 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39504 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
39505 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
39506 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39507 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39508 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
39509 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
39510 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
39511 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
39512 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
39513 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
39514 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
39515 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
39516 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
39517 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
39518 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39519 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39520 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
39521 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
39522 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
39523 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
39524 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
39525 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
39526 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
39527 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
39528 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
39529 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
39530 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
39531 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
39532 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
39533 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
39534 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
39535 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
39536 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39537 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39538 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
39539 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
39540 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
39541 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
39542 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
39543 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
39544 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
39545 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
39546 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39547 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39548 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
39549 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
39550 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
39551 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
39552 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
39553 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
39554 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39555 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
39556 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
39557 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
39558 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
39559 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
39560 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
39561 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
39562 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
39563 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
39564 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
39565 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
39566 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
39567 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
39568 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
39569 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
39570 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
39571 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
39572 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
39573 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
39574 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
39575 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
39576 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
39577 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39578 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39579 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
39580 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
39581 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
39582 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
39583 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
39584 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
39585 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
39586 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
39587 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
39588 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
39589 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
39590 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
39591 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
39592 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
39593 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
39594 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
39595 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
39596 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
39597 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
39598 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
39599 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
39600 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
39601 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
39602 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
39603 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
39604 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
39605 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
39606 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
39607 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
39608 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
39609 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
39610 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
39611 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
39612 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
39613 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
39614 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
39615 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
39616 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39617 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39618 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
39619 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
39624 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39626 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
39627 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
39629 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
39630 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
39632 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
39633 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39635 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
39636 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39638 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
39639 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
39641 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
39642 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39644 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
39645 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
39647 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
39648 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39650 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
39651 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39653 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
39654 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
39656 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
39657 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
39659 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
39660 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
39662 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
39663 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
39665 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
39666 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
39668 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
39669 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
39671 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
39672 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
39674 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
39675 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
39677 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
39678 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39680 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
39681 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
39683 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
39684 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39686 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
39687 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39689 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
39690 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
39692 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
39693 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
39695 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
39696 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
39698 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
39699 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
39701 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
39702 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
39704 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
39705 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
39707 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
39708 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
39710 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
39711 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39713 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
39714 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39716 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
39717 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39719 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
39720 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39722 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
39723 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39725 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
39726 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
39728 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
39729 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
39731 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
39732 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39734 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
39735 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
39737 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
39738 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
39740 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
39741 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39743 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
39744 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39746 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
39747 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39749 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
39750 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
39752 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
39753 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
39755 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
39756 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39758 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
39759 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39761 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
39762 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39764 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
39765 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
39767 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
39768 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
39770 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
39771 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
39773 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
39774 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
39776 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
39777 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39779 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
39780 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
39782 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
39783 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
39785 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
39786 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
39788 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
39789 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
39791 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
39792 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
39794 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
39795 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
39797 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
39798 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
39800 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
39801 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
39803 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
39804 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
39806 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
39807 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
39809 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
39810 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39812 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
39813 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
39815 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
39816 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
39818 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
39819 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39821 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
39822 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39824 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
39825 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
39827 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
39828 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
39830 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
39831 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
39833 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
39834 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
39836 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
39837 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
39839 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
39840 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
39842 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
39843 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
39845 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
39846 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
39848 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
39849 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
39851 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
39852 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
39854 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
39855 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
39857 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39858 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39860 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39861 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39863 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39864 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39866 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39867 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39869 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39870 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39872 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39873 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39875 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39876 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39878 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39881 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39884 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39885 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39887 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39888 return (void *)((wxObject
*) ((wxSizer
*) x
));
39890 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39891 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39893 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39894 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39896 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39897 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39899 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39900 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39902 static void *_p_wxImageTo_p_wxObject(void *x
) {
39903 return (void *)((wxObject
*) ((wxImage
*) x
));
39905 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39906 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39908 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39909 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39911 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39912 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39914 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39915 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39917 static void *_p_wxControlTo_p_wxObject(void *x
) {
39918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39920 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39921 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39923 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39924 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39926 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39927 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39929 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39930 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39932 static void *_p_wxEventTo_p_wxObject(void *x
) {
39933 return (void *)((wxObject
*) ((wxEvent
*) x
));
39935 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39936 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39938 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39939 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39941 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39942 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39944 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39945 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39947 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39948 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39950 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39951 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39953 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39954 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39956 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39957 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39959 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39962 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39963 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39965 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39966 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39968 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39969 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39971 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39972 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39974 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39975 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39977 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39978 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39980 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39981 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39983 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39984 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39986 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39987 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39989 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39990 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39992 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39993 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39995 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39996 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39998 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39999 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40001 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40002 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40004 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40005 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40007 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40008 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40010 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40011 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40013 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40014 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40016 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40017 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40019 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40020 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40022 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40023 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40025 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40026 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40028 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40029 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40031 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40032 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40034 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40035 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40037 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40038 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40040 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40041 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40043 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40044 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40046 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40047 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40049 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40050 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40052 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40053 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40055 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40056 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40058 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40059 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40061 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40064 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40065 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40067 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40068 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40070 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40071 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40073 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40074 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40076 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40077 return (void *)((wxWindow
*) ((wxControl
*) x
));
40079 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40080 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40082 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40083 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40085 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
40086 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40088 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
40089 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
40091 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
40092 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40094 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
40095 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40097 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
40098 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40100 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
40101 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40103 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
40104 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40106 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
40107 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40109 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
40110 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
40112 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
40113 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
40114 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
40115 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
40116 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
40117 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
40118 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}};
40119 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
40120 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
40121 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
40122 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
40123 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
40124 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
40125 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}};
40126 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}};
40127 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
40128 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
40129 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
40130 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
40131 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
40132 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
40133 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
40134 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
40135 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
40136 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
40137 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
40138 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
40139 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
40140 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
40141 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
40142 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
40143 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
40144 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
40145 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
40146 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
40147 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
40148 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
40149 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
40150 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
40151 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
40152 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
40153 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
40154 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
40155 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
40156 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
40157 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
40158 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
40159 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
40160 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
40161 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
40162 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
40163 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
40164 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
40165 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
40166 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
40167 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
40168 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
40169 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
40170 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
40171 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
40172 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
40173 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
40174 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
40175 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}};
40176 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
40177 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}};
40178 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}};
40179 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}};
40180 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}};
40181 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
40182 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
40183 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
40184 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
40185 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
40186 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
40187 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
40188 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
40189 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
40190 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
40191 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
40192 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
40193 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
40194 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
40195 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
40196 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
40197 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}};
40198 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
40199 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
40200 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
40201 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
40202 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
40203 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
40204 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
40205 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}};
40206 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
40207 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
40208 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
40209 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
40210 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
40211 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
40212 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
40213 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
40214 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
40215 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
40216 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}};
40217 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
40218 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
40219 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
40220 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
40221 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
40222 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
40223 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
40224 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
40225 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
40227 static swig_type_info
*swig_types_initial
[] = {
40228 _swigt__p_wxLayoutConstraints
,
40229 _swigt__p_wxRealPoint
,
40230 _swigt__p_wxSizerItem
,
40231 _swigt__p_wxGBSizerItem
,
40232 _swigt__p_wxScrollEvent
,
40233 _swigt__p_wxIndividualLayoutConstraint
,
40235 _swigt__p_wxBoxSizer
,
40236 _swigt__p_wxStaticBoxSizer
,
40237 _swigt__p_wxGridBagSizer
,
40238 _swigt__p_wxAcceleratorEntry
,
40239 _swigt__p_wxUpdateUIEvent
,
40242 _swigt__p_wxGridSizer
,
40243 _swigt__p_wxFlexGridSizer
,
40244 _swigt__p_wxInitDialogEvent
,
40245 _swigt__p_wxItemContainer
,
40246 _swigt__p_wxNcPaintEvent
,
40247 _swigt__p_wxPaintEvent
,
40248 _swigt__p_wxSysColourChangedEvent
,
40249 _swigt__p_wxMouseCaptureChangedEvent
,
40250 _swigt__p_wxDisplayChangedEvent
,
40251 _swigt__p_wxPaletteChangedEvent
,
40252 _swigt__p_wxControl
,
40254 _swigt__p_wxMenuBarBase
,
40255 _swigt__p_wxSetCursorEvent
,
40256 _swigt__p_wxFSFile
,
40258 _swigt__p_wxRegion
,
40259 _swigt__p_wxPoint2D
,
40263 _swigt__p_wxPySizer
,
40264 _swigt__p_wxNotifyEvent
,
40265 _swigt__p_wxPyEvent
,
40266 _swigt__p_wxPropagationDisabler
,
40267 _swigt__p_wxAppTraits
,
40268 _swigt__p_wxArrayString
,
40269 _swigt__p_wxShowEvent
,
40270 _swigt__p_wxToolTip
,
40271 _swigt__p_wxMaximizeEvent
,
40272 _swigt__p_wxIconizeEvent
,
40273 _swigt__p_wxActivateEvent
,
40274 _swigt__p_wxMoveEvent
,
40275 _swigt__p_wxSizeEvent
,
40276 _swigt__p_wxQueryNewPaletteEvent
,
40277 _swigt__p_wxWindowCreateEvent
,
40278 _swigt__p_wxIdleEvent
,
40279 _swigt__p_wxMenuItem
,
40280 _swigt__p_wxStaticBox
,
40282 _swigt__p_wxTIFFHandler
,
40283 _swigt__p_wxXPMHandler
,
40284 _swigt__p_wxPNMHandler
,
40285 _swigt__p_wxJPEGHandler
,
40286 _swigt__p_wxPCXHandler
,
40287 _swigt__p_wxGIFHandler
,
40288 _swigt__p_wxPNGHandler
,
40289 _swigt__p_wxANIHandler
,
40290 _swigt__p_wxMemoryFSHandler
,
40291 _swigt__p_wxEvtHandler
,
40292 _swigt__p_wxCURHandler
,
40293 _swigt__p_wxICOHandler
,
40294 _swigt__p_wxBMPHandler
,
40295 _swigt__p_wxImageHandler
,
40296 _swigt__p_wxFileSystemHandler
,
40297 _swigt__p_wxPyFileSystemHandler
,
40298 _swigt__p_wxInternetFSHandler
,
40299 _swigt__p_wxZipFSHandler
,
40301 _swigt__p_wxGBSpan
,
40302 _swigt__p_wxPropagateOnce
,
40303 _swigt__p_wxAcceleratorTable
,
40305 _swigt__p_wxGBPosition
,
40308 _swigt__p_wxScrollWinEvent
,
40309 _swigt__p_wxImageHistogram
,
40312 _swigt__p_wxCursor
,
40313 _swigt__p_wxObject
,
40314 _swigt__p_wxPyInputStream
,
40315 _swigt__p_wxOutputStream
,
40316 _swigt__p_wxInputStream
,
40317 _swigt__p_wxDateTime
,
40318 _swigt__p_wxKeyEvent
,
40319 _swigt__p_wxNavigationKeyEvent
,
40320 _swigt__p_wxWindowDestroyEvent
,
40321 _swigt__p_wxWindow
,
40322 _swigt__p_wxMenuBar
,
40323 _swigt__p_wxFileSystem
,
40324 _swigt__p_wxBitmap
,
40325 _swigt__p_wxMenuEvent
,
40326 _swigt__p_wxContextMenuEvent
,
40327 _swigt__p_unsigned_char
,
40328 _swigt__p_wxCloseEvent
,
40329 _swigt__p_wxEraseEvent
,
40330 _swigt__p_wxMouseEvent
,
40332 _swigt__p_wxCommandEvent
,
40333 _swigt__p_wxPyCommandEvent
,
40334 _swigt__p_wxPyDropTarget
,
40335 _swigt__p_wxChildFocusEvent
,
40336 _swigt__p_wxFocusEvent
,
40337 _swigt__p_wxDropFilesEvent
,
40338 _swigt__p_wxControlWithItems
,
40339 _swigt__p_wxColour
,
40340 _swigt__p_wxValidator
,
40341 _swigt__p_wxPyValidator
,
40346 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40348 static swig_const_info swig_const_table
[] = {
40358 SWIGEXPORT(void) SWIG_init(void) {
40359 static PyObject
*SWIG_globals
= 0;
40360 static int typeinit
= 0;
40363 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
40364 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40365 d
= PyModule_GetDict(m
);
40368 for (i
= 0; swig_types_initial
[i
]; i
++) {
40369 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
40373 SWIG_InstallConstants(d
,swig_const_table
);
40376 #ifndef wxPyUSE_EXPORT
40377 // Make our API structure a CObject so other modules can import it
40378 // from this module.
40379 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
40380 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
40384 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_PyObj_FromInt((int)wxNOT_FOUND
));
40385 PyDict_SetItemString(d
,"VSCROLL", SWIG_PyObj_FromInt((int)wxVSCROLL
));
40386 PyDict_SetItemString(d
,"HSCROLL", SWIG_PyObj_FromInt((int)wxHSCROLL
));
40387 PyDict_SetItemString(d
,"CAPTION", SWIG_PyObj_FromInt((int)wxCAPTION
));
40388 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_PyObj_FromInt((int)wxDOUBLE_BORDER
));
40389 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_PyObj_FromInt((int)wxSUNKEN_BORDER
));
40390 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_PyObj_FromInt((int)wxRAISED_BORDER
));
40391 PyDict_SetItemString(d
,"BORDER", SWIG_PyObj_FromInt((int)wxBORDER
));
40392 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_PyObj_FromInt((int)wxSIMPLE_BORDER
));
40393 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_PyObj_FromInt((int)wxSTATIC_BORDER
));
40394 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_PyObj_FromInt((int)wxTRANSPARENT_WINDOW
));
40395 PyDict_SetItemString(d
,"NO_BORDER", SWIG_PyObj_FromInt((int)wxNO_BORDER
));
40396 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_PyObj_FromInt((int)wxUSER_COLOURS
));
40397 PyDict_SetItemString(d
,"NO_3D", SWIG_PyObj_FromInt((int)wxNO_3D
));
40398 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_PyObj_FromInt((int)wxTAB_TRAVERSAL
));
40399 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_PyObj_FromInt((int)wxWANTS_CHARS
));
40400 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_PyObj_FromInt((int)wxPOPUP_WINDOW
));
40401 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_PyObj_FromInt((int)wxCENTER_FRAME
));
40402 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxCENTRE_ON_SCREEN
));
40403 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_PyObj_FromInt((int)wxCENTER_ON_SCREEN
));
40404 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_PyObj_FromInt((int)wxSTAY_ON_TOP
));
40405 PyDict_SetItemString(d
,"ICONIZE", SWIG_PyObj_FromInt((int)wxICONIZE
));
40406 PyDict_SetItemString(d
,"MINIMIZE", SWIG_PyObj_FromInt((int)wxMINIMIZE
));
40407 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_PyObj_FromInt((int)wxMAXIMIZE
));
40408 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_PyObj_FromInt((int)wxCLOSE_BOX
));
40409 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_PyObj_FromInt((int)wxTHICK_FRAME
));
40410 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_PyObj_FromInt((int)wxSYSTEM_MENU
));
40411 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_PyObj_FromInt((int)wxMINIMIZE_BOX
));
40412 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_PyObj_FromInt((int)wxMAXIMIZE_BOX
));
40413 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_PyObj_FromInt((int)wxTINY_CAPTION_HORIZ
));
40414 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_PyObj_FromInt((int)wxTINY_CAPTION_VERT
));
40415 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_PyObj_FromInt((int)wxRESIZE_BOX
));
40416 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_PyObj_FromInt((int)wxRESIZE_BORDER
));
40417 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_PyObj_FromInt((int)wxDIALOG_MODAL
));
40418 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_PyObj_FromInt((int)wxDIALOG_MODELESS
));
40419 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_PyObj_FromInt((int)wxDIALOG_NO_PARENT
));
40420 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_PyObj_FromInt((int)wxDEFAULT_FRAME_STYLE
));
40421 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_PyObj_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
40422 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_PyObj_FromInt((int)wxFRAME_TOOL_WINDOW
));
40423 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_PyObj_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
40424 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_PyObj_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
40425 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_PyObj_FromInt((int)wxFRAME_NO_TASKBAR
));
40426 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_PyObj_FromInt((int)wxFRAME_SHAPED
));
40427 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_PyObj_FromInt((int)wxED_CLIENT_MARGIN
));
40428 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_PyObj_FromInt((int)wxED_BUTTONS_BOTTOM
));
40429 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_PyObj_FromInt((int)wxED_BUTTONS_RIGHT
));
40430 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_PyObj_FromInt((int)wxED_STATIC_LINE
));
40431 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_PyObj_FromInt((int)wxEXT_DIALOG_STYLE
));
40432 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_PyObj_FromInt((int)wxCLIP_CHILDREN
));
40433 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_PyObj_FromInt((int)wxCLIP_SIBLINGS
));
40434 PyDict_SetItemString(d
,"RETAINED", SWIG_PyObj_FromInt((int)wxRETAINED
));
40435 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_PyObj_FromInt((int)wxBACKINGSTORE
));
40436 PyDict_SetItemString(d
,"COLOURED", SWIG_PyObj_FromInt((int)wxCOLOURED
));
40437 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_PyObj_FromInt((int)wxFIXED_LENGTH
));
40438 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_PyObj_FromInt((int)wxLB_NEEDED_SB
));
40439 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_PyObj_FromInt((int)wxLB_ALWAYS_SB
));
40440 PyDict_SetItemString(d
,"LB_SORT", SWIG_PyObj_FromInt((int)wxLB_SORT
));
40441 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_PyObj_FromInt((int)wxLB_SINGLE
));
40442 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_PyObj_FromInt((int)wxLB_MULTIPLE
));
40443 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_PyObj_FromInt((int)wxLB_EXTENDED
));
40444 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_PyObj_FromInt((int)wxLB_OWNERDRAW
));
40445 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_PyObj_FromInt((int)wxLB_HSCROLL
));
40446 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxPROCESS_ENTER
));
40447 PyDict_SetItemString(d
,"PASSWORD", SWIG_PyObj_FromInt((int)wxPASSWORD
));
40448 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_PyObj_FromInt((int)wxCB_SIMPLE
));
40449 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_PyObj_FromInt((int)wxCB_DROPDOWN
));
40450 PyDict_SetItemString(d
,"CB_SORT", SWIG_PyObj_FromInt((int)wxCB_SORT
));
40451 PyDict_SetItemString(d
,"CB_READONLY", SWIG_PyObj_FromInt((int)wxCB_READONLY
));
40452 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxRA_HORIZONTAL
));
40453 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_PyObj_FromInt((int)wxRA_VERTICAL
));
40454 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_PyObj_FromInt((int)wxRA_SPECIFY_ROWS
));
40455 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_PyObj_FromInt((int)wxRA_SPECIFY_COLS
));
40456 PyDict_SetItemString(d
,"RB_GROUP", SWIG_PyObj_FromInt((int)wxRB_GROUP
));
40457 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_PyObj_FromInt((int)wxRB_SINGLE
));
40458 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSL_HORIZONTAL
));
40459 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_PyObj_FromInt((int)wxSL_VERTICAL
));
40460 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_PyObj_FromInt((int)wxSL_AUTOTICKS
));
40461 PyDict_SetItemString(d
,"SL_LABELS", SWIG_PyObj_FromInt((int)wxSL_LABELS
));
40462 PyDict_SetItemString(d
,"SL_LEFT", SWIG_PyObj_FromInt((int)wxSL_LEFT
));
40463 PyDict_SetItemString(d
,"SL_TOP", SWIG_PyObj_FromInt((int)wxSL_TOP
));
40464 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_PyObj_FromInt((int)wxSL_RIGHT
));
40465 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_PyObj_FromInt((int)wxSL_BOTTOM
));
40466 PyDict_SetItemString(d
,"SL_BOTH", SWIG_PyObj_FromInt((int)wxSL_BOTH
));
40467 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_PyObj_FromInt((int)wxSL_SELRANGE
));
40468 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSB_HORIZONTAL
));
40469 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_PyObj_FromInt((int)wxSB_VERTICAL
));
40470 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_PyObj_FromInt((int)wxST_SIZEGRIP
));
40471 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_PyObj_FromInt((int)wxST_NO_AUTORESIZE
));
40472 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_PyObj_FromInt((int)wxFLOOD_SURFACE
));
40473 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_PyObj_FromInt((int)wxFLOOD_BORDER
));
40474 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_PyObj_FromInt((int)wxODDEVEN_RULE
));
40475 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_PyObj_FromInt((int)wxWINDING_RULE
));
40476 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_PyObj_FromInt((int)wxTOOL_TOP
));
40477 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_PyObj_FromInt((int)wxTOOL_BOTTOM
));
40478 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_PyObj_FromInt((int)wxTOOL_LEFT
));
40479 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_PyObj_FromInt((int)wxTOOL_RIGHT
));
40480 PyDict_SetItemString(d
,"OK", SWIG_PyObj_FromInt((int)wxOK
));
40481 PyDict_SetItemString(d
,"YES_NO", SWIG_PyObj_FromInt((int)wxYES_NO
));
40482 PyDict_SetItemString(d
,"CANCEL", SWIG_PyObj_FromInt((int)wxCANCEL
));
40483 PyDict_SetItemString(d
,"YES", SWIG_PyObj_FromInt((int)wxYES
));
40484 PyDict_SetItemString(d
,"NO", SWIG_PyObj_FromInt((int)wxNO
));
40485 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_PyObj_FromInt((int)wxNO_DEFAULT
));
40486 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_PyObj_FromInt((int)wxYES_DEFAULT
));
40487 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_PyObj_FromInt((int)wxICON_EXCLAMATION
));
40488 PyDict_SetItemString(d
,"ICON_HAND", SWIG_PyObj_FromInt((int)wxICON_HAND
));
40489 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_PyObj_FromInt((int)wxICON_QUESTION
));
40490 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_PyObj_FromInt((int)wxICON_INFORMATION
));
40491 PyDict_SetItemString(d
,"ICON_STOP", SWIG_PyObj_FromInt((int)wxICON_STOP
));
40492 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_PyObj_FromInt((int)wxICON_ASTERISK
));
40493 PyDict_SetItemString(d
,"ICON_MASK", SWIG_PyObj_FromInt((int)wxICON_MASK
));
40494 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_PyObj_FromInt((int)wxICON_WARNING
));
40495 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_PyObj_FromInt((int)wxICON_ERROR
));
40496 PyDict_SetItemString(d
,"FORWARD", SWIG_PyObj_FromInt((int)wxFORWARD
));
40497 PyDict_SetItemString(d
,"BACKWARD", SWIG_PyObj_FromInt((int)wxBACKWARD
));
40498 PyDict_SetItemString(d
,"RESET", SWIG_PyObj_FromInt((int)wxRESET
));
40499 PyDict_SetItemString(d
,"HELP", SWIG_PyObj_FromInt((int)wxHELP
));
40500 PyDict_SetItemString(d
,"MORE", SWIG_PyObj_FromInt((int)wxMORE
));
40501 PyDict_SetItemString(d
,"SETUP", SWIG_PyObj_FromInt((int)wxSETUP
));
40502 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_PyObj_FromInt((int)wxSIZE_AUTO_WIDTH
));
40503 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_PyObj_FromInt((int)wxSIZE_AUTO_HEIGHT
));
40504 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_PyObj_FromInt((int)wxSIZE_AUTO
));
40505 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_PyObj_FromInt((int)wxSIZE_USE_EXISTING
));
40506 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_PyObj_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
40507 PyDict_SetItemString(d
,"PORTRAIT", SWIG_PyObj_FromInt((int)wxPORTRAIT
));
40508 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_PyObj_FromInt((int)wxLANDSCAPE
));
40509 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_HIGH
));
40510 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
40511 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_LOW
));
40512 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_DRAFT
));
40513 PyDict_SetItemString(d
,"ID_ANY", SWIG_PyObj_FromInt((int)wxID_ANY
));
40514 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_PyObj_FromInt((int)wxID_SEPARATOR
));
40515 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_PyObj_FromInt((int)wxID_LOWEST
));
40516 PyDict_SetItemString(d
,"ID_OPEN", SWIG_PyObj_FromInt((int)wxID_OPEN
));
40517 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_PyObj_FromInt((int)wxID_CLOSE
));
40518 PyDict_SetItemString(d
,"ID_NEW", SWIG_PyObj_FromInt((int)wxID_NEW
));
40519 PyDict_SetItemString(d
,"ID_SAVE", SWIG_PyObj_FromInt((int)wxID_SAVE
));
40520 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_PyObj_FromInt((int)wxID_SAVEAS
));
40521 PyDict_SetItemString(d
,"ID_REVERT", SWIG_PyObj_FromInt((int)wxID_REVERT
));
40522 PyDict_SetItemString(d
,"ID_EXIT", SWIG_PyObj_FromInt((int)wxID_EXIT
));
40523 PyDict_SetItemString(d
,"ID_UNDO", SWIG_PyObj_FromInt((int)wxID_UNDO
));
40524 PyDict_SetItemString(d
,"ID_REDO", SWIG_PyObj_FromInt((int)wxID_REDO
));
40525 PyDict_SetItemString(d
,"ID_HELP", SWIG_PyObj_FromInt((int)wxID_HELP
));
40526 PyDict_SetItemString(d
,"ID_PRINT", SWIG_PyObj_FromInt((int)wxID_PRINT
));
40527 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_PyObj_FromInt((int)wxID_PRINT_SETUP
));
40528 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_PyObj_FromInt((int)wxID_PREVIEW
));
40529 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_PyObj_FromInt((int)wxID_ABOUT
));
40530 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_PyObj_FromInt((int)wxID_HELP_CONTENTS
));
40531 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_PyObj_FromInt((int)wxID_HELP_COMMANDS
));
40532 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_PyObj_FromInt((int)wxID_HELP_PROCEDURES
));
40533 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_PyObj_FromInt((int)wxID_HELP_CONTEXT
));
40534 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_PyObj_FromInt((int)wxID_CLOSE_ALL
));
40535 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_PyObj_FromInt((int)wxID_PREFERENCES
));
40536 PyDict_SetItemString(d
,"ID_CUT", SWIG_PyObj_FromInt((int)wxID_CUT
));
40537 PyDict_SetItemString(d
,"ID_COPY", SWIG_PyObj_FromInt((int)wxID_COPY
));
40538 PyDict_SetItemString(d
,"ID_PASTE", SWIG_PyObj_FromInt((int)wxID_PASTE
));
40539 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_PyObj_FromInt((int)wxID_CLEAR
));
40540 PyDict_SetItemString(d
,"ID_FIND", SWIG_PyObj_FromInt((int)wxID_FIND
));
40541 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_PyObj_FromInt((int)wxID_DUPLICATE
));
40542 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_PyObj_FromInt((int)wxID_SELECTALL
));
40543 PyDict_SetItemString(d
,"ID_DELETE", SWIG_PyObj_FromInt((int)wxID_DELETE
));
40544 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_PyObj_FromInt((int)wxID_REPLACE
));
40545 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_PyObj_FromInt((int)wxID_REPLACE_ALL
));
40546 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_PyObj_FromInt((int)wxID_PROPERTIES
));
40547 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_PyObj_FromInt((int)wxID_VIEW_DETAILS
));
40548 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_PyObj_FromInt((int)wxID_VIEW_LARGEICONS
));
40549 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_PyObj_FromInt((int)wxID_VIEW_SMALLICONS
));
40550 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_PyObj_FromInt((int)wxID_VIEW_LIST
));
40551 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTDATE
));
40552 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTNAME
));
40553 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTSIZE
));
40554 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTTYPE
));
40555 PyDict_SetItemString(d
,"ID_FILE1", SWIG_PyObj_FromInt((int)wxID_FILE1
));
40556 PyDict_SetItemString(d
,"ID_FILE2", SWIG_PyObj_FromInt((int)wxID_FILE2
));
40557 PyDict_SetItemString(d
,"ID_FILE3", SWIG_PyObj_FromInt((int)wxID_FILE3
));
40558 PyDict_SetItemString(d
,"ID_FILE4", SWIG_PyObj_FromInt((int)wxID_FILE4
));
40559 PyDict_SetItemString(d
,"ID_FILE5", SWIG_PyObj_FromInt((int)wxID_FILE5
));
40560 PyDict_SetItemString(d
,"ID_FILE6", SWIG_PyObj_FromInt((int)wxID_FILE6
));
40561 PyDict_SetItemString(d
,"ID_FILE7", SWIG_PyObj_FromInt((int)wxID_FILE7
));
40562 PyDict_SetItemString(d
,"ID_FILE8", SWIG_PyObj_FromInt((int)wxID_FILE8
));
40563 PyDict_SetItemString(d
,"ID_FILE9", SWIG_PyObj_FromInt((int)wxID_FILE9
));
40564 PyDict_SetItemString(d
,"ID_OK", SWIG_PyObj_FromInt((int)wxID_OK
));
40565 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_PyObj_FromInt((int)wxID_CANCEL
));
40566 PyDict_SetItemString(d
,"ID_APPLY", SWIG_PyObj_FromInt((int)wxID_APPLY
));
40567 PyDict_SetItemString(d
,"ID_YES", SWIG_PyObj_FromInt((int)wxID_YES
));
40568 PyDict_SetItemString(d
,"ID_NO", SWIG_PyObj_FromInt((int)wxID_NO
));
40569 PyDict_SetItemString(d
,"ID_STATIC", SWIG_PyObj_FromInt((int)wxID_STATIC
));
40570 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_PyObj_FromInt((int)wxID_FORWARD
));
40571 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_PyObj_FromInt((int)wxID_BACKWARD
));
40572 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_PyObj_FromInt((int)wxID_DEFAULT
));
40573 PyDict_SetItemString(d
,"ID_MORE", SWIG_PyObj_FromInt((int)wxID_MORE
));
40574 PyDict_SetItemString(d
,"ID_SETUP", SWIG_PyObj_FromInt((int)wxID_SETUP
));
40575 PyDict_SetItemString(d
,"ID_RESET", SWIG_PyObj_FromInt((int)wxID_RESET
));
40576 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_PyObj_FromInt((int)wxID_CONTEXT_HELP
));
40577 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_PyObj_FromInt((int)wxID_YESTOALL
));
40578 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_PyObj_FromInt((int)wxID_NOTOALL
));
40579 PyDict_SetItemString(d
,"ID_ABORT", SWIG_PyObj_FromInt((int)wxID_ABORT
));
40580 PyDict_SetItemString(d
,"ID_RETRY", SWIG_PyObj_FromInt((int)wxID_RETRY
));
40581 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_PyObj_FromInt((int)wxID_IGNORE
));
40582 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_PyObj_FromInt((int)wxID_HIGHEST
));
40583 PyDict_SetItemString(d
,"OPEN", SWIG_PyObj_FromInt((int)wxOPEN
));
40584 PyDict_SetItemString(d
,"SAVE", SWIG_PyObj_FromInt((int)wxSAVE
));
40585 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_PyObj_FromInt((int)wxHIDE_READONLY
));
40586 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_PyObj_FromInt((int)wxOVERWRITE_PROMPT
));
40587 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_PyObj_FromInt((int)wxFILE_MUST_EXIST
));
40588 PyDict_SetItemString(d
,"MULTIPLE", SWIG_PyObj_FromInt((int)wxMULTIPLE
));
40589 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_PyObj_FromInt((int)wxCHANGE_DIR
));
40590 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_PyObj_FromInt((int)wxACCEL_ALT
));
40591 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_PyObj_FromInt((int)wxACCEL_CTRL
));
40592 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_PyObj_FromInt((int)wxACCEL_SHIFT
));
40593 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_PyObj_FromInt((int)wxACCEL_NORMAL
));
40594 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_PyObj_FromInt((int)wxPD_AUTO_HIDE
));
40595 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_PyObj_FromInt((int)wxPD_APP_MODAL
));
40596 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_PyObj_FromInt((int)wxPD_CAN_ABORT
));
40597 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_PyObj_FromInt((int)wxPD_ELAPSED_TIME
));
40598 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_PyObj_FromInt((int)wxPD_ESTIMATED_TIME
));
40599 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_PyObj_FromInt((int)wxPD_REMAINING_TIME
));
40600 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_PyObj_FromInt((int)wxDD_NEW_DIR_BUTTON
));
40601 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxDD_DEFAULT_STYLE
));
40602 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_PyObj_FromInt((int)wxMENU_TEAROFF
));
40603 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_PyObj_FromInt((int)wxMB_DOCKABLE
));
40604 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_PyObj_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
40605 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_PyObj_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
40606 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLI_HORIZONTAL
));
40607 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_PyObj_FromInt((int)wxLI_VERTICAL
));
40608 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_PyObj_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
40609 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_PyObj_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
40610 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_PyObj_FromInt((int)wxWS_EX_TRANSIENT
));
40611 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_PyObj_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
40612 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_PyObj_FromInt((int)wxWS_EX_PROCESS_IDLE
));
40613 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_PyObj_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
40614 PyDict_SetItemString(d
,"MM_TEXT", SWIG_PyObj_FromInt((int)wxMM_TEXT
));
40615 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_PyObj_FromInt((int)wxMM_LOMETRIC
));
40616 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_PyObj_FromInt((int)wxMM_HIMETRIC
));
40617 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_PyObj_FromInt((int)wxMM_LOENGLISH
));
40618 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_PyObj_FromInt((int)wxMM_HIENGLISH
));
40619 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_PyObj_FromInt((int)wxMM_TWIPS
));
40620 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_PyObj_FromInt((int)wxMM_ISOTROPIC
));
40621 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_PyObj_FromInt((int)wxMM_ANISOTROPIC
));
40622 PyDict_SetItemString(d
,"MM_POINTS", SWIG_PyObj_FromInt((int)wxMM_POINTS
));
40623 PyDict_SetItemString(d
,"MM_METRIC", SWIG_PyObj_FromInt((int)wxMM_METRIC
));
40624 PyDict_SetItemString(d
,"CENTRE", SWIG_PyObj_FromInt((int)wxCENTRE
));
40625 PyDict_SetItemString(d
,"CENTER", SWIG_PyObj_FromInt((int)wxCENTER
));
40626 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_PyObj_FromInt((int)wxHORIZONTAL
));
40627 PyDict_SetItemString(d
,"VERTICAL", SWIG_PyObj_FromInt((int)wxVERTICAL
));
40628 PyDict_SetItemString(d
,"BOTH", SWIG_PyObj_FromInt((int)wxBOTH
));
40629 PyDict_SetItemString(d
,"LEFT", SWIG_PyObj_FromInt((int)wxLEFT
));
40630 PyDict_SetItemString(d
,"RIGHT", SWIG_PyObj_FromInt((int)wxRIGHT
));
40631 PyDict_SetItemString(d
,"UP", SWIG_PyObj_FromInt((int)wxUP
));
40632 PyDict_SetItemString(d
,"DOWN", SWIG_PyObj_FromInt((int)wxDOWN
));
40633 PyDict_SetItemString(d
,"TOP", SWIG_PyObj_FromInt((int)wxTOP
));
40634 PyDict_SetItemString(d
,"BOTTOM", SWIG_PyObj_FromInt((int)wxBOTTOM
));
40635 PyDict_SetItemString(d
,"NORTH", SWIG_PyObj_FromInt((int)wxNORTH
));
40636 PyDict_SetItemString(d
,"SOUTH", SWIG_PyObj_FromInt((int)wxSOUTH
));
40637 PyDict_SetItemString(d
,"WEST", SWIG_PyObj_FromInt((int)wxWEST
));
40638 PyDict_SetItemString(d
,"EAST", SWIG_PyObj_FromInt((int)wxEAST
));
40639 PyDict_SetItemString(d
,"ALL", SWIG_PyObj_FromInt((int)wxALL
));
40640 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_PyObj_FromInt((int)wxALIGN_NOT
));
40641 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
40642 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
40643 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxALIGN_LEFT
));
40644 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_PyObj_FromInt((int)wxALIGN_TOP
));
40645 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_PyObj_FromInt((int)wxALIGN_RIGHT
));
40646 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_PyObj_FromInt((int)wxALIGN_BOTTOM
));
40647 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTER_VERTICAL
));
40648 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
40649 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_PyObj_FromInt((int)wxALIGN_CENTER
));
40650 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE
));
40651 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_PyObj_FromInt((int)wxALIGN_MASK
));
40652 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_PyObj_FromInt((int)wxSTRETCH_NOT
));
40653 PyDict_SetItemString(d
,"SHRINK", SWIG_PyObj_FromInt((int)wxSHRINK
));
40654 PyDict_SetItemString(d
,"GROW", SWIG_PyObj_FromInt((int)wxGROW
));
40655 PyDict_SetItemString(d
,"EXPAND", SWIG_PyObj_FromInt((int)wxEXPAND
));
40656 PyDict_SetItemString(d
,"SHAPED", SWIG_PyObj_FromInt((int)wxSHAPED
));
40657 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_PyObj_FromInt((int)wxADJUST_MINSIZE
));
40658 PyDict_SetItemString(d
,"TILE", SWIG_PyObj_FromInt((int)wxTILE
));
40659 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_PyObj_FromInt((int)wxBORDER_DEFAULT
));
40660 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_PyObj_FromInt((int)wxBORDER_NONE
));
40661 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_PyObj_FromInt((int)wxBORDER_STATIC
));
40662 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_PyObj_FromInt((int)wxBORDER_SIMPLE
));
40663 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_PyObj_FromInt((int)wxBORDER_RAISED
));
40664 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_PyObj_FromInt((int)wxBORDER_SUNKEN
));
40665 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_PyObj_FromInt((int)wxBORDER_DOUBLE
));
40666 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_PyObj_FromInt((int)wxBORDER_MASK
));
40667 PyDict_SetItemString(d
,"DEFAULT", SWIG_PyObj_FromInt((int)wxDEFAULT
));
40668 PyDict_SetItemString(d
,"DECORATIVE", SWIG_PyObj_FromInt((int)wxDECORATIVE
));
40669 PyDict_SetItemString(d
,"ROMAN", SWIG_PyObj_FromInt((int)wxROMAN
));
40670 PyDict_SetItemString(d
,"SCRIPT", SWIG_PyObj_FromInt((int)wxSCRIPT
));
40671 PyDict_SetItemString(d
,"SWISS", SWIG_PyObj_FromInt((int)wxSWISS
));
40672 PyDict_SetItemString(d
,"MODERN", SWIG_PyObj_FromInt((int)wxMODERN
));
40673 PyDict_SetItemString(d
,"TELETYPE", SWIG_PyObj_FromInt((int)wxTELETYPE
));
40674 PyDict_SetItemString(d
,"VARIABLE", SWIG_PyObj_FromInt((int)wxVARIABLE
));
40675 PyDict_SetItemString(d
,"FIXED", SWIG_PyObj_FromInt((int)wxFIXED
));
40676 PyDict_SetItemString(d
,"NORMAL", SWIG_PyObj_FromInt((int)wxNORMAL
));
40677 PyDict_SetItemString(d
,"LIGHT", SWIG_PyObj_FromInt((int)wxLIGHT
));
40678 PyDict_SetItemString(d
,"BOLD", SWIG_PyObj_FromInt((int)wxBOLD
));
40679 PyDict_SetItemString(d
,"ITALIC", SWIG_PyObj_FromInt((int)wxITALIC
));
40680 PyDict_SetItemString(d
,"SLANT", SWIG_PyObj_FromInt((int)wxSLANT
));
40681 PyDict_SetItemString(d
,"SOLID", SWIG_PyObj_FromInt((int)wxSOLID
));
40682 PyDict_SetItemString(d
,"DOT", SWIG_PyObj_FromInt((int)wxDOT
));
40683 PyDict_SetItemString(d
,"LONG_DASH", SWIG_PyObj_FromInt((int)wxLONG_DASH
));
40684 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_PyObj_FromInt((int)wxSHORT_DASH
));
40685 PyDict_SetItemString(d
,"DOT_DASH", SWIG_PyObj_FromInt((int)wxDOT_DASH
));
40686 PyDict_SetItemString(d
,"USER_DASH", SWIG_PyObj_FromInt((int)wxUSER_DASH
));
40687 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_PyObj_FromInt((int)wxTRANSPARENT
));
40688 PyDict_SetItemString(d
,"STIPPLE", SWIG_PyObj_FromInt((int)wxSTIPPLE
));
40689 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_PyObj_FromInt((int)wxBDIAGONAL_HATCH
));
40690 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_PyObj_FromInt((int)wxCROSSDIAG_HATCH
));
40691 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_PyObj_FromInt((int)wxFDIAGONAL_HATCH
));
40692 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_PyObj_FromInt((int)wxCROSS_HATCH
));
40693 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_PyObj_FromInt((int)wxHORIZONTAL_HATCH
));
40694 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_PyObj_FromInt((int)wxVERTICAL_HATCH
));
40695 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_PyObj_FromInt((int)wxJOIN_BEVEL
));
40696 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_PyObj_FromInt((int)wxJOIN_MITER
));
40697 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_PyObj_FromInt((int)wxJOIN_ROUND
));
40698 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_PyObj_FromInt((int)wxCAP_ROUND
));
40699 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_PyObj_FromInt((int)wxCAP_PROJECTING
));
40700 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_PyObj_FromInt((int)wxCAP_BUTT
));
40701 PyDict_SetItemString(d
,"CLEAR", SWIG_PyObj_FromInt((int)wxCLEAR
));
40702 PyDict_SetItemString(d
,"XOR", SWIG_PyObj_FromInt((int)wxXOR
));
40703 PyDict_SetItemString(d
,"INVERT", SWIG_PyObj_FromInt((int)wxINVERT
));
40704 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_PyObj_FromInt((int)wxOR_REVERSE
));
40705 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_PyObj_FromInt((int)wxAND_REVERSE
));
40706 PyDict_SetItemString(d
,"COPY", SWIG_PyObj_FromInt((int)wxCOPY
));
40707 PyDict_SetItemString(d
,"AND", SWIG_PyObj_FromInt((int)wxAND
));
40708 PyDict_SetItemString(d
,"AND_INVERT", SWIG_PyObj_FromInt((int)wxAND_INVERT
));
40709 PyDict_SetItemString(d
,"NO_OP", SWIG_PyObj_FromInt((int)wxNO_OP
));
40710 PyDict_SetItemString(d
,"NOR", SWIG_PyObj_FromInt((int)wxNOR
));
40711 PyDict_SetItemString(d
,"EQUIV", SWIG_PyObj_FromInt((int)wxEQUIV
));
40712 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_PyObj_FromInt((int)wxSRC_INVERT
));
40713 PyDict_SetItemString(d
,"OR_INVERT", SWIG_PyObj_FromInt((int)wxOR_INVERT
));
40714 PyDict_SetItemString(d
,"NAND", SWIG_PyObj_FromInt((int)wxNAND
));
40715 PyDict_SetItemString(d
,"OR", SWIG_PyObj_FromInt((int)wxOR
));
40716 PyDict_SetItemString(d
,"SET", SWIG_PyObj_FromInt((int)wxSET
));
40717 PyDict_SetItemString(d
,"WXK_BACK", SWIG_PyObj_FromInt((int)WXK_BACK
));
40718 PyDict_SetItemString(d
,"WXK_TAB", SWIG_PyObj_FromInt((int)WXK_TAB
));
40719 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_PyObj_FromInt((int)WXK_RETURN
));
40720 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_PyObj_FromInt((int)WXK_ESCAPE
));
40721 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_PyObj_FromInt((int)WXK_SPACE
));
40722 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_PyObj_FromInt((int)WXK_DELETE
));
40723 PyDict_SetItemString(d
,"WXK_START", SWIG_PyObj_FromInt((int)WXK_START
));
40724 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_PyObj_FromInt((int)WXK_LBUTTON
));
40725 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_PyObj_FromInt((int)WXK_RBUTTON
));
40726 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_PyObj_FromInt((int)WXK_CANCEL
));
40727 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_PyObj_FromInt((int)WXK_MBUTTON
));
40728 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_PyObj_FromInt((int)WXK_CLEAR
));
40729 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_PyObj_FromInt((int)WXK_SHIFT
));
40730 PyDict_SetItemString(d
,"WXK_ALT", SWIG_PyObj_FromInt((int)WXK_ALT
));
40731 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_PyObj_FromInt((int)WXK_CONTROL
));
40732 PyDict_SetItemString(d
,"WXK_MENU", SWIG_PyObj_FromInt((int)WXK_MENU
));
40733 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_PyObj_FromInt((int)WXK_PAUSE
));
40734 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_PyObj_FromInt((int)WXK_CAPITAL
));
40735 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_PyObj_FromInt((int)WXK_PRIOR
));
40736 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_PyObj_FromInt((int)WXK_NEXT
));
40737 PyDict_SetItemString(d
,"WXK_END", SWIG_PyObj_FromInt((int)WXK_END
));
40738 PyDict_SetItemString(d
,"WXK_HOME", SWIG_PyObj_FromInt((int)WXK_HOME
));
40739 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_PyObj_FromInt((int)WXK_LEFT
));
40740 PyDict_SetItemString(d
,"WXK_UP", SWIG_PyObj_FromInt((int)WXK_UP
));
40741 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_PyObj_FromInt((int)WXK_RIGHT
));
40742 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_PyObj_FromInt((int)WXK_DOWN
));
40743 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_PyObj_FromInt((int)WXK_SELECT
));
40744 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_PyObj_FromInt((int)WXK_PRINT
));
40745 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_PyObj_FromInt((int)WXK_EXECUTE
));
40746 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_PyObj_FromInt((int)WXK_SNAPSHOT
));
40747 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_PyObj_FromInt((int)WXK_INSERT
));
40748 PyDict_SetItemString(d
,"WXK_HELP", SWIG_PyObj_FromInt((int)WXK_HELP
));
40749 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_PyObj_FromInt((int)WXK_NUMPAD0
));
40750 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_PyObj_FromInt((int)WXK_NUMPAD1
));
40751 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_PyObj_FromInt((int)WXK_NUMPAD2
));
40752 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_PyObj_FromInt((int)WXK_NUMPAD3
));
40753 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_PyObj_FromInt((int)WXK_NUMPAD4
));
40754 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_PyObj_FromInt((int)WXK_NUMPAD5
));
40755 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_PyObj_FromInt((int)WXK_NUMPAD6
));
40756 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_PyObj_FromInt((int)WXK_NUMPAD7
));
40757 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_PyObj_FromInt((int)WXK_NUMPAD8
));
40758 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_PyObj_FromInt((int)WXK_NUMPAD9
));
40759 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_PyObj_FromInt((int)WXK_MULTIPLY
));
40760 PyDict_SetItemString(d
,"WXK_ADD", SWIG_PyObj_FromInt((int)WXK_ADD
));
40761 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_PyObj_FromInt((int)WXK_SEPARATOR
));
40762 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_PyObj_FromInt((int)WXK_SUBTRACT
));
40763 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_PyObj_FromInt((int)WXK_DECIMAL
));
40764 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_PyObj_FromInt((int)WXK_DIVIDE
));
40765 PyDict_SetItemString(d
,"WXK_F1", SWIG_PyObj_FromInt((int)WXK_F1
));
40766 PyDict_SetItemString(d
,"WXK_F2", SWIG_PyObj_FromInt((int)WXK_F2
));
40767 PyDict_SetItemString(d
,"WXK_F3", SWIG_PyObj_FromInt((int)WXK_F3
));
40768 PyDict_SetItemString(d
,"WXK_F4", SWIG_PyObj_FromInt((int)WXK_F4
));
40769 PyDict_SetItemString(d
,"WXK_F5", SWIG_PyObj_FromInt((int)WXK_F5
));
40770 PyDict_SetItemString(d
,"WXK_F6", SWIG_PyObj_FromInt((int)WXK_F6
));
40771 PyDict_SetItemString(d
,"WXK_F7", SWIG_PyObj_FromInt((int)WXK_F7
));
40772 PyDict_SetItemString(d
,"WXK_F8", SWIG_PyObj_FromInt((int)WXK_F8
));
40773 PyDict_SetItemString(d
,"WXK_F9", SWIG_PyObj_FromInt((int)WXK_F9
));
40774 PyDict_SetItemString(d
,"WXK_F10", SWIG_PyObj_FromInt((int)WXK_F10
));
40775 PyDict_SetItemString(d
,"WXK_F11", SWIG_PyObj_FromInt((int)WXK_F11
));
40776 PyDict_SetItemString(d
,"WXK_F12", SWIG_PyObj_FromInt((int)WXK_F12
));
40777 PyDict_SetItemString(d
,"WXK_F13", SWIG_PyObj_FromInt((int)WXK_F13
));
40778 PyDict_SetItemString(d
,"WXK_F14", SWIG_PyObj_FromInt((int)WXK_F14
));
40779 PyDict_SetItemString(d
,"WXK_F15", SWIG_PyObj_FromInt((int)WXK_F15
));
40780 PyDict_SetItemString(d
,"WXK_F16", SWIG_PyObj_FromInt((int)WXK_F16
));
40781 PyDict_SetItemString(d
,"WXK_F17", SWIG_PyObj_FromInt((int)WXK_F17
));
40782 PyDict_SetItemString(d
,"WXK_F18", SWIG_PyObj_FromInt((int)WXK_F18
));
40783 PyDict_SetItemString(d
,"WXK_F19", SWIG_PyObj_FromInt((int)WXK_F19
));
40784 PyDict_SetItemString(d
,"WXK_F20", SWIG_PyObj_FromInt((int)WXK_F20
));
40785 PyDict_SetItemString(d
,"WXK_F21", SWIG_PyObj_FromInt((int)WXK_F21
));
40786 PyDict_SetItemString(d
,"WXK_F22", SWIG_PyObj_FromInt((int)WXK_F22
));
40787 PyDict_SetItemString(d
,"WXK_F23", SWIG_PyObj_FromInt((int)WXK_F23
));
40788 PyDict_SetItemString(d
,"WXK_F24", SWIG_PyObj_FromInt((int)WXK_F24
));
40789 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_PyObj_FromInt((int)WXK_NUMLOCK
));
40790 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_PyObj_FromInt((int)WXK_SCROLL
));
40791 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_PyObj_FromInt((int)WXK_PAGEUP
));
40792 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_PyObj_FromInt((int)WXK_PAGEDOWN
));
40793 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SPACE
));
40794 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_PyObj_FromInt((int)WXK_NUMPAD_TAB
));
40795 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_PyObj_FromInt((int)WXK_NUMPAD_ENTER
));
40796 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F1
));
40797 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F2
));
40798 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F3
));
40799 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F4
));
40800 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_PyObj_FromInt((int)WXK_NUMPAD_HOME
));
40801 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_LEFT
));
40802 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_PyObj_FromInt((int)WXK_NUMPAD_UP
));
40803 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_RIGHT
));
40804 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DOWN
));
40805 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PRIOR
));
40806 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PAGEUP
));
40807 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_NEXT
));
40808 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
40809 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_PyObj_FromInt((int)WXK_NUMPAD_END
));
40810 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_BEGIN
));
40811 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_INSERT
));
40812 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DELETE
));
40813 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_PyObj_FromInt((int)WXK_NUMPAD_EQUAL
));
40814 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_PyObj_FromInt((int)WXK_NUMPAD_MULTIPLY
));
40815 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_PyObj_FromInt((int)WXK_NUMPAD_ADD
));
40816 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SEPARATOR
));
40817 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SUBTRACT
));
40818 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DECIMAL
));
40819 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DIVIDE
));
40820 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_PyObj_FromInt((int)WXK_WINDOWS_LEFT
));
40821 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_PyObj_FromInt((int)WXK_WINDOWS_RIGHT
));
40822 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_PyObj_FromInt((int)WXK_WINDOWS_MENU
));
40823 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_PyObj_FromInt((int)wxPAPER_NONE
));
40824 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_PyObj_FromInt((int)wxPAPER_LETTER
));
40825 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_PyObj_FromInt((int)wxPAPER_LEGAL
));
40826 PyDict_SetItemString(d
,"PAPER_A4", SWIG_PyObj_FromInt((int)wxPAPER_A4
));
40827 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_PyObj_FromInt((int)wxPAPER_CSHEET
));
40828 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_PyObj_FromInt((int)wxPAPER_DSHEET
));
40829 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_PyObj_FromInt((int)wxPAPER_ESHEET
));
40830 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_PyObj_FromInt((int)wxPAPER_LETTERSMALL
));
40831 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_PyObj_FromInt((int)wxPAPER_TABLOID
));
40832 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_PyObj_FromInt((int)wxPAPER_LEDGER
));
40833 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_PyObj_FromInt((int)wxPAPER_STATEMENT
));
40834 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_PyObj_FromInt((int)wxPAPER_EXECUTIVE
));
40835 PyDict_SetItemString(d
,"PAPER_A3", SWIG_PyObj_FromInt((int)wxPAPER_A3
));
40836 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_PyObj_FromInt((int)wxPAPER_A4SMALL
));
40837 PyDict_SetItemString(d
,"PAPER_A5", SWIG_PyObj_FromInt((int)wxPAPER_A5
));
40838 PyDict_SetItemString(d
,"PAPER_B4", SWIG_PyObj_FromInt((int)wxPAPER_B4
));
40839 PyDict_SetItemString(d
,"PAPER_B5", SWIG_PyObj_FromInt((int)wxPAPER_B5
));
40840 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_PyObj_FromInt((int)wxPAPER_FOLIO
));
40841 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_PyObj_FromInt((int)wxPAPER_QUARTO
));
40842 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_PyObj_FromInt((int)wxPAPER_10X14
));
40843 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_PyObj_FromInt((int)wxPAPER_11X17
));
40844 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_PyObj_FromInt((int)wxPAPER_NOTE
));
40845 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_PyObj_FromInt((int)wxPAPER_ENV_9
));
40846 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_PyObj_FromInt((int)wxPAPER_ENV_10
));
40847 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_PyObj_FromInt((int)wxPAPER_ENV_11
));
40848 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_PyObj_FromInt((int)wxPAPER_ENV_12
));
40849 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_PyObj_FromInt((int)wxPAPER_ENV_14
));
40850 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_PyObj_FromInt((int)wxPAPER_ENV_DL
));
40851 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C5
));
40852 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C3
));
40853 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C4
));
40854 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C6
));
40855 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C65
));
40856 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B4
));
40857 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B5
));
40858 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B6
));
40859 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_PyObj_FromInt((int)wxPAPER_ENV_ITALY
));
40860 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_PyObj_FromInt((int)wxPAPER_ENV_MONARCH
));
40861 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_PyObj_FromInt((int)wxPAPER_ENV_PERSONAL
));
40862 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_US
));
40863 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
40864 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
40865 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_PyObj_FromInt((int)wxPAPER_ISO_B4
));
40866 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_PyObj_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
40867 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_PyObj_FromInt((int)wxPAPER_9X11
));
40868 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_PyObj_FromInt((int)wxPAPER_10X11
));
40869 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_PyObj_FromInt((int)wxPAPER_15X11
));
40870 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_PyObj_FromInt((int)wxPAPER_ENV_INVITE
));
40871 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_EXTRA
));
40872 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_LEGAL_EXTRA
));
40873 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_TABLOID_EXTRA
));
40874 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A4_EXTRA
));
40875 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
40876 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A4_TRANSVERSE
));
40877 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
40878 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_A_PLUS
));
40879 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_B_PLUS
));
40880 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_PLUS
));
40881 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_A4_PLUS
));
40882 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A5_TRANSVERSE
));
40883 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_B5_TRANSVERSE
));
40884 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A3_EXTRA
));
40885 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A5_EXTRA
));
40886 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_B5_EXTRA
));
40887 PyDict_SetItemString(d
,"PAPER_A2", SWIG_PyObj_FromInt((int)wxPAPER_A2
));
40888 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A3_TRANSVERSE
));
40889 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
40890 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_PyObj_FromInt((int)wxDUPLEX_SIMPLEX
));
40891 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_PyObj_FromInt((int)wxDUPLEX_HORIZONTAL
));
40892 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_PyObj_FromInt((int)wxDUPLEX_VERTICAL
));
40893 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_PyObj_FromInt((int)wxITEM_SEPARATOR
));
40894 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_PyObj_FromInt((int)wxITEM_NORMAL
));
40895 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_PyObj_FromInt((int)wxITEM_CHECK
));
40896 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_PyObj_FromInt((int)wxITEM_RADIO
));
40897 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_PyObj_FromInt((int)wxITEM_MAX
));
40898 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_PyObj_FromInt((int)wxHT_NOWHERE
));
40899 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_FIRST
));
40900 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
40901 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
40902 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
40903 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
40904 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_THUMB
));
40905 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
40906 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
40907 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_LAST
));
40908 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_PyObj_FromInt((int)wxHT_WINDOW_OUTSIDE
));
40909 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_PyObj_FromInt((int)wxHT_WINDOW_INSIDE
));
40910 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_PyObj_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
40911 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_PyObj_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
40912 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_PyObj_FromInt((int)wxHT_WINDOW_CORNER
));
40913 PyDict_SetItemString(d
,"HT_MAX", SWIG_PyObj_FromInt((int)wxHT_MAX
));
40914 PyDict_SetItemString(d
,"MOD_NONE", SWIG_PyObj_FromInt((int)wxMOD_NONE
));
40915 PyDict_SetItemString(d
,"MOD_ALT", SWIG_PyObj_FromInt((int)wxMOD_ALT
));
40916 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_PyObj_FromInt((int)wxMOD_CONTROL
));
40917 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_PyObj_FromInt((int)wxMOD_SHIFT
));
40918 PyDict_SetItemString(d
,"MOD_WIN", SWIG_PyObj_FromInt((int)wxMOD_WIN
));
40919 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_NONE
));
40920 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_RECURSE
));
40921 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_FROMIDLE
));
40922 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
40923 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
40924 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_INVALID
));
40925 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_BMP
));
40926 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ICO
));
40927 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_CUR
));
40928 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XBM
));
40929 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
40930 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XPM
));
40931 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
40932 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_TIF
));
40933 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_GIF
));
40934 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PNG
));
40935 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_JPEG
));
40936 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PNM
));
40937 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PCX
));
40938 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PICT
));
40939 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ICON
));
40940 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ANI
));
40941 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_IFF
));
40942 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
40943 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ANY
));
40944 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_PyObj_FromInt((int)wxCURSOR_NONE
));
40945 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_ARROW
));
40946 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_RIGHT_ARROW
));
40947 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_PyObj_FromInt((int)wxCURSOR_BULLSEYE
));
40948 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_PyObj_FromInt((int)wxCURSOR_CHAR
));
40949 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_PyObj_FromInt((int)wxCURSOR_CROSS
));
40950 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_PyObj_FromInt((int)wxCURSOR_HAND
));
40951 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_PyObj_FromInt((int)wxCURSOR_IBEAM
));
40952 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_LEFT_BUTTON
));
40953 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_PyObj_FromInt((int)wxCURSOR_MAGNIFIER
));
40954 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
40955 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_PyObj_FromInt((int)wxCURSOR_NO_ENTRY
));
40956 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_PyObj_FromInt((int)wxCURSOR_PAINT_BRUSH
));
40957 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_PyObj_FromInt((int)wxCURSOR_PENCIL
));
40958 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_PyObj_FromInt((int)wxCURSOR_POINT_LEFT
));
40959 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_PyObj_FromInt((int)wxCURSOR_POINT_RIGHT
));
40960 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_QUESTION_ARROW
));
40961 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
40962 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENESW
));
40963 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENS
));
40964 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENWSE
));
40965 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_PyObj_FromInt((int)wxCURSOR_SIZEWE
));
40966 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_PyObj_FromInt((int)wxCURSOR_SIZING
));
40967 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_PyObj_FromInt((int)wxCURSOR_SPRAYCAN
));
40968 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_PyObj_FromInt((int)wxCURSOR_WAIT
));
40969 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_PyObj_FromInt((int)wxCURSOR_WATCH
));
40970 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_PyObj_FromInt((int)wxCURSOR_BLANK
));
40971 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_PyObj_FromInt((int)wxCURSOR_DEFAULT
));
40972 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_COPY_ARROW
));
40973 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_PyObj_FromInt((int)wxCURSOR_ARROWWAIT
));
40974 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_PyObj_FromInt((int)wxCURSOR_MAX
));
40975 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
40976 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
40977 PyDict_SetItemString(d
,"FromStart", SWIG_PyObj_FromInt((int)wxFromStart
));
40978 PyDict_SetItemString(d
,"FromCurrent", SWIG_PyObj_FromInt((int)wxFromCurrent
));
40979 PyDict_SetItemString(d
,"FromEnd", SWIG_PyObj_FromInt((int)wxFromEnd
));
40981 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
40984 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
40986 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
40987 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
40988 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
40989 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
40990 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
40991 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
40992 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_PyObj_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
40993 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_PyObj_FromInt((int)wxIMAGE_RESOLUTION_CM
));
40994 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_PyObj_FromInt((int)wxBMP_24BPP
));
40995 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_PyObj_FromInt((int)wxBMP_8BPP
));
40996 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_PyObj_FromInt((int)wxBMP_8BPP_GREY
));
40997 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_PyObj_FromInt((int)wxBMP_8BPP_GRAY
));
40998 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_PyObj_FromInt((int)wxBMP_8BPP_RED
));
40999 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_PyObj_FromInt((int)wxBMP_8BPP_PALETTE
));
41000 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_PyObj_FromInt((int)wxBMP_4BPP
));
41001 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_PyObj_FromInt((int)wxBMP_1BPP
));
41002 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_PyObj_FromInt((int)wxBMP_1BPP_BW
));
41003 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_PyObj_FromInt((int)wxEVENT_PROPAGATE_NONE
));
41004 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_PyObj_FromInt((int)wxEVENT_PROPAGATE_MAX
));
41005 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
41006 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
41007 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
41008 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
41009 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
41010 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
41011 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
41012 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
41013 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
41014 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
41015 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
41016 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
41017 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
41018 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
41019 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
41020 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
41021 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
41022 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
41023 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
41024 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
41025 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
41026 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
41027 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
41028 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
41029 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
41030 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
41031 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
41032 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
41033 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
41034 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
41035 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
41036 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
41037 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
41038 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
41039 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
41040 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
41041 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
41042 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
41043 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
41044 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
41045 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
41046 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
41047 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
41048 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
41049 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
41050 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
41051 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
41052 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
41053 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
41054 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
41055 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
41056 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
41057 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
41058 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
41059 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
41060 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
41061 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
41062 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
41063 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
41064 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
41065 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
41066 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
41067 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
41068 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
41069 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
41070 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
41071 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
41072 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
41073 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
41074 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
41075 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
41076 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
41077 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
41078 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
41079 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
41080 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
41081 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
41082 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
41083 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
41084 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
41085 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
41086 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
41087 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
41088 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
41089 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
41090 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
41091 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
41092 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
41093 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
41094 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
41095 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
41096 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
41097 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
41098 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
41099 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
41100 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
41101 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
41102 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
41103 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
41104 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
41105 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
41106 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
41107 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
41108 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
41109 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
41110 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
41111 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
41112 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
41113 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
41114 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
41115 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
41116 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
41117 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
41118 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
41119 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_ANY
));
41120 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_NONE
));
41121 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_LEFT
));
41122 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_MIDDLE
));
41123 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_RIGHT
));
41124 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_PyObj_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
41125 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_PyObj_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
41126 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_PyObj_FromInt((int)wxIDLE_PROCESS_ALL
));
41127 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_PyObj_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
41128 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
41129 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
41130 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
41131 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_LOG
));
41132 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_PyObj_FromInt((int)wxPRINT_WINDOWS
));
41133 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_PyObj_FromInt((int)wxPRINT_POSTSCRIPT
));
41134 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
41135 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
41136 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
41137 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
41138 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_NONE
));
41139 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
41140 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_ALL
));
41141 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
41142 PyDict_SetItemString(d
,"Left", SWIG_PyObj_FromInt((int)wxLeft
));
41143 PyDict_SetItemString(d
,"Top", SWIG_PyObj_FromInt((int)wxTop
));
41144 PyDict_SetItemString(d
,"Right", SWIG_PyObj_FromInt((int)wxRight
));
41145 PyDict_SetItemString(d
,"Bottom", SWIG_PyObj_FromInt((int)wxBottom
));
41146 PyDict_SetItemString(d
,"Width", SWIG_PyObj_FromInt((int)wxWidth
));
41147 PyDict_SetItemString(d
,"Height", SWIG_PyObj_FromInt((int)wxHeight
));
41148 PyDict_SetItemString(d
,"Centre", SWIG_PyObj_FromInt((int)wxCentre
));
41149 PyDict_SetItemString(d
,"Center", SWIG_PyObj_FromInt((int)wxCenter
));
41150 PyDict_SetItemString(d
,"CentreX", SWIG_PyObj_FromInt((int)wxCentreX
));
41151 PyDict_SetItemString(d
,"CentreY", SWIG_PyObj_FromInt((int)wxCentreY
));
41152 PyDict_SetItemString(d
,"Unconstrained", SWIG_PyObj_FromInt((int)wxUnconstrained
));
41153 PyDict_SetItemString(d
,"AsIs", SWIG_PyObj_FromInt((int)wxAsIs
));
41154 PyDict_SetItemString(d
,"PercentOf", SWIG_PyObj_FromInt((int)wxPercentOf
));
41155 PyDict_SetItemString(d
,"Above", SWIG_PyObj_FromInt((int)wxAbove
));
41156 PyDict_SetItemString(d
,"Below", SWIG_PyObj_FromInt((int)wxBelow
));
41157 PyDict_SetItemString(d
,"LeftOf", SWIG_PyObj_FromInt((int)wxLeftOf
));
41158 PyDict_SetItemString(d
,"RightOf", SWIG_PyObj_FromInt((int)wxRightOf
));
41159 PyDict_SetItemString(d
,"SameAs", SWIG_PyObj_FromInt((int)wxSameAs
));
41160 PyDict_SetItemString(d
,"Absolute", SWIG_PyObj_FromInt((int)wxAbsolute
));
41162 // Initialize threading, some globals and such
41166 // Although these are defined in __version__ they need to be here too so
41167 // that an assert can be done to ensure that the wxPython and the wxWindows
41169 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
41170 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
41171 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));