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_wxIconizeEvent swig_types[43]
277 #define SWIGTYPE_p_wxActivateEvent swig_types[44]
278 #define SWIGTYPE_p_wxMoveEvent swig_types[45]
279 #define SWIGTYPE_p_wxSizeEvent swig_types[46]
280 #define SWIGTYPE_p_wxMaximizeEvent 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_wxZipFSHandler swig_types[63]
297 #define SWIGTYPE_p_wxEvtHandler swig_types[64]
298 #define SWIGTYPE_p_wxCURHandler swig_types[65]
299 #define SWIGTYPE_p_wxICOHandler swig_types[66]
300 #define SWIGTYPE_p_wxBMPHandler swig_types[67]
301 #define SWIGTYPE_p_wxImageHandler swig_types[68]
302 #define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
303 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
304 #define SWIGTYPE_p_wxInternetFSHandler 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_wxString swig_types[95]
329 #define SWIGTYPE_p_wxFileSystem swig_types[96]
330 #define SWIGTYPE_p_wxBitmap swig_types[97]
331 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
332 #define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
333 #define SWIGTYPE_p_unsigned_char swig_types[100]
334 #define SWIGTYPE_p_wxCloseEvent swig_types[101]
335 #define SWIGTYPE_p_wxEraseEvent swig_types[102]
336 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
337 #define SWIGTYPE_p_wxPyApp swig_types[104]
338 #define SWIGTYPE_p_wxCommandEvent swig_types[105]
339 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
340 #define SWIGTYPE_p_wxPyDropTarget swig_types[107]
341 #define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
342 #define SWIGTYPE_p_wxFocusEvent swig_types[109]
343 #define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
344 #define SWIGTYPE_p_wxControlWithItems swig_types[111]
345 #define SWIGTYPE_p_wxColour swig_types[112]
346 #define SWIGTYPE_p_wxValidator swig_types[113]
347 #define SWIGTYPE_p_wxPyValidator swig_types[114]
348 static swig_type_info
*swig_types
[116];
350 /* -------- TYPES TABLE (END) -------- */
353 /*-----------------------------------------------
355 ------------------------------------------------*/
356 #define SWIG_init init_core
358 #define SWIG_name "_core"
366 #define SWIGSTATIC(a) static inline a
368 #define SWIGSTATIC(a) static a
374 #ifdef HAVE_NUMERIC_CAST
375 #define numeric_cast(type,a) numeric_cast<type>(a)
377 #define numeric_cast(type,a) static_cast<type>(a)
380 #define numeric_cast(type,a) (type)(a)
386 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
387 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
388 #define SWIG_PyObj_FromShort PyInt_FromLong
389 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
390 #define SWIG_PyObj_FromInt PyInt_FromLong
391 #define SWIG_PyObj_FromLong PyInt_FromLong
392 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
393 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
394 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
395 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
398 #include "wx/wxPython/wxPython_int.h"
399 #include "wx/wxPython/pyclasses.h"
402 #ifndef wxPyUSE_EXPORT
403 // Helper functions for dealing with SWIG objects and such. These are
404 // located here so they know about the SWIG types and functions declared
405 // in the wrapper code.
407 #include <wx/hashmap.h>
408 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
411 // Maintains a hashmap of className to swig_type_info pointers. Given the
412 // name of a class either looks up the type info in the cache, or scans the
413 // SWIG tables for it.
414 extern PyObject
* wxPyPtrTypeMap
;
416 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
418 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
420 if (typeInfoCache
== NULL
)
421 typeInfoCache
= new wxPyTypeInfoHashMap
;
423 wxString
name(className
);
424 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
427 // it wasn't in the cache, so look it up from SWIG
428 name
.Append(wxT(" *"));
429 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
431 // if it still wasn't found, try looking for a mapped name
436 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
437 (char*)(const char*)name
.mbc_str())) != NULL
) {
438 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
439 name
.Append(wxT(" *"));
440 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
444 // and add it to the map if found
445 (*typeInfoCache
)[className
] = swigType
;
452 // Check if a class name is a type known to SWIG
453 bool wxPyCheckSwigType(const wxChar
* className
) {
455 swig_type_info
* swigType
= wxPyFindSwigType(className
);
456 return swigType
!= NULL
;
460 // Given a pointer to a C++ object and a class name, construct a Python proxy
462 PyObject
* wxPyConstructObject(void* ptr
,
463 const wxChar
* className
,
466 swig_type_info
* swigType
= wxPyFindSwigType(className
);
467 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
469 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
473 // Extract a pointer to the wrapped C++ object from a Python proxy object.
474 // Ensures that the proxy object is of the specified (or derived) type. If
475 // not able to perform the conversion then a Python exception is set and the
476 // error should be handled properly in the caller. Returns True on success.
477 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
478 const wxChar
* className
) {
480 swig_type_info
* swigType
= wxPyFindSwigType(className
);
481 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
483 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
487 // Make a SWIGified pointer object suitable for a .this attribute
488 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
490 PyObject
* robj
= NULL
;
492 swig_type_info
* swigType
= wxPyFindSwigType(className
);
493 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
495 #ifdef SWIG_COBJECT_TYPES
496 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
502 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
503 strcpy(r
, swigType
->name
);
504 robj
= PyString_FromString(result
);
514 // Export a C API in a struct. Other modules will be able to load this from
515 // the wx.core module and will then have safe access to these functions, even if
516 // they are located in another shared library.
517 static wxPyCoreAPI API
= {
519 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
520 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
521 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
522 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
523 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
524 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
525 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
526 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
527 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
528 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
529 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
530 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
531 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
532 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
533 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
534 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
535 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
537 (p_SWIG_PyObj_AsCharPtr_t
)SWIG_PyObj_AsCharPtr
,
538 (p_SWIG_PyObj_FromCharPtr_t
)SWIG_PyObj_FromCharPtr
,
539 (p_SWIG_PyObj_AsUnsignedLong_t
)SWIG_PyObj_AsUnsignedLong
,
540 (p_SWIG_PyObj_AsLongInRange_t
)SWIG_PyObj_AsLongInRange
,
541 (p_SWIG_PyObj_AsUnsignedLongInRange_t
)SWIG_PyObj_AsUnsignedLongInRange
,
542 (p_SWIG_PyObj_AsNewCharPtr_t
)SWIG_PyObj_AsNewCharPtr
,
543 (p_SWIG_PyObj_AsCharPtrAndSize_t
)SWIG_PyObj_AsCharPtrAndSize
,
544 (p_SWIG_PyObj_AsCharArray_t
)SWIG_PyObj_AsCharArray
,
545 (p_SWIG_PyObj_FromCharArray_t
)SWIG_PyObj_FromCharArray
,
546 (p_SWIG_PyObj_AsFloatConv_t
)SWIG_PyObj_AsFloatConv
,
553 wxPyBeginAllowThreads
,
555 wxPyBeginBlockThreads
,
569 wxBitmap_LIST_helper
,
570 wxString_LIST_helper
,
571 wxAcceleratorEntry_LIST_helper
,
580 wxPySimple_typecheck
,
583 wxPyCBH_setCallbackInfo
,
584 wxPyCBH_findCallback
,
585 wxPyCBH_callCallback
,
586 wxPyCBH_callCallbackObj
,
594 wxArrayString2PyList_helper
,
595 wxArrayInt2PyList_helper
,
599 wxPyOORClientData_dtor
,
601 wxPyCBInputStream_create
,
604 wxPySwigInstance_Check
612 enum wxHotkeyModifier
620 #define wxEVT_HOTKEY 9999
623 static const wxString
wxPyEmptyString(wxEmptyString
);
624 wxString
wxObject_GetClassName(wxObject
*self
){
625 return self
->GetClassInfo()->GetClassName();
627 void wxObject_Destroy(wxObject
*self
){
632 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
637 SWIG_PyObj_AsInt(PyObject
*obj
)
639 return numeric_cast(int,
640 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
644 SWIGSTATIC(PyObject
*)
645 SWIG_PyObj_FromBool(bool value
)
647 PyObject
*obj
= value
? Py_True
: Py_False
;
652 PyObject
*wxSize_Get(wxSize
*self
){
653 wxPyBeginBlockThreads();
654 PyObject
* tup
= PyTuple_New(2);
655 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
656 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
657 wxPyEndBlockThreads();
662 SWIG_PyObj_AsDouble(PyObject
*obj
)
664 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
666 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
668 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
670 if (PyErr_Occurred()) {
672 PyErr_SetString(PyExc_TypeError
, "a double is expected");
676 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
680 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
681 wxPyBeginBlockThreads();
682 PyObject
* tup
= PyTuple_New(2);
683 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
684 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
685 wxPyEndBlockThreads();
690 SWIG_PyObj_AsLong(PyObject
* obj
)
692 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
695 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
699 PyObject
*wxPoint_Get(wxPoint
*self
){
700 wxPyBeginBlockThreads();
701 PyObject
* tup
= PyTuple_New(2);
702 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
703 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
704 wxPyEndBlockThreads();
707 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
711 self
->height
= height
;
713 PyObject
*wxRect_Get(wxRect
*self
){
714 wxPyBeginBlockThreads();
715 PyObject
* tup
= PyTuple_New(4);
716 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
717 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
718 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
719 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
720 wxPyEndBlockThreads();
724 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
727 wxRect
dest(0,0,0,0);
730 reg1
.Intersect(reg2
);
731 dest
= reg1
.GetBox();
733 if (dest
!= wxRect(0,0,0,0)) {
734 wxPyBeginBlockThreads();
735 wxRect
* newRect
= new wxRect(dest
);
736 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
737 wxPyEndBlockThreads();
745 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
751 } else if (target
== Py_None
) {
755 if (!PyTuple_Check(target
)) {
757 target
= PyTuple_New(1);
758 PyTuple_SetItem(target
, 0, o2
);
761 PyTuple_SetItem(o3
, 0, o
);
764 target
= PySequence_Concat(o2
, o3
);
771 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
775 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
776 wxPyBeginBlockThreads();
777 PyObject
* tup
= PyTuple_New(2);
778 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
779 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
780 wxPyEndBlockThreads();
784 #include "wx/wxPython/pyistream.h"
786 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
787 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
789 return new wxPyInputStream(wxis
);
794 SWIGSTATIC(PyObject
*)
795 SWIG_PyObj_FromChar(char c
)
797 return PyString_FromStringAndSize(&c
,1);
801 SWIGSTATIC(PyObject
* )
802 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
804 return (value
> (unsigned long)(LONG_MAX
)) ?
805 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
810 SWIG_PyObj_AsChar(PyObject
*obj
)
813 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
814 c
= numeric_cast(char,
815 SWIG_PyObj_AsLongInRange(obj
, "char",CHAR_MIN
, CHAR_MAX
));
817 char* cptr
; size_t csize
;
818 SWIG_PyObj_AsCharPtrAndSize(obj
, 0, &cptr
, &csize
);
822 PyErr_SetString(PyExc_TypeError
, "a char is expected");
828 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
829 // We use only strings for the streams, not unicode
830 PyObject
* str
= PyObject_Str(obj
);
832 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
835 self
->Write(PyString_AS_STRING(str
),
836 PyString_GET_SIZE(str
));
840 #include "wx/wxPython/pyistream.h"
843 class wxPyFileSystemHandler
: public wxFileSystemHandler
846 wxPyFileSystemHandler() : wxFileSystemHandler() {}
848 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
849 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
850 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
851 DEC_PYCALLBACK_STRING__pure(FindNext
);
853 wxString
GetProtocol(const wxString
& location
) {
854 return wxFileSystemHandler::GetProtocol(location
);
857 wxString
GetLeftLocation(const wxString
& location
) {
858 return wxFileSystemHandler::GetLeftLocation(location
);
861 wxString
GetAnchor(const wxString
& location
) {
862 return wxFileSystemHandler::GetAnchor(location
);
865 wxString
GetRightLocation(const wxString
& location
) {
866 return wxFileSystemHandler::GetRightLocation(location
);
869 wxString
GetMimeTypeFromExt(const wxString
& location
) {
870 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
877 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
878 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
879 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
880 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
884 SWIG_PyObj_AsBool(PyObject
*obj
)
886 return PyObject_IsTrue(obj
) ? true : false;
890 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
891 wxFileName fname
= wxFileSystem::URLToFileName(url
);
892 return fname
.GetFullPath();
896 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
899 wxMemoryFSHandler::AddFile(filename
, image
, type
);
902 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
903 const wxBitmap
& bitmap
,
905 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
908 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
910 wxMemoryFSHandler::AddFile(filename
,
911 // TODO: Verify data type
912 (void*)PyString_AsString(data
),
913 (size_t)PyString_Size(data
));
917 #include "wx/wxPython/pyistream.h"
920 SWIGSTATIC(unsigned char)
921 SWIG_PyObj_AsUnsignedChar(PyObject
*obj
)
923 return numeric_cast(unsigned char,
924 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned char", UCHAR_MAX
));
927 wxImage
*new_wxImage(int width
,int height
,bool clear
){
928 if (width
> 0 && height
> 0)
929 return new wxImage(width
, height
, clear
);
933 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
934 return new wxImage(bitmap
.ConvertToImage());
936 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
937 // Copy the source data so the wxImage can clean it up later
938 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
943 memcpy(copy
, data
, width
*height
*3);
944 return new wxImage(width
, height
, copy
, False
);
946 PyObject
*wxImage_GetData(wxImage
*self
){
947 unsigned char* data
= self
->GetData();
948 int len
= self
->GetWidth() * self
->GetHeight() * 3;
950 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
953 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
954 unsigned char* dataPtr
;
956 if (! PyString_Check(data
)) {
957 PyErr_SetString(PyExc_TypeError
, "Expected string object");
961 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
962 dataPtr
= (unsigned char*) malloc(len
);
963 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
964 self
->SetData(dataPtr
);
965 // wxImage takes ownership of dataPtr...
967 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
968 unsigned char* data
= self
->GetData();
969 int len
= self
->GetWidth() * self
->GetHeight() * 3;
971 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
974 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
975 unsigned char* buffer
;
978 wxPyBeginBlockThreads();
979 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
982 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
983 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
986 self
->SetData(buffer
);
988 wxPyEndBlockThreads();
990 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
991 unsigned char* data
= self
->GetAlpha();
995 int len
= self
->GetWidth() * self
->GetHeight();
997 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1001 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1002 unsigned char* dataPtr
;
1004 if (! PyString_Check(data
)) {
1005 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1009 size_t len
= self
->GetWidth() * self
->GetHeight();
1010 dataPtr
= (unsigned char*) malloc(len
);
1011 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1012 self
->SetAlpha(dataPtr
);
1013 // wxImage takes ownership of dataPtr...
1015 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1016 unsigned char* data
= self
->GetAlpha();
1017 int len
= self
->GetWidth() * self
->GetHeight();
1019 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1022 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1023 unsigned char* buffer
;
1026 wxPyBeginBlockThreads();
1027 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1030 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1031 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1034 self
->SetAlpha(buffer
);
1036 wxPyEndBlockThreads();
1038 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1039 wxBitmap
bitmap(*self
);
1042 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1043 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1044 wxBitmap
bitmap( mono
, 1 );
1047 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1048 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1049 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1050 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1051 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1052 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1053 if (PyCallable_Check(func
)) {
1054 self
->Connect(id
, lastId
, eventType
,
1055 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1056 new wxPyCallback(func
));
1058 else if (func
== Py_None
) {
1059 self
->Disconnect(id
, lastId
, eventType
,
1060 (wxObjectEventFunction
)
1061 &wxPyCallback::EventThunker
);
1064 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
1067 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1068 return self
->Disconnect(id
, lastId
, eventType
,
1069 (wxObjectEventFunction
)
1070 &wxPyCallback::EventThunker
);
1072 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1073 if (_self
&& _self
!= Py_None
) {
1074 self
->SetClientObject(new wxPyOORClientData(_self
));
1077 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1079 self
->SetClientObject(NULL
); // This will delete it too
1083 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1085 return self
->m_uniChar
;
1091 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
1094 SWIGSTATIC(unsigned int)
1095 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
1097 return numeric_cast(unsigned int,
1098 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
1101 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1102 self
->m_size
= size
;
1104 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1107 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1108 int count
= self
->GetNumberOfFiles();
1109 wxString
* files
= self
->GetFiles();
1110 PyObject
* list
= PyList_New(count
);
1113 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1117 for (int i
=0; i
<count
; i
++) {
1118 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1124 wxPyApp
*new_wxPyApp(){
1125 wxPythonApp
= new wxPyApp();
1128 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1130 void wxApp_CleanUp() {
1135 wxPyApp
* wxGetApp() {
1136 return (wxPyApp
*)wxTheApp
;
1141 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1142 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1143 wxWindowList
& list
= self
->GetChildren();
1144 return wxPy_ConvertList(&list
);
1146 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1153 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1160 long wxWindow_GetHandle(wxWindow
*self
){
1161 return wxPyGetWinHandle(self
);
1164 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1165 return wxWindow::FindWindowById(id
, parent
);
1168 wxWindow
* wxFindWindowByName( const wxString
& name
,
1169 const wxWindow
*parent
= NULL
) {
1170 return wxWindow::FindWindowByName(name
, parent
);
1173 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1174 const wxWindow
*parent
= NULL
) {
1175 return wxWindow::FindWindowByLabel(label
, parent
);
1179 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1181 wxWindow
* win
= new wxWindow
;
1183 win
->SubclassWin(hWnd
);
1186 wxPyRaiseNotImplemented();
1192 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1193 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1194 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1196 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1198 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1199 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1200 wxMenuItemList
& list
= self
->GetMenuItems();
1201 return wxPy_ConvertList(&list
);
1203 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1204 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1205 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1207 wxPyClientData
* data
= new wxPyClientData(clientData
);
1208 return self
->Append(item
, data
);
1210 return self
->Append(item
);
1212 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1214 wxPyClientData
* data
= new wxPyClientData(clientData
);
1215 return self
->Insert(item
, pos
, data
);
1217 return self
->Insert(item
, pos
);
1219 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1220 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1222 Py_INCREF(data
->m_obj
);
1229 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1230 wxPyClientData
* data
= new wxPyClientData(clientData
);
1231 self
->SetClientObject(n
, data
);
1237 SWIG_PyObj_AsFloat(PyObject
*obj
)
1239 return SWIG_PyObj_AsFloatConv(obj
, SWIG_PyObj_AsDouble
);
1242 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1243 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1245 Py_INCREF(data
->m_obj
);
1253 // Figure out the type of the sizer item
1255 struct wxPySizerItemInfo
{
1257 : window(NULL
), sizer(NULL
), gotSize(False
),
1258 size(wxDefaultSize
), gotPos(False
), pos(-1)
1269 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1271 wxPySizerItemInfo info
;
1273 wxSize
* sizePtr
= &size
;
1275 // Find out what the type of the item is
1277 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1282 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1286 // try wxSize or (w,h)
1287 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1288 info
.size
= *sizePtr
;
1289 info
.gotSize
= True
;
1293 if (checkIdx
&& PyInt_Check(item
)) {
1294 info
.pos
= PyInt_AsLong(item
);
1300 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1301 // no expected type, figure out what kind of error message to generate
1302 if ( !checkSize
&& !checkIdx
)
1303 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1304 else if ( checkSize
&& !checkIdx
)
1305 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1306 else if ( !checkSize
&& checkIdx
)
1307 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1309 // can this one happen?
1310 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1316 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1317 self
->SetClientObject(new wxPyOORClientData(_self
));
1319 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1321 wxPyUserData
* data
= NULL
;
1322 wxPyBeginBlockThreads();
1323 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1324 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1325 data
= new wxPyUserData(userData
);
1326 wxPyEndBlockThreads();
1328 // Now call the real Add method if a valid item type was found
1330 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1331 else if ( info
.sizer
)
1332 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1333 else if (info
.gotSize
)
1334 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1335 proportion
, flag
, border
, data
);
1337 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1339 wxPyUserData
* data
= NULL
;
1340 wxPyBeginBlockThreads();
1341 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1342 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1343 data
= new wxPyUserData(userData
);
1344 wxPyEndBlockThreads();
1346 // Now call the real Insert method if a valid item type was found
1348 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1349 else if ( info
.sizer
)
1350 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1351 else if (info
.gotSize
)
1352 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1353 proportion
, flag
, border
, data
);
1355 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1357 wxPyUserData
* data
= NULL
;
1358 wxPyBeginBlockThreads();
1359 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1360 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1361 data
= new wxPyUserData(userData
);
1362 wxPyEndBlockThreads();
1364 // Now call the real Prepend method if a valid item type was found
1366 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1367 else if ( info
.sizer
)
1368 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1369 else if (info
.gotSize
)
1370 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1371 proportion
, flag
, border
, data
);
1373 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1374 wxPyBeginBlockThreads();
1375 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1376 wxPyEndBlockThreads();
1378 return self
->Remove(info
.window
);
1379 else if ( info
.sizer
)
1380 return self
->Remove(info
.sizer
);
1381 else if ( info
.gotPos
)
1382 return self
->Remove(info
.pos
);
1386 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1387 wxPyBeginBlockThreads();
1388 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1389 wxPyEndBlockThreads();
1391 self
->SetItemMinSize(info
.window
, size
);
1392 else if ( info
.sizer
)
1393 self
->SetItemMinSize(info
.sizer
, size
);
1394 else if ( info
.gotPos
)
1395 self
->SetItemMinSize(info
.pos
, size
);
1397 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1398 wxSizerItemList
& list
= self
->GetChildren();
1399 return wxPy_ConvertList(&list
);
1401 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1402 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1404 self
->Show(info
.window
, show
);
1405 else if ( info
.sizer
)
1406 self
->Show(info
.sizer
, show
);
1408 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1409 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1411 self
->Hide(info
.window
);
1412 else if ( info
.sizer
)
1413 self
->Hide(info
.sizer
);
1415 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1416 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1418 return self
->IsShown(info
.window
);
1419 else if ( info
.sizer
)
1420 return self
->IsShown(info
.sizer
);
1426 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1427 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1428 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1433 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1435 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1438 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1440 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1444 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1448 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1449 wxPyBeginBlockThreads();
1450 PyObject
* tup
= PyTuple_New(2);
1451 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1452 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1453 wxPyEndBlockThreads();
1456 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1457 self
->SetRowspan(rowspan
);
1458 self
->SetColspan(colspan
);
1460 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1461 wxPyBeginBlockThreads();
1462 PyObject
* tup
= PyTuple_New(2);
1463 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1464 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1465 wxPyEndBlockThreads();
1468 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1470 wxPyUserData
* data
= NULL
;
1471 wxPyBeginBlockThreads();
1472 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1473 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1474 data
= new wxPyUserData(userData
);
1475 wxPyEndBlockThreads();
1477 // Now call the real Add method if a valid item type was found
1479 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1480 else if ( info
.sizer
)
1481 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1482 else if (info
.gotSize
)
1483 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1484 pos
, span
, flag
, border
, data
);
1492 static int _wrap_EmptyString_set(PyObject
*_val
) {
1493 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1498 static PyObject
*_wrap_EmptyString_get() {
1503 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1505 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1512 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
*resultobj
;
1514 wxObject
*arg1
= (wxObject
*) 0 ;
1516 PyObject
* obj0
= 0 ;
1518 (char *) "self", NULL
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1525 result
= wxObject_GetClassName(arg1
);
1527 wxPyEndAllowThreads(__tstate
);
1528 if (PyErr_Occurred()) SWIG_fail
;
1532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1543 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
*resultobj
;
1545 wxObject
*arg1
= (wxObject
*) 0 ;
1546 PyObject
* obj0
= 0 ;
1548 (char *) "self", NULL
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 wxObject_Destroy(arg1
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) SWIG_fail
;
1560 Py_INCREF(Py_None
); resultobj
= Py_None
;
1567 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1570 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1572 return Py_BuildValue((char *)"");
1574 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
*resultobj
;
1576 wxSize
*arg1
= (wxSize
*) 0 ;
1578 PyObject
* obj0
= 0 ;
1579 PyObject
* obj1
= 0 ;
1581 (char *) "self",(char *) "x", NULL
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1587 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1588 if (PyErr_Occurred()) SWIG_fail
;
1590 if (arg1
) (arg1
)->x
= arg2
;
1592 Py_INCREF(Py_None
); resultobj
= Py_None
;
1599 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
*resultobj
;
1601 wxSize
*arg1
= (wxSize
*) 0 ;
1603 PyObject
* obj0
= 0 ;
1605 (char *) "self", NULL
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1610 result
= (int) ((arg1
)->x
);
1612 resultobj
= SWIG_PyObj_FromInt((int)result
);
1619 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1621 wxSize
*arg1
= (wxSize
*) 0 ;
1623 PyObject
* obj0
= 0 ;
1624 PyObject
* obj1
= 0 ;
1626 (char *) "self",(char *) "y", NULL
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1632 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1633 if (PyErr_Occurred()) SWIG_fail
;
1635 if (arg1
) (arg1
)->y
= arg2
;
1637 Py_INCREF(Py_None
); resultobj
= Py_None
;
1644 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
*resultobj
;
1646 wxSize
*arg1
= (wxSize
*) 0 ;
1648 PyObject
* obj0
= 0 ;
1650 (char *) "self", NULL
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1655 result
= (int) ((arg1
)->y
);
1657 resultobj
= SWIG_PyObj_FromInt((int)result
);
1664 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
*resultobj
;
1666 int arg1
= (int) 0 ;
1667 int arg2
= (int) 0 ;
1669 PyObject
* obj0
= 0 ;
1670 PyObject
* obj1
= 0 ;
1672 (char *) "w",(char *) "h", NULL
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1678 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1679 if (PyErr_Occurred()) SWIG_fail
;
1684 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1685 if (PyErr_Occurred()) SWIG_fail
;
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1690 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) SWIG_fail
;
1695 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1702 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
*resultobj
;
1704 wxSize
*arg1
= (wxSize
*) 0 ;
1705 PyObject
* obj0
= 0 ;
1707 (char *) "self", NULL
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1716 wxPyEndAllowThreads(__tstate
);
1717 if (PyErr_Occurred()) SWIG_fail
;
1719 Py_INCREF(Py_None
); resultobj
= Py_None
;
1726 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
*resultobj
;
1728 wxSize
*arg1
= (wxSize
*) 0 ;
1732 PyObject
* obj0
= 0 ;
1733 PyObject
* obj1
= 0 ;
1735 (char *) "self",(char *) "sz", NULL
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1742 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1746 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1748 wxPyEndAllowThreads(__tstate
);
1749 if (PyErr_Occurred()) SWIG_fail
;
1751 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1758 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
*resultobj
;
1760 wxSize
*arg1
= (wxSize
*) 0 ;
1764 PyObject
* obj0
= 0 ;
1765 PyObject
* obj1
= 0 ;
1767 (char *) "self",(char *) "sz", NULL
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1774 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1778 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
1780 wxPyEndAllowThreads(__tstate
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1783 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1790 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
*resultobj
;
1792 wxSize
*arg1
= (wxSize
*) 0 ;
1796 PyObject
* obj0
= 0 ;
1797 PyObject
* obj1
= 0 ;
1799 (char *) "self",(char *) "sz", NULL
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1806 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1817 resultptr
= new wxSize((wxSize
&) result
);
1818 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1826 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
*resultobj
;
1828 wxSize
*arg1
= (wxSize
*) 0 ;
1832 PyObject
* obj0
= 0 ;
1833 PyObject
* obj1
= 0 ;
1835 (char *) "self",(char *) "sz", NULL
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1842 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1848 wxPyEndAllowThreads(__tstate
);
1849 if (PyErr_Occurred()) SWIG_fail
;
1853 resultptr
= new wxSize((wxSize
&) result
);
1854 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1862 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
*resultobj
;
1864 wxSize
*arg1
= (wxSize
*) 0 ;
1867 PyObject
* obj0
= 0 ;
1868 PyObject
* obj1
= 0 ;
1870 (char *) "self",(char *) "sz", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1877 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 (arg1
)->IncTo((wxSize
const &)*arg2
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1886 Py_INCREF(Py_None
); resultobj
= Py_None
;
1893 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
*resultobj
;
1895 wxSize
*arg1
= (wxSize
*) 0 ;
1898 PyObject
* obj0
= 0 ;
1899 PyObject
* obj1
= 0 ;
1901 (char *) "self",(char *) "sz", NULL
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1908 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 (arg1
)->DecTo((wxSize
const &)*arg2
);
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1917 Py_INCREF(Py_None
); resultobj
= Py_None
;
1924 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
*resultobj
;
1926 wxSize
*arg1
= (wxSize
*) 0 ;
1929 PyObject
* obj0
= 0 ;
1930 PyObject
* obj1
= 0 ;
1931 PyObject
* obj2
= 0 ;
1933 (char *) "self",(char *) "w",(char *) "h", NULL
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1939 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1943 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1944 if (PyErr_Occurred()) SWIG_fail
;
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 (arg1
)->Set(arg2
,arg3
);
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1953 Py_INCREF(Py_None
); resultobj
= Py_None
;
1960 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
*resultobj
;
1962 wxSize
*arg1
= (wxSize
*) 0 ;
1964 PyObject
* obj0
= 0 ;
1965 PyObject
* obj1
= 0 ;
1967 (char *) "self",(char *) "w", NULL
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1973 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1974 if (PyErr_Occurred()) SWIG_fail
;
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1978 (arg1
)->SetWidth(arg2
);
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) SWIG_fail
;
1983 Py_INCREF(Py_None
); resultobj
= Py_None
;
1990 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
*resultobj
;
1992 wxSize
*arg1
= (wxSize
*) 0 ;
1994 PyObject
* obj0
= 0 ;
1995 PyObject
* obj1
= 0 ;
1997 (char *) "self",(char *) "h", NULL
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2003 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2004 if (PyErr_Occurred()) SWIG_fail
;
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 (arg1
)->SetHeight(arg2
);
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2013 Py_INCREF(Py_None
); resultobj
= Py_None
;
2020 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
*resultobj
;
2022 wxSize
*arg1
= (wxSize
*) 0 ;
2024 PyObject
* obj0
= 0 ;
2026 (char *) "self", NULL
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2038 resultobj
= SWIG_PyObj_FromInt((int)result
);
2045 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
*resultobj
;
2047 wxSize
*arg1
= (wxSize
*) 0 ;
2049 PyObject
* obj0
= 0 ;
2051 (char *) "self", NULL
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 resultobj
= SWIG_PyObj_FromInt((int)result
);
2070 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
*resultobj
;
2072 wxSize
*arg1
= (wxSize
*) 0 ;
2074 PyObject
* obj0
= 0 ;
2076 (char *) "self", NULL
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2083 result
= (PyObject
*)wxSize_Get(arg1
);
2085 wxPyEndAllowThreads(__tstate
);
2086 if (PyErr_Occurred()) SWIG_fail
;
2095 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2098 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2100 return Py_BuildValue((char *)"");
2102 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
*resultobj
;
2104 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2106 PyObject
* obj0
= 0 ;
2107 PyObject
* obj1
= 0 ;
2109 (char *) "self",(char *) "x", NULL
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2115 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2116 if (PyErr_Occurred()) SWIG_fail
;
2118 if (arg1
) (arg1
)->x
= arg2
;
2120 Py_INCREF(Py_None
); resultobj
= Py_None
;
2127 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
*resultobj
;
2129 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2131 PyObject
* obj0
= 0 ;
2133 (char *) "self", NULL
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2138 result
= (double) ((arg1
)->x
);
2140 resultobj
= SWIG_PyObj_FromDouble((double)result
);
2147 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
*resultobj
;
2149 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2151 PyObject
* obj0
= 0 ;
2152 PyObject
* obj1
= 0 ;
2154 (char *) "self",(char *) "y", NULL
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2160 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2161 if (PyErr_Occurred()) SWIG_fail
;
2163 if (arg1
) (arg1
)->y
= arg2
;
2165 Py_INCREF(Py_None
); resultobj
= Py_None
;
2172 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
*resultobj
;
2174 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2176 PyObject
* obj0
= 0 ;
2178 (char *) "self", NULL
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2183 result
= (double) ((arg1
)->y
);
2185 resultobj
= SWIG_PyObj_FromDouble((double)result
);
2192 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
*resultobj
;
2194 double arg1
= (double) 0.0 ;
2195 double arg2
= (double) 0.0 ;
2196 wxRealPoint
*result
;
2197 PyObject
* obj0
= 0 ;
2198 PyObject
* obj1
= 0 ;
2200 (char *) "x",(char *) "y", NULL
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2206 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2212 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2223 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
2230 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
*resultobj
;
2232 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2233 PyObject
* obj0
= 0 ;
2235 (char *) "self", NULL
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2247 Py_INCREF(Py_None
); resultobj
= Py_None
;
2254 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2256 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2257 wxRealPoint
*arg2
= 0 ;
2260 PyObject
* obj0
= 0 ;
2261 PyObject
* obj1
= 0 ;
2263 (char *) "self",(char *) "pt", NULL
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2270 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2279 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2286 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
*resultobj
;
2288 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2289 wxRealPoint
*arg2
= 0 ;
2292 PyObject
* obj0
= 0 ;
2293 PyObject
* obj1
= 0 ;
2295 (char *) "self",(char *) "pt", NULL
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2302 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2311 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2318 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
*resultobj
;
2320 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2321 wxRealPoint
*arg2
= 0 ;
2324 PyObject
* obj0
= 0 ;
2325 PyObject
* obj1
= 0 ;
2327 (char *) "self",(char *) "pt", NULL
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2334 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2338 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2340 wxPyEndAllowThreads(__tstate
);
2341 if (PyErr_Occurred()) SWIG_fail
;
2344 wxRealPoint
* resultptr
;
2345 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2346 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2354 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2355 PyObject
*resultobj
;
2356 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2357 wxRealPoint
*arg2
= 0 ;
2360 PyObject
* obj0
= 0 ;
2361 PyObject
* obj1
= 0 ;
2363 (char *) "self",(char *) "pt", NULL
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2370 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2374 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2376 wxPyEndAllowThreads(__tstate
);
2377 if (PyErr_Occurred()) SWIG_fail
;
2380 wxRealPoint
* resultptr
;
2381 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2382 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2390 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
*resultobj
;
2392 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2395 PyObject
* obj0
= 0 ;
2396 PyObject
* obj1
= 0 ;
2397 PyObject
* obj2
= 0 ;
2399 (char *) "self",(char *) "x",(char *) "y", NULL
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2405 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2409 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 wxRealPoint_Set(arg1
,arg2
,arg3
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) SWIG_fail
;
2419 Py_INCREF(Py_None
); resultobj
= Py_None
;
2426 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
*resultobj
;
2428 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2430 PyObject
* obj0
= 0 ;
2432 (char *) "self", NULL
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2451 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2454 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2456 return Py_BuildValue((char *)"");
2458 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
*resultobj
;
2460 wxPoint
*arg1
= (wxPoint
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2463 PyObject
* obj1
= 0 ;
2465 (char *) "self",(char *) "x", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2471 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2474 if (arg1
) (arg1
)->x
= arg2
;
2476 Py_INCREF(Py_None
); resultobj
= Py_None
;
2483 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
*resultobj
;
2485 wxPoint
*arg1
= (wxPoint
*) 0 ;
2487 PyObject
* obj0
= 0 ;
2489 (char *) "self", NULL
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2494 result
= (int) ((arg1
)->x
);
2496 resultobj
= SWIG_PyObj_FromInt((int)result
);
2503 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
*resultobj
;
2505 wxPoint
*arg1
= (wxPoint
*) 0 ;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2510 (char *) "self",(char *) "y", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2516 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2519 if (arg1
) (arg1
)->y
= arg2
;
2521 Py_INCREF(Py_None
); resultobj
= Py_None
;
2528 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
*resultobj
;
2530 wxPoint
*arg1
= (wxPoint
*) 0 ;
2532 PyObject
* obj0
= 0 ;
2534 (char *) "self", NULL
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2539 result
= (int) ((arg1
)->y
);
2541 resultobj
= SWIG_PyObj_FromInt((int)result
);
2548 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
*resultobj
;
2550 int arg1
= (int) 0 ;
2551 int arg2
= (int) 0 ;
2553 PyObject
* obj0
= 0 ;
2554 PyObject
* obj1
= 0 ;
2556 (char *) "x",(char *) "y", NULL
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2562 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2563 if (PyErr_Occurred()) SWIG_fail
;
2568 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2569 if (PyErr_Occurred()) SWIG_fail
;
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2579 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2586 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
*resultobj
;
2588 wxPoint
*arg1
= (wxPoint
*) 0 ;
2589 PyObject
* obj0
= 0 ;
2591 (char *) "self", NULL
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2603 Py_INCREF(Py_None
); resultobj
= Py_None
;
2610 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2612 wxPoint
*arg1
= (wxPoint
*) 0 ;
2616 PyObject
* obj0
= 0 ;
2617 PyObject
* obj1
= 0 ;
2619 (char *) "self",(char *) "pt", NULL
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2626 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2630 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2632 wxPyEndAllowThreads(__tstate
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2635 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2642 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2644 wxPoint
*arg1
= (wxPoint
*) 0 ;
2648 PyObject
* obj0
= 0 ;
2649 PyObject
* obj1
= 0 ;
2651 (char *) "self",(char *) "pt", NULL
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2658 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) SWIG_fail
;
2667 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2674 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxPoint
*arg1
= (wxPoint
*) 0 ;
2680 PyObject
* obj0
= 0 ;
2681 PyObject
* obj1
= 0 ;
2683 (char *) "self",(char *) "pt", NULL
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2690 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2700 wxPoint
* resultptr
;
2701 resultptr
= new wxPoint((wxPoint
&) result
);
2702 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2710 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
*resultobj
;
2712 wxPoint
*arg1
= (wxPoint
*) 0 ;
2716 PyObject
* obj0
= 0 ;
2717 PyObject
* obj1
= 0 ;
2719 (char *) "self",(char *) "pt", NULL
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2726 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) SWIG_fail
;
2736 wxPoint
* resultptr
;
2737 resultptr
= new wxPoint((wxPoint
&) result
);
2738 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2746 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
*resultobj
;
2748 wxPoint
*arg1
= (wxPoint
*) 0 ;
2752 PyObject
* obj0
= 0 ;
2753 PyObject
* obj1
= 0 ;
2755 (char *) "self",(char *) "pt", NULL
2758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2762 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2768 result
= (wxPoint
*) &_result_ref
;
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) SWIG_fail
;
2774 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2781 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
*resultobj
;
2783 wxPoint
*arg1
= (wxPoint
*) 0 ;
2787 PyObject
* obj0
= 0 ;
2788 PyObject
* obj1
= 0 ;
2790 (char *) "self",(char *) "pt", NULL
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2797 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2802 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2803 result
= (wxPoint
*) &_result_ref
;
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2809 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2816 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
*resultobj
;
2818 wxPoint
*arg1
= (wxPoint
*) 0 ;
2821 PyObject
* obj0
= 0 ;
2822 PyObject
* obj1
= 0 ;
2823 PyObject
* obj2
= 0 ;
2825 (char *) "self",(char *) "x",(char *) "y", NULL
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2831 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2835 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
2836 if (PyErr_Occurred()) SWIG_fail
;
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2840 wxPoint_Set(arg1
,arg2
,arg3
);
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2845 Py_INCREF(Py_None
); resultobj
= Py_None
;
2852 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
*resultobj
;
2854 wxPoint
*arg1
= (wxPoint
*) 0 ;
2856 PyObject
* obj0
= 0 ;
2858 (char *) "self", NULL
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
2862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 result
= (PyObject
*)wxPoint_Get(arg1
);
2867 wxPyEndAllowThreads(__tstate
);
2868 if (PyErr_Occurred()) SWIG_fail
;
2877 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2880 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2882 return Py_BuildValue((char *)"");
2884 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
*resultobj
;
2886 int arg1
= (int) 0 ;
2887 int arg2
= (int) 0 ;
2888 int arg3
= (int) 0 ;
2889 int arg4
= (int) 0 ;
2891 PyObject
* obj0
= 0 ;
2892 PyObject
* obj1
= 0 ;
2893 PyObject
* obj2
= 0 ;
2894 PyObject
* obj3
= 0 ;
2896 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2902 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2908 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2914 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2920 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2931 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2938 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
*resultobj
;
2945 PyObject
* obj0
= 0 ;
2946 PyObject
* obj1
= 0 ;
2948 (char *) "topLeft",(char *) "bottomRight", NULL
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2954 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2967 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2974 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
;
2981 PyObject
* obj0
= 0 ;
2982 PyObject
* obj1
= 0 ;
2984 (char *) "pos",(char *) "size", NULL
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2990 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2994 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3003 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
3010 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
*resultobj
;
3012 wxRect
*arg1
= (wxRect
*) 0 ;
3013 PyObject
* obj0
= 0 ;
3015 (char *) "self", NULL
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3027 Py_INCREF(Py_None
); resultobj
= Py_None
;
3034 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
*resultobj
;
3036 wxRect
*arg1
= (wxRect
*) 0 ;
3038 PyObject
* obj0
= 0 ;
3040 (char *) "self", NULL
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 result
= (int)((wxRect
const *)arg1
)->GetX();
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3052 resultobj
= SWIG_PyObj_FromInt((int)result
);
3059 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
*resultobj
;
3061 wxRect
*arg1
= (wxRect
*) 0 ;
3063 PyObject
* obj0
= 0 ;
3064 PyObject
* obj1
= 0 ;
3066 (char *) "self",(char *) "x", NULL
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3072 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3082 Py_INCREF(Py_None
); resultobj
= Py_None
;
3089 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
*resultobj
;
3091 wxRect
*arg1
= (wxRect
*) 0 ;
3093 PyObject
* obj0
= 0 ;
3095 (char *) "self", NULL
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 result
= (int)(arg1
)->GetY();
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) SWIG_fail
;
3107 resultobj
= SWIG_PyObj_FromInt((int)result
);
3114 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
*resultobj
;
3116 wxRect
*arg1
= (wxRect
*) 0 ;
3118 PyObject
* obj0
= 0 ;
3119 PyObject
* obj1
= 0 ;
3121 (char *) "self",(char *) "y", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3127 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3137 Py_INCREF(Py_None
); resultobj
= Py_None
;
3144 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
;
3146 wxRect
*arg1
= (wxRect
*) 0 ;
3148 PyObject
* obj0
= 0 ;
3150 (char *) "self", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) SWIG_fail
;
3162 resultobj
= SWIG_PyObj_FromInt((int)result
);
3169 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
*resultobj
;
3171 wxRect
*arg1
= (wxRect
*) 0 ;
3173 PyObject
* obj0
= 0 ;
3174 PyObject
* obj1
= 0 ;
3176 (char *) "self",(char *) "w", NULL
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3182 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 (arg1
)->SetWidth(arg2
);
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3192 Py_INCREF(Py_None
); resultobj
= Py_None
;
3199 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
;
3201 wxRect
*arg1
= (wxRect
*) 0 ;
3203 PyObject
* obj0
= 0 ;
3205 (char *) "self", NULL
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3217 resultobj
= SWIG_PyObj_FromInt((int)result
);
3224 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
*resultobj
;
3226 wxRect
*arg1
= (wxRect
*) 0 ;
3228 PyObject
* obj0
= 0 ;
3229 PyObject
* obj1
= 0 ;
3231 (char *) "self",(char *) "h", NULL
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3237 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3238 if (PyErr_Occurred()) SWIG_fail
;
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 (arg1
)->SetHeight(arg2
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 Py_INCREF(Py_None
); resultobj
= Py_None
;
3254 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxRect
*arg1
= (wxRect
*) 0 ;
3258 PyObject
* obj0
= 0 ;
3260 (char *) "self", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 result
= ((wxRect
const *)arg1
)->GetPosition();
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3273 wxPoint
* resultptr
;
3274 resultptr
= new wxPoint((wxPoint
&) result
);
3275 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3283 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxRect
*arg1
= (wxRect
*) 0 ;
3288 PyObject
* obj0
= 0 ;
3289 PyObject
* obj1
= 0 ;
3291 (char *) "self",(char *) "p", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3298 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3307 Py_INCREF(Py_None
); resultobj
= Py_None
;
3314 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
*resultobj
;
3316 wxRect
*arg1
= (wxRect
*) 0 ;
3318 PyObject
* obj0
= 0 ;
3320 (char *) "self", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3327 result
= ((wxRect
const *)arg1
)->GetSize();
3329 wxPyEndAllowThreads(__tstate
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3334 resultptr
= new wxSize((wxSize
&) result
);
3335 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3343 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxRect
*arg1
= (wxRect
*) 0 ;
3348 PyObject
* obj0
= 0 ;
3349 PyObject
* obj1
= 0 ;
3351 (char *) "self",(char *) "s", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3358 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3362 (arg1
)->SetSize((wxSize
const &)*arg2
);
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3367 Py_INCREF(Py_None
); resultobj
= Py_None
;
3374 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxRect
*arg1
= (wxRect
*) 0 ;
3378 PyObject
* obj0
= 0 ;
3380 (char *) "self", NULL
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3393 wxPoint
* resultptr
;
3394 resultptr
= new wxPoint((wxPoint
&) result
);
3395 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3403 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
*resultobj
;
3405 wxRect
*arg1
= (wxRect
*) 0 ;
3408 PyObject
* obj0
= 0 ;
3409 PyObject
* obj1
= 0 ;
3411 (char *) "self",(char *) "p", NULL
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3418 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3427 Py_INCREF(Py_None
); resultobj
= Py_None
;
3434 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
;
3436 wxRect
*arg1
= (wxRect
*) 0 ;
3438 PyObject
* obj0
= 0 ;
3440 (char *) "self", NULL
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3453 wxPoint
* resultptr
;
3454 resultptr
= new wxPoint((wxPoint
&) result
);
3455 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3463 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
*resultobj
;
3465 wxRect
*arg1
= (wxRect
*) 0 ;
3468 PyObject
* obj0
= 0 ;
3469 PyObject
* obj1
= 0 ;
3471 (char *) "self",(char *) "p", NULL
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3478 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3482 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3484 wxPyEndAllowThreads(__tstate
);
3485 if (PyErr_Occurred()) SWIG_fail
;
3487 Py_INCREF(Py_None
); resultobj
= Py_None
;
3494 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3495 PyObject
*resultobj
;
3496 wxRect
*arg1
= (wxRect
*) 0 ;
3498 PyObject
* obj0
= 0 ;
3500 (char *) "self", NULL
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3512 resultobj
= SWIG_PyObj_FromInt((int)result
);
3519 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxRect
*arg1
= (wxRect
*) 0 ;
3523 PyObject
* obj0
= 0 ;
3525 (char *) "self", NULL
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (int)((wxRect
const *)arg1
)->GetTop();
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3537 resultobj
= SWIG_PyObj_FromInt((int)result
);
3544 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
*resultobj
;
3546 wxRect
*arg1
= (wxRect
*) 0 ;
3548 PyObject
* obj0
= 0 ;
3550 (char *) "self", NULL
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3562 resultobj
= SWIG_PyObj_FromInt((int)result
);
3569 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
;
3571 wxRect
*arg1
= (wxRect
*) 0 ;
3573 PyObject
* obj0
= 0 ;
3575 (char *) "self", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 result
= (int)((wxRect
const *)arg1
)->GetRight();
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3587 resultobj
= SWIG_PyObj_FromInt((int)result
);
3594 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
*resultobj
;
3596 wxRect
*arg1
= (wxRect
*) 0 ;
3598 PyObject
* obj0
= 0 ;
3599 PyObject
* obj1
= 0 ;
3601 (char *) "self",(char *) "left", NULL
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3607 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 (arg1
)->SetLeft(arg2
);
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3617 Py_INCREF(Py_None
); resultobj
= Py_None
;
3624 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
;
3626 wxRect
*arg1
= (wxRect
*) 0 ;
3628 PyObject
* obj0
= 0 ;
3629 PyObject
* obj1
= 0 ;
3631 (char *) "self",(char *) "right", NULL
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3637 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3638 if (PyErr_Occurred()) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 (arg1
)->SetRight(arg2
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3647 Py_INCREF(Py_None
); resultobj
= Py_None
;
3654 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
*resultobj
;
3656 wxRect
*arg1
= (wxRect
*) 0 ;
3658 PyObject
* obj0
= 0 ;
3659 PyObject
* obj1
= 0 ;
3661 (char *) "self",(char *) "top", NULL
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
3665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3667 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 (arg1
)->SetTop(arg2
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3677 Py_INCREF(Py_None
); resultobj
= Py_None
;
3684 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
;
3686 wxRect
*arg1
= (wxRect
*) 0 ;
3688 PyObject
* obj0
= 0 ;
3689 PyObject
* obj1
= 0 ;
3691 (char *) "self",(char *) "bottom", NULL
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
3695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3697 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 (arg1
)->SetBottom(arg2
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3707 Py_INCREF(Py_None
); resultobj
= Py_None
;
3714 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
*resultobj
;
3716 wxRect
*arg1
= (wxRect
*) 0 ;
3720 PyObject
* obj0
= 0 ;
3721 PyObject
* obj1
= 0 ;
3722 PyObject
* obj2
= 0 ;
3724 (char *) "self",(char *) "dx",(char *) "dy", NULL
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3730 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3734 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3741 result
= (wxRect
*) &_result_ref
;
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3747 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3754 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
*resultobj
;
3756 wxRect
*arg1
= (wxRect
*) 0 ;
3760 PyObject
* obj0
= 0 ;
3761 PyObject
* obj1
= 0 ;
3762 PyObject
* obj2
= 0 ;
3764 (char *) "self",(char *) "dx",(char *) "dy", NULL
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3770 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3774 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3781 result
= (wxRect
*) &_result_ref
;
3784 wxPyEndAllowThreads(__tstate
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3787 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3794 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
*resultobj
;
3796 wxRect
*arg1
= (wxRect
*) 0 ;
3799 PyObject
* obj0
= 0 ;
3800 PyObject
* obj1
= 0 ;
3801 PyObject
* obj2
= 0 ;
3803 (char *) "self",(char *) "dx",(char *) "dy", NULL
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3809 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3810 if (PyErr_Occurred()) SWIG_fail
;
3813 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 (arg1
)->Offset(arg2
,arg3
);
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3823 Py_INCREF(Py_None
); resultobj
= Py_None
;
3830 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
*resultobj
;
3832 wxRect
*arg1
= (wxRect
*) 0 ;
3835 PyObject
* obj0
= 0 ;
3836 PyObject
* obj1
= 0 ;
3838 (char *) "self",(char *) "pt", NULL
3841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3845 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 (arg1
)->Offset((wxPoint
const &)*arg2
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 Py_INCREF(Py_None
); resultobj
= Py_None
;
3861 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
;
3863 wxRect
*arg1
= (wxRect
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3868 PyObject
* obj1
= 0 ;
3870 (char *) "self",(char *) "rect", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3877 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3883 result
= (wxRect
*) &_result_ref
;
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3896 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3898 wxRect
*arg1
= (wxRect
*) 0 ;
3902 PyObject
* obj0
= 0 ;
3903 PyObject
* obj1
= 0 ;
3905 (char *) "self",(char *) "rect", NULL
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3912 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3923 resultptr
= new wxRect((wxRect
&) result
);
3924 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3932 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
*resultobj
;
3934 wxRect
*arg1
= (wxRect
*) 0 ;
3938 PyObject
* obj0
= 0 ;
3939 PyObject
* obj1
= 0 ;
3941 (char *) "self",(char *) "rect", NULL
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3948 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3954 result
= (wxRect
*) &_result_ref
;
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3960 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3967 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
*resultobj
;
3969 wxRect
*arg1
= (wxRect
*) 0 ;
3973 PyObject
* obj0
= 0 ;
3974 PyObject
* obj1
= 0 ;
3976 (char *) "self",(char *) "rect", NULL
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3983 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3999 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxRect
*arg1
= (wxRect
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4006 PyObject
* obj1
= 0 ;
4008 (char *) "self",(char *) "rect", NULL
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4015 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4031 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
*resultobj
;
4033 wxRect
*arg1
= (wxRect
*) 0 ;
4037 PyObject
* obj0
= 0 ;
4038 PyObject
* obj1
= 0 ;
4039 PyObject
* obj2
= 0 ;
4041 (char *) "self",(char *) "x",(char *) "y", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4047 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4051 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4068 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
;
4070 wxRect
*arg1
= (wxRect
*) 0 ;
4074 PyObject
* obj0
= 0 ;
4075 PyObject
* obj1
= 0 ;
4077 (char *) "self",(char *) "pt", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4100 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4102 wxRect
*arg1
= (wxRect
*) 0 ;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4109 (char *) "self",(char *) "rect", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4116 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4132 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
;
4134 wxRect
*arg1
= (wxRect
*) 0 ;
4136 PyObject
* obj0
= 0 ;
4137 PyObject
* obj1
= 0 ;
4139 (char *) "self",(char *) "x", NULL
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4145 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 if (arg1
) (arg1
)->x
= arg2
;
4150 Py_INCREF(Py_None
); resultobj
= Py_None
;
4157 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxRect
*arg1
= (wxRect
*) 0 ;
4161 PyObject
* obj0
= 0 ;
4163 (char *) "self", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4168 result
= (int) ((arg1
)->x
);
4170 resultobj
= SWIG_PyObj_FromInt((int)result
);
4177 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4179 wxRect
*arg1
= (wxRect
*) 0 ;
4181 PyObject
* obj0
= 0 ;
4182 PyObject
* obj1
= 0 ;
4184 (char *) "self",(char *) "y", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4190 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 if (arg1
) (arg1
)->y
= arg2
;
4195 Py_INCREF(Py_None
); resultobj
= Py_None
;
4202 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
;
4204 wxRect
*arg1
= (wxRect
*) 0 ;
4206 PyObject
* obj0
= 0 ;
4208 (char *) "self", NULL
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4213 result
= (int) ((arg1
)->y
);
4215 resultobj
= SWIG_PyObj_FromInt((int)result
);
4222 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
;
4224 wxRect
*arg1
= (wxRect
*) 0 ;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4229 (char *) "self",(char *) "width", NULL
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4235 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 if (arg1
) (arg1
)->width
= arg2
;
4240 Py_INCREF(Py_None
); resultobj
= Py_None
;
4247 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
;
4249 wxRect
*arg1
= (wxRect
*) 0 ;
4251 PyObject
* obj0
= 0 ;
4253 (char *) "self", NULL
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4258 result
= (int) ((arg1
)->width
);
4260 resultobj
= SWIG_PyObj_FromInt((int)result
);
4267 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
;
4269 wxRect
*arg1
= (wxRect
*) 0 ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4274 (char *) "self",(char *) "height", NULL
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4280 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 if (arg1
) (arg1
)->height
= arg2
;
4285 Py_INCREF(Py_None
); resultobj
= Py_None
;
4292 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
*resultobj
;
4294 wxRect
*arg1
= (wxRect
*) 0 ;
4296 PyObject
* obj0
= 0 ;
4298 (char *) "self", NULL
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4303 result
= (int) ((arg1
)->height
);
4305 resultobj
= SWIG_PyObj_FromInt((int)result
);
4312 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4314 wxRect
*arg1
= (wxRect
*) 0 ;
4315 int arg2
= (int) 0 ;
4316 int arg3
= (int) 0 ;
4317 int arg4
= (int) 0 ;
4318 int arg5
= (int) 0 ;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj1
= 0 ;
4321 PyObject
* obj2
= 0 ;
4322 PyObject
* obj3
= 0 ;
4323 PyObject
* obj4
= 0 ;
4325 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4332 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4338 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4344 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4350 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4361 Py_INCREF(Py_None
); resultobj
= Py_None
;
4368 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
;
4370 wxRect
*arg1
= (wxRect
*) 0 ;
4372 PyObject
* obj0
= 0 ;
4374 (char *) "self", NULL
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 result
= (PyObject
*)wxRect_Get(arg1
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4393 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4396 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4398 return Py_BuildValue((char *)"");
4400 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
;
4402 wxRect
*arg1
= (wxRect
*) 0 ;
4403 wxRect
*arg2
= (wxRect
*) 0 ;
4405 PyObject
* obj0
= 0 ;
4406 PyObject
* obj1
= 0 ;
4408 (char *) "r1",(char *) "r2", NULL
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4413 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4428 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 double arg1
= (double) 0.0 ;
4431 double arg2
= (double) 0.0 ;
4433 PyObject
* obj0
= 0 ;
4434 PyObject
* obj1
= 0 ;
4436 (char *) "x",(char *) "y", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4442 arg1
= (double) SWIG_PyObj_AsDouble(obj0
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4448 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4466 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
*resultobj
;
4468 wxPoint2D
*arg1
= 0 ;
4471 PyObject
* obj0
= 0 ;
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4479 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4495 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
;
4500 PyObject
* obj0
= 0 ;
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4508 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4524 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
;
4526 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4527 int *arg2
= (int *) 0 ;
4528 int *arg3
= (int *) 0 ;
4531 PyObject
* obj0
= 0 ;
4533 (char *) "self", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 Py_INCREF(Py_None
); resultobj
= Py_None
;
4549 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4550 resultobj
= t_output_helper(resultobj
,o
);
4553 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4554 resultobj
= t_output_helper(resultobj
,o
);
4562 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
;
4564 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4565 int *arg2
= (int *) 0 ;
4566 int *arg3
= (int *) 0 ;
4569 PyObject
* obj0
= 0 ;
4571 (char *) "self", NULL
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4580 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4585 Py_INCREF(Py_None
); resultobj
= Py_None
;
4587 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4588 resultobj
= t_output_helper(resultobj
,o
);
4591 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4592 resultobj
= t_output_helper(resultobj
,o
);
4600 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4604 PyObject
* obj0
= 0 ;
4606 (char *) "self", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4618 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4625 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4629 PyObject
* obj0
= 0 ;
4631 (char *) "self", NULL
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4643 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4650 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
*resultobj
;
4652 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4654 PyObject
* obj0
= 0 ;
4655 PyObject
* obj1
= 0 ;
4657 (char *) "self",(char *) "length", NULL
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
4661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4663 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4668 (arg1
)->SetVectorLength(arg2
);
4670 wxPyEndAllowThreads(__tstate
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4673 Py_INCREF(Py_None
); resultobj
= Py_None
;
4680 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
*resultobj
;
4682 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4684 PyObject
* obj0
= 0 ;
4685 PyObject
* obj1
= 0 ;
4687 (char *) "self",(char *) "degrees", NULL
4690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
4691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4693 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 (arg1
)->SetVectorAngle(arg2
);
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4703 Py_INCREF(Py_None
); resultobj
= Py_None
;
4710 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
;
4712 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4713 wxPoint2D
*arg2
= 0 ;
4716 PyObject
* obj0
= 0 ;
4717 PyObject
* obj1
= 0 ;
4719 (char *) "self",(char *) "pt", NULL
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4726 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4742 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4745 wxPoint2D
*arg2
= 0 ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4751 (char *) "self",(char *) "pt", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4758 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4774 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4777 wxPoint2D
*arg2
= 0 ;
4780 PyObject
* obj0
= 0 ;
4781 PyObject
* obj1
= 0 ;
4783 (char *) "self",(char *) "vec", NULL
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4790 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4799 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4806 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
*resultobj
;
4808 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4809 wxPoint2D
*arg2
= 0 ;
4812 PyObject
* obj0
= 0 ;
4813 PyObject
* obj1
= 0 ;
4815 (char *) "self",(char *) "vec", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4822 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4831 resultobj
= SWIG_PyObj_FromDouble((double)result
);
4838 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
*resultobj
;
4840 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4842 PyObject
* obj0
= 0 ;
4844 (char *) "self", NULL
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 result
= (arg1
)->operator -();
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4857 wxPoint2D
* resultptr
;
4858 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4859 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4867 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
*resultobj
;
4869 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4870 wxPoint2D
*arg2
= 0 ;
4873 PyObject
* obj0
= 0 ;
4874 PyObject
* obj1
= 0 ;
4876 (char *) "self",(char *) "pt", NULL
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4883 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4889 result
= (wxPoint2D
*) &_result_ref
;
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4902 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4905 wxPoint2D
*arg2
= 0 ;
4908 PyObject
* obj0
= 0 ;
4909 PyObject
* obj1
= 0 ;
4911 (char *) "self",(char *) "pt", NULL
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4918 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4924 result
= (wxPoint2D
*) &_result_ref
;
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4937 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
;
4939 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4940 wxPoint2D
*arg2
= 0 ;
4943 PyObject
* obj0
= 0 ;
4944 PyObject
* obj1
= 0 ;
4946 (char *) "self",(char *) "pt", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4953 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4959 result
= (wxPoint2D
*) &_result_ref
;
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4965 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4972 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
*resultobj
;
4974 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4975 wxPoint2D
*arg2
= 0 ;
4978 PyObject
* obj0
= 0 ;
4979 PyObject
* obj1
= 0 ;
4981 (char *) "self",(char *) "pt", NULL
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4988 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4994 result
= (wxPoint2D
*) &_result_ref
;
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
5007 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
*resultobj
;
5009 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5010 wxPoint2D
*arg2
= 0 ;
5013 PyObject
* obj0
= 0 ;
5014 PyObject
* obj1
= 0 ;
5016 (char *) "self",(char *) "pt", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5023 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5039 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5042 wxPoint2D
*arg2
= 0 ;
5045 PyObject
* obj0
= 0 ;
5046 PyObject
* obj1
= 0 ;
5048 (char *) "self",(char *) "pt", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5055 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5064 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5071 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5073 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5075 PyObject
* obj0
= 0 ;
5076 PyObject
* obj1
= 0 ;
5078 (char *) "self",(char *) "m_x", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5084 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 if (arg1
) (arg1
)->m_x
= arg2
;
5089 Py_INCREF(Py_None
); resultobj
= Py_None
;
5096 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5100 PyObject
* obj0
= 0 ;
5102 (char *) "self", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5107 result
= (double) ((arg1
)->m_x
);
5109 resultobj
= SWIG_PyObj_FromDouble((double)result
);
5116 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
*resultobj
;
5118 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5120 PyObject
* obj0
= 0 ;
5121 PyObject
* obj1
= 0 ;
5123 (char *) "self",(char *) "m_y", NULL
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5129 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5132 if (arg1
) (arg1
)->m_y
= arg2
;
5134 Py_INCREF(Py_None
); resultobj
= Py_None
;
5141 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5145 PyObject
* obj0
= 0 ;
5147 (char *) "self", NULL
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5152 result
= (double) ((arg1
)->m_y
);
5154 resultobj
= SWIG_PyObj_FromDouble((double)result
);
5161 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
;
5163 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5164 double arg2
= (double) 0 ;
5165 double arg3
= (double) 0 ;
5166 PyObject
* obj0
= 0 ;
5167 PyObject
* obj1
= 0 ;
5168 PyObject
* obj2
= 0 ;
5170 (char *) "self",(char *) "x",(char *) "y", NULL
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5177 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5183 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 wxPoint2D_Set(arg1
,arg2
,arg3
);
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5194 Py_INCREF(Py_None
); resultobj
= Py_None
;
5201 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
;
5203 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5205 PyObject
* obj0
= 0 ;
5207 (char *) "self", NULL
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5226 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5229 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5231 return Py_BuildValue((char *)"");
5233 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5234 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5239 static PyObject
*_wrap_DefaultPosition_get() {
5242 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
5247 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5248 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5253 static PyObject
*_wrap_DefaultSize_get() {
5256 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
5261 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
;
5263 PyObject
*arg1
= (PyObject
*) 0 ;
5264 wxPyInputStream
*result
;
5265 PyObject
* obj0
= 0 ;
5270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
5286 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
;
5288 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5289 PyObject
* obj0
= 0 ;
5291 (char *) "self", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5303 Py_INCREF(Py_None
); resultobj
= Py_None
;
5310 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5313 PyObject
* obj0
= 0 ;
5315 (char *) "self", NULL
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 Py_INCREF(Py_None
); resultobj
= Py_None
;
5334 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
;
5336 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5338 PyObject
* obj0
= 0 ;
5340 (char *) "self", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= (bool)(arg1
)->eof();
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5359 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
;
5361 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5362 int arg2
= (int) -1 ;
5364 PyObject
* obj0
= 0 ;
5365 PyObject
* obj1
= 0 ;
5367 (char *) "self",(char *) "size", NULL
5370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5374 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 result
= (PyObject
*)(arg1
)->read(arg2
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5392 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
;
5394 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5395 int arg2
= (int) -1 ;
5397 PyObject
* obj0
= 0 ;
5398 PyObject
* obj1
= 0 ;
5400 (char *) "self",(char *) "size", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5407 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= (PyObject
*)(arg1
)->readline(arg2
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5425 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
;
5427 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5428 int arg2
= (int) -1 ;
5430 PyObject
* obj0
= 0 ;
5431 PyObject
* obj1
= 0 ;
5433 (char *) "self",(char *) "sizehint", NULL
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5440 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5458 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
;
5460 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5462 int arg3
= (int) 0 ;
5463 PyObject
* obj0
= 0 ;
5464 PyObject
* obj1
= 0 ;
5465 PyObject
* obj2
= 0 ;
5467 (char *) "self",(char *) "offset",(char *) "whence", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5473 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5478 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 (arg1
)->seek(arg2
,arg3
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 Py_INCREF(Py_None
); resultobj
= Py_None
;
5496 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5500 PyObject
* obj0
= 0 ;
5502 (char *) "self", NULL
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 result
= (int)(arg1
)->tell();
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 resultobj
= SWIG_PyObj_FromInt((int)result
);
5521 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
;
5523 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5525 PyObject
* obj0
= 0 ;
5527 (char *) "self", NULL
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 result
= (char)(arg1
)->Peek();
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5539 resultobj
= SWIG_PyObj_FromChar((char)result
);
5546 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5550 PyObject
* obj0
= 0 ;
5552 (char *) "self", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (char)(arg1
)->GetC();
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_PyObj_FromChar((char)result
);
5571 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5573 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5575 PyObject
* obj0
= 0 ;
5577 (char *) "self", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 result
= (size_t)(arg1
)->LastRead();
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5589 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
5596 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5598 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5600 PyObject
* obj0
= 0 ;
5602 (char *) "self", NULL
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 result
= (bool)(arg1
)->CanRead();
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5614 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5621 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
*resultobj
;
5623 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5625 PyObject
* obj0
= 0 ;
5627 (char *) "self", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 result
= (bool)(arg1
)->Eof();
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5639 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5646 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
*resultobj
;
5648 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5651 PyObject
* obj0
= 0 ;
5652 PyObject
* obj1
= 0 ;
5654 (char *) "self",(char *) "c", NULL
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
5658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5660 arg2
= (char) SWIG_PyObj_AsChar(obj1
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 result
= (bool)(arg1
)->Ungetch(arg2
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5670 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5677 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5679 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5681 int arg3
= (int) wxFromStart
;
5683 PyObject
* obj0
= 0 ;
5684 PyObject
* obj1
= 0 ;
5685 PyObject
* obj2
= 0 ;
5687 (char *) "self",(char *) "pos",(char *) "mode", NULL
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5693 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5698 arg3
= (wxSeekMode
) SWIG_PyObj_AsInt(obj2
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5709 resultobj
= SWIG_PyObj_FromLong((long)result
);
5716 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
*resultobj
;
5718 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5720 PyObject
* obj0
= 0 ;
5722 (char *) "self", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 result
= (long)(arg1
)->TellI();
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 resultobj
= SWIG_PyObj_FromLong((long)result
);
5741 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5744 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5746 return Py_BuildValue((char *)"");
5748 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5751 PyObject
*arg2
= (PyObject
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5755 (char *) "self",(char *) "obj", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 wxOutputStream_write(arg1
,arg2
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 Py_INCREF(Py_None
); resultobj
= Py_None
;
5775 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5778 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5780 return Py_BuildValue((char *)"");
5782 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
;
5784 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5785 wxString
*arg2
= 0 ;
5786 wxString
*arg3
= 0 ;
5787 wxString
*arg4
= 0 ;
5790 wxPyInputStream
*temp1
;
5792 bool temp2
= False
;
5793 bool temp3
= False
;
5794 bool temp4
= False
;
5796 PyObject
* obj0
= 0 ;
5797 PyObject
* obj1
= 0 ;
5798 PyObject
* obj2
= 0 ;
5799 PyObject
* obj3
= 0 ;
5800 PyObject
* obj4
= 0 ;
5802 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5807 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5808 arg1
= temp1
->m_wxis
;
5811 PyErr_Clear(); // clear the failure of the wxPyConvert above
5812 arg1
= wxPyCBInputStream_create(obj0
, False
);
5814 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5821 arg2
= wxString_in_helper(obj1
);
5822 if (arg2
== NULL
) SWIG_fail
;
5826 arg3
= wxString_in_helper(obj2
);
5827 if (arg3
== NULL
) SWIG_fail
;
5831 arg4
= wxString_in_helper(obj3
);
5832 if (arg4
== NULL
) SWIG_fail
;
5835 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5845 resultobj
= wxPyMake_wxObject(result
);
5885 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
;
5887 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5890 (char *) "self", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 Py_INCREF(Py_None
); resultobj
= Py_None
;
5909 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
;
5911 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5912 wxInputStream
*result
;
5913 PyObject
* obj0
= 0 ;
5915 (char *) "self", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 result
= (wxInputStream
*)(arg1
)->GetStream();
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5928 wxPyInputStream
* _ptr
= NULL
;
5931 _ptr
= new wxPyInputStream(result
);
5933 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
5941 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5942 PyObject
*resultobj
;
5943 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5945 PyObject
* obj0
= 0 ;
5947 (char *) "self", NULL
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5956 result
= (wxString
*) &_result_ref
;
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5964 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5966 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5975 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5979 PyObject
* obj0
= 0 ;
5981 (char *) "self", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 wxString
const &_result_ref
= (arg1
)->GetLocation();
5990 result
= (wxString
*) &_result_ref
;
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6000 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6009 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6013 PyObject
* obj0
= 0 ;
6015 (char *) "self", NULL
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6024 result
= (wxString
*) &_result_ref
;
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6032 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6034 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6043 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6047 PyObject
* obj0
= 0 ;
6049 (char *) "self", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (arg1
)->GetModificationTime();
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6062 wxDateTime
* resultptr
;
6063 resultptr
= new wxDateTime((wxDateTime
&) result
);
6064 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
6072 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6075 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6077 return Py_BuildValue((char *)"");
6079 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6082 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6084 return Py_BuildValue((char *)"");
6086 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
*resultobj
;
6088 wxPyFileSystemHandler
*result
;
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6108 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
*resultobj
;
6110 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6111 PyObject
*arg2
= (PyObject
*) 0 ;
6112 PyObject
*arg3
= (PyObject
*) 0 ;
6113 PyObject
* obj0
= 0 ;
6114 PyObject
* obj1
= 0 ;
6115 PyObject
* obj2
= 0 ;
6117 (char *) "self",(char *) "self",(char *) "_class", NULL
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6131 Py_INCREF(Py_None
); resultobj
= Py_None
;
6138 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
;
6140 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6141 wxString
*arg2
= 0 ;
6143 bool temp2
= False
;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6147 (char *) "self",(char *) "location", NULL
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6153 arg2
= wxString_in_helper(obj1
);
6154 if (arg2
== NULL
) SWIG_fail
;
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6164 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6179 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
;
6181 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6182 wxFileSystem
*arg2
= 0 ;
6183 wxString
*arg3
= 0 ;
6185 bool temp3
= False
;
6186 PyObject
* obj0
= 0 ;
6187 PyObject
* obj1
= 0 ;
6188 PyObject
* obj2
= 0 ;
6190 (char *) "self",(char *) "fs",(char *) "location", NULL
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6195 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6197 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6200 arg3
= wxString_in_helper(obj2
);
6201 if (arg3
== NULL
) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= wxPyMake_wxObject(result
);
6228 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
;
6230 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6231 wxString
*arg2
= 0 ;
6232 int arg3
= (int) 0 ;
6234 bool temp2
= False
;
6235 PyObject
* obj0
= 0 ;
6236 PyObject
* obj1
= 0 ;
6237 PyObject
* obj2
= 0 ;
6239 (char *) "self",(char *) "spec",(char *) "flags", NULL
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6245 arg2
= wxString_in_helper(obj1
);
6246 if (arg2
== NULL
) SWIG_fail
;
6251 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6283 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6289 (char *) "self", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 result
= (arg1
)->FindNext();
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6314 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6316 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6317 wxString
*arg2
= 0 ;
6319 bool temp2
= False
;
6320 PyObject
* obj0
= 0 ;
6321 PyObject
* obj1
= 0 ;
6323 (char *) "self",(char *) "location", NULL
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6329 arg2
= wxString_in_helper(obj1
);
6330 if (arg2
== NULL
) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6361 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6364 wxString
*arg2
= 0 ;
6366 bool temp2
= False
;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6370 (char *) "self",(char *) "location", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6376 arg2
= wxString_in_helper(obj1
);
6377 if (arg2
== NULL
) SWIG_fail
;
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6408 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6411 wxString
*arg2
= 0 ;
6413 bool temp2
= False
;
6414 PyObject
* obj0
= 0 ;
6415 PyObject
* obj1
= 0 ;
6417 (char *) "self",(char *) "location", NULL
6420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6423 arg2
= wxString_in_helper(obj1
);
6424 if (arg2
== NULL
) SWIG_fail
;
6428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6431 wxPyEndAllowThreads(__tstate
);
6432 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6455 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6458 wxString
*arg2
= 0 ;
6460 bool temp2
= False
;
6461 PyObject
* obj0
= 0 ;
6462 PyObject
* obj1
= 0 ;
6464 (char *) "self",(char *) "location", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6470 arg2
= wxString_in_helper(obj1
);
6471 if (arg2
== NULL
) SWIG_fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6502 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6505 wxString
*arg2
= 0 ;
6507 bool temp2
= False
;
6508 PyObject
* obj0
= 0 ;
6509 PyObject
* obj1
= 0 ;
6511 (char *) "self",(char *) "location", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6517 arg2
= wxString_in_helper(obj1
);
6518 if (arg2
== NULL
) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6549 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6552 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6554 return Py_BuildValue((char *)"");
6556 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxFileSystem
*result
;
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6566 result
= (wxFileSystem
*)new wxFileSystem();
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= wxPyMake_wxObject(result
);
6580 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
*resultobj
;
6582 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6583 PyObject
* obj0
= 0 ;
6585 (char *) "self", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 Py_INCREF(Py_None
); resultobj
= Py_None
;
6604 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
;
6606 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6607 wxString
*arg2
= 0 ;
6608 bool arg3
= (bool) False
;
6609 bool temp2
= False
;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6612 PyObject
* obj2
= 0 ;
6614 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6620 arg2
= wxString_in_helper(obj1
);
6621 if (arg2
== NULL
) SWIG_fail
;
6626 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6637 Py_INCREF(Py_None
); resultobj
= Py_None
;
6652 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
*resultobj
;
6654 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6656 PyObject
* obj0
= 0 ;
6658 (char *) "self", NULL
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (arg1
)->GetPath();
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6683 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
;
6685 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6686 wxString
*arg2
= 0 ;
6688 bool temp2
= False
;
6689 PyObject
* obj0
= 0 ;
6690 PyObject
* obj1
= 0 ;
6692 (char *) "self",(char *) "location", NULL
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6698 arg2
= wxString_in_helper(obj1
);
6699 if (arg2
== NULL
) SWIG_fail
;
6703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6704 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= wxPyMake_wxObject(result
);
6726 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
;
6728 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6729 wxString
*arg2
= 0 ;
6730 int arg3
= (int) 0 ;
6732 bool temp2
= False
;
6733 PyObject
* obj0
= 0 ;
6734 PyObject
* obj1
= 0 ;
6735 PyObject
* obj2
= 0 ;
6737 (char *) "self",(char *) "spec",(char *) "flags", NULL
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6743 arg2
= wxString_in_helper(obj1
);
6744 if (arg2
== NULL
) SWIG_fail
;
6749 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6755 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6781 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
;
6783 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6785 PyObject
* obj0
= 0 ;
6787 (char *) "self", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 result
= (arg1
)->FindNext();
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6812 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6815 PyObject
* obj0
= 0 ;
6817 (char *) "handler", NULL
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 wxFileSystem::AddHandler(arg1
);
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6829 Py_INCREF(Py_None
); resultobj
= Py_None
;
6836 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
*resultobj
;
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 wxFileSystem::CleanUpHandlers();
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 Py_INCREF(Py_None
); resultobj
= Py_None
;
6857 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxString
*arg1
= 0 ;
6861 bool temp1
= False
;
6862 PyObject
* obj0
= 0 ;
6864 (char *) "filename", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6869 arg1
= wxString_in_helper(obj0
);
6870 if (arg1
== NULL
) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6901 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6904 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6906 return Py_BuildValue((char *)"");
6908 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxString
*arg1
= 0 ;
6912 bool temp1
= False
;
6913 PyObject
* obj0
= 0 ;
6915 (char *) "url", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6920 arg1
= wxString_in_helper(obj0
);
6921 if (arg1
== NULL
) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6952 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
;
6954 wxInternetFSHandler
*result
;
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6974 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
;
6976 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6977 wxString
*arg2
= 0 ;
6979 bool temp2
= False
;
6980 PyObject
* obj0
= 0 ;
6981 PyObject
* obj1
= 0 ;
6983 (char *) "self",(char *) "location", NULL
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6989 arg2
= wxString_in_helper(obj1
);
6990 if (arg2
== NULL
) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7000 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7015 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
;
7017 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7018 wxFileSystem
*arg2
= 0 ;
7019 wxString
*arg3
= 0 ;
7021 bool temp3
= False
;
7022 PyObject
* obj0
= 0 ;
7023 PyObject
* obj1
= 0 ;
7024 PyObject
* obj2
= 0 ;
7026 (char *) "self",(char *) "fs",(char *) "location", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7031 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7033 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7036 arg3
= wxString_in_helper(obj2
);
7037 if (arg3
== NULL
) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= wxPyMake_wxObject(result
);
7064 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7067 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7069 return Py_BuildValue((char *)"");
7071 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
*resultobj
;
7073 wxZipFSHandler
*result
;
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7086 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
7093 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7096 wxString
*arg2
= 0 ;
7098 bool temp2
= False
;
7099 PyObject
* obj0
= 0 ;
7100 PyObject
* obj1
= 0 ;
7102 (char *) "self",(char *) "location", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7108 arg2
= wxString_in_helper(obj1
);
7109 if (arg2
== NULL
) SWIG_fail
;
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7134 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
;
7136 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7137 wxFileSystem
*arg2
= 0 ;
7138 wxString
*arg3
= 0 ;
7140 bool temp3
= False
;
7141 PyObject
* obj0
= 0 ;
7142 PyObject
* obj1
= 0 ;
7143 PyObject
* obj2
= 0 ;
7145 (char *) "self",(char *) "fs",(char *) "location", NULL
7148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7150 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7152 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7155 arg3
= wxString_in_helper(obj2
);
7156 if (arg3
== NULL
) SWIG_fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= wxPyMake_wxObject(result
);
7183 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7186 wxString
*arg2
= 0 ;
7187 int arg3
= (int) 0 ;
7189 bool temp2
= False
;
7190 PyObject
* obj0
= 0 ;
7191 PyObject
* obj1
= 0 ;
7192 PyObject
* obj2
= 0 ;
7194 (char *) "self",(char *) "spec",(char *) "flags", NULL
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7200 arg2
= wxString_in_helper(obj1
);
7201 if (arg2
== NULL
) SWIG_fail
;
7206 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7238 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
*resultobj
;
7240 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7242 PyObject
* obj0
= 0 ;
7244 (char *) "self", NULL
7247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 result
= (arg1
)->FindNext();
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7269 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7272 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7274 return Py_BuildValue((char *)"");
7276 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxString
*arg1
= 0 ;
7281 bool temp1
= False
;
7282 PyObject
* obj0
= 0 ;
7283 PyObject
* obj1
= 0 ;
7284 PyObject
* obj2
= 0 ;
7286 (char *) "filename",(char *) "image",(char *) "type", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7291 arg1
= wxString_in_helper(obj0
);
7292 if (arg1
== NULL
) SWIG_fail
;
7295 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7297 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7300 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 Py_INCREF(Py_None
); resultobj
= Py_None
;
7325 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
;
7327 wxString
*arg1
= 0 ;
7328 wxBitmap
*arg2
= 0 ;
7330 bool temp1
= False
;
7331 PyObject
* obj0
= 0 ;
7332 PyObject
* obj1
= 0 ;
7333 PyObject
* obj2
= 0 ;
7335 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7340 arg1
= wxString_in_helper(obj0
);
7341 if (arg1
== NULL
) SWIG_fail
;
7344 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7346 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7349 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 Py_INCREF(Py_None
); resultobj
= Py_None
;
7374 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxString
*arg1
= 0 ;
7377 PyObject
*arg2
= (PyObject
*) 0 ;
7378 bool temp1
= False
;
7379 PyObject
* obj0
= 0 ;
7380 PyObject
* obj1
= 0 ;
7382 (char *) "filename",(char *) "data", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7387 arg1
= wxString_in_helper(obj0
);
7388 if (arg1
== NULL
) SWIG_fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7399 Py_INCREF(Py_None
); resultobj
= Py_None
;
7414 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
;
7416 wxMemoryFSHandler
*result
;
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7429 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
7436 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
*resultobj
;
7438 wxString
*arg1
= 0 ;
7439 bool temp1
= False
;
7440 PyObject
* obj0
= 0 ;
7442 (char *) "filename", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7447 arg1
= wxString_in_helper(obj0
);
7448 if (arg1
== NULL
) SWIG_fail
;
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 Py_INCREF(Py_None
); resultobj
= Py_None
;
7473 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
;
7475 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7476 wxString
*arg2
= 0 ;
7478 bool temp2
= False
;
7479 PyObject
* obj0
= 0 ;
7480 PyObject
* obj1
= 0 ;
7482 (char *) "self",(char *) "location", NULL
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7488 arg2
= wxString_in_helper(obj1
);
7489 if (arg2
== NULL
) SWIG_fail
;
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7514 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7517 wxFileSystem
*arg2
= 0 ;
7518 wxString
*arg3
= 0 ;
7520 bool temp3
= False
;
7521 PyObject
* obj0
= 0 ;
7522 PyObject
* obj1
= 0 ;
7523 PyObject
* obj2
= 0 ;
7525 (char *) "self",(char *) "fs",(char *) "location", NULL
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7530 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7532 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7535 arg3
= wxString_in_helper(obj2
);
7536 if (arg3
== NULL
) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7547 resultobj
= wxPyMake_wxObject(result
);
7563 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
;
7565 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7566 wxString
*arg2
= 0 ;
7567 int arg3
= (int) 0 ;
7569 bool temp2
= False
;
7570 PyObject
* obj0
= 0 ;
7571 PyObject
* obj1
= 0 ;
7572 PyObject
* obj2
= 0 ;
7574 (char *) "self",(char *) "spec",(char *) "flags", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7580 arg2
= wxString_in_helper(obj1
);
7581 if (arg2
== NULL
) SWIG_fail
;
7586 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7587 if (PyErr_Occurred()) SWIG_fail
;
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7618 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7624 (char *) "self", NULL
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (arg1
)->FindNext();
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7649 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7652 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7654 return Py_BuildValue((char *)"");
7656 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7660 PyObject
* obj0
= 0 ;
7662 (char *) "self", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
7666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 result
= (arg1
)->GetName();
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7687 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7693 (char *) "self", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
7697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (arg1
)->GetExtension();
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7718 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7722 PyObject
* obj0
= 0 ;
7724 (char *) "self", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
7728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (long)(arg1
)->GetType();
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= SWIG_PyObj_FromLong((long)result
);
7743 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7747 PyObject
* obj0
= 0 ;
7749 (char *) "self", NULL
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7756 result
= (arg1
)->GetMimeType();
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7774 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
*resultobj
;
7776 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7777 wxString
*arg2
= 0 ;
7779 bool temp2
= False
;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj1
= 0 ;
7783 (char *) "self",(char *) "name", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7789 arg2
= wxString_in_helper(obj1
);
7790 if (arg2
== NULL
) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7815 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7818 wxString
*arg2
= 0 ;
7819 bool temp2
= False
;
7820 PyObject
* obj0
= 0 ;
7821 PyObject
* obj1
= 0 ;
7823 (char *) "self",(char *) "name", NULL
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7829 arg2
= wxString_in_helper(obj1
);
7830 if (arg2
== NULL
) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 (arg1
)->SetName((wxString
const &)*arg2
);
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 Py_INCREF(Py_None
); resultobj
= Py_None
;
7855 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
;
7857 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7858 wxString
*arg2
= 0 ;
7859 bool temp2
= False
;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7863 (char *) "self",(char *) "extension", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7869 arg2
= wxString_in_helper(obj1
);
7870 if (arg2
== NULL
) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 (arg1
)->SetExtension((wxString
const &)*arg2
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 Py_INCREF(Py_None
); resultobj
= Py_None
;
7895 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7899 PyObject
* obj0
= 0 ;
7900 PyObject
* obj1
= 0 ;
7902 (char *) "self",(char *) "type", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
7906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7908 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 (arg1
)->SetType(arg2
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 Py_INCREF(Py_None
); resultobj
= Py_None
;
7925 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
;
7927 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7928 wxString
*arg2
= 0 ;
7929 bool temp2
= False
;
7930 PyObject
* obj0
= 0 ;
7931 PyObject
* obj1
= 0 ;
7933 (char *) "self",(char *) "mimetype", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7939 arg2
= wxString_in_helper(obj1
);
7940 if (arg2
== NULL
) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 Py_INCREF(Py_None
); resultobj
= Py_None
;
7965 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7968 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7970 return Py_BuildValue((char *)"");
7972 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
;
7974 wxImageHistogram
*result
;
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 result
= (wxImageHistogram
*)new wxImageHistogram();
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7994 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 unsigned char arg1
;
7997 unsigned char arg2
;
7998 unsigned char arg3
;
7999 unsigned long result
;
8000 PyObject
* obj0
= 0 ;
8001 PyObject
* obj1
= 0 ;
8002 PyObject
* obj2
= 0 ;
8004 (char *) "r",(char *) "g",(char *) "b", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8009 arg1
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj0
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8013 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8017 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
8034 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
;
8036 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8037 unsigned char *arg2
= (unsigned char *) 0 ;
8038 unsigned char *arg3
= (unsigned char *) 0 ;
8039 unsigned char *arg4
= (unsigned char *) 0 ;
8040 unsigned char arg5
= (unsigned char) 1 ;
8041 unsigned char arg6
= (unsigned char) 0 ;
8042 unsigned char arg7
= (unsigned char) 0 ;
8044 unsigned char temp2
;
8045 unsigned char temp3
;
8046 unsigned char temp4
;
8047 PyObject
* obj0
= 0 ;
8048 PyObject
* obj1
= 0 ;
8049 PyObject
* obj2
= 0 ;
8050 PyObject
* obj3
= 0 ;
8052 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8062 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8068 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8074 arg7
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8085 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8087 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8088 resultobj
= t_output_helper(resultobj
,o
);
8091 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8092 resultobj
= t_output_helper(resultobj
,o
);
8095 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8096 resultobj
= t_output_helper(resultobj
,o
);
8104 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8107 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8109 return Py_BuildValue((char *)"");
8111 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
;
8113 wxString
*arg1
= 0 ;
8114 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8115 int arg3
= (int) -1 ;
8117 bool temp1
= False
;
8118 PyObject
* obj0
= 0 ;
8119 PyObject
* obj1
= 0 ;
8120 PyObject
* obj2
= 0 ;
8122 (char *) "name",(char *) "type",(char *) "index", NULL
8125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8127 arg1
= wxString_in_helper(obj0
);
8128 if (arg1
== NULL
) SWIG_fail
;
8133 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8139 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8165 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
;
8167 wxImage
*arg1
= (wxImage
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8170 (char *) "self", NULL
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8182 Py_INCREF(Py_None
); resultobj
= Py_None
;
8189 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
;
8191 wxString
*arg1
= 0 ;
8192 wxString
*arg2
= 0 ;
8193 int arg3
= (int) -1 ;
8195 bool temp1
= False
;
8196 bool temp2
= False
;
8197 PyObject
* obj0
= 0 ;
8198 PyObject
* obj1
= 0 ;
8199 PyObject
* obj2
= 0 ;
8201 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8206 arg1
= wxString_in_helper(obj0
);
8207 if (arg1
== NULL
) SWIG_fail
;
8211 arg2
= wxString_in_helper(obj1
);
8212 if (arg2
== NULL
) SWIG_fail
;
8217 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8228 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8251 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
;
8253 wxInputStream
*arg1
= 0 ;
8254 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8255 int arg3
= (int) -1 ;
8257 wxPyInputStream
*temp1
;
8259 PyObject
* obj0
= 0 ;
8260 PyObject
* obj1
= 0 ;
8261 PyObject
* obj2
= 0 ;
8263 (char *) "stream",(char *) "type",(char *) "index", NULL
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8268 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8269 arg1
= temp1
->m_wxis
;
8272 PyErr_Clear(); // clear the failure of the wxPyConvert above
8273 arg1
= wxPyCBInputStream_create(obj0
, False
);
8275 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8283 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8289 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8300 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8315 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxInputStream
*arg1
= 0 ;
8318 wxString
*arg2
= 0 ;
8319 int arg3
= (int) -1 ;
8321 wxPyInputStream
*temp1
;
8323 bool temp2
= False
;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj1
= 0 ;
8326 PyObject
* obj2
= 0 ;
8328 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8333 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8334 arg1
= temp1
->m_wxis
;
8337 PyErr_Clear(); // clear the failure of the wxPyConvert above
8338 arg1
= wxPyCBInputStream_create(obj0
, False
);
8340 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8347 arg2
= wxString_in_helper(obj1
);
8348 if (arg2
== NULL
) SWIG_fail
;
8353 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8359 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8361 wxPyEndAllowThreads(__tstate
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8364 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8387 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
*resultobj
;
8389 int arg1
= (int) 0 ;
8390 int arg2
= (int) 0 ;
8391 bool arg3
= (bool) True
;
8393 PyObject
* obj0
= 0 ;
8394 PyObject
* obj1
= 0 ;
8395 PyObject
* obj2
= 0 ;
8397 (char *) "width",(char *) "height",(char *) "clear", NULL
8400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8403 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8409 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8415 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8433 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxBitmap
*arg1
= 0 ;
8437 PyObject
* obj0
= 0 ;
8439 (char *) "bitmap", NULL
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8445 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8461 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8462 PyObject
*resultobj
;
8465 unsigned char *arg3
= (unsigned char *) 0 ;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8469 PyObject
* obj2
= 0 ;
8471 (char *) "width",(char *) "height",(char *) "data", NULL
8474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8476 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8480 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
8498 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
;
8500 wxImage
*arg1
= (wxImage
*) 0 ;
8503 PyObject
* obj0
= 0 ;
8504 PyObject
* obj1
= 0 ;
8505 PyObject
* obj2
= 0 ;
8507 (char *) "self",(char *) "width",(char *) "height", NULL
8510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8513 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8517 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 (arg1
)->Create(arg2
,arg3
);
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8527 Py_INCREF(Py_None
); resultobj
= Py_None
;
8534 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxImage
*arg1
= (wxImage
*) 0 ;
8537 PyObject
* obj0
= 0 ;
8539 (char *) "self", NULL
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8551 Py_INCREF(Py_None
); resultobj
= Py_None
;
8558 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
;
8560 wxImage
*arg1
= (wxImage
*) 0 ;
8563 SwigValueWrapper
< wxImage
> result
;
8564 PyObject
* obj0
= 0 ;
8565 PyObject
* obj1
= 0 ;
8566 PyObject
* obj2
= 0 ;
8568 (char *) "self",(char *) "width",(char *) "height", NULL
8571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8574 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8578 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (arg1
)->Scale(arg2
,arg3
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8589 wxImage
* resultptr
;
8590 resultptr
= new wxImage((wxImage
&) result
);
8591 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8599 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8601 wxImage
*arg1
= (wxImage
*) 0 ;
8604 SwigValueWrapper
< wxImage
> result
;
8605 PyObject
* obj0
= 0 ;
8606 PyObject
* obj1
= 0 ;
8607 PyObject
* obj2
= 0 ;
8609 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8615 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8619 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8630 wxImage
* resultptr
;
8631 resultptr
= new wxImage((wxImage
&) result
);
8632 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8640 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxImage
*arg1
= (wxImage
*) 0 ;
8646 PyObject
* obj0
= 0 ;
8647 PyObject
* obj1
= 0 ;
8648 PyObject
* obj2
= 0 ;
8650 (char *) "self",(char *) "width",(char *) "height", NULL
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8656 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8660 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
8667 result
= (wxImage
*) &_result_ref
;
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
8680 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
;
8682 wxImage
*arg1
= (wxImage
*) 0 ;
8685 unsigned char arg4
;
8686 unsigned char arg5
;
8687 unsigned char arg6
;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8690 PyObject
* obj2
= 0 ;
8691 PyObject
* obj3
= 0 ;
8692 PyObject
* obj4
= 0 ;
8693 PyObject
* obj5
= 0 ;
8695 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8701 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8705 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8709 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8713 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj4
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8717 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj5
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 Py_INCREF(Py_None
); resultobj
= Py_None
;
8734 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
;
8736 wxImage
*arg1
= (wxImage
*) 0 ;
8739 unsigned char result
;
8740 PyObject
* obj0
= 0 ;
8741 PyObject
* obj1
= 0 ;
8742 PyObject
* obj2
= 0 ;
8744 (char *) "self",(char *) "x",(char *) "y", NULL
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8750 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8754 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8771 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
;
8773 wxImage
*arg1
= (wxImage
*) 0 ;
8776 unsigned char result
;
8777 PyObject
* obj0
= 0 ;
8778 PyObject
* obj1
= 0 ;
8779 PyObject
* obj2
= 0 ;
8781 (char *) "self",(char *) "x",(char *) "y", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8787 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8791 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8808 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
;
8810 wxImage
*arg1
= (wxImage
*) 0 ;
8813 unsigned char result
;
8814 PyObject
* obj0
= 0 ;
8815 PyObject
* obj1
= 0 ;
8816 PyObject
* obj2
= 0 ;
8818 (char *) "self",(char *) "x",(char *) "y", NULL
8821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8824 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8828 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8845 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
;
8847 wxImage
*arg1
= (wxImage
*) 0 ;
8850 unsigned char arg4
;
8851 PyObject
* obj0
= 0 ;
8852 PyObject
* obj1
= 0 ;
8853 PyObject
* obj2
= 0 ;
8854 PyObject
* obj3
= 0 ;
8856 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8862 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8866 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8870 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 Py_INCREF(Py_None
); resultobj
= Py_None
;
8887 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
;
8889 wxImage
*arg1
= (wxImage
*) 0 ;
8892 unsigned char result
;
8893 PyObject
* obj0
= 0 ;
8894 PyObject
* obj1
= 0 ;
8895 PyObject
* obj2
= 0 ;
8897 (char *) "self",(char *) "x",(char *) "y", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8903 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8907 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
8924 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxImage
*arg1
= (wxImage
*) 0 ;
8928 PyObject
* obj0
= 0 ;
8930 (char *) "self", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 result
= (bool)(arg1
)->HasAlpha();
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8949 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
;
8951 wxImage
*arg1
= (wxImage
*) 0 ;
8952 byte
*arg2
= (byte
*) 0 ;
8953 byte
*arg3
= (byte
*) 0 ;
8954 byte
*arg4
= (byte
*) 0 ;
8955 byte arg5
= (byte
) 0 ;
8956 byte arg6
= (byte
) 0 ;
8957 byte arg7
= (byte
) 0 ;
8962 PyObject
* obj0
= 0 ;
8963 PyObject
* obj1
= 0 ;
8964 PyObject
* obj2
= 0 ;
8965 PyObject
* obj3
= 0 ;
8967 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8977 arg5
= (byte
) SWIG_PyObj_AsUnsignedChar(obj1
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8983 arg6
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8989 arg7
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9002 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9003 resultobj
= t_output_helper(resultobj
,o
);
9006 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9007 resultobj
= t_output_helper(resultobj
,o
);
9010 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9011 resultobj
= t_output_helper(resultobj
,o
);
9019 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxImage
*arg1
= (wxImage
*) 0 ;
9027 PyObject
* obj0
= 0 ;
9028 PyObject
* obj1
= 0 ;
9029 PyObject
* obj2
= 0 ;
9030 PyObject
* obj3
= 0 ;
9031 PyObject
* obj4
= 0 ;
9033 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9038 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9040 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9043 arg3
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9047 arg4
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9051 arg5
= (byte
) SWIG_PyObj_AsUnsignedChar(obj4
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9068 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxString
*arg1
= 0 ;
9072 bool temp1
= False
;
9073 PyObject
* obj0
= 0 ;
9075 (char *) "name", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9080 arg1
= wxString_in_helper(obj0
);
9081 if (arg1
== NULL
) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9106 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
;
9108 wxString
*arg1
= 0 ;
9109 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9111 bool temp1
= False
;
9112 PyObject
* obj0
= 0 ;
9113 PyObject
* obj1
= 0 ;
9115 (char *) "name",(char *) "type", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9120 arg1
= wxString_in_helper(obj0
);
9121 if (arg1
== NULL
) SWIG_fail
;
9126 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_PyObj_FromInt((int)result
);
9152 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxImage
*arg1
= (wxImage
*) 0 ;
9155 wxString
*arg2
= 0 ;
9156 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9157 int arg4
= (int) -1 ;
9159 bool temp2
= False
;
9160 PyObject
* obj0
= 0 ;
9161 PyObject
* obj1
= 0 ;
9162 PyObject
* obj2
= 0 ;
9163 PyObject
* obj3
= 0 ;
9165 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9171 arg2
= wxString_in_helper(obj1
);
9172 if (arg2
== NULL
) SWIG_fail
;
9177 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9183 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9209 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxImage
*arg1
= (wxImage
*) 0 ;
9212 wxString
*arg2
= 0 ;
9213 wxString
*arg3
= 0 ;
9214 int arg4
= (int) -1 ;
9216 bool temp2
= False
;
9217 bool temp3
= False
;
9218 PyObject
* obj0
= 0 ;
9219 PyObject
* obj1
= 0 ;
9220 PyObject
* obj2
= 0 ;
9221 PyObject
* obj3
= 0 ;
9223 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9229 arg2
= wxString_in_helper(obj1
);
9230 if (arg2
== NULL
) SWIG_fail
;
9234 arg3
= wxString_in_helper(obj2
);
9235 if (arg3
== NULL
) SWIG_fail
;
9240 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9274 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
*resultobj
;
9276 wxImage
*arg1
= (wxImage
*) 0 ;
9277 wxString
*arg2
= 0 ;
9280 bool temp2
= False
;
9281 PyObject
* obj0
= 0 ;
9282 PyObject
* obj1
= 0 ;
9283 PyObject
* obj2
= 0 ;
9285 (char *) "self",(char *) "name",(char *) "type", NULL
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9291 arg2
= wxString_in_helper(obj1
);
9292 if (arg2
== NULL
) SWIG_fail
;
9296 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9321 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
;
9323 wxImage
*arg1
= (wxImage
*) 0 ;
9324 wxString
*arg2
= 0 ;
9325 wxString
*arg3
= 0 ;
9327 bool temp2
= False
;
9328 bool temp3
= False
;
9329 PyObject
* obj0
= 0 ;
9330 PyObject
* obj1
= 0 ;
9331 PyObject
* obj2
= 0 ;
9333 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9339 arg2
= wxString_in_helper(obj1
);
9340 if (arg2
== NULL
) SWIG_fail
;
9344 arg3
= wxString_in_helper(obj2
);
9345 if (arg3
== NULL
) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9378 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxInputStream
*arg1
= 0 ;
9382 wxPyInputStream
*temp1
;
9384 PyObject
* obj0
= 0 ;
9386 (char *) "stream", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9391 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9392 arg1
= temp1
->m_wxis
;
9395 PyErr_Clear(); // clear the failure of the wxPyConvert above
9396 arg1
= wxPyCBInputStream_create(obj0
, False
);
9398 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 result
= (bool)wxImage::CanRead(*arg1
);
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9426 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxImage
*arg1
= (wxImage
*) 0 ;
9429 wxInputStream
*arg2
= 0 ;
9430 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9431 int arg4
= (int) -1 ;
9433 wxPyInputStream
*temp2
;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9437 PyObject
* obj2
= 0 ;
9438 PyObject
* obj3
= 0 ;
9440 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9446 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9447 arg2
= temp2
->m_wxis
;
9450 PyErr_Clear(); // clear the failure of the wxPyConvert above
9451 arg2
= wxPyCBInputStream_create(obj1
, False
);
9453 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9461 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9467 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9493 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
;
9495 wxImage
*arg1
= (wxImage
*) 0 ;
9496 wxInputStream
*arg2
= 0 ;
9497 wxString
*arg3
= 0 ;
9498 int arg4
= (int) -1 ;
9500 wxPyInputStream
*temp2
;
9502 bool temp3
= False
;
9503 PyObject
* obj0
= 0 ;
9504 PyObject
* obj1
= 0 ;
9505 PyObject
* obj2
= 0 ;
9506 PyObject
* obj3
= 0 ;
9508 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9514 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9515 arg2
= temp2
->m_wxis
;
9518 PyErr_Clear(); // clear the failure of the wxPyConvert above
9519 arg2
= wxPyCBInputStream_create(obj1
, False
);
9521 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9528 arg3
= wxString_in_helper(obj2
);
9529 if (arg3
== NULL
) SWIG_fail
;
9534 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9545 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9568 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9569 PyObject
*resultobj
;
9570 wxImage
*arg1
= (wxImage
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9574 (char *) "self", NULL
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 result
= (bool)(arg1
)->Ok();
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9593 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9594 PyObject
*resultobj
;
9595 wxImage
*arg1
= (wxImage
*) 0 ;
9597 PyObject
* obj0
= 0 ;
9599 (char *) "self", NULL
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (int)(arg1
)->GetWidth();
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_PyObj_FromInt((int)result
);
9618 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxImage
*arg1
= (wxImage
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9624 (char *) "self", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 result
= (int)(arg1
)->GetHeight();
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= SWIG_PyObj_FromInt((int)result
);
9643 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
;
9645 wxImage
*arg1
= (wxImage
*) 0 ;
9647 SwigValueWrapper
< wxImage
> result
;
9649 PyObject
* obj0
= 0 ;
9650 PyObject
* obj1
= 0 ;
9652 (char *) "self",(char *) "rect", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
9656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9659 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9669 wxImage
* resultptr
;
9670 resultptr
= new wxImage((wxImage
&) result
);
9671 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9679 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
;
9681 wxImage
*arg1
= (wxImage
*) 0 ;
9682 SwigValueWrapper
< wxImage
> result
;
9683 PyObject
* obj0
= 0 ;
9685 (char *) "self", NULL
9688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
9689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 result
= (arg1
)->Copy();
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9698 wxImage
* resultptr
;
9699 resultptr
= new wxImage((wxImage
&) result
);
9700 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9708 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
;
9710 wxImage
*arg1
= (wxImage
*) 0 ;
9714 PyObject
* obj0
= 0 ;
9715 PyObject
* obj1
= 0 ;
9716 PyObject
* obj2
= 0 ;
9717 PyObject
* obj3
= 0 ;
9719 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
9722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9724 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9726 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9729 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9733 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 Py_INCREF(Py_None
); resultobj
= Py_None
;
9750 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxImage
*arg1
= (wxImage
*) 0 ;
9754 PyObject
* obj0
= 0 ;
9756 (char *) "self", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
9760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (PyObject
*)wxImage_GetData(arg1
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9775 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
;
9777 wxImage
*arg1
= (wxImage
*) 0 ;
9778 PyObject
*arg2
= (PyObject
*) 0 ;
9779 PyObject
* obj0
= 0 ;
9780 PyObject
* obj1
= 0 ;
9782 (char *) "self",(char *) "data", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
9786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 wxImage_SetData(arg1
,arg2
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 Py_INCREF(Py_None
); resultobj
= Py_None
;
9802 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxImage
*arg1
= (wxImage
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "self", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
9817 wxPyEndAllowThreads(__tstate
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9827 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
;
9829 wxImage
*arg1
= (wxImage
*) 0 ;
9830 PyObject
*arg2
= (PyObject
*) 0 ;
9831 PyObject
* obj0
= 0 ;
9832 PyObject
* obj1
= 0 ;
9834 (char *) "self",(char *) "data", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 wxImage_SetDataBuffer(arg1
,arg2
);
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9847 Py_INCREF(Py_None
); resultobj
= Py_None
;
9854 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxImage
*arg1
= (wxImage
*) 0 ;
9858 PyObject
* obj0
= 0 ;
9860 (char *) "self", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
9864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9879 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
;
9881 wxImage
*arg1
= (wxImage
*) 0 ;
9882 PyObject
*arg2
= (PyObject
*) 0 ;
9883 PyObject
* obj0
= 0 ;
9884 PyObject
* obj1
= 0 ;
9886 (char *) "self",(char *) "data", NULL
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
9890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 wxImage_SetAlphaData(arg1
,arg2
);
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 Py_INCREF(Py_None
); resultobj
= Py_None
;
9906 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
;
9908 wxImage
*arg1
= (wxImage
*) 0 ;
9910 PyObject
* obj0
= 0 ;
9912 (char *) "self", NULL
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
9916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9931 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
;
9933 wxImage
*arg1
= (wxImage
*) 0 ;
9934 PyObject
*arg2
= (PyObject
*) 0 ;
9935 PyObject
* obj0
= 0 ;
9936 PyObject
* obj1
= 0 ;
9938 (char *) "self",(char *) "data", NULL
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 wxImage_SetAlphaBuffer(arg1
,arg2
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 Py_INCREF(Py_None
); resultobj
= Py_None
;
9958 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
;
9960 wxImage
*arg1
= (wxImage
*) 0 ;
9961 unsigned char arg2
;
9962 unsigned char arg3
;
9963 unsigned char arg4
;
9964 PyObject
* obj0
= 0 ;
9965 PyObject
* obj1
= 0 ;
9966 PyObject
* obj2
= 0 ;
9967 PyObject
* obj3
= 0 ;
9969 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9975 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9979 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9983 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 Py_INCREF(Py_None
); resultobj
= Py_None
;
10000 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxImage
*arg1
= (wxImage
*) 0 ;
10003 unsigned char result
;
10004 PyObject
* obj0
= 0 ;
10005 char *kwnames
[] = {
10006 (char *) "self", NULL
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 result
= (unsigned char)(arg1
)->GetMaskRed();
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10018 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10025 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
;
10027 wxImage
*arg1
= (wxImage
*) 0 ;
10028 unsigned char result
;
10029 PyObject
* obj0
= 0 ;
10030 char *kwnames
[] = {
10031 (char *) "self", NULL
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= (unsigned char)(arg1
)->GetMaskGreen();
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10050 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
;
10052 wxImage
*arg1
= (wxImage
*) 0 ;
10053 unsigned char result
;
10054 PyObject
* obj0
= 0 ;
10055 char *kwnames
[] = {
10056 (char *) "self", NULL
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 result
= (unsigned char)(arg1
)->GetMaskBlue();
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
10075 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
;
10077 wxImage
*arg1
= (wxImage
*) 0 ;
10078 bool arg2
= (bool) True
;
10079 PyObject
* obj0
= 0 ;
10080 PyObject
* obj1
= 0 ;
10081 char *kwnames
[] = {
10082 (char *) "self",(char *) "mask", NULL
10085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10089 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 (arg1
)->SetMask(arg2
);
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10100 Py_INCREF(Py_None
); resultobj
= Py_None
;
10107 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
*resultobj
;
10109 wxImage
*arg1
= (wxImage
*) 0 ;
10111 PyObject
* obj0
= 0 ;
10112 char *kwnames
[] = {
10113 (char *) "self", NULL
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 result
= (bool)(arg1
)->HasMask();
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10132 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxImage
*arg1
= (wxImage
*) 0 ;
10136 wxPoint
*arg3
= 0 ;
10137 bool arg4
= (bool) True
;
10138 wxPoint
*arg5
= (wxPoint
*) NULL
;
10139 SwigValueWrapper
< wxImage
> result
;
10141 PyObject
* obj0
= 0 ;
10142 PyObject
* obj1
= 0 ;
10143 PyObject
* obj2
= 0 ;
10144 PyObject
* obj3
= 0 ;
10145 PyObject
* obj4
= 0 ;
10146 char *kwnames
[] = {
10147 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10153 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10158 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10162 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10167 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10177 wxImage
* resultptr
;
10178 resultptr
= new wxImage((wxImage
&) result
);
10179 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10187 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxImage
*arg1
= (wxImage
*) 0 ;
10190 bool arg2
= (bool) True
;
10191 SwigValueWrapper
< wxImage
> result
;
10192 PyObject
* obj0
= 0 ;
10193 PyObject
* obj1
= 0 ;
10194 char *kwnames
[] = {
10195 (char *) "self",(char *) "clockwise", NULL
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10202 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (arg1
)->Rotate90(arg2
);
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10214 wxImage
* resultptr
;
10215 resultptr
= new wxImage((wxImage
&) result
);
10216 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10224 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10225 PyObject
*resultobj
;
10226 wxImage
*arg1
= (wxImage
*) 0 ;
10227 bool arg2
= (bool) True
;
10228 SwigValueWrapper
< wxImage
> result
;
10229 PyObject
* obj0
= 0 ;
10230 PyObject
* obj1
= 0 ;
10231 char *kwnames
[] = {
10232 (char *) "self",(char *) "horizontally", NULL
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10239 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 result
= (arg1
)->Mirror(arg2
);
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10251 wxImage
* resultptr
;
10252 resultptr
= new wxImage((wxImage
&) result
);
10253 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10261 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxImage
*arg1
= (wxImage
*) 0 ;
10264 unsigned char arg2
;
10265 unsigned char arg3
;
10266 unsigned char arg4
;
10267 unsigned char arg5
;
10268 unsigned char arg6
;
10269 unsigned char arg7
;
10270 PyObject
* obj0
= 0 ;
10271 PyObject
* obj1
= 0 ;
10272 PyObject
* obj2
= 0 ;
10273 PyObject
* obj3
= 0 ;
10274 PyObject
* obj4
= 0 ;
10275 PyObject
* obj5
= 0 ;
10276 PyObject
* obj6
= 0 ;
10277 char *kwnames
[] = {
10278 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10284 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10288 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10292 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10296 arg5
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj4
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10300 arg6
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj5
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10304 arg7
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj6
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 Py_INCREF(Py_None
); resultobj
= Py_None
;
10321 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
;
10323 wxImage
*arg1
= (wxImage
*) 0 ;
10324 unsigned char arg2
;
10325 unsigned char arg3
;
10326 unsigned char arg4
;
10327 SwigValueWrapper
< wxImage
> result
;
10328 PyObject
* obj0
= 0 ;
10329 PyObject
* obj1
= 0 ;
10330 PyObject
* obj2
= 0 ;
10331 PyObject
* obj3
= 0 ;
10332 char *kwnames
[] = {
10333 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10339 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10343 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10347 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10352 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10358 wxImage
* resultptr
;
10359 resultptr
= new wxImage((wxImage
&) result
);
10360 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
10368 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxImage
*arg1
= (wxImage
*) 0 ;
10371 wxString
*arg2
= 0 ;
10372 wxString
*arg3
= 0 ;
10373 bool temp2
= False
;
10374 bool temp3
= False
;
10375 PyObject
* obj0
= 0 ;
10376 PyObject
* obj1
= 0 ;
10377 PyObject
* obj2
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self",(char *) "name",(char *) "value", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10385 arg2
= wxString_in_helper(obj1
);
10386 if (arg2
== NULL
) SWIG_fail
;
10390 arg3
= wxString_in_helper(obj2
);
10391 if (arg3
== NULL
) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 Py_INCREF(Py_None
); resultobj
= Py_None
;
10424 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
;
10426 wxImage
*arg1
= (wxImage
*) 0 ;
10427 wxString
*arg2
= 0 ;
10429 bool temp2
= False
;
10430 PyObject
* obj0
= 0 ;
10431 PyObject
* obj1
= 0 ;
10432 PyObject
* obj2
= 0 ;
10433 char *kwnames
[] = {
10434 (char *) "self",(char *) "name",(char *) "value", NULL
10437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10440 arg2
= wxString_in_helper(obj1
);
10441 if (arg2
== NULL
) SWIG_fail
;
10445 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 Py_INCREF(Py_None
); resultobj
= Py_None
;
10470 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxImage
*arg1
= (wxImage
*) 0 ;
10473 wxString
*arg2
= 0 ;
10475 bool temp2
= False
;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 char *kwnames
[] = {
10479 (char *) "self",(char *) "name", NULL
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10485 arg2
= wxString_in_helper(obj1
);
10486 if (arg2
== NULL
) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10517 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10518 PyObject
*resultobj
;
10519 wxImage
*arg1
= (wxImage
*) 0 ;
10520 wxString
*arg2
= 0 ;
10522 bool temp2
= False
;
10523 PyObject
* obj0
= 0 ;
10524 PyObject
* obj1
= 0 ;
10525 char *kwnames
[] = {
10526 (char *) "self",(char *) "name", NULL
10529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10532 arg2
= wxString_in_helper(obj1
);
10533 if (arg2
== NULL
) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= SWIG_PyObj_FromInt((int)result
);
10558 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxImage
*arg1
= (wxImage
*) 0 ;
10561 wxString
*arg2
= 0 ;
10563 bool temp2
= False
;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 char *kwnames
[] = {
10567 (char *) "self",(char *) "name", NULL
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10573 arg2
= wxString_in_helper(obj1
);
10574 if (arg2
== NULL
) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10599 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxImage
*arg1
= (wxImage
*) 0 ;
10602 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10603 unsigned long result
;
10604 PyObject
* obj0
= 0 ;
10605 PyObject
* obj1
= 0 ;
10606 char *kwnames
[] = {
10607 (char *) "self",(char *) "stopafter", NULL
10610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10614 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10625 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
10632 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10633 PyObject
*resultobj
;
10634 wxImage
*arg1
= (wxImage
*) 0 ;
10635 wxImageHistogram
*arg2
= 0 ;
10636 unsigned long result
;
10637 PyObject
* obj0
= 0 ;
10638 PyObject
* obj1
= 0 ;
10639 char *kwnames
[] = {
10640 (char *) "self",(char *) "h", NULL
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
10644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10646 if (arg2
== NULL
) {
10647 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
10663 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
;
10665 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10666 PyObject
* obj0
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "handler", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
10672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 wxImage::AddHandler(arg1
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 Py_INCREF(Py_None
); resultobj
= Py_None
;
10687 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10690 PyObject
* obj0
= 0 ;
10691 char *kwnames
[] = {
10692 (char *) "handler", NULL
10695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
10696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 wxImage::InsertHandler(arg1
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 Py_INCREF(Py_None
); resultobj
= Py_None
;
10711 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10713 wxString
*arg1
= 0 ;
10715 bool temp1
= False
;
10716 PyObject
* obj0
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "name", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
10723 arg1
= wxString_in_helper(obj0
);
10724 if (arg1
== NULL
) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10749 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
;
10752 char *kwnames
[] = {
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= wxImage::GetImageExtWildcard();
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10777 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxImage
*arg1
= (wxImage
*) 0 ;
10781 PyObject
* obj0
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
10787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 result
= wxImage_ConvertToBitmap(arg1
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10796 wxBitmap
* resultptr
;
10797 resultptr
= new wxBitmap((wxBitmap
&) result
);
10798 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
10806 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
;
10808 wxImage
*arg1
= (wxImage
*) 0 ;
10809 unsigned char arg2
;
10810 unsigned char arg3
;
10811 unsigned char arg4
;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 PyObject
* obj2
= 0 ;
10816 PyObject
* obj3
= 0 ;
10817 char *kwnames
[] = {
10818 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10824 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10828 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10832 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10843 wxBitmap
* resultptr
;
10844 resultptr
= new wxBitmap((wxBitmap
&) result
);
10845 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
10853 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
10855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10856 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
10858 return Py_BuildValue((char *)"");
10860 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
;
10862 char *kwnames
[] = {
10866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 wxInitAllImageHandlers();
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 Py_INCREF(Py_None
); resultobj
= Py_None
;
10881 static int _wrap_NullImage_set(PyObject
*_val
) {
10882 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
10887 static PyObject
*_wrap_NullImage_get() {
10890 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
10895 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
10896 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
10901 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
10906 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
10908 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
10915 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
10916 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
10921 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
10926 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10928 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10935 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
10936 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
10941 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
10946 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10948 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10955 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
10956 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
10961 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
10966 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10968 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10975 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
10976 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
10981 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
10986 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10988 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10995 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
*resultobj
;
10997 wxBMPHandler
*result
;
10998 char *kwnames
[] = {
11002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= (wxBMPHandler
*)new wxBMPHandler();
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11010 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
11017 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11020 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11022 return Py_BuildValue((char *)"");
11024 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
;
11026 wxICOHandler
*result
;
11027 char *kwnames
[] = {
11031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (wxICOHandler
*)new wxICOHandler();
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11039 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
11046 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11049 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11051 return Py_BuildValue((char *)"");
11053 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
;
11055 wxCURHandler
*result
;
11056 char *kwnames
[] = {
11060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 result
= (wxCURHandler
*)new wxCURHandler();
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
11075 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11078 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11080 return Py_BuildValue((char *)"");
11082 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxANIHandler
*result
;
11085 char *kwnames
[] = {
11089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 result
= (wxANIHandler
*)new wxANIHandler();
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
11104 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11107 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11109 return Py_BuildValue((char *)"");
11111 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxPNGHandler
*result
;
11114 char *kwnames
[] = {
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 result
= (wxPNGHandler
*)new wxPNGHandler();
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11126 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
11133 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11136 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11138 return Py_BuildValue((char *)"");
11140 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11141 PyObject
*resultobj
;
11142 wxGIFHandler
*result
;
11143 char *kwnames
[] = {
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 result
= (wxGIFHandler
*)new wxGIFHandler();
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
11162 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11165 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11167 return Py_BuildValue((char *)"");
11169 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
;
11171 wxPCXHandler
*result
;
11172 char *kwnames
[] = {
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 result
= (wxPCXHandler
*)new wxPCXHandler();
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
11191 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11194 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11196 return Py_BuildValue((char *)"");
11198 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 wxJPEGHandler
*result
;
11201 char *kwnames
[] = {
11205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
11220 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11223 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11225 return Py_BuildValue((char *)"");
11227 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxPNMHandler
*result
;
11230 char *kwnames
[] = {
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 result
= (wxPNMHandler
*)new wxPNMHandler();
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
11249 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11252 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11254 return Py_BuildValue((char *)"");
11256 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxXPMHandler
*result
;
11259 char *kwnames
[] = {
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 result
= (wxXPMHandler
*)new wxXPMHandler();
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
11278 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11281 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11283 return Py_BuildValue((char *)"");
11285 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
;
11287 wxTIFFHandler
*result
;
11288 char *kwnames
[] = {
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11300 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
11307 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11310 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11312 return Py_BuildValue((char *)"");
11314 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
;
11316 wxEvtHandler
*result
;
11317 char *kwnames
[] = {
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (wxEvtHandler
*)new wxEvtHandler();
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11330 resultobj
= wxPyMake_wxObject(result
);
11338 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11341 wxEvtHandler
*result
;
11342 PyObject
* obj0
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11357 resultobj
= wxPyMake_wxObject(result
);
11365 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
;
11367 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11368 wxEvtHandler
*result
;
11369 PyObject
* obj0
= 0 ;
11370 char *kwnames
[] = {
11371 (char *) "self", NULL
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= wxPyMake_wxObject(result
);
11392 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
;
11394 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11395 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 char *kwnames
[] = {
11399 (char *) "self",(char *) "handler", NULL
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11404 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 (arg1
)->SetNextHandler(arg2
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 Py_INCREF(Py_None
); resultobj
= Py_None
;
11419 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11422 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11423 PyObject
* obj0
= 0 ;
11424 PyObject
* obj1
= 0 ;
11425 char *kwnames
[] = {
11426 (char *) "self",(char *) "handler", NULL
11429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11431 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 (arg1
)->SetPreviousHandler(arg2
);
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 Py_INCREF(Py_None
); resultobj
= Py_None
;
11446 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
;
11448 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11450 PyObject
* obj0
= 0 ;
11451 char *kwnames
[] = {
11452 (char *) "self", NULL
11455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11471 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11475 PyObject
* obj0
= 0 ;
11476 PyObject
* obj1
= 0 ;
11477 char *kwnames
[] = {
11478 (char *) "self",(char *) "enabled", NULL
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11484 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 (arg1
)->SetEvtHandlerEnabled(arg2
);
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 Py_INCREF(Py_None
); resultobj
= Py_None
;
11501 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
;
11503 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11504 wxEvent
*arg2
= 0 ;
11506 PyObject
* obj0
= 0 ;
11507 PyObject
* obj1
= 0 ;
11508 char *kwnames
[] = {
11509 (char *) "self",(char *) "event", NULL
11512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11514 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11515 if (arg2
== NULL
) {
11516 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11525 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11532 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
;
11534 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11535 wxEvent
*arg2
= 0 ;
11536 PyObject
* obj0
= 0 ;
11537 PyObject
* obj1
= 0 ;
11538 char *kwnames
[] = {
11539 (char *) "self",(char *) "event", NULL
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11544 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11545 if (arg2
== NULL
) {
11546 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 (arg1
)->AddPendingEvent(*arg2
);
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11555 Py_INCREF(Py_None
); resultobj
= Py_None
;
11562 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
;
11564 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11565 PyObject
* obj0
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "self", NULL
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 (arg1
)->ProcessPendingEvents();
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11579 Py_INCREF(Py_None
); resultobj
= Py_None
;
11586 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11587 PyObject
*resultobj
;
11588 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11592 PyObject
*arg5
= (PyObject
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 PyObject
* obj1
= 0 ;
11595 PyObject
* obj2
= 0 ;
11596 PyObject
* obj3
= 0 ;
11597 PyObject
* obj4
= 0 ;
11598 char *kwnames
[] = {
11599 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11605 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11609 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11613 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11624 Py_INCREF(Py_None
); resultobj
= Py_None
;
11631 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11632 PyObject
*resultobj
;
11633 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11635 int arg3
= (int) -1 ;
11636 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
11638 PyObject
* obj0
= 0 ;
11639 PyObject
* obj1
= 0 ;
11640 PyObject
* obj2
= 0 ;
11641 PyObject
* obj3
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11649 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11654 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11660 arg4
= (wxEventType
) SWIG_PyObj_AsInt(obj3
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11678 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11681 PyObject
*arg2
= (PyObject
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 PyObject
* obj1
= 0 ;
11684 char *kwnames
[] = {
11685 (char *) "self",(char *) "_self", NULL
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
11689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 wxEvtHandler__setOORInfo(arg1
,arg2
);
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 Py_INCREF(Py_None
); resultobj
= Py_None
;
11705 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11708 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
11710 return Py_BuildValue((char *)"");
11712 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxEventType result
;
11715 char *kwnames
[] = {
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= (wxEventType
)wxNewEventType();
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= SWIG_PyObj_FromInt((int)result
);
11734 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11735 PyObject
*resultobj
;
11736 wxEvent
*arg1
= (wxEvent
*) 0 ;
11737 PyObject
* obj0
= 0 ;
11738 char *kwnames
[] = {
11739 (char *) "self", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
11743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11751 Py_INCREF(Py_None
); resultobj
= Py_None
;
11758 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxEvent
*arg1
= (wxEvent
*) 0 ;
11762 PyObject
* obj0
= 0 ;
11763 PyObject
* obj1
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "self",(char *) "typ", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
11769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11771 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 (arg1
)->SetEventType(arg2
);
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11781 Py_INCREF(Py_None
); resultobj
= Py_None
;
11788 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11789 PyObject
*resultobj
;
11790 wxEvent
*arg1
= (wxEvent
*) 0 ;
11791 wxEventType result
;
11792 PyObject
* obj0
= 0 ;
11793 char *kwnames
[] = {
11794 (char *) "self", NULL
11797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
11798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= SWIG_PyObj_FromInt((int)result
);
11813 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11814 PyObject
*resultobj
;
11815 wxEvent
*arg1
= (wxEvent
*) 0 ;
11817 PyObject
* obj0
= 0 ;
11818 char *kwnames
[] = {
11819 (char *) "self", NULL
11822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
11823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11832 resultobj
= wxPyMake_wxObject(result
);
11840 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11841 PyObject
*resultobj
;
11842 wxEvent
*arg1
= (wxEvent
*) 0 ;
11843 wxObject
*arg2
= (wxObject
*) 0 ;
11844 PyObject
* obj0
= 0 ;
11845 PyObject
* obj1
= 0 ;
11846 char *kwnames
[] = {
11847 (char *) "self",(char *) "obj", NULL
11850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
11851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11852 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 (arg1
)->SetEventObject(arg2
);
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 Py_INCREF(Py_None
); resultobj
= Py_None
;
11867 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
;
11869 wxEvent
*arg1
= (wxEvent
*) 0 ;
11871 PyObject
* obj0
= 0 ;
11872 char *kwnames
[] = {
11873 (char *) "self", NULL
11876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
11877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= SWIG_PyObj_FromLong((long)result
);
11892 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
;
11894 wxEvent
*arg1
= (wxEvent
*) 0 ;
11895 long arg2
= (long) 0 ;
11896 PyObject
* obj0
= 0 ;
11897 PyObject
* obj1
= 0 ;
11898 char *kwnames
[] = {
11899 (char *) "self",(char *) "ts", NULL
11902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
11903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11906 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 (arg1
)->SetTimestamp(arg2
);
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 Py_INCREF(Py_None
); resultobj
= Py_None
;
11924 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11925 PyObject
*resultobj
;
11926 wxEvent
*arg1
= (wxEvent
*) 0 ;
11928 PyObject
* obj0
= 0 ;
11929 char *kwnames
[] = {
11930 (char *) "self", NULL
11933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
11934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 result
= (int)((wxEvent
const *)arg1
)->GetId();
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11942 resultobj
= SWIG_PyObj_FromInt((int)result
);
11949 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxEvent
*arg1
= (wxEvent
*) 0 ;
11953 PyObject
* obj0
= 0 ;
11954 PyObject
* obj1
= 0 ;
11955 char *kwnames
[] = {
11956 (char *) "self",(char *) "Id", NULL
11959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
11960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11962 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 (arg1
)->SetId(arg2
);
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 Py_INCREF(Py_None
); resultobj
= Py_None
;
11979 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11980 PyObject
*resultobj
;
11981 wxEvent
*arg1
= (wxEvent
*) 0 ;
11983 PyObject
* obj0
= 0 ;
11984 char *kwnames
[] = {
11985 (char *) "self", NULL
11988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
11989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12004 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
;
12006 wxEvent
*arg1
= (wxEvent
*) 0 ;
12007 bool arg2
= (bool) True
;
12008 PyObject
* obj0
= 0 ;
12009 PyObject
* obj1
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self",(char *) "skip", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12018 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 (arg1
)->Skip(arg2
);
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12029 Py_INCREF(Py_None
); resultobj
= Py_None
;
12036 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
;
12038 wxEvent
*arg1
= (wxEvent
*) 0 ;
12040 PyObject
* obj0
= 0 ;
12041 char *kwnames
[] = {
12042 (char *) "self", NULL
12045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12054 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12061 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
;
12063 wxEvent
*arg1
= (wxEvent
*) 0 ;
12065 PyObject
* obj0
= 0 ;
12066 char *kwnames
[] = {
12067 (char *) "self", NULL
12070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12086 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12088 wxEvent
*arg1
= (wxEvent
*) 0 ;
12090 PyObject
* obj0
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 result
= (int)(arg1
)->StopPropagation();
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12104 resultobj
= SWIG_PyObj_FromInt((int)result
);
12111 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12112 PyObject
*resultobj
;
12113 wxEvent
*arg1
= (wxEvent
*) 0 ;
12115 PyObject
* obj0
= 0 ;
12116 PyObject
* obj1
= 0 ;
12117 char *kwnames
[] = {
12118 (char *) "self",(char *) "propagationLevel", NULL
12121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12124 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 (arg1
)->ResumePropagation(arg2
);
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12134 Py_INCREF(Py_None
); resultobj
= Py_None
;
12141 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxEvent
*arg1
= (wxEvent
*) 0 ;
12145 PyObject
* obj0
= 0 ;
12146 char *kwnames
[] = {
12147 (char *) "self", NULL
12150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 result
= (wxEvent
*)(arg1
)->Clone();
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
12166 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12169 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12171 return Py_BuildValue((char *)"");
12173 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxEvent
*arg1
= 0 ;
12176 wxPropagationDisabler
*result
;
12177 PyObject
* obj0
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "event", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12184 if (arg1
== NULL
) {
12185 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
12201 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12204 PyObject
* obj0
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 Py_INCREF(Py_None
); resultobj
= Py_None
;
12225 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12228 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12230 return Py_BuildValue((char *)"");
12232 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxEvent
*arg1
= 0 ;
12235 wxPropagateOnce
*result
;
12236 PyObject
* obj0
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "event", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12243 if (arg1
== NULL
) {
12244 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
12260 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
;
12262 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12263 PyObject
* obj0
= 0 ;
12264 char *kwnames
[] = {
12265 (char *) "self", NULL
12268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 Py_INCREF(Py_None
); resultobj
= Py_None
;
12284 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12287 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12289 return Py_BuildValue((char *)"");
12291 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12292 PyObject
*resultobj
;
12293 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12294 int arg2
= (int) 0 ;
12295 wxCommandEvent
*result
;
12296 PyObject
* obj0
= 0 ;
12297 PyObject
* obj1
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "commandType",(char *) "winid", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12305 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12311 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
12329 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12333 PyObject
* obj0
= 0 ;
12334 char *kwnames
[] = {
12335 (char *) "self", NULL
12338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 resultobj
= SWIG_PyObj_FromInt((int)result
);
12354 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
;
12356 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12357 wxString
*arg2
= 0 ;
12358 bool temp2
= False
;
12359 PyObject
* obj0
= 0 ;
12360 PyObject
* obj1
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self",(char *) "s", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12368 arg2
= wxString_in_helper(obj1
);
12369 if (arg2
== NULL
) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 (arg1
)->SetString((wxString
const &)*arg2
);
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 Py_INCREF(Py_None
); resultobj
= Py_None
;
12394 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
;
12396 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12398 PyObject
* obj0
= 0 ;
12399 char *kwnames
[] = {
12400 (char *) "self", NULL
12403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12425 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12429 PyObject
* obj0
= 0 ;
12430 char *kwnames
[] = {
12431 (char *) "self", NULL
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12450 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12454 PyObject
* obj0
= 0 ;
12455 char *kwnames
[] = {
12456 (char *) "self", NULL
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12475 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
;
12477 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12479 PyObject
* obj0
= 0 ;
12480 PyObject
* obj1
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self",(char *) "extraLong", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12488 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 (arg1
)->SetExtraLong(arg2
);
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 Py_INCREF(Py_None
); resultobj
= Py_None
;
12505 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12509 PyObject
* obj0
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= SWIG_PyObj_FromLong((long)result
);
12530 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
;
12532 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12534 PyObject
* obj0
= 0 ;
12535 PyObject
* obj1
= 0 ;
12536 char *kwnames
[] = {
12537 (char *) "self",(char *) "i", NULL
12540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12543 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 (arg1
)->SetInt(arg2
);
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 Py_INCREF(Py_None
); resultobj
= Py_None
;
12560 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 char *kwnames
[] = {
12566 (char *) "self", NULL
12569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= SWIG_PyObj_FromLong((long)result
);
12585 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12589 PyObject
* obj0
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
12610 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12613 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
12615 return Py_BuildValue((char *)"");
12617 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12618 PyObject
*resultobj
;
12619 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12620 int arg2
= (int) 0 ;
12621 wxNotifyEvent
*result
;
12622 PyObject
* obj0
= 0 ;
12623 PyObject
* obj1
= 0 ;
12624 char *kwnames
[] = {
12625 (char *) "commandType",(char *) "winid", NULL
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12631 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12637 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
12655 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12658 PyObject
* obj0
= 0 ;
12659 char *kwnames
[] = {
12660 (char *) "self", NULL
12663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
12664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 Py_INCREF(Py_None
); resultobj
= Py_None
;
12679 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12682 PyObject
* obj0
= 0 ;
12683 char *kwnames
[] = {
12684 (char *) "self", NULL
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
12688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12696 Py_INCREF(Py_None
); resultobj
= Py_None
;
12703 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
;
12705 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12707 PyObject
* obj0
= 0 ;
12708 char *kwnames
[] = {
12709 (char *) "self", NULL
12712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
12713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 result
= (bool)(arg1
)->IsAllowed();
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12728 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12731 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
12733 return Py_BuildValue((char *)"");
12735 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12738 int arg2
= (int) 0 ;
12739 int arg3
= (int) 0 ;
12740 int arg4
= (int) 0 ;
12741 wxScrollEvent
*result
;
12742 PyObject
* obj0
= 0 ;
12743 PyObject
* obj1
= 0 ;
12744 PyObject
* obj2
= 0 ;
12745 PyObject
* obj3
= 0 ;
12746 char *kwnames
[] = {
12747 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
12750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12753 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12759 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12765 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12771 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12777 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
12789 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
;
12791 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12793 PyObject
* obj0
= 0 ;
12794 char *kwnames
[] = {
12795 (char *) "self", NULL
12798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
12799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= SWIG_PyObj_FromInt((int)result
);
12814 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
;
12816 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12818 PyObject
* obj0
= 0 ;
12819 char *kwnames
[] = {
12820 (char *) "self", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= SWIG_PyObj_FromInt((int)result
);
12839 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self",(char *) "orient", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
12850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12852 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 (arg1
)->SetOrientation(arg2
);
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 Py_INCREF(Py_None
); resultobj
= Py_None
;
12869 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
;
12871 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "self",(char *) "pos", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12882 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 (arg1
)->SetPosition(arg2
);
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12892 Py_INCREF(Py_None
); resultobj
= Py_None
;
12899 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12902 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
12904 return Py_BuildValue((char *)"");
12906 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12907 PyObject
*resultobj
;
12908 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12909 int arg2
= (int) 0 ;
12910 int arg3
= (int) 0 ;
12911 wxScrollWinEvent
*result
;
12912 PyObject
* obj0
= 0 ;
12913 PyObject
* obj1
= 0 ;
12914 PyObject
* obj2
= 0 ;
12915 char *kwnames
[] = {
12916 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
12919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12922 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12928 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12934 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
12952 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12953 PyObject
*resultobj
;
12954 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12956 PyObject
* obj0
= 0 ;
12957 char *kwnames
[] = {
12958 (char *) "self", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
12962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= SWIG_PyObj_FromInt((int)result
);
12977 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12978 PyObject
*resultobj
;
12979 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
12981 PyObject
* obj0
= 0 ;
12982 char *kwnames
[] = {
12983 (char *) "self", NULL
12986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= SWIG_PyObj_FromInt((int)result
);
13002 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13003 PyObject
*resultobj
;
13004 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 char *kwnames
[] = {
13009 (char *) "self",(char *) "orient", NULL
13012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13015 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 (arg1
)->SetOrientation(arg2
);
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 Py_INCREF(Py_None
); resultobj
= Py_None
;
13032 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
;
13034 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13036 PyObject
* obj0
= 0 ;
13037 PyObject
* obj1
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "self",(char *) "pos", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13045 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 (arg1
)->SetPosition(arg2
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13055 Py_INCREF(Py_None
); resultobj
= Py_None
;
13062 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13065 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13067 return Py_BuildValue((char *)"");
13069 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13070 PyObject
*resultobj
;
13071 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13072 wxMouseEvent
*result
;
13073 PyObject
* obj0
= 0 ;
13074 char *kwnames
[] = {
13075 (char *) "mouseType", NULL
13078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13081 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13093 resultobj
= wxPyMake_wxObject(result
);
13101 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13105 PyObject
* obj0
= 0 ;
13106 char *kwnames
[] = {
13107 (char *) "self", NULL
13110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13126 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13129 int arg2
= (int) wxMOUSE_BTN_ANY
;
13131 PyObject
* obj0
= 0 ;
13132 PyObject
* obj1
= 0 ;
13133 char *kwnames
[] = {
13134 (char *) "self",(char *) "but", NULL
13137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13141 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13152 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13159 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
;
13161 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13162 int arg2
= (int) wxMOUSE_BTN_ANY
;
13164 PyObject
* obj0
= 0 ;
13165 PyObject
* obj1
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self",(char *) "but", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13174 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13192 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13195 int arg2
= (int) wxMOUSE_BTN_ANY
;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "self",(char *) "but", NULL
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13207 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13225 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
;
13227 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13230 PyObject
* obj0
= 0 ;
13231 PyObject
* obj1
= 0 ;
13232 char *kwnames
[] = {
13233 (char *) "self",(char *) "but", NULL
13236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13239 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13256 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
;
13258 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 char *kwnames
[] = {
13264 (char *) "self",(char *) "but", NULL
13267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13270 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13280 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13287 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13291 PyObject
* obj0
= 0 ;
13292 char *kwnames
[] = {
13293 (char *) "self", NULL
13296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_PyObj_FromInt((int)result
);
13312 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13316 PyObject
* obj0
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13337 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13338 PyObject
*resultobj
;
13339 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13341 PyObject
* obj0
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "self", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13362 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
;
13364 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13366 PyObject
* obj0
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13380 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13387 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
;
13389 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13391 PyObject
* obj0
= 0 ;
13392 char *kwnames
[] = {
13393 (char *) "self", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13412 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13416 PyObject
* obj0
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "self", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13437 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13438 PyObject
*resultobj
;
13439 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13441 PyObject
* obj0
= 0 ;
13442 char *kwnames
[] = {
13443 (char *) "self", NULL
13446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13462 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
;
13464 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13466 PyObject
* obj0
= 0 ;
13467 char *kwnames
[] = {
13468 (char *) "self", NULL
13471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13487 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13489 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13491 PyObject
* obj0
= 0 ;
13492 char *kwnames
[] = {
13493 (char *) "self", NULL
13496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13500 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13505 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13512 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
;
13514 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13516 PyObject
* obj0
= 0 ;
13517 char *kwnames
[] = {
13518 (char *) "self", NULL
13521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13537 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
;
13539 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13541 PyObject
* obj0
= 0 ;
13542 char *kwnames
[] = {
13543 (char *) "self", NULL
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13562 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
;
13564 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13566 PyObject
* obj0
= 0 ;
13567 char *kwnames
[] = {
13568 (char *) "self", NULL
13571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
13572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13587 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13591 PyObject
* obj0
= 0 ;
13592 char *kwnames
[] = {
13593 (char *) "self", NULL
13596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
13597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13612 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
;
13614 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13616 PyObject
* obj0
= 0 ;
13617 char *kwnames
[] = {
13618 (char *) "self", NULL
13621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
13622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13625 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
13627 wxPyEndAllowThreads(__tstate
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13630 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13637 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
;
13639 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13641 PyObject
* obj0
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self", NULL
13646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
13647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 result
= (bool)(arg1
)->LeftIsDown();
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13662 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13666 PyObject
* obj0
= 0 ;
13667 char *kwnames
[] = {
13668 (char *) "self", NULL
13671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
13672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 result
= (bool)(arg1
)->MiddleIsDown();
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13687 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
;
13689 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13691 PyObject
* obj0
= 0 ;
13692 char *kwnames
[] = {
13693 (char *) "self", NULL
13696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
13697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 result
= (bool)(arg1
)->RightIsDown();
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13712 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
;
13714 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13716 PyObject
* obj0
= 0 ;
13717 char *kwnames
[] = {
13718 (char *) "self", NULL
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
13722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13737 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
;
13739 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13741 PyObject
* obj0
= 0 ;
13742 char *kwnames
[] = {
13743 (char *) "self", NULL
13746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
13747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
13752 wxPyEndAllowThreads(__tstate
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13762 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
;
13764 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13766 PyObject
* obj0
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "self", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
13772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13775 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13780 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13787 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
*resultobj
;
13789 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13791 PyObject
* obj0
= 0 ;
13792 char *kwnames
[] = {
13793 (char *) "self", NULL
13796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
13797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= SWIG_PyObj_FromBool((bool)result
);
13812 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
;
13814 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13816 PyObject
* obj0
= 0 ;
13817 char *kwnames
[] = {
13818 (char *) "self", NULL
13821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 result
= (arg1
)->GetPosition();
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13831 wxPoint
* resultptr
;
13832 resultptr
= new wxPoint((wxPoint
&) result
);
13833 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13841 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
;
13843 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13844 long *arg2
= (long *) 0 ;
13845 long *arg3
= (long *) 0 ;
13848 PyObject
* obj0
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "self", NULL
13855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
13856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 (arg1
)->GetPosition(arg2
,arg3
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 Py_INCREF(Py_None
); resultobj
= Py_None
;
13866 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13867 resultobj
= t_output_helper(resultobj
,o
);
13870 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13871 resultobj
= t_output_helper(resultobj
,o
);
13879 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13880 PyObject
*resultobj
;
13881 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13884 PyObject
* obj0
= 0 ;
13885 PyObject
* obj1
= 0 ;
13886 char *kwnames
[] = {
13887 (char *) "self",(char *) "dc", NULL
13890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13892 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13893 if (arg2
== NULL
) {
13894 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13904 wxPoint
* resultptr
;
13905 resultptr
= new wxPoint((wxPoint
&) result
);
13906 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13914 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 char *kwnames
[] = {
13920 (char *) "self", NULL
13923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
13924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= SWIG_PyObj_FromInt((int)result
);
13939 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13940 PyObject
*resultobj
;
13941 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13943 PyObject
* obj0
= 0 ;
13944 char *kwnames
[] = {
13945 (char *) "self", NULL
13948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
13949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= SWIG_PyObj_FromInt((int)result
);
13964 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13965 PyObject
*resultobj
;
13966 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13968 PyObject
* obj0
= 0 ;
13969 char *kwnames
[] = {
13970 (char *) "self", NULL
13973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
13974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 resultobj
= SWIG_PyObj_FromInt((int)result
);
13989 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13990 PyObject
*resultobj
;
13991 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13993 PyObject
* obj0
= 0 ;
13994 char *kwnames
[] = {
13995 (char *) "self", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
13999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14007 resultobj
= SWIG_PyObj_FromInt((int)result
);
14014 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
;
14016 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14018 PyObject
* obj0
= 0 ;
14019 char *kwnames
[] = {
14020 (char *) "self", NULL
14023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14032 resultobj
= SWIG_PyObj_FromInt((int)result
);
14039 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14040 PyObject
*resultobj
;
14041 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14043 PyObject
* obj0
= 0 ;
14044 char *kwnames
[] = {
14045 (char *) "self", NULL
14048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14064 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
;
14066 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14068 PyObject
* obj0
= 0 ;
14069 PyObject
* obj1
= 0 ;
14070 char *kwnames
[] = {
14071 (char *) "self",(char *) "m_x", NULL
14074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14077 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 if (arg1
) (arg1
)->m_x
= arg2
;
14082 Py_INCREF(Py_None
); resultobj
= Py_None
;
14089 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
;
14091 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14093 PyObject
* obj0
= 0 ;
14094 char *kwnames
[] = {
14095 (char *) "self", NULL
14098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14100 result
= (int) ((arg1
)->m_x
);
14102 resultobj
= SWIG_PyObj_FromInt((int)result
);
14109 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14110 PyObject
*resultobj
;
14111 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14113 PyObject
* obj0
= 0 ;
14114 PyObject
* obj1
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self",(char *) "m_y", NULL
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14122 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14125 if (arg1
) (arg1
)->m_y
= arg2
;
14127 Py_INCREF(Py_None
); resultobj
= Py_None
;
14134 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14138 PyObject
* obj0
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "self", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14145 result
= (int) ((arg1
)->m_y
);
14147 resultobj
= SWIG_PyObj_FromInt((int)result
);
14154 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
;
14156 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14158 PyObject
* obj0
= 0 ;
14159 PyObject
* obj1
= 0 ;
14160 char *kwnames
[] = {
14161 (char *) "self",(char *) "m_leftDown", NULL
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14167 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14172 Py_INCREF(Py_None
); resultobj
= Py_None
;
14179 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
;
14181 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14183 PyObject
* obj0
= 0 ;
14184 char *kwnames
[] = {
14185 (char *) "self", NULL
14188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14190 result
= (bool) ((arg1
)->m_leftDown
);
14192 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14199 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14200 PyObject
*resultobj
;
14201 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14203 PyObject
* obj0
= 0 ;
14204 PyObject
* obj1
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self",(char *) "m_middleDown", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14212 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14217 Py_INCREF(Py_None
); resultobj
= Py_None
;
14224 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14228 PyObject
* obj0
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14235 result
= (bool) ((arg1
)->m_middleDown
);
14237 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14244 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14246 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14248 PyObject
* obj0
= 0 ;
14249 PyObject
* obj1
= 0 ;
14250 char *kwnames
[] = {
14251 (char *) "self",(char *) "m_rightDown", NULL
14254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14257 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14260 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14262 Py_INCREF(Py_None
); resultobj
= Py_None
;
14269 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "self", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14280 result
= (bool) ((arg1
)->m_rightDown
);
14282 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14289 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
;
14291 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14293 PyObject
* obj0
= 0 ;
14294 PyObject
* obj1
= 0 ;
14295 char *kwnames
[] = {
14296 (char *) "self",(char *) "m_controlDown", NULL
14299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14302 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14305 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14307 Py_INCREF(Py_None
); resultobj
= Py_None
;
14314 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
;
14316 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14318 PyObject
* obj0
= 0 ;
14319 char *kwnames
[] = {
14320 (char *) "self", NULL
14323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14325 result
= (bool) ((arg1
)->m_controlDown
);
14327 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14334 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14335 PyObject
*resultobj
;
14336 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 PyObject
* obj1
= 0 ;
14340 char *kwnames
[] = {
14341 (char *) "self",(char *) "m_shiftDown", NULL
14344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14347 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14352 Py_INCREF(Py_None
); resultobj
= Py_None
;
14359 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
;
14361 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14363 PyObject
* obj0
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14370 result
= (bool) ((arg1
)->m_shiftDown
);
14372 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14379 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14383 PyObject
* obj0
= 0 ;
14384 PyObject
* obj1
= 0 ;
14385 char *kwnames
[] = {
14386 (char *) "self",(char *) "m_altDown", NULL
14389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14392 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14395 if (arg1
) (arg1
)->m_altDown
= arg2
;
14397 Py_INCREF(Py_None
); resultobj
= Py_None
;
14404 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14408 PyObject
* obj0
= 0 ;
14409 char *kwnames
[] = {
14410 (char *) "self", NULL
14413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14415 result
= (bool) ((arg1
)->m_altDown
);
14417 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14424 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14425 PyObject
*resultobj
;
14426 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14428 PyObject
* obj0
= 0 ;
14429 PyObject
* obj1
= 0 ;
14430 char *kwnames
[] = {
14431 (char *) "self",(char *) "m_metaDown", NULL
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14437 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14442 Py_INCREF(Py_None
); resultobj
= Py_None
;
14449 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "self", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14460 result
= (bool) ((arg1
)->m_metaDown
);
14462 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14469 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
;
14471 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14473 PyObject
* obj0
= 0 ;
14474 PyObject
* obj1
= 0 ;
14475 char *kwnames
[] = {
14476 (char *) "self",(char *) "m_wheelRotation", NULL
14479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14482 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14485 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14487 Py_INCREF(Py_None
); resultobj
= Py_None
;
14494 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
;
14496 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 char *kwnames
[] = {
14500 (char *) "self", NULL
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14505 result
= (int) ((arg1
)->m_wheelRotation
);
14507 resultobj
= SWIG_PyObj_FromInt((int)result
);
14514 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14515 PyObject
*resultobj
;
14516 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14518 PyObject
* obj0
= 0 ;
14519 PyObject
* obj1
= 0 ;
14520 char *kwnames
[] = {
14521 (char *) "self",(char *) "m_wheelDelta", NULL
14524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14527 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14530 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
14532 Py_INCREF(Py_None
); resultobj
= Py_None
;
14539 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
14549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14550 result
= (int) ((arg1
)->m_wheelDelta
);
14552 resultobj
= SWIG_PyObj_FromInt((int)result
);
14559 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
;
14561 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14563 PyObject
* obj0
= 0 ;
14564 PyObject
* obj1
= 0 ;
14565 char *kwnames
[] = {
14566 (char *) "self",(char *) "m_linesPerAction", NULL
14569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14572 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
14577 Py_INCREF(Py_None
); resultobj
= Py_None
;
14584 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14585 PyObject
*resultobj
;
14586 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14588 PyObject
* obj0
= 0 ;
14589 char *kwnames
[] = {
14590 (char *) "self", NULL
14593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
14594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14595 result
= (int) ((arg1
)->m_linesPerAction
);
14597 resultobj
= SWIG_PyObj_FromInt((int)result
);
14604 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14607 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
14609 return Py_BuildValue((char *)"");
14611 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 int arg1
= (int) 0 ;
14614 int arg2
= (int) 0 ;
14615 wxSetCursorEvent
*result
;
14616 PyObject
* obj0
= 0 ;
14617 PyObject
* obj1
= 0 ;
14618 char *kwnames
[] = {
14619 (char *) "x",(char *) "y", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14625 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14631 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
14649 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14650 PyObject
*resultobj
;
14651 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14653 PyObject
* obj0
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "self", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
14659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= SWIG_PyObj_FromInt((int)result
);
14674 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
;
14676 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14678 PyObject
* obj0
= 0 ;
14679 char *kwnames
[] = {
14680 (char *) "self", NULL
14683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
14684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= SWIG_PyObj_FromInt((int)result
);
14699 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14702 wxCursor
*arg2
= 0 ;
14703 PyObject
* obj0
= 0 ;
14704 PyObject
* obj1
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self",(char *) "cursor", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
14710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14712 if (arg2
== NULL
) {
14713 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 Py_INCREF(Py_None
); resultobj
= Py_None
;
14729 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
14739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
14744 result
= (wxCursor
*) &_result_ref
;
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
14757 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
;
14759 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14761 PyObject
* obj0
= 0 ;
14762 char *kwnames
[] = {
14763 (char *) "self", NULL
14766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
14767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14782 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14785 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
14787 return Py_BuildValue((char *)"");
14789 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14792 wxKeyEvent
*result
;
14793 PyObject
* obj0
= 0 ;
14794 char *kwnames
[] = {
14795 (char *) "keyType", NULL
14798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
14801 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
14819 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
;
14821 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14823 PyObject
* obj0
= 0 ;
14824 char *kwnames
[] = {
14825 (char *) "self", NULL
14828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
14829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14844 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14869 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
;
14871 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14873 PyObject
* obj0
= 0 ;
14874 char *kwnames
[] = {
14875 (char *) "self", NULL
14878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
14879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14887 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14894 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14898 PyObject
* obj0
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "self", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
14904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14919 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14920 PyObject
*resultobj
;
14921 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14923 PyObject
* obj0
= 0 ;
14924 char *kwnames
[] = {
14925 (char *) "self", NULL
14928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
14929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14937 resultobj
= SWIG_PyObj_FromBool((bool)result
);
14944 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
;
14946 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14948 PyObject
* obj0
= 0 ;
14949 char *kwnames
[] = {
14950 (char *) "self", NULL
14953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
14954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14957 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
14959 wxPyEndAllowThreads(__tstate
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14962 resultobj
= SWIG_PyObj_FromInt((int)result
);
14969 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
;
14971 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14973 PyObject
* obj0
= 0 ;
14974 char *kwnames
[] = {
14975 (char *) "self", NULL
14978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
14979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14982 result
= (int)wxKeyEvent_GetUniChar(arg1
);
14984 wxPyEndAllowThreads(__tstate
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14987 resultobj
= SWIG_PyObj_FromInt((int)result
);
14994 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
;
14996 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14997 unsigned int result
;
14998 PyObject
* obj0
= 0 ;
14999 char *kwnames
[] = {
15000 (char *) "self", NULL
15003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15007 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15009 wxPyEndAllowThreads(__tstate
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15012 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15019 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
;
15021 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15022 unsigned int result
;
15023 PyObject
* obj0
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15037 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15044 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15045 PyObject
*resultobj
;
15046 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15048 PyObject
* obj0
= 0 ;
15049 char *kwnames
[] = {
15050 (char *) "self", NULL
15053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (arg1
)->GetPosition();
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15063 wxPoint
* resultptr
;
15064 resultptr
= new wxPoint((wxPoint
&) result
);
15065 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15073 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15076 long *arg2
= (long *) 0 ;
15077 long *arg3
= (long *) 0 ;
15080 PyObject
* obj0
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 (arg1
)->GetPosition(arg2
,arg3
);
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15096 Py_INCREF(Py_None
); resultobj
= Py_None
;
15098 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15099 resultobj
= t_output_helper(resultobj
,o
);
15102 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15103 resultobj
= t_output_helper(resultobj
,o
);
15111 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15115 PyObject
* obj0
= 0 ;
15116 char *kwnames
[] = {
15117 (char *) "self", NULL
15120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= SWIG_PyObj_FromInt((int)result
);
15136 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15137 PyObject
*resultobj
;
15138 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15140 PyObject
* obj0
= 0 ;
15141 char *kwnames
[] = {
15142 (char *) "self", NULL
15145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15154 resultobj
= SWIG_PyObj_FromInt((int)result
);
15161 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
;
15163 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 char *kwnames
[] = {
15168 (char *) "self",(char *) "m_x", NULL
15171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15174 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15177 if (arg1
) (arg1
)->m_x
= arg2
;
15179 Py_INCREF(Py_None
); resultobj
= Py_None
;
15186 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
;
15188 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15190 PyObject
* obj0
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "self", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15197 result
= (int) ((arg1
)->m_x
);
15199 resultobj
= SWIG_PyObj_FromInt((int)result
);
15206 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
;
15208 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 PyObject
* obj1
= 0 ;
15212 char *kwnames
[] = {
15213 (char *) "self",(char *) "m_y", NULL
15216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15219 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15222 if (arg1
) (arg1
)->m_y
= arg2
;
15224 Py_INCREF(Py_None
); resultobj
= Py_None
;
15231 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
;
15233 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15235 PyObject
* obj0
= 0 ;
15236 char *kwnames
[] = {
15237 (char *) "self", NULL
15240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15242 result
= (int) ((arg1
)->m_y
);
15244 resultobj
= SWIG_PyObj_FromInt((int)result
);
15251 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 PyObject
* obj1
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self",(char *) "m_keyCode", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15264 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15269 Py_INCREF(Py_None
); resultobj
= Py_None
;
15276 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15280 PyObject
* obj0
= 0 ;
15281 char *kwnames
[] = {
15282 (char *) "self", NULL
15285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15287 result
= (long) ((arg1
)->m_keyCode
);
15289 resultobj
= SWIG_PyObj_FromLong((long)result
);
15296 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
;
15298 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15300 PyObject
* obj0
= 0 ;
15301 PyObject
* obj1
= 0 ;
15302 char *kwnames
[] = {
15303 (char *) "self",(char *) "m_controlDown", NULL
15306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15309 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15312 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15314 Py_INCREF(Py_None
); resultobj
= Py_None
;
15321 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15332 result
= (bool) ((arg1
)->m_controlDown
);
15334 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15341 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15343 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15345 PyObject
* obj0
= 0 ;
15346 PyObject
* obj1
= 0 ;
15347 char *kwnames
[] = {
15348 (char *) "self",(char *) "m_shiftDown", NULL
15351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15354 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15357 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15359 Py_INCREF(Py_None
); resultobj
= Py_None
;
15366 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
;
15368 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15370 PyObject
* obj0
= 0 ;
15371 char *kwnames
[] = {
15372 (char *) "self", NULL
15375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15377 result
= (bool) ((arg1
)->m_shiftDown
);
15379 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15386 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 PyObject
* obj1
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self",(char *) "m_altDown", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15399 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 if (arg1
) (arg1
)->m_altDown
= arg2
;
15404 Py_INCREF(Py_None
); resultobj
= Py_None
;
15411 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
;
15413 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15415 PyObject
* obj0
= 0 ;
15416 char *kwnames
[] = {
15417 (char *) "self", NULL
15420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15422 result
= (bool) ((arg1
)->m_altDown
);
15424 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15431 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self",(char *) "m_metaDown", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15444 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15447 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15449 Py_INCREF(Py_None
); resultobj
= Py_None
;
15456 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
;
15458 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15460 PyObject
* obj0
= 0 ;
15461 char *kwnames
[] = {
15462 (char *) "self", NULL
15465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15467 result
= (bool) ((arg1
)->m_metaDown
);
15469 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15476 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
;
15478 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15480 PyObject
* obj0
= 0 ;
15481 PyObject
* obj1
= 0 ;
15482 char *kwnames
[] = {
15483 (char *) "self",(char *) "m_scanCode", NULL
15486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15489 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 if (arg1
) (arg1
)->m_scanCode
= arg2
;
15494 Py_INCREF(Py_None
); resultobj
= Py_None
;
15501 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
;
15503 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
15511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15512 result
= (bool) ((arg1
)->m_scanCode
);
15514 resultobj
= SWIG_PyObj_FromBool((bool)result
);
15521 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15522 PyObject
*resultobj
;
15523 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15524 unsigned int arg2
;
15525 PyObject
* obj0
= 0 ;
15526 PyObject
* obj1
= 0 ;
15527 char *kwnames
[] = {
15528 (char *) "self",(char *) "m_rawCode", NULL
15531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15534 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 if (arg1
) (arg1
)->m_rawCode
= arg2
;
15539 Py_INCREF(Py_None
); resultobj
= Py_None
;
15546 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
;
15548 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15549 unsigned int result
;
15550 PyObject
* obj0
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "self", NULL
15555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
15556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15557 result
= (unsigned int) ((arg1
)->m_rawCode
);
15559 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15566 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15569 unsigned int arg2
;
15570 PyObject
* obj0
= 0 ;
15571 PyObject
* obj1
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "self",(char *) "m_rawFlags", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15579 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15582 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
15584 Py_INCREF(Py_None
); resultobj
= Py_None
;
15591 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
;
15593 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15594 unsigned int result
;
15595 PyObject
* obj0
= 0 ;
15596 char *kwnames
[] = {
15597 (char *) "self", NULL
15600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
15601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15602 result
= (unsigned int) ((arg1
)->m_rawFlags
);
15604 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
15611 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15614 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
15616 return Py_BuildValue((char *)"");
15618 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 wxSize
const &arg1_defvalue
= wxDefaultSize
;
15621 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
15622 int arg2
= (int) 0 ;
15623 wxSizeEvent
*result
;
15625 PyObject
* obj0
= 0 ;
15626 PyObject
* obj1
= 0 ;
15627 char *kwnames
[] = {
15628 (char *) "sz",(char *) "winid", NULL
15631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15635 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
15640 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
15658 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15662 PyObject
* obj0
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
15668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15677 wxSize
* resultptr
;
15678 resultptr
= new wxSize((wxSize
&) result
);
15679 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15687 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15691 PyObject
* obj0
= 0 ;
15692 char *kwnames
[] = {
15693 (char *) "self", NULL
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15706 wxRect
* resultptr
;
15707 resultptr
= new wxRect((wxRect
&) result
);
15708 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
15716 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
;
15718 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15721 PyObject
* obj0
= 0 ;
15722 PyObject
* obj1
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self",(char *) "rect", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15729 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 (arg1
)->SetRect(arg2
);
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15738 Py_INCREF(Py_None
); resultobj
= Py_None
;
15745 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self",(char *) "size", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15758 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 wxSizeEvent_SetSize(arg1
,arg2
);
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15767 Py_INCREF(Py_None
); resultobj
= Py_None
;
15774 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
;
15776 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15777 wxSize
*arg2
= (wxSize
*) 0 ;
15778 PyObject
* obj0
= 0 ;
15779 PyObject
* obj1
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "self",(char *) "m_size", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15786 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15787 if (arg1
) (arg1
)->m_size
= *arg2
;
15789 Py_INCREF(Py_None
); resultobj
= Py_None
;
15796 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
;
15798 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15800 PyObject
* obj0
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "self", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
15806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15807 result
= (wxSize
*)& ((arg1
)->m_size
);
15809 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
15816 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15817 PyObject
*resultobj
;
15818 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15819 wxRect
*arg2
= (wxRect
*) 0 ;
15820 PyObject
* obj0
= 0 ;
15821 PyObject
* obj1
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self",(char *) "m_rect", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15828 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15829 if (arg1
) (arg1
)->m_rect
= *arg2
;
15831 Py_INCREF(Py_None
); resultobj
= Py_None
;
15838 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15849 result
= (wxRect
*)& ((arg1
)->m_rect
);
15851 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
15858 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15861 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
15863 return Py_BuildValue((char *)"");
15865 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
15868 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
15869 int arg2
= (int) 0 ;
15870 wxMoveEvent
*result
;
15872 PyObject
* obj0
= 0 ;
15873 PyObject
* obj1
= 0 ;
15874 char *kwnames
[] = {
15875 (char *) "pos",(char *) "winid", NULL
15878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15882 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
15887 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15898 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
15905 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
;
15907 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15909 PyObject
* obj0
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "self", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15924 wxPoint
* resultptr
;
15925 resultptr
= new wxPoint((wxPoint
&) result
);
15926 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15934 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
;
15936 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15938 PyObject
* obj0
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15947 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
15949 wxPyEndAllowThreads(__tstate
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15953 wxRect
* resultptr
;
15954 resultptr
= new wxRect((wxRect
&) result
);
15955 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
15963 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
;
15965 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15968 PyObject
* obj0
= 0 ;
15969 PyObject
* obj1
= 0 ;
15970 char *kwnames
[] = {
15971 (char *) "self",(char *) "rect", NULL
15974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15976 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 (arg1
)->SetRect(arg2
);
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15985 Py_INCREF(Py_None
); resultobj
= Py_None
;
15992 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15993 PyObject
*resultobj
;
15994 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
15997 PyObject
* obj0
= 0 ;
15998 PyObject
* obj1
= 0 ;
15999 char *kwnames
[] = {
16000 (char *) "self",(char *) "pos", NULL
16003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16005 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 wxMoveEvent_SetPosition(arg1
,arg2
);
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16014 Py_INCREF(Py_None
); resultobj
= Py_None
;
16021 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16022 PyObject
*resultobj
;
16023 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16024 wxPoint
*arg2
= (wxPoint
*) 0 ;
16025 PyObject
* obj0
= 0 ;
16026 PyObject
* obj1
= 0 ;
16027 char *kwnames
[] = {
16028 (char *) "self",(char *) "m_pos", NULL
16031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16033 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16034 if (arg1
) (arg1
)->m_pos
= *arg2
;
16036 Py_INCREF(Py_None
); resultobj
= Py_None
;
16043 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
;
16045 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16047 PyObject
* obj0
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "self", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16054 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16063 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
;
16065 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16066 wxRect
*arg2
= (wxRect
*) 0 ;
16067 PyObject
* obj0
= 0 ;
16068 PyObject
* obj1
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self",(char *) "m_rect", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16075 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16076 if (arg1
) (arg1
)->m_rect
= *arg2
;
16078 Py_INCREF(Py_None
); resultobj
= Py_None
;
16085 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16086 PyObject
*resultobj
;
16087 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16089 PyObject
* obj0
= 0 ;
16090 char *kwnames
[] = {
16091 (char *) "self", NULL
16094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16096 result
= (wxRect
*)& ((arg1
)->m_rect
);
16098 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
16105 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16108 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16110 return Py_BuildValue((char *)"");
16112 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 int arg1
= (int) 0 ;
16115 wxPaintEvent
*result
;
16116 PyObject
* obj0
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "Id", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16124 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
16142 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16145 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16147 return Py_BuildValue((char *)"");
16149 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 int arg1
= (int) 0 ;
16152 wxNcPaintEvent
*result
;
16153 PyObject
* obj0
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "winid", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16161 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16169 wxPyEndAllowThreads(__tstate
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16172 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
16179 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16182 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16184 return Py_BuildValue((char *)"");
16186 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16187 PyObject
*resultobj
;
16188 int arg1
= (int) 0 ;
16189 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16190 wxEraseEvent
*result
;
16191 PyObject
* obj0
= 0 ;
16192 PyObject
* obj1
= 0 ;
16193 char *kwnames
[] = {
16194 (char *) "Id",(char *) "dc", NULL
16197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16200 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16201 if (PyErr_Occurred()) SWIG_fail
;
16205 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
16221 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
;
16223 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16225 PyObject
* obj0
= 0 ;
16226 char *kwnames
[] = {
16227 (char *) "self", NULL
16230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16234 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16240 resultobj
= wxPyMake_wxObject(result
);
16248 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16251 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16253 return Py_BuildValue((char *)"");
16255 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16258 int arg2
= (int) 0 ;
16259 wxFocusEvent
*result
;
16260 PyObject
* obj0
= 0 ;
16261 PyObject
* obj1
= 0 ;
16262 char *kwnames
[] = {
16263 (char *) "type",(char *) "winid", NULL
16266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16269 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16275 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
16293 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
;
16295 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16297 PyObject
* obj0
= 0 ;
16298 char *kwnames
[] = {
16299 (char *) "self", NULL
16302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16306 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16308 wxPyEndAllowThreads(__tstate
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16312 resultobj
= wxPyMake_wxObject(result
);
16320 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
;
16322 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16323 wxWindow
*arg2
= (wxWindow
*) 0 ;
16324 PyObject
* obj0
= 0 ;
16325 PyObject
* obj1
= 0 ;
16326 char *kwnames
[] = {
16327 (char *) "self",(char *) "win", NULL
16330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16332 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16335 (arg1
)->SetWindow(arg2
);
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16340 Py_INCREF(Py_None
); resultobj
= Py_None
;
16347 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16350 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16352 return Py_BuildValue((char *)"");
16354 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16356 wxWindow
*arg1
= (wxWindow
*) NULL
;
16357 wxChildFocusEvent
*result
;
16358 PyObject
* obj0
= 0 ;
16359 char *kwnames
[] = {
16360 (char *) "win", NULL
16363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
16381 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
;
16383 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= wxPyMake_wxObject(result
);
16408 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16411 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16413 return Py_BuildValue((char *)"");
16415 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16418 bool arg2
= (bool) True
;
16419 int arg3
= (int) 0 ;
16420 wxActivateEvent
*result
;
16421 PyObject
* obj0
= 0 ;
16422 PyObject
* obj1
= 0 ;
16423 PyObject
* obj2
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "type",(char *) "active",(char *) "Id", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16431 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16437 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16443 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16449 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16451 wxPyEndAllowThreads(__tstate
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16454 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
16461 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16462 PyObject
*resultobj
;
16463 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
16465 PyObject
* obj0
= 0 ;
16466 char *kwnames
[] = {
16467 (char *) "self", NULL
16470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
16471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16479 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16486 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16489 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
16491 return Py_BuildValue((char *)"");
16493 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
;
16495 int arg1
= (int) 0 ;
16496 wxInitDialogEvent
*result
;
16497 PyObject
* obj0
= 0 ;
16498 char *kwnames
[] = {
16499 (char *) "Id", NULL
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
16505 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
16523 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16526 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
16528 return Py_BuildValue((char *)"");
16530 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16531 PyObject
*resultobj
;
16532 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16533 int arg2
= (int) 0 ;
16534 wxMenu
*arg3
= (wxMenu
*) NULL
;
16535 wxMenuEvent
*result
;
16536 PyObject
* obj0
= 0 ;
16537 PyObject
* obj1
= 0 ;
16538 PyObject
* obj2
= 0 ;
16539 char *kwnames
[] = {
16540 (char *) "type",(char *) "winid",(char *) "menu", NULL
16543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16546 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16552 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16557 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
16573 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16574 PyObject
*resultobj
;
16575 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16577 PyObject
* obj0
= 0 ;
16578 char *kwnames
[] = {
16579 (char *) "self", NULL
16582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
16583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16591 resultobj
= SWIG_PyObj_FromInt((int)result
);
16598 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16599 PyObject
*resultobj
;
16600 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16602 PyObject
* obj0
= 0 ;
16603 char *kwnames
[] = {
16604 (char *) "self", NULL
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
16608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
16613 wxPyEndAllowThreads(__tstate
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16616 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16623 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
;
16625 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16627 PyObject
* obj0
= 0 ;
16628 char *kwnames
[] = {
16629 (char *) "self", NULL
16632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
16633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16642 resultobj
= wxPyMake_wxObject(result
);
16650 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16653 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
16655 return Py_BuildValue((char *)"");
16657 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16660 int arg2
= (int) 0 ;
16661 wxCloseEvent
*result
;
16662 PyObject
* obj0
= 0 ;
16663 PyObject
* obj1
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "type",(char *) "winid", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16671 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16677 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
16695 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16696 PyObject
*resultobj
;
16697 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16699 PyObject
* obj0
= 0 ;
16700 PyObject
* obj1
= 0 ;
16701 char *kwnames
[] = {
16702 (char *) "self",(char *) "logOff", NULL
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
16706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16708 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 (arg1
)->SetLoggingOff(arg2
);
16715 wxPyEndAllowThreads(__tstate
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16718 Py_INCREF(Py_None
); resultobj
= Py_None
;
16725 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16729 PyObject
* obj0
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "self", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
16735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16743 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16750 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16753 bool arg2
= (bool) True
;
16754 PyObject
* obj0
= 0 ;
16755 PyObject
* obj1
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self",(char *) "veto", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
16761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16764 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 (arg1
)->Veto(arg2
);
16772 wxPyEndAllowThreads(__tstate
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16775 Py_INCREF(Py_None
); resultobj
= Py_None
;
16782 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16783 PyObject
*resultobj
;
16784 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16786 PyObject
* obj0
= 0 ;
16787 PyObject
* obj1
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "self",(char *) "canVeto", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
16793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16795 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 (arg1
)->SetCanVeto(arg2
);
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 Py_INCREF(Py_None
); resultobj
= Py_None
;
16812 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16816 PyObject
* obj0
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
16822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16837 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16841 PyObject
* obj0
= 0 ;
16842 char *kwnames
[] = {
16843 (char *) "self", NULL
16846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
16847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16862 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16865 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
16867 return Py_BuildValue((char *)"");
16869 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 int arg1
= (int) 0 ;
16872 bool arg2
= (bool) False
;
16873 wxShowEvent
*result
;
16874 PyObject
* obj0
= 0 ;
16875 PyObject
* obj1
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "winid",(char *) "show", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16883 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16889 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
16907 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16909 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
16911 PyObject
* obj0
= 0 ;
16912 PyObject
* obj1
= 0 ;
16913 char *kwnames
[] = {
16914 (char *) "self",(char *) "show", NULL
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
16918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16920 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 (arg1
)->SetShow(arg2
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 Py_INCREF(Py_None
); resultobj
= Py_None
;
16937 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16939 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
16941 PyObject
* obj0
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "self", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
16947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16955 resultobj
= SWIG_PyObj_FromBool((bool)result
);
16962 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16965 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
16967 return Py_BuildValue((char *)"");
16969 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 int arg1
= (int) 0 ;
16972 bool arg2
= (bool) True
;
16973 wxIconizeEvent
*result
;
16974 PyObject
* obj0
= 0 ;
16975 PyObject
* obj1
= 0 ;
16976 char *kwnames
[] = {
16977 (char *) "id",(char *) "iconized", NULL
16980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16983 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16989 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
16997 wxPyEndAllowThreads(__tstate
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
17007 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
;
17009 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17011 PyObject
* obj0
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "self", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 result
= (bool)(arg1
)->Iconized();
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17032 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17035 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17037 return Py_BuildValue((char *)"");
17039 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 int arg1
= (int) 0 ;
17042 wxMaximizeEvent
*result
;
17043 PyObject
* obj0
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "id", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17051 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17052 if (PyErr_Occurred()) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17062 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
17069 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17072 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17074 return Py_BuildValue((char *)"");
17076 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
;
17078 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17080 PyObject
* obj0
= 0 ;
17081 char *kwnames
[] = {
17082 (char *) "self", NULL
17085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 result
= (arg1
)->GetPosition();
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17095 wxPoint
* resultptr
;
17096 resultptr
= new wxPoint((wxPoint
&) result
);
17097 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17105 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
;
17107 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17109 PyObject
* obj0
= 0 ;
17110 char *kwnames
[] = {
17111 (char *) "self", NULL
17114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= (int)(arg1
)->GetNumberOfFiles();
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= SWIG_PyObj_FromInt((int)result
);
17130 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17134 PyObject
* obj0
= 0 ;
17135 char *kwnames
[] = {
17136 (char *) "self", NULL
17139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= result
;
17155 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17158 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17160 return Py_BuildValue((char *)"");
17162 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17163 PyObject
*resultobj
;
17164 int arg1
= (int) 0 ;
17165 wxUpdateUIEvent
*result
;
17166 PyObject
* obj0
= 0 ;
17167 char *kwnames
[] = {
17168 (char *) "commandId", NULL
17171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17174 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17180 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17185 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
17192 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
;
17194 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17196 PyObject
* obj0
= 0 ;
17197 char *kwnames
[] = {
17198 (char *) "self", NULL
17201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17217 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17221 PyObject
* obj0
= 0 ;
17222 char *kwnames
[] = {
17223 (char *) "self", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17242 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17246 PyObject
* obj0
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17273 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
;
17275 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17277 PyObject
* obj0
= 0 ;
17278 char *kwnames
[] = {
17279 (char *) "self", NULL
17282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17291 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17298 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
;
17300 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17302 PyObject
* obj0
= 0 ;
17303 char *kwnames
[] = {
17304 (char *) "self", NULL
17307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17311 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17313 wxPyEndAllowThreads(__tstate
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17316 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17323 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17324 PyObject
*resultobj
;
17325 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17327 PyObject
* obj0
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "self", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17348 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17349 PyObject
*resultobj
;
17350 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self",(char *) "check", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17361 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 (arg1
)->Check(arg2
);
17368 wxPyEndAllowThreads(__tstate
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 Py_INCREF(Py_None
); resultobj
= Py_None
;
17378 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
;
17380 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17382 PyObject
* obj0
= 0 ;
17383 PyObject
* obj1
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self",(char *) "enable", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17391 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 (arg1
)->Enable(arg2
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 Py_INCREF(Py_None
); resultobj
= Py_None
;
17408 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17411 wxString
*arg2
= 0 ;
17412 bool temp2
= False
;
17413 PyObject
* obj0
= 0 ;
17414 PyObject
* obj1
= 0 ;
17415 char *kwnames
[] = {
17416 (char *) "self",(char *) "text", NULL
17419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17422 arg2
= wxString_in_helper(obj1
);
17423 if (arg2
== NULL
) SWIG_fail
;
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17428 (arg1
)->SetText((wxString
const &)*arg2
);
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17433 Py_INCREF(Py_None
); resultobj
= Py_None
;
17448 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
;
17451 PyObject
* obj0
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "updateInterval", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
17458 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 wxUpdateUIEvent::SetUpdateInterval(arg1
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 Py_INCREF(Py_None
); resultobj
= Py_None
;
17475 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
;
17478 char *kwnames
[] = {
17482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 resultobj
= SWIG_PyObj_FromLong((long)result
);
17497 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17498 PyObject
*resultobj
;
17499 wxWindow
*arg1
= (wxWindow
*) 0 ;
17501 PyObject
* obj0
= 0 ;
17502 char *kwnames
[] = {
17503 (char *) "win", NULL
17506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
17507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17522 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
;
17524 char *kwnames
[] = {
17528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
17530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17531 wxUpdateUIEvent::ResetUpdateTime();
17533 wxPyEndAllowThreads(__tstate
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17536 Py_INCREF(Py_None
); resultobj
= Py_None
;
17543 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
;
17546 PyObject
* obj0
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "mode", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
17553 arg1
= (wxUpdateUIMode
) SWIG_PyObj_AsInt(obj0
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 Py_INCREF(Py_None
); resultobj
= Py_None
;
17570 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17573 char *kwnames
[] = {
17577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 result
= (int)wxUpdateUIEvent::GetMode();
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= SWIG_PyObj_FromInt((int)result
);
17592 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17595 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
17597 return Py_BuildValue((char *)"");
17599 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxSysColourChangedEvent
*result
;
17602 char *kwnames
[] = {
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
17621 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17624 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
17626 return Py_BuildValue((char *)"");
17628 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 int arg1
= (int) 0 ;
17631 wxWindow
*arg2
= (wxWindow
*) NULL
;
17632 wxMouseCaptureChangedEvent
*result
;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "winid",(char *) "gainedCapture", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17642 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17647 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17651 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
17653 wxPyEndAllowThreads(__tstate
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
17663 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17664 PyObject
*resultobj
;
17665 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
17667 PyObject
* obj0
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "self", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
17673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17682 resultobj
= wxPyMake_wxObject(result
);
17690 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17693 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
17695 return Py_BuildValue((char *)"");
17697 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
;
17699 wxDisplayChangedEvent
*result
;
17700 char *kwnames
[] = {
17704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
17719 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17722 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
17724 return Py_BuildValue((char *)"");
17726 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 int arg1
= (int) 0 ;
17729 wxPaletteChangedEvent
*result
;
17730 PyObject
* obj0
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "id", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
17738 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
17756 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
17759 wxWindow
*arg2
= (wxWindow
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self",(char *) "win", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17768 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 (arg1
)->SetChangedWindow(arg2
);
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 Py_INCREF(Py_None
); resultobj
= Py_None
;
17783 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
17787 PyObject
* obj0
= 0 ;
17788 char *kwnames
[] = {
17789 (char *) "self", NULL
17792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
17793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17796 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= wxPyMake_wxObject(result
);
17810 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17813 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
17815 return Py_BuildValue((char *)"");
17817 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17818 PyObject
*resultobj
;
17819 int arg1
= (int) 0 ;
17820 wxQueryNewPaletteEvent
*result
;
17821 PyObject
* obj0
= 0 ;
17822 char *kwnames
[] = {
17823 (char *) "winid", NULL
17826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
17829 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
17847 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
;
17849 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 PyObject
* obj1
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self",(char *) "realized", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
17858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17860 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 (arg1
)->SetPaletteRealized(arg2
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 Py_INCREF(Py_None
); resultobj
= Py_None
;
17877 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17878 PyObject
*resultobj
;
17879 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
17881 PyObject
* obj0
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17902 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17905 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
17907 return Py_BuildValue((char *)"");
17909 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
;
17911 wxNavigationKeyEvent
*result
;
17912 char *kwnames
[] = {
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
17931 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "self", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
17941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 resultobj
= SWIG_PyObj_FromBool((bool)result
);
17956 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
;
17958 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17960 PyObject
* obj0
= 0 ;
17961 PyObject
* obj1
= 0 ;
17962 char *kwnames
[] = {
17963 (char *) "self",(char *) "bForward", NULL
17966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
17967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17969 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 (arg1
)->SetDirection(arg2
);
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 Py_INCREF(Py_None
); resultobj
= Py_None
;
17986 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
;
17988 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
17990 PyObject
* obj0
= 0 ;
17991 char *kwnames
[] = {
17992 (char *) "self", NULL
17995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
17996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18011 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18012 PyObject
*resultobj
;
18013 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18015 PyObject
* obj0
= 0 ;
18016 PyObject
* obj1
= 0 ;
18017 char *kwnames
[] = {
18018 (char *) "self",(char *) "bIs", NULL
18021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18024 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 (arg1
)->SetWindowChange(arg2
);
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 Py_INCREF(Py_None
); resultobj
= Py_None
;
18041 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18042 PyObject
*resultobj
;
18043 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18045 PyObject
* obj0
= 0 ;
18046 char *kwnames
[] = {
18047 (char *) "self", NULL
18050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18054 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18060 resultobj
= wxPyMake_wxObject(result
);
18068 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
;
18070 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18071 wxWindow
*arg2
= (wxWindow
*) 0 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 char *kwnames
[] = {
18075 (char *) "self",(char *) "win", NULL
18078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18080 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18083 (arg1
)->SetCurrentFocus(arg2
);
18085 wxPyEndAllowThreads(__tstate
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18088 Py_INCREF(Py_None
); resultobj
= Py_None
;
18095 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18098 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18100 return Py_BuildValue((char *)"");
18102 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
;
18104 wxWindow
*arg1
= (wxWindow
*) NULL
;
18105 wxWindowCreateEvent
*result
;
18106 PyObject
* obj0
= 0 ;
18107 char *kwnames
[] = {
18108 (char *) "win", NULL
18111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18122 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
18129 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18130 PyObject
*resultobj
;
18131 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18133 PyObject
* obj0
= 0 ;
18134 char *kwnames
[] = {
18135 (char *) "self", NULL
18138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18148 resultobj
= wxPyMake_wxObject(result
);
18156 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18159 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18161 return Py_BuildValue((char *)"");
18163 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18165 wxWindow
*arg1
= (wxWindow
*) NULL
;
18166 wxWindowDestroyEvent
*result
;
18167 PyObject
* obj0
= 0 ;
18168 char *kwnames
[] = {
18169 (char *) "win", NULL
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18178 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18190 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
;
18192 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18194 PyObject
* obj0
= 0 ;
18195 char *kwnames
[] = {
18196 (char *) "self", NULL
18199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= wxPyMake_wxObject(result
);
18217 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18220 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18222 return Py_BuildValue((char *)"");
18224 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18227 int arg2
= (int) 0 ;
18228 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18229 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18230 wxContextMenuEvent
*result
;
18232 PyObject
* obj0
= 0 ;
18233 PyObject
* obj1
= 0 ;
18234 PyObject
* obj2
= 0 ;
18235 char *kwnames
[] = {
18236 (char *) "type",(char *) "winid",(char *) "pt", NULL
18239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18242 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18248 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18255 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
18272 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
;
18274 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18276 PyObject
* obj0
= 0 ;
18277 char *kwnames
[] = {
18278 (char *) "self", NULL
18281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18287 result
= (wxPoint
*) &_result_ref
;
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18293 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
18300 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
;
18302 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18303 wxPoint
*arg2
= 0 ;
18305 PyObject
* obj0
= 0 ;
18306 PyObject
* obj1
= 0 ;
18307 char *kwnames
[] = {
18308 (char *) "self",(char *) "pos", NULL
18311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18315 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 Py_INCREF(Py_None
); resultobj
= Py_None
;
18331 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18334 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18336 return Py_BuildValue((char *)"");
18338 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxIdleEvent
*result
;
18341 char *kwnames
[] = {
18345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 result
= (wxIdleEvent
*)new wxIdleEvent();
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
18360 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18361 PyObject
*resultobj
;
18362 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18363 bool arg2
= (bool) True
;
18364 PyObject
* obj0
= 0 ;
18365 PyObject
* obj1
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self",(char *) "needMore", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18374 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 (arg1
)->RequestMore(arg2
);
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 Py_INCREF(Py_None
); resultobj
= Py_None
;
18392 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
;
18394 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18396 PyObject
* obj0
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "self", NULL
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18417 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
;
18420 PyObject
* obj0
= 0 ;
18421 char *kwnames
[] = {
18422 (char *) "mode", NULL
18425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18427 arg1
= (wxIdleMode
) SWIG_PyObj_AsInt(obj0
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18437 Py_INCREF(Py_None
); resultobj
= Py_None
;
18444 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18445 PyObject
*resultobj
;
18447 char *kwnames
[] = {
18451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 result
= (int)wxIdleEvent::GetMode();
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= SWIG_PyObj_FromInt((int)result
);
18466 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
;
18468 wxWindow
*arg1
= (wxWindow
*) 0 ;
18470 PyObject
* obj0
= 0 ;
18471 char *kwnames
[] = {
18472 (char *) "win", NULL
18475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
18476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 result
= (bool)wxIdleEvent::CanSend(arg1
);
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 resultobj
= SWIG_PyObj_FromBool((bool)result
);
18491 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18494 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
18496 return Py_BuildValue((char *)"");
18498 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 int arg1
= (int) 0 ;
18501 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
18503 PyObject
* obj0
= 0 ;
18504 PyObject
* obj1
= 0 ;
18505 char *kwnames
[] = {
18506 (char *) "winid",(char *) "commandType", NULL
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18512 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18518 arg2
= (wxEventType
) SWIG_PyObj_AsInt(obj1
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
18536 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18539 PyObject
* obj0
= 0 ;
18540 char *kwnames
[] = {
18541 (char *) "self", NULL
18544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
18545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18550 wxPyEndAllowThreads(__tstate
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18553 Py_INCREF(Py_None
); resultobj
= Py_None
;
18560 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18561 PyObject
*resultobj
;
18562 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18563 PyObject
*arg2
= (PyObject
*) 0 ;
18564 PyObject
* obj0
= 0 ;
18565 PyObject
* obj1
= 0 ;
18566 char *kwnames
[] = {
18567 (char *) "self",(char *) "self", NULL
18570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 (arg1
)->SetSelf(arg2
);
18577 wxPyEndAllowThreads(__tstate
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18580 Py_INCREF(Py_None
); resultobj
= Py_None
;
18587 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18588 PyObject
*resultobj
;
18589 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18591 PyObject
* obj0
= 0 ;
18592 char *kwnames
[] = {
18593 (char *) "self", NULL
18596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 result
= (PyObject
*)(arg1
)->GetSelf();
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18605 resultobj
= result
;
18612 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18615 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
18617 return Py_BuildValue((char *)"");
18619 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
;
18621 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18622 int arg2
= (int) 0 ;
18623 wxPyCommandEvent
*result
;
18624 PyObject
* obj0
= 0 ;
18625 PyObject
* obj1
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "commandType",(char *) "id", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18633 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18639 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18650 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
18657 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18660 PyObject
* obj0
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "self", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
18666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 Py_INCREF(Py_None
); resultobj
= Py_None
;
18681 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18684 PyObject
*arg2
= (PyObject
*) 0 ;
18685 PyObject
* obj0
= 0 ;
18686 PyObject
* obj1
= 0 ;
18687 char *kwnames
[] = {
18688 (char *) "self",(char *) "self", NULL
18691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 (arg1
)->SetSelf(arg2
);
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 Py_INCREF(Py_None
); resultobj
= Py_None
;
18708 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
;
18710 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 result
= (PyObject
*)(arg1
)->GetSelf();
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= result
;
18733 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18736 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
18738 return Py_BuildValue((char *)"");
18740 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18741 PyObject
*resultobj
;
18743 char *kwnames
[] = {
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 result
= (wxPyApp
*)new_wxPyApp();
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= wxPyMake_wxObject(result
);
18764 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18767 PyObject
* obj0
= 0 ;
18768 char *kwnames
[] = {
18769 (char *) "self", NULL
18772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
18773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 Py_INCREF(Py_None
); resultobj
= Py_None
;
18788 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18791 PyObject
*arg2
= (PyObject
*) 0 ;
18792 PyObject
*arg3
= (PyObject
*) 0 ;
18793 PyObject
* obj0
= 0 ;
18794 PyObject
* obj1
= 0 ;
18795 PyObject
* obj2
= 0 ;
18796 char *kwnames
[] = {
18797 (char *) "self",(char *) "self",(char *) "_class", NULL
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18811 Py_INCREF(Py_None
); resultobj
= Py_None
;
18818 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
;
18820 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18822 PyObject
* obj0
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
18828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 result
= ((wxPyApp
const *)arg1
)->GetAppName();
18833 wxPyEndAllowThreads(__tstate
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18849 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
;
18851 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18852 wxString
*arg2
= 0 ;
18853 bool temp2
= False
;
18854 PyObject
* obj0
= 0 ;
18855 PyObject
* obj1
= 0 ;
18856 char *kwnames
[] = {
18857 (char *) "self",(char *) "name", NULL
18860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
18861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18863 arg2
= wxString_in_helper(obj1
);
18864 if (arg2
== NULL
) SWIG_fail
;
18868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18869 (arg1
)->SetAppName((wxString
const &)*arg2
);
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 Py_INCREF(Py_None
); resultobj
= Py_None
;
18889 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18893 PyObject
* obj0
= 0 ;
18894 char *kwnames
[] = {
18895 (char *) "self", NULL
18898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
18899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 result
= ((wxPyApp
const *)arg1
)->GetClassName();
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18920 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18921 PyObject
*resultobj
;
18922 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18923 wxString
*arg2
= 0 ;
18924 bool temp2
= False
;
18925 PyObject
* obj0
= 0 ;
18926 PyObject
* obj1
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "self",(char *) "name", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
18932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18934 arg2
= wxString_in_helper(obj1
);
18935 if (arg2
== NULL
) SWIG_fail
;
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 (arg1
)->SetClassName((wxString
const &)*arg2
);
18942 wxPyEndAllowThreads(__tstate
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18945 Py_INCREF(Py_None
); resultobj
= Py_None
;
18960 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18964 PyObject
* obj0
= 0 ;
18965 char *kwnames
[] = {
18966 (char *) "self", NULL
18969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
18970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
18975 result
= (wxString
*) &_result_ref
;
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18983 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18985 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18994 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
;
18996 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18997 wxString
*arg2
= 0 ;
18998 bool temp2
= False
;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 char *kwnames
[] = {
19002 (char *) "self",(char *) "name", NULL
19005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19008 arg2
= wxString_in_helper(obj1
);
19009 if (arg2
== NULL
) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19019 Py_INCREF(Py_None
); resultobj
= Py_None
;
19034 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
;
19036 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19037 wxAppTraits
*result
;
19038 PyObject
* obj0
= 0 ;
19039 char *kwnames
[] = {
19040 (char *) "self", NULL
19043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19052 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
19059 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19061 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19062 PyObject
* obj0
= 0 ;
19063 char *kwnames
[] = {
19064 (char *) "self", NULL
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 (arg1
)->ProcessPendingEvents();
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19076 Py_INCREF(Py_None
); resultobj
= Py_None
;
19083 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19084 PyObject
*resultobj
;
19085 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19086 bool arg2
= (bool) False
;
19088 PyObject
* obj0
= 0 ;
19089 PyObject
* obj1
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "self",(char *) "onlyIfNeeded", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19098 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 result
= (bool)(arg1
)->Yield(arg2
);
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19109 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19116 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19119 PyObject
* obj0
= 0 ;
19120 char *kwnames
[] = {
19121 (char *) "self", NULL
19124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19128 (arg1
)->WakeUpIdle();
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19133 Py_INCREF(Py_None
); resultobj
= Py_None
;
19140 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 char *kwnames
[] = {
19146 (char *) "self", NULL
19149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 result
= (int)(arg1
)->MainLoop();
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19158 resultobj
= SWIG_PyObj_FromInt((int)result
);
19165 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19168 PyObject
* obj0
= 0 ;
19169 char *kwnames
[] = {
19170 (char *) "self", NULL
19173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 Py_INCREF(Py_None
); resultobj
= Py_None
;
19189 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19190 PyObject
*resultobj
;
19191 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19192 PyObject
* obj0
= 0 ;
19193 char *kwnames
[] = {
19194 (char *) "self", NULL
19197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19201 (arg1
)->ExitMainLoop();
19203 wxPyEndAllowThreads(__tstate
);
19204 if (PyErr_Occurred()) SWIG_fail
;
19206 Py_INCREF(Py_None
); resultobj
= Py_None
;
19213 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "self", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 result
= (bool)(arg1
)->Pending();
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19238 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19242 PyObject
* obj0
= 0 ;
19243 char *kwnames
[] = {
19244 (char *) "self", NULL
19247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 result
= (bool)(arg1
)->Dispatch();
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19263 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19264 PyObject
*resultobj
;
19265 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19267 PyObject
* obj0
= 0 ;
19268 char *kwnames
[] = {
19269 (char *) "self", NULL
19272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 result
= (bool)(arg1
)->ProcessIdle();
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19281 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19288 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19289 PyObject
*resultobj
;
19290 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19291 wxWindow
*arg2
= (wxWindow
*) 0 ;
19292 wxIdleEvent
*arg3
= 0 ;
19294 PyObject
* obj0
= 0 ;
19295 PyObject
* obj1
= 0 ;
19296 PyObject
* obj2
= 0 ;
19297 char *kwnames
[] = {
19298 (char *) "self",(char *) "win",(char *) "event", NULL
19301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19303 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19304 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19305 if (arg3
== NULL
) {
19306 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19322 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19326 PyObject
* obj0
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19347 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19350 wxWindow
*arg2
= (wxWindow
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 PyObject
* obj1
= 0 ;
19353 char *kwnames
[] = {
19354 (char *) "self",(char *) "win", NULL
19357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19359 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19362 (arg1
)->SetTopWindow(arg2
);
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 Py_INCREF(Py_None
); resultobj
= Py_None
;
19374 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
;
19376 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19378 PyObject
* obj0
= 0 ;
19379 char *kwnames
[] = {
19380 (char *) "self", NULL
19383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19387 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= wxPyMake_wxObject(result
);
19401 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
;
19403 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19405 PyObject
* obj0
= 0 ;
19406 PyObject
* obj1
= 0 ;
19407 char *kwnames
[] = {
19408 (char *) "self",(char *) "flag", NULL
19411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
19412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19414 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19419 (arg1
)->SetExitOnFrameDelete(arg2
);
19421 wxPyEndAllowThreads(__tstate
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19424 Py_INCREF(Py_None
); resultobj
= Py_None
;
19431 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19432 PyObject
*resultobj
;
19433 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19435 PyObject
* obj0
= 0 ;
19436 char *kwnames
[] = {
19437 (char *) "self", NULL
19440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
19441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19449 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19456 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
;
19458 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19460 PyObject
* obj0
= 0 ;
19461 PyObject
* obj1
= 0 ;
19462 char *kwnames
[] = {
19463 (char *) "self",(char *) "flag", NULL
19466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
19467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19469 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 (arg1
)->SetUseBestVisual(arg2
);
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19479 Py_INCREF(Py_None
); resultobj
= Py_None
;
19486 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
;
19488 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 char *kwnames
[] = {
19492 (char *) "self", NULL
19495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
19496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19499 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19511 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
;
19513 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19515 PyObject
* obj0
= 0 ;
19516 PyObject
* obj1
= 0 ;
19517 char *kwnames
[] = {
19518 (char *) "self",(char *) "mode", NULL
19521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19524 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19529 (arg1
)->SetPrintMode(arg2
);
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 Py_INCREF(Py_None
); resultobj
= Py_None
;
19541 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19545 PyObject
* obj0
= 0 ;
19546 char *kwnames
[] = {
19547 (char *) "self", NULL
19550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19554 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19559 resultobj
= SWIG_PyObj_FromInt((int)result
);
19566 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
;
19568 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "self",(char *) "mode", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19579 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 (arg1
)->SetAssertMode(arg2
);
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 Py_INCREF(Py_None
); resultobj
= Py_None
;
19596 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
;
19598 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19600 PyObject
* obj0
= 0 ;
19601 char *kwnames
[] = {
19602 (char *) "self", NULL
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
19606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19609 result
= (int)(arg1
)->GetAssertMode();
19611 wxPyEndAllowThreads(__tstate
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19614 resultobj
= SWIG_PyObj_FromInt((int)result
);
19621 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19622 PyObject
*resultobj
;
19624 char *kwnames
[] = {
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
19630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19631 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
19633 wxPyEndAllowThreads(__tstate
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19636 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19643 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19644 PyObject
*resultobj
;
19646 char *kwnames
[] = {
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 result
= (long)wxPyApp::GetMacAboutMenuItemId();
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 resultobj
= SWIG_PyObj_FromLong((long)result
);
19665 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19668 char *kwnames
[] = {
19672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
19674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19675 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19680 resultobj
= SWIG_PyObj_FromLong((long)result
);
19687 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
;
19690 char *kwnames
[] = {
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 result
= (long)wxPyApp::GetMacExitMenuItemId();
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= SWIG_PyObj_FromLong((long)result
);
19709 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19712 char *kwnames
[] = {
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= wxPyApp::GetMacHelpMenuTitleName();
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19737 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19740 PyObject
* obj0
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "val", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
19747 arg1
= (bool) SWIG_PyObj_AsBool(obj0
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19752 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
19754 wxPyEndAllowThreads(__tstate
);
19755 if (PyErr_Occurred()) SWIG_fail
;
19757 Py_INCREF(Py_None
); resultobj
= Py_None
;
19764 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19765 PyObject
*resultobj
;
19767 PyObject
* obj0
= 0 ;
19768 char *kwnames
[] = {
19769 (char *) "val", NULL
19772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
19774 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19775 if (PyErr_Occurred()) SWIG_fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 wxPyApp::SetMacAboutMenuItemId(arg1
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 Py_INCREF(Py_None
); resultobj
= Py_None
;
19791 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19794 PyObject
* obj0
= 0 ;
19795 char *kwnames
[] = {
19796 (char *) "val", NULL
19799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
19801 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
19808 wxPyEndAllowThreads(__tstate
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19811 Py_INCREF(Py_None
); resultobj
= Py_None
;
19818 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
;
19821 PyObject
* obj0
= 0 ;
19822 char *kwnames
[] = {
19823 (char *) "val", NULL
19826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
19828 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19833 wxPyApp::SetMacExitMenuItemId(arg1
);
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19838 Py_INCREF(Py_None
); resultobj
= Py_None
;
19845 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
;
19847 wxString
*arg1
= 0 ;
19848 bool temp1
= False
;
19849 PyObject
* obj0
= 0 ;
19850 char *kwnames
[] = {
19851 (char *) "val", NULL
19854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
19856 arg1
= wxString_in_helper(obj0
);
19857 if (arg1
== NULL
) SWIG_fail
;
19861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19867 Py_INCREF(Py_None
); resultobj
= Py_None
;
19882 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19883 PyObject
*resultobj
;
19884 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19885 PyObject
* obj0
= 0 ;
19886 char *kwnames
[] = {
19887 (char *) "self", NULL
19890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
19891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 (arg1
)->_BootstrapApp();
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19899 Py_INCREF(Py_None
); resultobj
= Py_None
;
19906 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19907 PyObject
*resultobj
;
19909 char *kwnames
[] = {
19913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 result
= (int)PyApp_GetComCtl32Version();
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19921 resultobj
= SWIG_PyObj_FromInt((int)result
);
19928 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
19930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19931 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
19933 return Py_BuildValue((char *)"");
19935 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
;
19937 char *kwnames
[] = {
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 Py_INCREF(Py_None
); resultobj
= Py_None
;
19956 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19957 PyObject
*resultobj
;
19959 char *kwnames
[] = {
19963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 result
= (bool)wxYield();
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19971 resultobj
= SWIG_PyObj_FromBool((bool)result
);
19978 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
;
19981 char *kwnames
[] = {
19985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 result
= (bool)wxYieldIfNeeded();
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20000 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20001 PyObject
*resultobj
;
20002 wxWindow
*arg1
= (wxWindow
*) NULL
;
20003 bool arg2
= (bool) False
;
20005 PyObject
* obj0
= 0 ;
20006 PyObject
* obj1
= 0 ;
20007 char *kwnames
[] = {
20008 (char *) "win",(char *) "onlyIfNeeded", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20017 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= (bool)wxSafeYield(arg1
,arg2
);
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20035 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
;
20037 char *kwnames
[] = {
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 wxPyEndAllowThreads(__tstate
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20049 Py_INCREF(Py_None
); resultobj
= Py_None
;
20056 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
;
20058 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20059 wxEvent
*arg2
= 0 ;
20060 PyObject
* obj0
= 0 ;
20061 PyObject
* obj1
= 0 ;
20062 char *kwnames
[] = {
20063 (char *) "dest",(char *) "event", NULL
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20068 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20069 if (arg2
== NULL
) {
20070 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 wxPostEvent(arg1
,*arg2
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 Py_INCREF(Py_None
); resultobj
= Py_None
;
20086 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 char *kwnames
[] = {
20092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20100 Py_INCREF(Py_None
); resultobj
= Py_None
;
20107 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
;
20110 char *kwnames
[] = {
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 result
= (wxPyApp
*)wxGetApp();
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20123 resultobj
= wxPyMake_wxObject(result
);
20131 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20132 PyObject
*resultobj
;
20133 int arg1
= (int) 0 ;
20134 int arg2
= (int) 0 ;
20135 int arg3
= (int) 0 ;
20136 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20137 wxAcceleratorEntry
*result
;
20138 PyObject
* obj0
= 0 ;
20139 PyObject
* obj1
= 0 ;
20140 PyObject
* obj2
= 0 ;
20141 PyObject
* obj3
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20149 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20155 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20161 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20166 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
20182 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20185 PyObject
* obj0
= 0 ;
20186 char *kwnames
[] = {
20187 (char *) "self", NULL
20190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 Py_INCREF(Py_None
); resultobj
= Py_None
;
20206 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20212 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20213 PyObject
* obj0
= 0 ;
20214 PyObject
* obj1
= 0 ;
20215 PyObject
* obj2
= 0 ;
20216 PyObject
* obj3
= 0 ;
20217 PyObject
* obj4
= 0 ;
20218 char *kwnames
[] = {
20219 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20225 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20229 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20233 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20237 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20241 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20246 Py_INCREF(Py_None
); resultobj
= Py_None
;
20253 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
;
20255 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20256 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20257 PyObject
* obj0
= 0 ;
20258 PyObject
* obj1
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self",(char *) "item", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20265 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 (arg1
)->SetMenuItem(arg2
);
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 Py_INCREF(Py_None
); resultobj
= Py_None
;
20280 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20283 wxMenuItem
*result
;
20284 PyObject
* obj0
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20299 resultobj
= wxPyMake_wxObject(result
);
20307 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20309 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20311 PyObject
* obj0
= 0 ;
20312 char *kwnames
[] = {
20313 (char *) "self", NULL
20316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20320 result
= (int)(arg1
)->GetFlags();
20322 wxPyEndAllowThreads(__tstate
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20325 resultobj
= SWIG_PyObj_FromInt((int)result
);
20332 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20333 PyObject
*resultobj
;
20334 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20336 PyObject
* obj0
= 0 ;
20337 char *kwnames
[] = {
20338 (char *) "self", NULL
20341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 result
= (int)(arg1
)->GetKeyCode();
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20350 resultobj
= SWIG_PyObj_FromInt((int)result
);
20357 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20358 PyObject
*resultobj
;
20359 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20361 PyObject
* obj0
= 0 ;
20362 char *kwnames
[] = {
20363 (char *) "self", NULL
20366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 result
= (int)(arg1
)->GetCommand();
20372 wxPyEndAllowThreads(__tstate
);
20373 if (PyErr_Occurred()) SWIG_fail
;
20375 resultobj
= SWIG_PyObj_FromInt((int)result
);
20382 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20385 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20387 return Py_BuildValue((char *)"");
20389 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20390 PyObject
*resultobj
;
20392 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20393 wxAcceleratorTable
*result
;
20394 PyObject
* obj0
= 0 ;
20395 char *kwnames
[] = {
20399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20401 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20402 if (arg2
) arg1
= PyList_Size(obj0
);
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
20425 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20428 PyObject
* obj0
= 0 ;
20429 char *kwnames
[] = {
20430 (char *) "self", NULL
20433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20442 Py_INCREF(Py_None
); resultobj
= Py_None
;
20449 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
;
20451 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20453 PyObject
* obj0
= 0 ;
20454 char *kwnames
[] = {
20455 (char *) "self", NULL
20458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
20459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20462 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
20464 wxPyEndAllowThreads(__tstate
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20467 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20474 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
20476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20477 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
20479 return Py_BuildValue((char *)"");
20481 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
20482 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
20487 static PyObject
*_wrap_NullAcceleratorTable_get() {
20490 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
20495 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20496 PyObject
*resultobj
;
20497 wxString
*arg1
= 0 ;
20498 wxAcceleratorEntry
*result
;
20499 bool temp1
= False
;
20500 PyObject
* obj0
= 0 ;
20501 char *kwnames
[] = {
20502 (char *) "label", NULL
20505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
20507 arg1
= wxString_in_helper(obj0
);
20508 if (arg1
== NULL
) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
20533 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
20534 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
20539 static PyObject
*_wrap_PanelNameStr_get() {
20544 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20546 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20553 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20554 PyObject
*resultobj
;
20555 wxWindow
*arg1
= (wxWindow
*) 0 ;
20557 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20558 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20559 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20560 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20561 long arg5
= (long) 0 ;
20562 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20563 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20567 bool temp6
= False
;
20568 PyObject
* obj0
= 0 ;
20569 PyObject
* obj1
= 0 ;
20570 PyObject
* obj2
= 0 ;
20571 PyObject
* obj3
= 0 ;
20572 PyObject
* obj4
= 0 ;
20573 PyObject
* obj5
= 0 ;
20574 char *kwnames
[] = {
20575 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20581 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20587 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20593 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20598 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20604 arg6
= wxString_in_helper(obj5
);
20605 if (arg6
== NULL
) SWIG_fail
;
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= wxPyMake_wxObject(result
);
20633 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20634 PyObject
*resultobj
;
20636 char *kwnames
[] = {
20640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
20642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 result
= (wxWindow
*)new wxWindow();
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20649 resultobj
= wxPyMake_wxObject(result
);
20657 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
;
20659 wxWindow
*arg1
= (wxWindow
*) 0 ;
20660 wxWindow
*arg2
= (wxWindow
*) 0 ;
20662 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20663 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20664 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20665 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20666 long arg6
= (long) 0 ;
20667 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20668 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20672 bool temp7
= False
;
20673 PyObject
* obj0
= 0 ;
20674 PyObject
* obj1
= 0 ;
20675 PyObject
* obj2
= 0 ;
20676 PyObject
* obj3
= 0 ;
20677 PyObject
* obj4
= 0 ;
20678 PyObject
* obj5
= 0 ;
20679 PyObject
* obj6
= 0 ;
20680 char *kwnames
[] = {
20681 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20688 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20694 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20700 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20705 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20711 arg7
= wxString_in_helper(obj6
);
20712 if (arg7
== NULL
) SWIG_fail
;
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20718 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20723 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20738 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
;
20740 wxWindow
*arg1
= (wxWindow
*) 0 ;
20741 bool arg2
= (bool) False
;
20743 PyObject
* obj0
= 0 ;
20744 PyObject
* obj1
= 0 ;
20745 char *kwnames
[] = {
20746 (char *) "self",(char *) "force", NULL
20749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
20750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20753 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= (bool)(arg1
)->Close(arg2
);
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20771 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20772 PyObject
*resultobj
;
20773 wxWindow
*arg1
= (wxWindow
*) 0 ;
20775 PyObject
* obj0
= 0 ;
20776 char *kwnames
[] = {
20777 (char *) "self", NULL
20780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
20781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= (bool)(arg1
)->Destroy();
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20796 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20798 wxWindow
*arg1
= (wxWindow
*) 0 ;
20800 PyObject
* obj0
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "self", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
20806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20809 result
= (bool)(arg1
)->DestroyChildren();
20811 wxPyEndAllowThreads(__tstate
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20814 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20821 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
;
20823 wxWindow
*arg1
= (wxWindow
*) 0 ;
20825 PyObject
* obj0
= 0 ;
20826 char *kwnames
[] = {
20827 (char *) "self", NULL
20830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
20831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= SWIG_PyObj_FromBool((bool)result
);
20846 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
;
20848 wxWindow
*arg1
= (wxWindow
*) 0 ;
20849 wxString
*arg2
= 0 ;
20850 bool temp2
= False
;
20851 PyObject
* obj0
= 0 ;
20852 PyObject
* obj1
= 0 ;
20853 char *kwnames
[] = {
20854 (char *) "self",(char *) "title", NULL
20857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
20858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20860 arg2
= wxString_in_helper(obj1
);
20861 if (arg2
== NULL
) SWIG_fail
;
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 (arg1
)->SetTitle((wxString
const &)*arg2
);
20868 wxPyEndAllowThreads(__tstate
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20871 Py_INCREF(Py_None
); resultobj
= Py_None
;
20886 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
;
20888 wxWindow
*arg1
= (wxWindow
*) 0 ;
20890 PyObject
* obj0
= 0 ;
20891 char *kwnames
[] = {
20892 (char *) "self", NULL
20895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
20896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= ((wxWindow
const *)arg1
)->GetTitle();
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20917 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20918 PyObject
*resultobj
;
20919 wxWindow
*arg1
= (wxWindow
*) 0 ;
20920 wxString
*arg2
= 0 ;
20921 bool temp2
= False
;
20922 PyObject
* obj0
= 0 ;
20923 PyObject
* obj1
= 0 ;
20924 char *kwnames
[] = {
20925 (char *) "self",(char *) "label", NULL
20928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20931 arg2
= wxString_in_helper(obj1
);
20932 if (arg2
== NULL
) SWIG_fail
;
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20937 (arg1
)->SetLabel((wxString
const &)*arg2
);
20939 wxPyEndAllowThreads(__tstate
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20942 Py_INCREF(Py_None
); resultobj
= Py_None
;
20957 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
;
20959 wxWindow
*arg1
= (wxWindow
*) 0 ;
20961 PyObject
* obj0
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "self", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
20967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= ((wxWindow
const *)arg1
)->GetLabel();
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20988 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20990 wxWindow
*arg1
= (wxWindow
*) 0 ;
20991 wxString
*arg2
= 0 ;
20992 bool temp2
= False
;
20993 PyObject
* obj0
= 0 ;
20994 PyObject
* obj1
= 0 ;
20995 char *kwnames
[] = {
20996 (char *) "self",(char *) "name", NULL
20999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21002 arg2
= wxString_in_helper(obj1
);
21003 if (arg2
== NULL
) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 (arg1
)->SetName((wxString
const &)*arg2
);
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 Py_INCREF(Py_None
); resultobj
= Py_None
;
21028 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
;
21030 wxWindow
*arg1
= (wxWindow
*) 0 ;
21032 PyObject
* obj0
= 0 ;
21033 char *kwnames
[] = {
21034 (char *) "self", NULL
21037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 result
= ((wxWindow
const *)arg1
)->GetName();
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21059 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
;
21061 wxWindow
*arg1
= (wxWindow
*) 0 ;
21063 PyObject
* obj0
= 0 ;
21064 PyObject
* obj1
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "self",(char *) "winid", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21072 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 (arg1
)->SetId(arg2
);
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21082 Py_INCREF(Py_None
); resultobj
= Py_None
;
21089 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21091 wxWindow
*arg1
= (wxWindow
*) 0 ;
21093 PyObject
* obj0
= 0 ;
21094 char *kwnames
[] = {
21095 (char *) "self", NULL
21098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21102 result
= (int)((wxWindow
const *)arg1
)->GetId();
21104 wxPyEndAllowThreads(__tstate
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21107 resultobj
= SWIG_PyObj_FromInt((int)result
);
21114 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21115 PyObject
*resultobj
;
21117 char *kwnames
[] = {
21121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21124 result
= (int)wxWindow::NewControlId();
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21129 resultobj
= SWIG_PyObj_FromInt((int)result
);
21136 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21140 PyObject
* obj0
= 0 ;
21141 char *kwnames
[] = {
21142 (char *) "winid", NULL
21145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21147 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 result
= (int)wxWindow::NextControlId(arg1
);
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21157 resultobj
= SWIG_PyObj_FromInt((int)result
);
21164 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
;
21168 PyObject
* obj0
= 0 ;
21169 char *kwnames
[] = {
21170 (char *) "winid", NULL
21173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
21175 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 result
= (int)wxWindow::PrevControlId(arg1
);
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 resultobj
= SWIG_PyObj_FromInt((int)result
);
21192 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21193 PyObject
*resultobj
;
21194 wxWindow
*arg1
= (wxWindow
*) 0 ;
21197 PyObject
* obj0
= 0 ;
21198 PyObject
* obj1
= 0 ;
21199 char *kwnames
[] = {
21200 (char *) "self",(char *) "size", NULL
21203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21207 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21211 (arg1
)->SetSize((wxSize
const &)*arg2
);
21213 wxPyEndAllowThreads(__tstate
);
21214 if (PyErr_Occurred()) SWIG_fail
;
21216 Py_INCREF(Py_None
); resultobj
= Py_None
;
21223 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21224 PyObject
*resultobj
;
21225 wxWindow
*arg1
= (wxWindow
*) 0 ;
21230 int arg6
= (int) wxSIZE_AUTO
;
21231 PyObject
* obj0
= 0 ;
21232 PyObject
* obj1
= 0 ;
21233 PyObject
* obj2
= 0 ;
21234 PyObject
* obj3
= 0 ;
21235 PyObject
* obj4
= 0 ;
21236 PyObject
* obj5
= 0 ;
21237 char *kwnames
[] = {
21238 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21244 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21248 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21252 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21256 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21261 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 Py_INCREF(Py_None
); resultobj
= Py_None
;
21279 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
;
21281 wxWindow
*arg1
= (wxWindow
*) 0 ;
21283 int arg3
= (int) wxSIZE_AUTO
;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 PyObject
* obj2
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21296 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21300 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21311 Py_INCREF(Py_None
); resultobj
= Py_None
;
21318 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
;
21320 wxWindow
*arg1
= (wxWindow
*) 0 ;
21323 PyObject
* obj0
= 0 ;
21324 PyObject
* obj1
= 0 ;
21325 PyObject
* obj2
= 0 ;
21326 char *kwnames
[] = {
21327 (char *) "self",(char *) "width",(char *) "height", NULL
21330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21333 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21337 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21338 if (PyErr_Occurred()) SWIG_fail
;
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 (arg1
)->SetSize(arg2
,arg3
);
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21347 Py_INCREF(Py_None
); resultobj
= Py_None
;
21354 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21355 PyObject
*resultobj
;
21356 wxWindow
*arg1
= (wxWindow
*) 0 ;
21357 wxPoint
*arg2
= 0 ;
21358 int arg3
= (int) wxSIZE_USE_EXISTING
;
21360 PyObject
* obj0
= 0 ;
21361 PyObject
* obj1
= 0 ;
21362 PyObject
* obj2
= 0 ;
21363 char *kwnames
[] = {
21364 (char *) "self",(char *) "pt",(char *) "flags", NULL
21367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21371 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21375 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21386 Py_INCREF(Py_None
); resultobj
= Py_None
;
21393 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
;
21395 wxWindow
*arg1
= (wxWindow
*) 0 ;
21398 int arg4
= (int) wxSIZE_USE_EXISTING
;
21399 PyObject
* obj0
= 0 ;
21400 PyObject
* obj1
= 0 ;
21401 PyObject
* obj2
= 0 ;
21402 PyObject
* obj3
= 0 ;
21403 char *kwnames
[] = {
21404 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
21407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21410 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21414 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21419 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 (arg1
)->Move(arg2
,arg3
,arg4
);
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21430 Py_INCREF(Py_None
); resultobj
= Py_None
;
21437 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
;
21439 wxWindow
*arg1
= (wxWindow
*) 0 ;
21440 PyObject
* obj0
= 0 ;
21441 char *kwnames
[] = {
21442 (char *) "self", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
21446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 Py_INCREF(Py_None
); resultobj
= Py_None
;
21461 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
;
21463 wxWindow
*arg1
= (wxWindow
*) 0 ;
21464 PyObject
* obj0
= 0 ;
21465 char *kwnames
[] = {
21466 (char *) "self", NULL
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
21470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 Py_INCREF(Py_None
); resultobj
= Py_None
;
21485 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxWindow
*arg1
= (wxWindow
*) 0 ;
21490 PyObject
* obj0
= 0 ;
21491 PyObject
* obj1
= 0 ;
21492 char *kwnames
[] = {
21493 (char *) "self",(char *) "size", NULL
21496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21500 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 Py_INCREF(Py_None
); resultobj
= Py_None
;
21516 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
;
21518 wxWindow
*arg1
= (wxWindow
*) 0 ;
21521 PyObject
* obj0
= 0 ;
21522 PyObject
* obj1
= 0 ;
21523 PyObject
* obj2
= 0 ;
21524 char *kwnames
[] = {
21525 (char *) "self",(char *) "width",(char *) "height", NULL
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21531 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21535 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 (arg1
)->SetClientSize(arg2
,arg3
);
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21545 Py_INCREF(Py_None
); resultobj
= Py_None
;
21552 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21553 PyObject
*resultobj
;
21554 wxWindow
*arg1
= (wxWindow
*) 0 ;
21557 PyObject
* obj0
= 0 ;
21558 PyObject
* obj1
= 0 ;
21559 char *kwnames
[] = {
21560 (char *) "self",(char *) "rect", NULL
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
21564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21567 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 Py_INCREF(Py_None
); resultobj
= Py_None
;
21583 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
;
21585 wxWindow
*arg1
= (wxWindow
*) 0 ;
21587 PyObject
* obj0
= 0 ;
21588 char *kwnames
[] = {
21589 (char *) "self", NULL
21592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
21593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 result
= (arg1
)->GetPosition();
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21602 wxPoint
* resultptr
;
21603 resultptr
= new wxPoint((wxPoint
&) result
);
21604 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21612 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
;
21614 wxWindow
*arg1
= (wxWindow
*) 0 ;
21615 int *arg2
= (int *) 0 ;
21616 int *arg3
= (int *) 0 ;
21619 PyObject
* obj0
= 0 ;
21620 char *kwnames
[] = {
21621 (char *) "self", NULL
21626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
21627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 (arg1
)->GetPosition(arg2
,arg3
);
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 Py_INCREF(Py_None
); resultobj
= Py_None
;
21637 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21638 resultobj
= t_output_helper(resultobj
,o
);
21641 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21642 resultobj
= t_output_helper(resultobj
,o
);
21650 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
;
21652 wxWindow
*arg1
= (wxWindow
*) 0 ;
21654 PyObject
* obj0
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "self", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
21660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 result
= ((wxWindow
const *)arg1
)->GetSize();
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21669 wxSize
* resultptr
;
21670 resultptr
= new wxSize((wxSize
&) result
);
21671 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21679 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 wxWindow
*arg1
= (wxWindow
*) 0 ;
21682 int *arg2
= (int *) 0 ;
21683 int *arg3
= (int *) 0 ;
21686 PyObject
* obj0
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self", NULL
21693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
21694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 Py_INCREF(Py_None
); resultobj
= Py_None
;
21704 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21705 resultobj
= t_output_helper(resultobj
,o
);
21708 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21709 resultobj
= t_output_helper(resultobj
,o
);
21717 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
;
21719 wxWindow
*arg1
= (wxWindow
*) 0 ;
21721 PyObject
* obj0
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "self", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
21727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= ((wxWindow
const *)arg1
)->GetRect();
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21736 wxRect
* resultptr
;
21737 resultptr
= new wxRect((wxRect
&) result
);
21738 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
21746 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxWindow
*arg1
= (wxWindow
*) 0 ;
21750 PyObject
* obj0
= 0 ;
21751 char *kwnames
[] = {
21752 (char *) "self", NULL
21755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
21756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 result
= ((wxWindow
const *)arg1
)->GetClientSize();
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21765 wxSize
* resultptr
;
21766 resultptr
= new wxSize((wxSize
&) result
);
21767 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21775 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxWindow
*arg1
= (wxWindow
*) 0 ;
21778 int *arg2
= (int *) 0 ;
21779 int *arg3
= (int *) 0 ;
21782 PyObject
* obj0
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self", NULL
21789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
21790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 Py_INCREF(Py_None
); resultobj
= Py_None
;
21800 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21801 resultobj
= t_output_helper(resultobj
,o
);
21804 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21805 resultobj
= t_output_helper(resultobj
,o
);
21813 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
;
21815 wxWindow
*arg1
= (wxWindow
*) 0 ;
21817 PyObject
* obj0
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "self", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
21823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21826 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21832 wxPoint
* resultptr
;
21833 resultptr
= new wxPoint((wxPoint
&) result
);
21834 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21842 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxWindow
*arg1
= (wxWindow
*) 0 ;
21846 PyObject
* obj0
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
21852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 result
= ((wxWindow
const *)arg1
)->GetClientRect();
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21861 wxRect
* resultptr
;
21862 resultptr
= new wxRect((wxRect
&) result
);
21863 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
21871 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21872 PyObject
*resultobj
;
21873 wxWindow
*arg1
= (wxWindow
*) 0 ;
21875 PyObject
* obj0
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
21881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= ((wxWindow
const *)arg1
)->GetBestSize();
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21890 wxSize
* resultptr
;
21891 resultptr
= new wxSize((wxSize
&) result
);
21892 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21900 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxWindow
*arg1
= (wxWindow
*) 0 ;
21903 int *arg2
= (int *) 0 ;
21904 int *arg3
= (int *) 0 ;
21907 PyObject
* obj0
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self", NULL
21914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
21915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 Py_INCREF(Py_None
); resultobj
= Py_None
;
21925 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21926 resultobj
= t_output_helper(resultobj
,o
);
21929 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21930 resultobj
= t_output_helper(resultobj
,o
);
21938 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21939 PyObject
*resultobj
;
21940 wxWindow
*arg1
= (wxWindow
*) 0 ;
21942 PyObject
* obj0
= 0 ;
21943 char *kwnames
[] = {
21944 (char *) "self", NULL
21947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
21948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21957 wxSize
* resultptr
;
21958 resultptr
= new wxSize((wxSize
&) result
);
21959 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21967 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21968 PyObject
*resultobj
;
21969 wxWindow
*arg1
= (wxWindow
*) 0 ;
21970 int arg2
= (int) wxBOTH
;
21971 PyObject
* obj0
= 0 ;
21972 PyObject
* obj1
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "self",(char *) "direction", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
21978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21981 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 (arg1
)->Center(arg2
);
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 Py_INCREF(Py_None
); resultobj
= Py_None
;
21999 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxWindow
*arg1
= (wxWindow
*) 0 ;
22002 int arg2
= (int) wxBOTH
;
22003 PyObject
* obj0
= 0 ;
22004 PyObject
* obj1
= 0 ;
22005 char *kwnames
[] = {
22006 (char *) "self",(char *) "dir", NULL
22009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22013 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 (arg1
)->CenterOnScreen(arg2
);
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 Py_INCREF(Py_None
); resultobj
= Py_None
;
22031 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22032 PyObject
*resultobj
;
22033 wxWindow
*arg1
= (wxWindow
*) 0 ;
22034 int arg2
= (int) wxBOTH
;
22035 PyObject
* obj0
= 0 ;
22036 PyObject
* obj1
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "self",(char *) "dir", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22045 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22051 (arg1
)->CenterOnParent(arg2
);
22053 wxPyEndAllowThreads(__tstate
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22056 Py_INCREF(Py_None
); resultobj
= Py_None
;
22063 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22064 PyObject
*resultobj
;
22065 wxWindow
*arg1
= (wxWindow
*) 0 ;
22066 PyObject
* obj0
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "self", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22080 Py_INCREF(Py_None
); resultobj
= Py_None
;
22087 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22088 PyObject
*resultobj
;
22089 wxWindow
*arg1
= (wxWindow
*) 0 ;
22090 PyObject
* obj0
= 0 ;
22091 char *kwnames
[] = {
22092 (char *) "self", NULL
22095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 (arg1
)->FitInside();
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 Py_INCREF(Py_None
); resultobj
= Py_None
;
22111 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxWindow
*arg1
= (wxWindow
*) 0 ;
22116 int arg4
= (int) -1 ;
22117 int arg5
= (int) -1 ;
22118 int arg6
= (int) -1 ;
22119 int arg7
= (int) -1 ;
22120 PyObject
* obj0
= 0 ;
22121 PyObject
* obj1
= 0 ;
22122 PyObject
* obj2
= 0 ;
22123 PyObject
* obj3
= 0 ;
22124 PyObject
* obj4
= 0 ;
22125 PyObject
* obj5
= 0 ;
22126 PyObject
* obj6
= 0 ;
22127 char *kwnames
[] = {
22128 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22134 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22138 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22143 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22149 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22155 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22161 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22172 Py_INCREF(Py_None
); resultobj
= Py_None
;
22179 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
;
22181 wxWindow
*arg1
= (wxWindow
*) 0 ;
22184 int arg4
= (int) -1 ;
22185 int arg5
= (int) -1 ;
22186 PyObject
* obj0
= 0 ;
22187 PyObject
* obj1
= 0 ;
22188 PyObject
* obj2
= 0 ;
22189 PyObject
* obj3
= 0 ;
22190 PyObject
* obj4
= 0 ;
22191 char *kwnames
[] = {
22192 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22198 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22202 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22207 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22213 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 Py_INCREF(Py_None
); resultobj
= Py_None
;
22231 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
;
22233 wxWindow
*arg1
= (wxWindow
*) 0 ;
22235 PyObject
* obj0
= 0 ;
22236 char *kwnames
[] = {
22237 (char *) "self", NULL
22240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
22241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22249 resultobj
= SWIG_PyObj_FromInt((int)result
);
22256 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
;
22258 wxWindow
*arg1
= (wxWindow
*) 0 ;
22260 PyObject
* obj0
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "self", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
22266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22274 resultobj
= SWIG_PyObj_FromInt((int)result
);
22281 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxWindow
*arg1
= (wxWindow
*) 0 ;
22285 PyObject
* obj0
= 0 ;
22286 char *kwnames
[] = {
22287 (char *) "self", NULL
22290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
22291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
22296 wxPyEndAllowThreads(__tstate
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22299 resultobj
= SWIG_PyObj_FromInt((int)result
);
22306 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxWindow
*arg1
= (wxWindow
*) 0 ;
22310 PyObject
* obj0
= 0 ;
22311 char *kwnames
[] = {
22312 (char *) "self", NULL
22315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
22316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 resultobj
= SWIG_PyObj_FromInt((int)result
);
22331 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
;
22333 wxWindow
*arg1
= (wxWindow
*) 0 ;
22335 PyObject
* obj0
= 0 ;
22336 char *kwnames
[] = {
22337 (char *) "self", NULL
22340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
22341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22350 wxSize
* resultptr
;
22351 resultptr
= new wxSize((wxSize
&) result
);
22352 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22360 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
;
22362 wxWindow
*arg1
= (wxWindow
*) 0 ;
22365 PyObject
* obj0
= 0 ;
22366 PyObject
* obj1
= 0 ;
22367 char *kwnames
[] = {
22368 (char *) "self",(char *) "size", NULL
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22375 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 Py_INCREF(Py_None
); resultobj
= Py_None
;
22391 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
;
22393 wxWindow
*arg1
= (wxWindow
*) 0 ;
22396 PyObject
* obj0
= 0 ;
22397 PyObject
* obj1
= 0 ;
22398 PyObject
* obj2
= 0 ;
22399 char *kwnames
[] = {
22400 (char *) "self",(char *) "w",(char *) "h", NULL
22403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22406 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22410 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 (arg1
)->SetVirtualSize(arg2
,arg3
);
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 Py_INCREF(Py_None
); resultobj
= Py_None
;
22427 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxWindow
*arg1
= (wxWindow
*) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
22437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22446 wxSize
* resultptr
;
22447 resultptr
= new wxSize((wxSize
&) result
);
22448 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22456 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxWindow
*arg1
= (wxWindow
*) 0 ;
22459 int *arg2
= (int *) 0 ;
22460 int *arg3
= (int *) 0 ;
22463 PyObject
* obj0
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self", NULL
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
22471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 Py_INCREF(Py_None
); resultobj
= Py_None
;
22481 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22482 resultobj
= t_output_helper(resultobj
,o
);
22485 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22486 resultobj
= t_output_helper(resultobj
,o
);
22494 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22495 PyObject
*resultobj
;
22496 wxWindow
*arg1
= (wxWindow
*) 0 ;
22498 PyObject
* obj0
= 0 ;
22499 char *kwnames
[] = {
22500 (char *) "self", NULL
22503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
22504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22507 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
22509 wxPyEndAllowThreads(__tstate
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22513 wxSize
* resultptr
;
22514 resultptr
= new wxSize((wxSize
&) result
);
22515 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22523 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
;
22525 wxWindow
*arg1
= (wxWindow
*) 0 ;
22526 bool arg2
= (bool) True
;
22528 PyObject
* obj0
= 0 ;
22529 PyObject
* obj1
= 0 ;
22530 char *kwnames
[] = {
22531 (char *) "self",(char *) "show", NULL
22534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
22535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22538 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 result
= (bool)(arg1
)->Show(arg2
);
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22556 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
;
22558 wxWindow
*arg1
= (wxWindow
*) 0 ;
22560 PyObject
* obj0
= 0 ;
22561 char *kwnames
[] = {
22562 (char *) "self", NULL
22565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
22566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 result
= (bool)(arg1
)->Hide();
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22574 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22581 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
;
22583 wxWindow
*arg1
= (wxWindow
*) 0 ;
22584 bool arg2
= (bool) True
;
22586 PyObject
* obj0
= 0 ;
22587 PyObject
* obj1
= 0 ;
22588 char *kwnames
[] = {
22589 (char *) "self",(char *) "enable", NULL
22592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
22593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22596 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 result
= (bool)(arg1
)->Enable(arg2
);
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22614 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
;
22616 wxWindow
*arg1
= (wxWindow
*) 0 ;
22618 PyObject
* obj0
= 0 ;
22619 char *kwnames
[] = {
22620 (char *) "self", NULL
22623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
22624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 result
= (bool)(arg1
)->Disable();
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22632 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22639 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22640 PyObject
*resultobj
;
22641 wxWindow
*arg1
= (wxWindow
*) 0 ;
22643 PyObject
* obj0
= 0 ;
22644 char *kwnames
[] = {
22645 (char *) "self", NULL
22648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
22649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22664 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxWindow
*arg1
= (wxWindow
*) 0 ;
22668 PyObject
* obj0
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
22674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22689 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
;
22691 wxWindow
*arg1
= (wxWindow
*) 0 ;
22693 PyObject
* obj0
= 0 ;
22694 PyObject
* obj1
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self",(char *) "style", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22702 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 (arg1
)->SetWindowStyleFlag(arg2
);
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 Py_INCREF(Py_None
); resultobj
= Py_None
;
22719 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
;
22721 wxWindow
*arg1
= (wxWindow
*) 0 ;
22723 PyObject
* obj0
= 0 ;
22724 char *kwnames
[] = {
22725 (char *) "self", NULL
22728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
22729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= SWIG_PyObj_FromLong((long)result
);
22744 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 wxWindow
*arg1
= (wxWindow
*) 0 ;
22748 PyObject
* obj0
= 0 ;
22749 PyObject
* obj1
= 0 ;
22750 char *kwnames
[] = {
22751 (char *) "self",(char *) "style", NULL
22754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
22755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22757 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 (arg1
)->SetWindowStyle(arg2
);
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22767 Py_INCREF(Py_None
); resultobj
= Py_None
;
22774 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
;
22776 wxWindow
*arg1
= (wxWindow
*) 0 ;
22778 PyObject
* obj0
= 0 ;
22779 char *kwnames
[] = {
22780 (char *) "self", NULL
22783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
22784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
22789 wxPyEndAllowThreads(__tstate
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22792 resultobj
= SWIG_PyObj_FromLong((long)result
);
22799 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22801 wxWindow
*arg1
= (wxWindow
*) 0 ;
22804 PyObject
* obj0
= 0 ;
22805 PyObject
* obj1
= 0 ;
22806 char *kwnames
[] = {
22807 (char *) "self",(char *) "flag", NULL
22810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22813 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22823 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22830 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22831 PyObject
*resultobj
;
22832 wxWindow
*arg1
= (wxWindow
*) 0 ;
22834 PyObject
* obj0
= 0 ;
22835 char *kwnames
[] = {
22836 (char *) "self", NULL
22839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
22840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22855 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22856 PyObject
*resultobj
;
22857 wxWindow
*arg1
= (wxWindow
*) 0 ;
22859 PyObject
* obj0
= 0 ;
22860 PyObject
* obj1
= 0 ;
22861 char *kwnames
[] = {
22862 (char *) "self",(char *) "exStyle", NULL
22865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
22866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22868 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22873 (arg1
)->SetExtraStyle(arg2
);
22875 wxPyEndAllowThreads(__tstate
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22878 Py_INCREF(Py_None
); resultobj
= Py_None
;
22885 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
;
22887 wxWindow
*arg1
= (wxWindow
*) 0 ;
22889 PyObject
* obj0
= 0 ;
22890 char *kwnames
[] = {
22891 (char *) "self", NULL
22894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
22895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
22900 wxPyEndAllowThreads(__tstate
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22903 resultobj
= SWIG_PyObj_FromLong((long)result
);
22910 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
;
22912 wxWindow
*arg1
= (wxWindow
*) 0 ;
22913 bool arg2
= (bool) True
;
22914 PyObject
* obj0
= 0 ;
22915 PyObject
* obj1
= 0 ;
22916 char *kwnames
[] = {
22917 (char *) "self",(char *) "modal", NULL
22920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
22921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22924 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 (arg1
)->MakeModal(arg2
);
22932 wxPyEndAllowThreads(__tstate
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22935 Py_INCREF(Py_None
); resultobj
= Py_None
;
22942 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22943 PyObject
*resultobj
;
22944 wxWindow
*arg1
= (wxWindow
*) 0 ;
22946 PyObject
* obj0
= 0 ;
22947 PyObject
* obj1
= 0 ;
22948 char *kwnames
[] = {
22949 (char *) "self",(char *) "enableTheme", NULL
22952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
22953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22955 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 (arg1
)->SetThemeEnabled(arg2
);
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 Py_INCREF(Py_None
); resultobj
= Py_None
;
22972 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22974 wxWindow
*arg1
= (wxWindow
*) 0 ;
22976 PyObject
* obj0
= 0 ;
22977 char *kwnames
[] = {
22978 (char *) "self", NULL
22981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
22982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
22987 wxPyEndAllowThreads(__tstate
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22990 resultobj
= SWIG_PyObj_FromBool((bool)result
);
22997 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
;
22999 wxWindow
*arg1
= (wxWindow
*) 0 ;
23001 PyObject
* obj0
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "self", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
23007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23010 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
23012 wxPyEndAllowThreads(__tstate
);
23013 if (PyErr_Occurred()) SWIG_fail
;
23015 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23022 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
;
23024 wxWindow
*arg1
= (wxWindow
*) 0 ;
23025 PyObject
* obj0
= 0 ;
23026 char *kwnames
[] = {
23027 (char *) "self", NULL
23030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
23031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 (arg1
)->SetFocus();
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 Py_INCREF(Py_None
); resultobj
= Py_None
;
23046 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23047 PyObject
*resultobj
;
23048 wxWindow
*arg1
= (wxWindow
*) 0 ;
23049 PyObject
* obj0
= 0 ;
23050 char *kwnames
[] = {
23051 (char *) "self", NULL
23054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
23055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23058 (arg1
)->SetFocusFromKbd();
23060 wxPyEndAllowThreads(__tstate
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23063 Py_INCREF(Py_None
); resultobj
= Py_None
;
23070 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23071 PyObject
*resultobj
;
23073 char *kwnames
[] = {
23077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 result
= (wxWindow
*)wxWindow::FindFocus();
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23086 resultobj
= wxPyMake_wxObject(result
);
23094 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23095 PyObject
*resultobj
;
23096 wxWindow
*arg1
= (wxWindow
*) 0 ;
23098 PyObject
* obj0
= 0 ;
23099 char *kwnames
[] = {
23100 (char *) "self", NULL
23103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
23104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23107 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23112 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23119 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23120 PyObject
*resultobj
;
23121 wxWindow
*arg1
= (wxWindow
*) 0 ;
23123 PyObject
* obj0
= 0 ;
23124 char *kwnames
[] = {
23125 (char *) "self", NULL
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
23129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23132 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23137 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23144 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
;
23146 wxWindow
*arg1
= (wxWindow
*) 0 ;
23148 PyObject
* obj0
= 0 ;
23149 char *kwnames
[] = {
23150 (char *) "self", NULL
23153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
23154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23163 resultobj
= wxPyMake_wxObject(result
);
23171 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
;
23173 wxWindow
*arg1
= (wxWindow
*) 0 ;
23174 wxWindow
*arg2
= (wxWindow
*) 0 ;
23176 PyObject
* obj0
= 0 ;
23177 PyObject
* obj1
= 0 ;
23178 char *kwnames
[] = {
23179 (char *) "self",(char *) "child", NULL
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23184 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23193 resultobj
= wxPyMake_wxObject(result
);
23201 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxWindow
*arg1
= (wxWindow
*) 0 ;
23204 wxWindow
*arg2
= (wxWindow
*) 0 ;
23205 PyObject
* obj0
= 0 ;
23206 PyObject
* obj1
= 0 ;
23207 char *kwnames
[] = {
23208 (char *) "self",(char *) "win", NULL
23211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23213 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 (arg1
)->SetTmpDefaultItem(arg2
);
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 Py_INCREF(Py_None
); resultobj
= Py_None
;
23228 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23229 PyObject
*resultobj
;
23230 wxWindow
*arg1
= (wxWindow
*) 0 ;
23232 PyObject
* obj0
= 0 ;
23233 char *kwnames
[] = {
23234 (char *) "self", NULL
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
23238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23241 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
23243 wxPyEndAllowThreads(__tstate
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23246 resultobj
= result
;
23253 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
;
23255 wxWindow
*arg1
= (wxWindow
*) 0 ;
23257 PyObject
* obj0
= 0 ;
23258 char *kwnames
[] = {
23259 (char *) "self", NULL
23262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
23263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23266 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23272 resultobj
= wxPyMake_wxObject(result
);
23280 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
;
23282 wxWindow
*arg1
= (wxWindow
*) 0 ;
23284 PyObject
* obj0
= 0 ;
23285 char *kwnames
[] = {
23286 (char *) "self", NULL
23289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
23290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= wxPyMake_wxObject(result
);
23307 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
;
23309 wxWindow
*arg1
= (wxWindow
*) 0 ;
23311 PyObject
* obj0
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "self", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
23317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23332 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
;
23334 wxWindow
*arg1
= (wxWindow
*) 0 ;
23335 wxWindow
*arg2
= (wxWindow
*) 0 ;
23337 PyObject
* obj0
= 0 ;
23338 PyObject
* obj1
= 0 ;
23339 char *kwnames
[] = {
23340 (char *) "self",(char *) "newParent", NULL
23343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
23344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 result
= (bool)(arg1
)->Reparent(arg2
);
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23360 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
;
23362 wxWindow
*arg1
= (wxWindow
*) 0 ;
23363 wxWindow
*arg2
= (wxWindow
*) 0 ;
23364 PyObject
* obj0
= 0 ;
23365 PyObject
* obj1
= 0 ;
23366 char *kwnames
[] = {
23367 (char *) "self",(char *) "child", NULL
23370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23372 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 (arg1
)->AddChild(arg2
);
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 Py_INCREF(Py_None
); resultobj
= Py_None
;
23387 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23388 PyObject
*resultobj
;
23389 wxWindow
*arg1
= (wxWindow
*) 0 ;
23390 wxWindow
*arg2
= (wxWindow
*) 0 ;
23391 PyObject
* obj0
= 0 ;
23392 PyObject
* obj1
= 0 ;
23393 char *kwnames
[] = {
23394 (char *) "self",(char *) "child", NULL
23397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23399 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 (arg1
)->RemoveChild(arg2
);
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23407 Py_INCREF(Py_None
); resultobj
= Py_None
;
23414 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxWindow
*arg1
= (wxWindow
*) 0 ;
23419 PyObject
* obj0
= 0 ;
23420 PyObject
* obj1
= 0 ;
23421 char *kwnames
[] = {
23422 (char *) "self",(char *) "winid", NULL
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
23426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23428 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= wxPyMake_wxObject(result
);
23447 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxWindow
*arg1
= (wxWindow
*) 0 ;
23450 wxString
*arg2
= 0 ;
23452 bool temp2
= False
;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self",(char *) "name", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
23460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23462 arg2
= wxString_in_helper(obj1
);
23463 if (arg2
== NULL
) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23474 resultobj
= wxPyMake_wxObject(result
);
23490 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
;
23492 wxWindow
*arg1
= (wxWindow
*) 0 ;
23493 wxEvtHandler
*result
;
23494 PyObject
* obj0
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
23500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23509 resultobj
= wxPyMake_wxObject(result
);
23517 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23518 PyObject
*resultobj
;
23519 wxWindow
*arg1
= (wxWindow
*) 0 ;
23520 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23521 PyObject
* obj0
= 0 ;
23522 PyObject
* obj1
= 0 ;
23523 char *kwnames
[] = {
23524 (char *) "self",(char *) "handler", NULL
23527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23529 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23532 (arg1
)->SetEventHandler(arg2
);
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23537 Py_INCREF(Py_None
); resultobj
= Py_None
;
23544 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
;
23546 wxWindow
*arg1
= (wxWindow
*) 0 ;
23547 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23548 PyObject
* obj0
= 0 ;
23549 PyObject
* obj1
= 0 ;
23550 char *kwnames
[] = {
23551 (char *) "self",(char *) "handler", NULL
23554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23556 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 (arg1
)->PushEventHandler(arg2
);
23561 wxPyEndAllowThreads(__tstate
);
23562 if (PyErr_Occurred()) SWIG_fail
;
23564 Py_INCREF(Py_None
); resultobj
= Py_None
;
23571 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
;
23573 wxWindow
*arg1
= (wxWindow
*) 0 ;
23574 bool arg2
= (bool) False
;
23575 wxEvtHandler
*result
;
23576 PyObject
* obj0
= 0 ;
23577 PyObject
* obj1
= 0 ;
23578 char *kwnames
[] = {
23579 (char *) "self",(char *) "deleteHandler", NULL
23582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23586 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23598 resultobj
= wxPyMake_wxObject(result
);
23606 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23607 PyObject
*resultobj
;
23608 wxWindow
*arg1
= (wxWindow
*) 0 ;
23609 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23611 PyObject
* obj0
= 0 ;
23612 PyObject
* obj1
= 0 ;
23613 char *kwnames
[] = {
23614 (char *) "self",(char *) "handler", NULL
23617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23619 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23622 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23634 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23635 PyObject
*resultobj
;
23636 wxWindow
*arg1
= (wxWindow
*) 0 ;
23637 wxValidator
*arg2
= 0 ;
23638 PyObject
* obj0
= 0 ;
23639 PyObject
* obj1
= 0 ;
23640 char *kwnames
[] = {
23641 (char *) "self",(char *) "validator", NULL
23644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
23645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23646 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23647 if (arg2
== NULL
) {
23648 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23657 Py_INCREF(Py_None
); resultobj
= Py_None
;
23664 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23665 PyObject
*resultobj
;
23666 wxWindow
*arg1
= (wxWindow
*) 0 ;
23667 wxValidator
*result
;
23668 PyObject
* obj0
= 0 ;
23669 char *kwnames
[] = {
23670 (char *) "self", NULL
23673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
23674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 result
= (wxValidator
*)(arg1
)->GetValidator();
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23683 resultobj
= wxPyMake_wxObject(result
);
23691 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
;
23693 wxWindow
*arg1
= (wxWindow
*) 0 ;
23694 wxAcceleratorTable
*arg2
= 0 ;
23695 PyObject
* obj0
= 0 ;
23696 PyObject
* obj1
= 0 ;
23697 char *kwnames
[] = {
23698 (char *) "self",(char *) "accel", NULL
23701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
23702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23703 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23704 if (arg2
== NULL
) {
23705 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23714 Py_INCREF(Py_None
); resultobj
= Py_None
;
23721 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxWindow
*arg1
= (wxWindow
*) 0 ;
23724 wxAcceleratorTable
*result
;
23725 PyObject
* obj0
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
23731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
23746 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
;
23748 wxWindow
*arg1
= (wxWindow
*) 0 ;
23753 PyObject
* obj0
= 0 ;
23754 PyObject
* obj1
= 0 ;
23755 PyObject
* obj2
= 0 ;
23756 PyObject
* obj3
= 0 ;
23757 char *kwnames
[] = {
23758 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
23761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23764 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23768 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23772 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23789 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23790 PyObject
*resultobj
;
23791 wxWindow
*arg1
= (wxWindow
*) 0 ;
23794 PyObject
* obj0
= 0 ;
23795 PyObject
* obj1
= 0 ;
23796 char *kwnames
[] = {
23797 (char *) "self",(char *) "hotkeyId", NULL
23800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
23801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23803 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23813 resultobj
= SWIG_PyObj_FromBool((bool)result
);
23820 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
;
23822 wxWindow
*arg1
= (wxWindow
*) 0 ;
23823 wxPoint
*arg2
= 0 ;
23826 PyObject
* obj0
= 0 ;
23827 PyObject
* obj1
= 0 ;
23828 char *kwnames
[] = {
23829 (char *) "self",(char *) "pt", NULL
23832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
23833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23836 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23846 wxPoint
* resultptr
;
23847 resultptr
= new wxPoint((wxPoint
&) result
);
23848 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23856 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23857 PyObject
*resultobj
;
23858 wxWindow
*arg1
= (wxWindow
*) 0 ;
23862 PyObject
* obj0
= 0 ;
23863 PyObject
* obj1
= 0 ;
23864 char *kwnames
[] = {
23865 (char *) "self",(char *) "sz", NULL
23868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
23869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23872 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23882 wxSize
* resultptr
;
23883 resultptr
= new wxSize((wxSize
&) result
);
23884 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
23892 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
;
23894 wxWindow
*arg1
= (wxWindow
*) 0 ;
23895 wxPoint
*arg2
= 0 ;
23898 PyObject
* obj0
= 0 ;
23899 PyObject
* obj1
= 0 ;
23900 char *kwnames
[] = {
23901 (char *) "self",(char *) "pt", NULL
23904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
23905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23908 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23918 wxPoint
* resultptr
;
23919 resultptr
= new wxPoint((wxPoint
&) result
);
23920 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23928 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
;
23930 wxWindow
*arg1
= (wxWindow
*) 0 ;
23934 PyObject
* obj0
= 0 ;
23935 PyObject
* obj1
= 0 ;
23936 char *kwnames
[] = {
23937 (char *) "self",(char *) "sz", NULL
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
23941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23944 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23954 wxSize
* resultptr
;
23955 resultptr
= new wxSize((wxSize
&) result
);
23956 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
23964 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
;
23966 wxWindow
*arg1
= (wxWindow
*) 0 ;
23967 wxPoint
*arg2
= 0 ;
23970 PyObject
* obj0
= 0 ;
23971 PyObject
* obj1
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self",(char *) "pt", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23980 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23984 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23990 wxPoint
* resultptr
;
23991 resultptr
= new wxPoint((wxPoint
&) result
);
23992 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
24000 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24001 PyObject
*resultobj
;
24002 wxWindow
*arg1
= (wxWindow
*) 0 ;
24006 PyObject
* obj0
= 0 ;
24007 PyObject
* obj1
= 0 ;
24008 char *kwnames
[] = {
24009 (char *) "self",(char *) "sz", NULL
24012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24016 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24020 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24026 wxSize
* resultptr
;
24027 resultptr
= new wxSize((wxSize
&) result
);
24028 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24036 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24037 PyObject
*resultobj
;
24038 wxWindow
*arg1
= (wxWindow
*) 0 ;
24041 PyObject
* obj0
= 0 ;
24042 PyObject
* obj1
= 0 ;
24043 PyObject
* obj2
= 0 ;
24044 char *kwnames
[] = {
24045 (char *) "self",(char *) "x",(char *) "y", NULL
24048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24051 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24055 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 (arg1
)->WarpPointer(arg2
,arg3
);
24062 wxPyEndAllowThreads(__tstate
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24065 Py_INCREF(Py_None
); resultobj
= Py_None
;
24072 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24073 PyObject
*resultobj
;
24074 wxWindow
*arg1
= (wxWindow
*) 0 ;
24075 PyObject
* obj0
= 0 ;
24076 char *kwnames
[] = {
24077 (char *) "self", NULL
24080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
24081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 (arg1
)->CaptureMouse();
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 Py_INCREF(Py_None
); resultobj
= Py_None
;
24096 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24098 wxWindow
*arg1
= (wxWindow
*) 0 ;
24099 PyObject
* obj0
= 0 ;
24100 char *kwnames
[] = {
24101 (char *) "self", NULL
24104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
24105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 (arg1
)->ReleaseMouse();
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 Py_INCREF(Py_None
); resultobj
= Py_None
;
24120 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
;
24123 char *kwnames
[] = {
24127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
24129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24130 result
= (wxWindow
*)wxWindow::GetCapture();
24132 wxPyEndAllowThreads(__tstate
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= wxPyMake_wxObject(result
);
24144 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
;
24146 wxWindow
*arg1
= (wxWindow
*) 0 ;
24148 PyObject
* obj0
= 0 ;
24149 char *kwnames
[] = {
24150 (char *) "self", NULL
24153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
24154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24157 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24169 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
;
24171 wxWindow
*arg1
= (wxWindow
*) 0 ;
24172 bool arg2
= (bool) True
;
24173 wxRect
*arg3
= (wxRect
*) NULL
;
24174 PyObject
* obj0
= 0 ;
24175 PyObject
* obj1
= 0 ;
24176 PyObject
* obj2
= 0 ;
24177 char *kwnames
[] = {
24178 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24185 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24190 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 Py_INCREF(Py_None
); resultobj
= Py_None
;
24206 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
;
24208 wxWindow
*arg1
= (wxWindow
*) 0 ;
24211 PyObject
* obj0
= 0 ;
24212 PyObject
* obj1
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self",(char *) "rect", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24221 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 Py_INCREF(Py_None
); resultobj
= Py_None
;
24237 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24238 PyObject
*resultobj
;
24239 wxWindow
*arg1
= (wxWindow
*) 0 ;
24240 PyObject
* obj0
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "self", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
24246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 Py_INCREF(Py_None
); resultobj
= Py_None
;
24261 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxWindow
*arg1
= (wxWindow
*) 0 ;
24264 PyObject
* obj0
= 0 ;
24265 char *kwnames
[] = {
24266 (char *) "self", NULL
24269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
24270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 (arg1
)->ClearBackground();
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 Py_INCREF(Py_None
); resultobj
= Py_None
;
24285 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxWindow
*arg1
= (wxWindow
*) 0 ;
24288 PyObject
* obj0
= 0 ;
24289 char *kwnames
[] = {
24290 (char *) "self", NULL
24293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
24294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 wxPyEndAllowThreads(__tstate
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24302 Py_INCREF(Py_None
); resultobj
= Py_None
;
24309 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
;
24311 wxWindow
*arg1
= (wxWindow
*) 0 ;
24312 PyObject
* obj0
= 0 ;
24313 char *kwnames
[] = {
24314 (char *) "self", NULL
24317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
24318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24326 Py_INCREF(Py_None
); resultobj
= Py_None
;
24333 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
;
24335 wxWindow
*arg1
= (wxWindow
*) 0 ;
24337 PyObject
* obj0
= 0 ;
24338 PyObject
* obj1
= 0 ;
24339 char *kwnames
[] = {
24340 (char *) "self",(char *) "dc", NULL
24343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24346 if (arg2
== NULL
) {
24347 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 (arg1
)->PrepareDC(*arg2
);
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24356 Py_INCREF(Py_None
); resultobj
= Py_None
;
24363 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
;
24365 wxWindow
*arg1
= (wxWindow
*) 0 ;
24367 PyObject
* obj0
= 0 ;
24368 char *kwnames
[] = {
24369 (char *) "self", NULL
24372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
24373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
24378 result
= (wxRegion
*) &_result_ref
;
24381 wxPyEndAllowThreads(__tstate
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24384 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
24391 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
;
24393 wxWindow
*arg1
= (wxWindow
*) 0 ;
24395 PyObject
* obj0
= 0 ;
24396 char *kwnames
[] = {
24397 (char *) "self", NULL
24400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
24401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24410 wxRect
* resultptr
;
24411 resultptr
= new wxRect((wxRect
&) result
);
24412 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
24420 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24421 PyObject
*resultobj
;
24422 wxWindow
*arg1
= (wxWindow
*) 0 ;
24425 int arg4
= (int) 1 ;
24426 int arg5
= (int) 1 ;
24428 PyObject
* obj0
= 0 ;
24429 PyObject
* obj1
= 0 ;
24430 PyObject
* obj2
= 0 ;
24431 PyObject
* obj3
= 0 ;
24432 PyObject
* obj4
= 0 ;
24433 char *kwnames
[] = {
24434 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24440 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24444 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24449 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24455 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24466 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24473 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24474 PyObject
*resultobj
;
24475 wxWindow
*arg1
= (wxWindow
*) 0 ;
24476 wxPoint
*arg2
= 0 ;
24479 PyObject
* obj0
= 0 ;
24480 PyObject
* obj1
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "self",(char *) "pt", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24489 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
24495 wxPyEndAllowThreads(__tstate
);
24496 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24505 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
;
24507 wxWindow
*arg1
= (wxWindow
*) 0 ;
24511 PyObject
* obj0
= 0 ;
24512 PyObject
* obj1
= 0 ;
24513 char *kwnames
[] = {
24514 (char *) "self",(char *) "rect", NULL
24517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24521 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24525 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
24527 wxPyEndAllowThreads(__tstate
);
24528 if (PyErr_Occurred()) SWIG_fail
;
24530 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24537 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24538 PyObject
*resultobj
;
24539 wxWindow
*arg1
= (wxWindow
*) 0 ;
24540 wxColour
*arg2
= 0 ;
24543 PyObject
* obj0
= 0 ;
24544 PyObject
* obj1
= 0 ;
24545 char *kwnames
[] = {
24546 (char *) "self",(char *) "colour", NULL
24549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24553 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24569 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxWindow
*arg1
= (wxWindow
*) 0 ;
24572 wxColour
*arg2
= 0 ;
24575 PyObject
* obj0
= 0 ;
24576 PyObject
* obj1
= 0 ;
24577 char *kwnames
[] = {
24578 (char *) "self",(char *) "colour", NULL
24581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24585 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24601 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
;
24603 wxWindow
*arg1
= (wxWindow
*) 0 ;
24605 PyObject
* obj0
= 0 ;
24606 char *kwnames
[] = {
24607 (char *) "self", NULL
24610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
24611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24614 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24620 wxColour
* resultptr
;
24621 resultptr
= new wxColour((wxColour
&) result
);
24622 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24630 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24631 PyObject
*resultobj
;
24632 wxWindow
*arg1
= (wxWindow
*) 0 ;
24634 PyObject
* obj0
= 0 ;
24635 char *kwnames
[] = {
24636 (char *) "self", NULL
24639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
24640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24649 wxColour
* resultptr
;
24650 resultptr
= new wxColour((wxColour
&) result
);
24651 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24659 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24660 PyObject
*resultobj
;
24661 wxWindow
*arg1
= (wxWindow
*) 0 ;
24662 wxCursor
*arg2
= 0 ;
24664 PyObject
* obj0
= 0 ;
24665 PyObject
* obj1
= 0 ;
24666 char *kwnames
[] = {
24667 (char *) "self",(char *) "cursor", NULL
24670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
24671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24673 if (arg2
== NULL
) {
24674 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24678 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
24680 wxPyEndAllowThreads(__tstate
);
24681 if (PyErr_Occurred()) SWIG_fail
;
24683 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24690 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24691 PyObject
*resultobj
;
24692 wxWindow
*arg1
= (wxWindow
*) 0 ;
24694 PyObject
* obj0
= 0 ;
24695 char *kwnames
[] = {
24696 (char *) "self", NULL
24699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
24700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 wxCursor
&_result_ref
= (arg1
)->GetCursor();
24705 result
= (wxCursor
*) &_result_ref
;
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24711 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
24718 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24719 PyObject
*resultobj
;
24720 wxWindow
*arg1
= (wxWindow
*) 0 ;
24723 PyObject
* obj0
= 0 ;
24724 PyObject
* obj1
= 0 ;
24725 char *kwnames
[] = {
24726 (char *) "self",(char *) "font", NULL
24729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24731 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24732 if (arg2
== NULL
) {
24733 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24742 resultobj
= SWIG_PyObj_FromBool((bool)result
);
24749 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
;
24751 wxWindow
*arg1
= (wxWindow
*) 0 ;
24753 PyObject
* obj0
= 0 ;
24754 char *kwnames
[] = {
24755 (char *) "self", NULL
24758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
24759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 wxFont
&_result_ref
= (arg1
)->GetFont();
24764 result
= (wxFont
*) &_result_ref
;
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
24777 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
;
24779 wxWindow
*arg1
= (wxWindow
*) 0 ;
24780 wxCaret
*arg2
= (wxCaret
*) 0 ;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 char *kwnames
[] = {
24784 (char *) "self",(char *) "caret", NULL
24787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
24788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24789 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 (arg1
)->SetCaret(arg2
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 Py_INCREF(Py_None
); resultobj
= Py_None
;
24804 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxWindow
*arg1
= (wxWindow
*) 0 ;
24808 PyObject
* obj0
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
24814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24822 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
24829 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
;
24831 wxWindow
*arg1
= (wxWindow
*) 0 ;
24833 PyObject
* obj0
= 0 ;
24834 char *kwnames
[] = {
24835 (char *) "self", NULL
24838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
24839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24842 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
24844 wxPyEndAllowThreads(__tstate
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24847 resultobj
= SWIG_PyObj_FromInt((int)result
);
24854 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
;
24856 wxWindow
*arg1
= (wxWindow
*) 0 ;
24858 PyObject
* obj0
= 0 ;
24859 char *kwnames
[] = {
24860 (char *) "self", NULL
24863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
24864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24872 resultobj
= SWIG_PyObj_FromInt((int)result
);
24879 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24880 PyObject
*resultobj
;
24881 wxWindow
*arg1
= (wxWindow
*) 0 ;
24882 wxString
*arg2
= 0 ;
24883 int *arg3
= (int *) 0 ;
24884 int *arg4
= (int *) 0 ;
24885 bool temp2
= False
;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self",(char *) "string", NULL
24896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
24897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24899 arg2
= wxString_in_helper(obj1
);
24900 if (arg2
== NULL
) SWIG_fail
;
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24910 Py_INCREF(Py_None
); resultobj
= Py_None
;
24912 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24913 resultobj
= t_output_helper(resultobj
,o
);
24916 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24917 resultobj
= t_output_helper(resultobj
,o
);
24933 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24934 PyObject
*resultobj
;
24935 wxWindow
*arg1
= (wxWindow
*) 0 ;
24936 wxString
*arg2
= 0 ;
24937 int *arg3
= (int *) 0 ;
24938 int *arg4
= (int *) 0 ;
24939 int *arg5
= (int *) 0 ;
24940 int *arg6
= (int *) 0 ;
24941 wxFont
*arg7
= (wxFont
*) NULL
;
24942 bool temp2
= False
;
24947 PyObject
* obj0
= 0 ;
24948 PyObject
* obj1
= 0 ;
24949 PyObject
* obj2
= 0 ;
24950 char *kwnames
[] = {
24951 (char *) "self",(char *) "string",(char *) "font", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24961 arg2
= wxString_in_helper(obj1
);
24962 if (arg2
== NULL
) SWIG_fail
;
24966 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 Py_INCREF(Py_None
); resultobj
= Py_None
;
24977 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24978 resultobj
= t_output_helper(resultobj
,o
);
24981 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24982 resultobj
= t_output_helper(resultobj
,o
);
24985 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
24986 resultobj
= t_output_helper(resultobj
,o
);
24989 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
24990 resultobj
= t_output_helper(resultobj
,o
);
25006 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25007 PyObject
*resultobj
;
25008 wxWindow
*arg1
= (wxWindow
*) 0 ;
25009 int *arg2
= (int *) 0 ;
25010 int *arg3
= (int *) 0 ;
25013 PyObject
* obj0
= 0 ;
25014 PyObject
* obj1
= 0 ;
25015 PyObject
* obj2
= 0 ;
25016 char *kwnames
[] = {
25017 (char *) "self",(char *) "x",(char *) "y", NULL
25020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25023 temp2
= PyInt_AsLong(obj1
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25028 temp3
= PyInt_AsLong(obj2
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25039 Py_INCREF(Py_None
); resultobj
= Py_None
;
25041 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25042 resultobj
= t_output_helper(resultobj
,o
);
25045 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25046 resultobj
= t_output_helper(resultobj
,o
);
25054 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
;
25056 wxWindow
*arg1
= (wxWindow
*) 0 ;
25057 int *arg2
= (int *) 0 ;
25058 int *arg3
= (int *) 0 ;
25061 PyObject
* obj0
= 0 ;
25062 PyObject
* obj1
= 0 ;
25063 PyObject
* obj2
= 0 ;
25064 char *kwnames
[] = {
25065 (char *) "self",(char *) "x",(char *) "y", NULL
25068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25071 temp2
= PyInt_AsLong(obj1
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25076 temp3
= PyInt_AsLong(obj2
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
25084 wxPyEndAllowThreads(__tstate
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25087 Py_INCREF(Py_None
); resultobj
= Py_None
;
25089 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25090 resultobj
= t_output_helper(resultobj
,o
);
25093 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25094 resultobj
= t_output_helper(resultobj
,o
);
25102 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25103 PyObject
*resultobj
;
25104 wxWindow
*arg1
= (wxWindow
*) 0 ;
25105 wxPoint
*arg2
= 0 ;
25108 PyObject
* obj0
= 0 ;
25109 PyObject
* obj1
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "self",(char *) "pt", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25118 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25128 wxPoint
* resultptr
;
25129 resultptr
= new wxPoint((wxPoint
&) result
);
25130 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
25138 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25139 PyObject
*resultobj
;
25140 wxWindow
*arg1
= (wxWindow
*) 0 ;
25141 wxPoint
*arg2
= 0 ;
25144 PyObject
* obj0
= 0 ;
25145 PyObject
* obj1
= 0 ;
25146 char *kwnames
[] = {
25147 (char *) "self",(char *) "pt", NULL
25150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
25151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25154 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25164 wxPoint
* resultptr
;
25165 resultptr
= new wxPoint((wxPoint
&) result
);
25166 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
25174 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25175 PyObject
*resultobj
;
25176 wxWindow
*arg1
= (wxWindow
*) 0 ;
25180 PyObject
* obj0
= 0 ;
25181 PyObject
* obj1
= 0 ;
25182 PyObject
* obj2
= 0 ;
25183 char *kwnames
[] = {
25184 (char *) "self",(char *) "x",(char *) "y", NULL
25187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25190 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25194 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25204 resultobj
= SWIG_PyObj_FromInt((int)result
);
25211 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25212 PyObject
*resultobj
;
25213 wxWindow
*arg1
= (wxWindow
*) 0 ;
25214 wxPoint
*arg2
= 0 ;
25217 PyObject
* obj0
= 0 ;
25218 PyObject
* obj1
= 0 ;
25219 char *kwnames
[] = {
25220 (char *) "self",(char *) "pt", NULL
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25227 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= SWIG_PyObj_FromInt((int)result
);
25243 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25244 PyObject
*resultobj
;
25245 wxWindow
*arg1
= (wxWindow
*) 0 ;
25248 PyObject
* obj0
= 0 ;
25249 PyObject
* obj1
= 0 ;
25250 char *kwnames
[] = {
25251 (char *) "self",(char *) "flags", NULL
25254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetBorderFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
25255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25257 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25262 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
25264 wxPyEndAllowThreads(__tstate
);
25265 if (PyErr_Occurred()) SWIG_fail
;
25267 resultobj
= SWIG_PyObj_FromInt((int)result
);
25274 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25275 PyObject
*resultobj
;
25276 wxWindow
*arg1
= (wxWindow
*) 0 ;
25278 PyObject
* obj0
= 0 ;
25279 char *kwnames
[] = {
25280 (char *) "self", NULL
25283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
25284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25292 resultobj
= SWIG_PyObj_FromInt((int)result
);
25299 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25300 PyObject
*resultobj
;
25301 wxWindow
*arg1
= (wxWindow
*) 0 ;
25302 long arg2
= (long) wxUPDATE_UI_NONE
;
25303 PyObject
* obj0
= 0 ;
25304 PyObject
* obj1
= 0 ;
25305 char *kwnames
[] = {
25306 (char *) "self",(char *) "flags", NULL
25309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
25310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25313 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25319 (arg1
)->UpdateWindowUI(arg2
);
25321 wxPyEndAllowThreads(__tstate
);
25322 if (PyErr_Occurred()) SWIG_fail
;
25324 Py_INCREF(Py_None
); resultobj
= Py_None
;
25331 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25332 PyObject
*resultobj
;
25333 wxWindow
*arg1
= (wxWindow
*) 0 ;
25334 wxMenu
*arg2
= (wxMenu
*) 0 ;
25338 PyObject
* obj0
= 0 ;
25339 PyObject
* obj1
= 0 ;
25340 PyObject
* obj2
= 0 ;
25341 PyObject
* obj3
= 0 ;
25342 char *kwnames
[] = {
25343 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
25346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25350 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25354 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25359 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
25361 wxPyEndAllowThreads(__tstate
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25364 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25371 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25372 PyObject
*resultobj
;
25373 wxWindow
*arg1
= (wxWindow
*) 0 ;
25374 wxMenu
*arg2
= (wxMenu
*) 0 ;
25375 wxPoint
*arg3
= 0 ;
25378 PyObject
* obj0
= 0 ;
25379 PyObject
* obj1
= 0 ;
25380 PyObject
* obj2
= 0 ;
25381 char *kwnames
[] = {
25382 (char *) "self",(char *) "menu",(char *) "pos", NULL
25385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25390 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25394 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
25396 wxPyEndAllowThreads(__tstate
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25399 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25406 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25407 PyObject
*resultobj
;
25408 wxWindow
*arg1
= (wxWindow
*) 0 ;
25410 PyObject
* obj0
= 0 ;
25411 char *kwnames
[] = {
25412 (char *) "self", NULL
25415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
25416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 result
= (long)wxWindow_GetHandle(arg1
);
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 resultobj
= SWIG_PyObj_FromLong((long)result
);
25431 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25432 PyObject
*resultobj
;
25433 wxWindow
*arg1
= (wxWindow
*) 0 ;
25436 PyObject
* obj0
= 0 ;
25437 PyObject
* obj1
= 0 ;
25438 char *kwnames
[] = {
25439 (char *) "self",(char *) "orient", NULL
25442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
25443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25445 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
25452 wxPyEndAllowThreads(__tstate
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25455 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25462 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25463 PyObject
*resultobj
;
25464 wxWindow
*arg1
= (wxWindow
*) 0 ;
25469 bool arg6
= (bool) True
;
25470 PyObject
* obj0
= 0 ;
25471 PyObject
* obj1
= 0 ;
25472 PyObject
* obj2
= 0 ;
25473 PyObject
* obj3
= 0 ;
25474 PyObject
* obj4
= 0 ;
25475 PyObject
* obj5
= 0 ;
25476 char *kwnames
[] = {
25477 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
25480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25483 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25487 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25488 if (PyErr_Occurred()) SWIG_fail
;
25491 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25495 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25500 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
25501 if (PyErr_Occurred()) SWIG_fail
;
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 Py_INCREF(Py_None
); resultobj
= Py_None
;
25518 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
;
25520 wxWindow
*arg1
= (wxWindow
*) 0 ;
25523 bool arg4
= (bool) True
;
25524 PyObject
* obj0
= 0 ;
25525 PyObject
* obj1
= 0 ;
25526 PyObject
* obj2
= 0 ;
25527 PyObject
* obj3
= 0 ;
25528 char *kwnames
[] = {
25529 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
25532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25535 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25539 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25544 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25550 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
25552 wxPyEndAllowThreads(__tstate
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25555 Py_INCREF(Py_None
); resultobj
= Py_None
;
25562 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25563 PyObject
*resultobj
;
25564 wxWindow
*arg1
= (wxWindow
*) 0 ;
25567 PyObject
* obj0
= 0 ;
25568 PyObject
* obj1
= 0 ;
25569 char *kwnames
[] = {
25570 (char *) "self",(char *) "orient", NULL
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
25574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25576 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25581 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
25583 wxPyEndAllowThreads(__tstate
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25586 resultobj
= SWIG_PyObj_FromInt((int)result
);
25593 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25594 PyObject
*resultobj
;
25595 wxWindow
*arg1
= (wxWindow
*) 0 ;
25598 PyObject
* obj0
= 0 ;
25599 PyObject
* obj1
= 0 ;
25600 char *kwnames
[] = {
25601 (char *) "self",(char *) "orient", NULL
25604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
25605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25607 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
25614 wxPyEndAllowThreads(__tstate
);
25615 if (PyErr_Occurred()) SWIG_fail
;
25617 resultobj
= SWIG_PyObj_FromInt((int)result
);
25624 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25625 PyObject
*resultobj
;
25626 wxWindow
*arg1
= (wxWindow
*) 0 ;
25629 PyObject
* obj0
= 0 ;
25630 PyObject
* obj1
= 0 ;
25631 char *kwnames
[] = {
25632 (char *) "self",(char *) "orient", NULL
25635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
25636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25638 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25648 resultobj
= SWIG_PyObj_FromInt((int)result
);
25655 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
;
25657 wxWindow
*arg1
= (wxWindow
*) 0 ;
25660 wxRect
*arg4
= (wxRect
*) NULL
;
25661 PyObject
* obj0
= 0 ;
25662 PyObject
* obj1
= 0 ;
25663 PyObject
* obj2
= 0 ;
25664 PyObject
* obj3
= 0 ;
25665 char *kwnames
[] = {
25666 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
25669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25672 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25676 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25680 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
25686 wxPyEndAllowThreads(__tstate
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25689 Py_INCREF(Py_None
); resultobj
= Py_None
;
25696 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxWindow
*arg1
= (wxWindow
*) 0 ;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self",(char *) "lines", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
25708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25710 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 result
= (bool)(arg1
)->ScrollLines(arg2
);
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25727 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
;
25729 wxWindow
*arg1
= (wxWindow
*) 0 ;
25732 PyObject
* obj0
= 0 ;
25733 PyObject
* obj1
= 0 ;
25734 char *kwnames
[] = {
25735 (char *) "self",(char *) "pages", NULL
25738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
25739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25741 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25746 result
= (bool)(arg1
)->ScrollPages(arg2
);
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25758 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
;
25760 wxWindow
*arg1
= (wxWindow
*) 0 ;
25762 PyObject
* obj0
= 0 ;
25763 char *kwnames
[] = {
25764 (char *) "self", NULL
25767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
25768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25771 result
= (bool)(arg1
)->LineUp();
25773 wxPyEndAllowThreads(__tstate
);
25774 if (PyErr_Occurred()) SWIG_fail
;
25776 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25783 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25784 PyObject
*resultobj
;
25785 wxWindow
*arg1
= (wxWindow
*) 0 ;
25787 PyObject
* obj0
= 0 ;
25788 char *kwnames
[] = {
25789 (char *) "self", NULL
25792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
25793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= (bool)(arg1
)->LineDown();
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25801 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25808 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25809 PyObject
*resultobj
;
25810 wxWindow
*arg1
= (wxWindow
*) 0 ;
25812 PyObject
* obj0
= 0 ;
25813 char *kwnames
[] = {
25814 (char *) "self", NULL
25817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
25818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 result
= (bool)(arg1
)->PageUp();
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25833 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
;
25835 wxWindow
*arg1
= (wxWindow
*) 0 ;
25837 PyObject
* obj0
= 0 ;
25838 char *kwnames
[] = {
25839 (char *) "self", NULL
25842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
25843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25846 result
= (bool)(arg1
)->PageDown();
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25851 resultobj
= SWIG_PyObj_FromBool((bool)result
);
25858 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
;
25860 wxWindow
*arg1
= (wxWindow
*) 0 ;
25861 wxString
*arg2
= 0 ;
25862 bool temp2
= False
;
25863 PyObject
* obj0
= 0 ;
25864 PyObject
* obj1
= 0 ;
25865 char *kwnames
[] = {
25866 (char *) "self",(char *) "text", NULL
25869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
25870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25872 arg2
= wxString_in_helper(obj1
);
25873 if (arg2
== NULL
) SWIG_fail
;
25877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25878 (arg1
)->SetHelpText((wxString
const &)*arg2
);
25880 wxPyEndAllowThreads(__tstate
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25883 Py_INCREF(Py_None
); resultobj
= Py_None
;
25898 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25899 PyObject
*resultobj
;
25900 wxWindow
*arg1
= (wxWindow
*) 0 ;
25901 wxString
*arg2
= 0 ;
25902 bool temp2
= False
;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 char *kwnames
[] = {
25906 (char *) "self",(char *) "text", NULL
25909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
25910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25912 arg2
= wxString_in_helper(obj1
);
25913 if (arg2
== NULL
) SWIG_fail
;
25917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25918 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
25920 wxPyEndAllowThreads(__tstate
);
25921 if (PyErr_Occurred()) SWIG_fail
;
25923 Py_INCREF(Py_None
); resultobj
= Py_None
;
25938 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
;
25940 wxWindow
*arg1
= (wxWindow
*) 0 ;
25942 PyObject
* obj0
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
25948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 result
= ((wxWindow
const *)arg1
)->GetHelpText();
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25969 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25970 PyObject
*resultobj
;
25971 wxWindow
*arg1
= (wxWindow
*) 0 ;
25972 wxString
*arg2
= 0 ;
25973 bool temp2
= False
;
25974 PyObject
* obj0
= 0 ;
25975 PyObject
* obj1
= 0 ;
25976 char *kwnames
[] = {
25977 (char *) "self",(char *) "tip", NULL
25980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
25981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25983 arg2
= wxString_in_helper(obj1
);
25984 if (arg2
== NULL
) SWIG_fail
;
25988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25989 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25994 Py_INCREF(Py_None
); resultobj
= Py_None
;
26009 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26010 PyObject
*resultobj
;
26011 wxWindow
*arg1
= (wxWindow
*) 0 ;
26012 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
26013 PyObject
* obj0
= 0 ;
26014 PyObject
* obj1
= 0 ;
26015 char *kwnames
[] = {
26016 (char *) "self",(char *) "tip", NULL
26019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
26020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 (arg1
)->SetToolTip(arg2
);
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26029 Py_INCREF(Py_None
); resultobj
= Py_None
;
26036 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26037 PyObject
*resultobj
;
26038 wxWindow
*arg1
= (wxWindow
*) 0 ;
26040 PyObject
* obj0
= 0 ;
26041 char *kwnames
[] = {
26042 (char *) "self", NULL
26045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
26046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
26051 wxPyEndAllowThreads(__tstate
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26055 resultobj
= wxPyMake_wxObject(result
);
26063 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
;
26065 wxWindow
*arg1
= (wxWindow
*) 0 ;
26066 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
26067 PyObject
* obj0
= 0 ;
26068 PyObject
* obj1
= 0 ;
26069 char *kwnames
[] = {
26070 (char *) "self",(char *) "dropTarget", NULL
26073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
26074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26075 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26078 (arg1
)->SetDropTarget(arg2
);
26080 wxPyEndAllowThreads(__tstate
);
26081 if (PyErr_Occurred()) SWIG_fail
;
26083 Py_INCREF(Py_None
); resultobj
= Py_None
;
26090 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26091 PyObject
*resultobj
;
26092 wxWindow
*arg1
= (wxWindow
*) 0 ;
26093 wxPyDropTarget
*result
;
26094 PyObject
* obj0
= 0 ;
26095 char *kwnames
[] = {
26096 (char *) "self", NULL
26099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
26100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26103 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
26105 wxPyEndAllowThreads(__tstate
);
26106 if (PyErr_Occurred()) SWIG_fail
;
26108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 0);
26115 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26116 PyObject
*resultobj
;
26117 wxWindow
*arg1
= (wxWindow
*) 0 ;
26118 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
26119 PyObject
* obj0
= 0 ;
26120 PyObject
* obj1
= 0 ;
26121 char *kwnames
[] = {
26122 (char *) "self",(char *) "constraints", NULL
26125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
26126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26127 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 (arg1
)->SetConstraints(arg2
);
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 Py_INCREF(Py_None
); resultobj
= Py_None
;
26142 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
;
26144 wxWindow
*arg1
= (wxWindow
*) 0 ;
26145 wxLayoutConstraints
*result
;
26146 PyObject
* obj0
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "self", NULL
26151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
26152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
26167 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxWindow
*arg1
= (wxWindow
*) 0 ;
26171 PyObject
* obj0
= 0 ;
26172 PyObject
* obj1
= 0 ;
26173 char *kwnames
[] = {
26174 (char *) "self",(char *) "autoLayout", NULL
26177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
26178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26180 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 (arg1
)->SetAutoLayout(arg2
);
26187 wxPyEndAllowThreads(__tstate
);
26188 if (PyErr_Occurred()) SWIG_fail
;
26190 Py_INCREF(Py_None
); resultobj
= Py_None
;
26197 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26198 PyObject
*resultobj
;
26199 wxWindow
*arg1
= (wxWindow
*) 0 ;
26201 PyObject
* obj0
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "self", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
26207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26222 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxWindow
*arg1
= (wxWindow
*) 0 ;
26226 PyObject
* obj0
= 0 ;
26227 char *kwnames
[] = {
26228 (char *) "self", NULL
26231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
26232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26235 result
= (bool)(arg1
)->Layout();
26237 wxPyEndAllowThreads(__tstate
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26240 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26247 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26248 PyObject
*resultobj
;
26249 wxWindow
*arg1
= (wxWindow
*) 0 ;
26250 wxSizer
*arg2
= (wxSizer
*) 0 ;
26251 bool arg3
= (bool) True
;
26252 PyObject
* obj0
= 0 ;
26253 PyObject
* obj1
= 0 ;
26254 PyObject
* obj2
= 0 ;
26255 char *kwnames
[] = {
26256 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26264 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 (arg1
)->SetSizer(arg2
,arg3
);
26272 wxPyEndAllowThreads(__tstate
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26275 Py_INCREF(Py_None
); resultobj
= Py_None
;
26282 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26283 PyObject
*resultobj
;
26284 wxWindow
*arg1
= (wxWindow
*) 0 ;
26285 wxSizer
*arg2
= (wxSizer
*) 0 ;
26286 bool arg3
= (bool) True
;
26287 PyObject
* obj0
= 0 ;
26288 PyObject
* obj1
= 0 ;
26289 PyObject
* obj2
= 0 ;
26290 char *kwnames
[] = {
26291 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26296 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26299 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26305 (arg1
)->SetSizerAndFit(arg2
,arg3
);
26307 wxPyEndAllowThreads(__tstate
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26310 Py_INCREF(Py_None
); resultobj
= Py_None
;
26317 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26318 PyObject
*resultobj
;
26319 wxWindow
*arg1
= (wxWindow
*) 0 ;
26321 PyObject
* obj0
= 0 ;
26322 char *kwnames
[] = {
26323 (char *) "self", NULL
26326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
26327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= wxPyMake_wxSizer(result
);
26344 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxWindow
*arg1
= (wxWindow
*) 0 ;
26347 wxSizer
*arg2
= (wxSizer
*) 0 ;
26348 PyObject
* obj0
= 0 ;
26349 PyObject
* obj1
= 0 ;
26350 char *kwnames
[] = {
26351 (char *) "self",(char *) "sizer", NULL
26354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
26355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26359 (arg1
)->SetContainingSizer(arg2
);
26361 wxPyEndAllowThreads(__tstate
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26364 Py_INCREF(Py_None
); resultobj
= Py_None
;
26371 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26372 PyObject
*resultobj
;
26373 wxWindow
*arg1
= (wxWindow
*) 0 ;
26375 PyObject
* obj0
= 0 ;
26376 char *kwnames
[] = {
26377 (char *) "self", NULL
26380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
26381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
26386 wxPyEndAllowThreads(__tstate
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26390 resultobj
= wxPyMake_wxSizer(result
);
26398 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
26400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26401 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
26403 return Py_BuildValue((char *)"");
26405 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26406 PyObject
*resultobj
;
26408 wxWindow
*arg2
= (wxWindow
*) NULL
;
26410 PyObject
* obj0
= 0 ;
26411 PyObject
* obj1
= 0 ;
26412 char *kwnames
[] = {
26413 (char *) "id",(char *) "parent", NULL
26416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
26418 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26422 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26426 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
26428 wxPyEndAllowThreads(__tstate
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26432 resultobj
= wxPyMake_wxObject(result
);
26440 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26441 PyObject
*resultobj
;
26442 wxString
*arg1
= 0 ;
26443 wxWindow
*arg2
= (wxWindow
*) NULL
;
26445 bool temp1
= False
;
26446 PyObject
* obj0
= 0 ;
26447 PyObject
* obj1
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "name",(char *) "parent", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
26454 arg1
= wxString_in_helper(obj0
);
26455 if (arg1
== NULL
) SWIG_fail
;
26459 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26463 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26469 resultobj
= wxPyMake_wxObject(result
);
26485 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
;
26487 wxString
*arg1
= 0 ;
26488 wxWindow
*arg2
= (wxWindow
*) NULL
;
26490 bool temp1
= False
;
26491 PyObject
* obj0
= 0 ;
26492 PyObject
* obj1
= 0 ;
26493 char *kwnames
[] = {
26494 (char *) "label",(char *) "parent", NULL
26497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26499 arg1
= wxString_in_helper(obj0
);
26500 if (arg1
== NULL
) SWIG_fail
;
26504 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= wxPyMake_wxObject(result
);
26530 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 unsigned long arg1
;
26534 PyObject
* obj0
= 0 ;
26535 char *kwnames
[] = {
26536 (char *) "hWnd", NULL
26539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
26541 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
26542 if (PyErr_Occurred()) SWIG_fail
;
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= wxPyMake_wxObject(result
);
26560 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
;
26562 wxValidator
*result
;
26563 char *kwnames
[] = {
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
26569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26570 result
= (wxValidator
*)new wxValidator();
26572 wxPyEndAllowThreads(__tstate
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26576 resultobj
= wxPyMake_wxObject(result
);
26584 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26585 PyObject
*resultobj
;
26586 wxValidator
*arg1
= (wxValidator
*) 0 ;
26587 wxValidator
*result
;
26588 PyObject
* obj0
= 0 ;
26589 char *kwnames
[] = {
26590 (char *) "self", NULL
26593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
26594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 result
= (wxValidator
*)(arg1
)->Clone();
26599 wxPyEndAllowThreads(__tstate
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26603 resultobj
= wxPyMake_wxObject(result
);
26611 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26612 PyObject
*resultobj
;
26613 wxValidator
*arg1
= (wxValidator
*) 0 ;
26614 wxWindow
*arg2
= (wxWindow
*) 0 ;
26616 PyObject
* obj0
= 0 ;
26617 PyObject
* obj1
= 0 ;
26618 char *kwnames
[] = {
26619 (char *) "self",(char *) "parent", NULL
26622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
26623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26624 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= (bool)(arg1
)->Validate(arg2
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26639 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26640 PyObject
*resultobj
;
26641 wxValidator
*arg1
= (wxValidator
*) 0 ;
26643 PyObject
* obj0
= 0 ;
26644 char *kwnames
[] = {
26645 (char *) "self", NULL
26648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
26649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26652 result
= (bool)(arg1
)->TransferToWindow();
26654 wxPyEndAllowThreads(__tstate
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26657 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26664 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26665 PyObject
*resultobj
;
26666 wxValidator
*arg1
= (wxValidator
*) 0 ;
26668 PyObject
* obj0
= 0 ;
26669 char *kwnames
[] = {
26670 (char *) "self", NULL
26673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
26674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26677 result
= (bool)(arg1
)->TransferFromWindow();
26679 wxPyEndAllowThreads(__tstate
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26682 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26689 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
;
26691 wxValidator
*arg1
= (wxValidator
*) 0 ;
26693 PyObject
* obj0
= 0 ;
26694 char *kwnames
[] = {
26695 (char *) "self", NULL
26698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
26699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 result
= (wxWindow
*)(arg1
)->GetWindow();
26704 wxPyEndAllowThreads(__tstate
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26708 resultobj
= wxPyMake_wxObject(result
);
26716 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26717 PyObject
*resultobj
;
26718 wxValidator
*arg1
= (wxValidator
*) 0 ;
26719 wxWindow
*arg2
= (wxWindow
*) 0 ;
26720 PyObject
* obj0
= 0 ;
26721 PyObject
* obj1
= 0 ;
26722 char *kwnames
[] = {
26723 (char *) "self",(char *) "window", NULL
26726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
26727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26728 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26731 (arg1
)->SetWindow(arg2
);
26733 wxPyEndAllowThreads(__tstate
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26736 Py_INCREF(Py_None
); resultobj
= Py_None
;
26743 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26744 PyObject
*resultobj
;
26746 char *kwnames
[] = {
26750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 result
= (bool)wxValidator::IsSilent();
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 resultobj
= SWIG_PyObj_FromBool((bool)result
);
26765 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
;
26767 int arg1
= (int) True
;
26768 PyObject
* obj0
= 0 ;
26769 char *kwnames
[] = {
26770 (char *) "doIt", NULL
26773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
26776 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 wxValidator::SetBellOnError(arg1
);
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26787 Py_INCREF(Py_None
); resultobj
= Py_None
;
26794 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
26796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26797 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
26799 return Py_BuildValue((char *)"");
26801 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26802 PyObject
*resultobj
;
26803 wxPyValidator
*result
;
26804 char *kwnames
[] = {
26808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 result
= (wxPyValidator
*)new wxPyValidator();
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
26823 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
;
26825 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
26826 PyObject
*arg2
= (PyObject
*) 0 ;
26827 PyObject
*arg3
= (PyObject
*) 0 ;
26828 int arg4
= (int) True
;
26829 PyObject
* obj0
= 0 ;
26830 PyObject
* obj1
= 0 ;
26831 PyObject
* obj2
= 0 ;
26832 PyObject
* obj3
= 0 ;
26833 char *kwnames
[] = {
26834 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26843 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
26844 if (PyErr_Occurred()) SWIG_fail
;
26848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26851 wxPyEndAllowThreads(__tstate
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26854 Py_INCREF(Py_None
); resultobj
= Py_None
;
26861 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
26863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26864 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
26866 return Py_BuildValue((char *)"");
26868 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
26869 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
26874 static PyObject
*_wrap_DefaultValidator_get() {
26877 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
26882 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26883 PyObject
*resultobj
;
26884 wxString
const &arg1_defvalue
= wxPyEmptyString
;
26885 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
26886 long arg2
= (long) 0 ;
26888 bool temp1
= False
;
26889 PyObject
* obj0
= 0 ;
26890 PyObject
* obj1
= 0 ;
26891 char *kwnames
[] = {
26892 (char *) "title",(char *) "style", NULL
26895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
26898 arg1
= wxString_in_helper(obj0
);
26899 if (arg1
== NULL
) SWIG_fail
;
26905 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26917 resultobj
= wxPyMake_wxObject(result
);
26933 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
;
26935 wxMenu
*arg1
= (wxMenu
*) 0 ;
26937 wxString
*arg3
= 0 ;
26938 wxString
const &arg4_defvalue
= wxPyEmptyString
;
26939 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26940 int arg5
= (int) wxITEM_NORMAL
;
26941 wxMenuItem
*result
;
26942 bool temp3
= False
;
26943 bool temp4
= False
;
26944 PyObject
* obj0
= 0 ;
26945 PyObject
* obj1
= 0 ;
26946 PyObject
* obj2
= 0 ;
26947 PyObject
* obj3
= 0 ;
26948 PyObject
* obj4
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26956 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26960 arg3
= wxString_in_helper(obj2
);
26961 if (arg3
== NULL
) SWIG_fail
;
26966 arg4
= wxString_in_helper(obj3
);
26967 if (arg4
== NULL
) SWIG_fail
;
26973 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26979 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
26981 wxPyEndAllowThreads(__tstate
);
26982 if (PyErr_Occurred()) SWIG_fail
;
26985 resultobj
= wxPyMake_wxObject(result
);
27009 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
;
27011 wxMenu
*arg1
= (wxMenu
*) 0 ;
27012 wxMenuItem
*result
;
27013 PyObject
* obj0
= 0 ;
27014 char *kwnames
[] = {
27015 (char *) "self", NULL
27018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
27019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27022 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
27024 wxPyEndAllowThreads(__tstate
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27028 resultobj
= wxPyMake_wxObject(result
);
27036 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27037 PyObject
*resultobj
;
27038 wxMenu
*arg1
= (wxMenu
*) 0 ;
27040 wxString
*arg3
= 0 ;
27041 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27042 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27043 wxMenuItem
*result
;
27044 bool temp3
= False
;
27045 bool temp4
= False
;
27046 PyObject
* obj0
= 0 ;
27047 PyObject
* obj1
= 0 ;
27048 PyObject
* obj2
= 0 ;
27049 PyObject
* obj3
= 0 ;
27050 char *kwnames
[] = {
27051 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27057 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27061 arg3
= wxString_in_helper(obj2
);
27062 if (arg3
== NULL
) SWIG_fail
;
27067 arg4
= wxString_in_helper(obj3
);
27068 if (arg4
== NULL
) SWIG_fail
;
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27080 resultobj
= wxPyMake_wxObject(result
);
27104 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27105 PyObject
*resultobj
;
27106 wxMenu
*arg1
= (wxMenu
*) 0 ;
27108 wxString
*arg3
= 0 ;
27109 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27110 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27111 wxMenuItem
*result
;
27112 bool temp3
= False
;
27113 bool temp4
= False
;
27114 PyObject
* obj0
= 0 ;
27115 PyObject
* obj1
= 0 ;
27116 PyObject
* obj2
= 0 ;
27117 PyObject
* obj3
= 0 ;
27118 char *kwnames
[] = {
27119 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27125 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27129 arg3
= wxString_in_helper(obj2
);
27130 if (arg3
== NULL
) SWIG_fail
;
27135 arg4
= wxString_in_helper(obj3
);
27136 if (arg4
== NULL
) SWIG_fail
;
27141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27142 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27144 wxPyEndAllowThreads(__tstate
);
27145 if (PyErr_Occurred()) SWIG_fail
;
27148 resultobj
= wxPyMake_wxObject(result
);
27172 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27173 PyObject
*resultobj
;
27174 wxMenu
*arg1
= (wxMenu
*) 0 ;
27176 wxString
*arg3
= 0 ;
27177 wxMenu
*arg4
= (wxMenu
*) 0 ;
27178 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27179 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27180 wxMenuItem
*result
;
27181 bool temp3
= False
;
27182 bool temp5
= False
;
27183 PyObject
* obj0
= 0 ;
27184 PyObject
* obj1
= 0 ;
27185 PyObject
* obj2
= 0 ;
27186 PyObject
* obj3
= 0 ;
27187 PyObject
* obj4
= 0 ;
27188 char *kwnames
[] = {
27189 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27195 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27199 arg3
= wxString_in_helper(obj2
);
27200 if (arg3
== NULL
) SWIG_fail
;
27203 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27206 arg5
= wxString_in_helper(obj4
);
27207 if (arg5
== NULL
) SWIG_fail
;
27212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27213 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27215 wxPyEndAllowThreads(__tstate
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27219 resultobj
= wxPyMake_wxObject(result
);
27243 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27244 PyObject
*resultobj
;
27245 wxMenu
*arg1
= (wxMenu
*) 0 ;
27246 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27247 wxMenuItem
*result
;
27248 PyObject
* obj0
= 0 ;
27249 PyObject
* obj1
= 0 ;
27250 char *kwnames
[] = {
27251 (char *) "self",(char *) "item", NULL
27254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27256 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27259 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
27261 wxPyEndAllowThreads(__tstate
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27265 resultobj
= wxPyMake_wxObject(result
);
27273 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27274 PyObject
*resultobj
;
27275 wxMenu
*arg1
= (wxMenu
*) 0 ;
27276 PyObject
* obj0
= 0 ;
27277 char *kwnames
[] = {
27278 (char *) "self", NULL
27281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
27282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27287 wxPyEndAllowThreads(__tstate
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27290 Py_INCREF(Py_None
); resultobj
= Py_None
;
27297 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27298 PyObject
*resultobj
;
27299 wxMenu
*arg1
= (wxMenu
*) 0 ;
27301 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
27302 wxMenuItem
*result
;
27303 PyObject
* obj0
= 0 ;
27304 PyObject
* obj1
= 0 ;
27305 PyObject
* obj2
= 0 ;
27306 char *kwnames
[] = {
27307 (char *) "self",(char *) "pos",(char *) "item", NULL
27310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27313 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27316 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27319 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
27321 wxPyEndAllowThreads(__tstate
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27325 resultobj
= wxPyMake_wxObject(result
);
27333 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27334 PyObject
*resultobj
;
27335 wxMenu
*arg1
= (wxMenu
*) 0 ;
27338 wxString
*arg4
= 0 ;
27339 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27340 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27341 int arg6
= (int) wxITEM_NORMAL
;
27342 wxMenuItem
*result
;
27343 bool temp4
= False
;
27344 bool temp5
= False
;
27345 PyObject
* obj0
= 0 ;
27346 PyObject
* obj1
= 0 ;
27347 PyObject
* obj2
= 0 ;
27348 PyObject
* obj3
= 0 ;
27349 PyObject
* obj4
= 0 ;
27350 PyObject
* obj5
= 0 ;
27351 char *kwnames
[] = {
27352 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27358 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27362 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27366 arg4
= wxString_in_helper(obj3
);
27367 if (arg4
== NULL
) SWIG_fail
;
27372 arg5
= wxString_in_helper(obj4
);
27373 if (arg5
== NULL
) SWIG_fail
;
27379 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27385 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
27387 wxPyEndAllowThreads(__tstate
);
27388 if (PyErr_Occurred()) SWIG_fail
;
27391 resultobj
= wxPyMake_wxObject(result
);
27415 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27416 PyObject
*resultobj
;
27417 wxMenu
*arg1
= (wxMenu
*) 0 ;
27419 wxMenuItem
*result
;
27420 PyObject
* obj0
= 0 ;
27421 PyObject
* obj1
= 0 ;
27422 char *kwnames
[] = {
27423 (char *) "self",(char *) "pos", NULL
27426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
27427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27429 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27430 if (PyErr_Occurred()) SWIG_fail
;
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27440 resultobj
= wxPyMake_wxObject(result
);
27448 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
;
27450 wxMenu
*arg1
= (wxMenu
*) 0 ;
27453 wxString
*arg4
= 0 ;
27454 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27455 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27456 wxMenuItem
*result
;
27457 bool temp4
= False
;
27458 bool temp5
= False
;
27459 PyObject
* obj0
= 0 ;
27460 PyObject
* obj1
= 0 ;
27461 PyObject
* obj2
= 0 ;
27462 PyObject
* obj3
= 0 ;
27463 PyObject
* obj4
= 0 ;
27464 char *kwnames
[] = {
27465 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27471 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27475 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27479 arg4
= wxString_in_helper(obj3
);
27480 if (arg4
== NULL
) SWIG_fail
;
27485 arg5
= wxString_in_helper(obj4
);
27486 if (arg5
== NULL
) SWIG_fail
;
27491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27492 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27494 wxPyEndAllowThreads(__tstate
);
27495 if (PyErr_Occurred()) SWIG_fail
;
27498 resultobj
= wxPyMake_wxObject(result
);
27522 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27523 PyObject
*resultobj
;
27524 wxMenu
*arg1
= (wxMenu
*) 0 ;
27527 wxString
*arg4
= 0 ;
27528 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27529 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27530 wxMenuItem
*result
;
27531 bool temp4
= False
;
27532 bool temp5
= False
;
27533 PyObject
* obj0
= 0 ;
27534 PyObject
* obj1
= 0 ;
27535 PyObject
* obj2
= 0 ;
27536 PyObject
* obj3
= 0 ;
27537 PyObject
* obj4
= 0 ;
27538 char *kwnames
[] = {
27539 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27545 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27549 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27553 arg4
= wxString_in_helper(obj3
);
27554 if (arg4
== NULL
) SWIG_fail
;
27559 arg5
= wxString_in_helper(obj4
);
27560 if (arg5
== NULL
) SWIG_fail
;
27565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27566 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27568 wxPyEndAllowThreads(__tstate
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27572 resultobj
= wxPyMake_wxObject(result
);
27596 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27597 PyObject
*resultobj
;
27598 wxMenu
*arg1
= (wxMenu
*) 0 ;
27601 wxString
*arg4
= 0 ;
27602 wxMenu
*arg5
= (wxMenu
*) 0 ;
27603 wxString
const &arg6_defvalue
= wxPyEmptyString
;
27604 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
27605 wxMenuItem
*result
;
27606 bool temp4
= False
;
27607 bool temp6
= False
;
27608 PyObject
* obj0
= 0 ;
27609 PyObject
* obj1
= 0 ;
27610 PyObject
* obj2
= 0 ;
27611 PyObject
* obj3
= 0 ;
27612 PyObject
* obj4
= 0 ;
27613 PyObject
* obj5
= 0 ;
27614 char *kwnames
[] = {
27615 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27621 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27625 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27629 arg4
= wxString_in_helper(obj3
);
27630 if (arg4
== NULL
) SWIG_fail
;
27633 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27636 arg6
= wxString_in_helper(obj5
);
27637 if (arg6
== NULL
) SWIG_fail
;
27642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
27645 wxPyEndAllowThreads(__tstate
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27649 resultobj
= wxPyMake_wxObject(result
);
27673 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27674 PyObject
*resultobj
;
27675 wxMenu
*arg1
= (wxMenu
*) 0 ;
27676 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27677 wxMenuItem
*result
;
27678 PyObject
* obj0
= 0 ;
27679 PyObject
* obj1
= 0 ;
27680 char *kwnames
[] = {
27681 (char *) "self",(char *) "item", NULL
27684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27689 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27695 resultobj
= wxPyMake_wxObject(result
);
27703 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
;
27705 wxMenu
*arg1
= (wxMenu
*) 0 ;
27707 wxString
*arg3
= 0 ;
27708 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27709 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27710 int arg5
= (int) wxITEM_NORMAL
;
27711 wxMenuItem
*result
;
27712 bool temp3
= False
;
27713 bool temp4
= False
;
27714 PyObject
* obj0
= 0 ;
27715 PyObject
* obj1
= 0 ;
27716 PyObject
* obj2
= 0 ;
27717 PyObject
* obj3
= 0 ;
27718 PyObject
* obj4
= 0 ;
27719 char *kwnames
[] = {
27720 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27726 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27730 arg3
= wxString_in_helper(obj2
);
27731 if (arg3
== NULL
) SWIG_fail
;
27736 arg4
= wxString_in_helper(obj3
);
27737 if (arg4
== NULL
) SWIG_fail
;
27743 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27755 resultobj
= wxPyMake_wxObject(result
);
27779 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27780 PyObject
*resultobj
;
27781 wxMenu
*arg1
= (wxMenu
*) 0 ;
27782 wxMenuItem
*result
;
27783 PyObject
* obj0
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "self", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
27789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27792 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
27794 wxPyEndAllowThreads(__tstate
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27798 resultobj
= wxPyMake_wxObject(result
);
27806 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27807 PyObject
*resultobj
;
27808 wxMenu
*arg1
= (wxMenu
*) 0 ;
27810 wxString
*arg3
= 0 ;
27811 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27812 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27813 wxMenuItem
*result
;
27814 bool temp3
= False
;
27815 bool temp4
= False
;
27816 PyObject
* obj0
= 0 ;
27817 PyObject
* obj1
= 0 ;
27818 PyObject
* obj2
= 0 ;
27819 PyObject
* obj3
= 0 ;
27820 char *kwnames
[] = {
27821 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27827 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27831 arg3
= wxString_in_helper(obj2
);
27832 if (arg3
== NULL
) SWIG_fail
;
27837 arg4
= wxString_in_helper(obj3
);
27838 if (arg4
== NULL
) SWIG_fail
;
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27850 resultobj
= wxPyMake_wxObject(result
);
27874 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27875 PyObject
*resultobj
;
27876 wxMenu
*arg1
= (wxMenu
*) 0 ;
27878 wxString
*arg3
= 0 ;
27879 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27880 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27881 wxMenuItem
*result
;
27882 bool temp3
= False
;
27883 bool temp4
= False
;
27884 PyObject
* obj0
= 0 ;
27885 PyObject
* obj1
= 0 ;
27886 PyObject
* obj2
= 0 ;
27887 PyObject
* obj3
= 0 ;
27888 char *kwnames
[] = {
27889 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27895 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27896 if (PyErr_Occurred()) SWIG_fail
;
27899 arg3
= wxString_in_helper(obj2
);
27900 if (arg3
== NULL
) SWIG_fail
;
27905 arg4
= wxString_in_helper(obj3
);
27906 if (arg4
== NULL
) SWIG_fail
;
27911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27912 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27914 wxPyEndAllowThreads(__tstate
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27918 resultobj
= wxPyMake_wxObject(result
);
27942 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27943 PyObject
*resultobj
;
27944 wxMenu
*arg1
= (wxMenu
*) 0 ;
27946 wxString
*arg3
= 0 ;
27947 wxMenu
*arg4
= (wxMenu
*) 0 ;
27948 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27949 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27950 wxMenuItem
*result
;
27951 bool temp3
= False
;
27952 bool temp5
= False
;
27953 PyObject
* obj0
= 0 ;
27954 PyObject
* obj1
= 0 ;
27955 PyObject
* obj2
= 0 ;
27956 PyObject
* obj3
= 0 ;
27957 PyObject
* obj4
= 0 ;
27958 char *kwnames
[] = {
27959 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27965 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27969 arg3
= wxString_in_helper(obj2
);
27970 if (arg3
== NULL
) SWIG_fail
;
27973 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27976 arg5
= wxString_in_helper(obj4
);
27977 if (arg5
== NULL
) SWIG_fail
;
27982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27983 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27985 wxPyEndAllowThreads(__tstate
);
27986 if (PyErr_Occurred()) SWIG_fail
;
27989 resultobj
= wxPyMake_wxObject(result
);
28013 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28014 PyObject
*resultobj
;
28015 wxMenu
*arg1
= (wxMenu
*) 0 ;
28017 wxMenuItem
*result
;
28018 PyObject
* obj0
= 0 ;
28019 PyObject
* obj1
= 0 ;
28020 char *kwnames
[] = {
28021 (char *) "self",(char *) "id", NULL
28024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
28025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28027 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28032 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28034 wxPyEndAllowThreads(__tstate
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28038 resultobj
= wxPyMake_wxObject(result
);
28046 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28047 PyObject
*resultobj
;
28048 wxMenu
*arg1
= (wxMenu
*) 0 ;
28049 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28050 wxMenuItem
*result
;
28051 PyObject
* obj0
= 0 ;
28052 PyObject
* obj1
= 0 ;
28053 char *kwnames
[] = {
28054 (char *) "self",(char *) "item", NULL
28057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28059 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28062 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28064 wxPyEndAllowThreads(__tstate
);
28065 if (PyErr_Occurred()) SWIG_fail
;
28068 resultobj
= wxPyMake_wxObject(result
);
28076 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28077 PyObject
*resultobj
;
28078 wxMenu
*arg1
= (wxMenu
*) 0 ;
28081 PyObject
* obj0
= 0 ;
28082 PyObject
* obj1
= 0 ;
28083 char *kwnames
[] = {
28084 (char *) "self",(char *) "id", NULL
28087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
28088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28090 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28091 if (PyErr_Occurred()) SWIG_fail
;
28094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28095 result
= (bool)(arg1
)->Delete(arg2
);
28097 wxPyEndAllowThreads(__tstate
);
28098 if (PyErr_Occurred()) SWIG_fail
;
28100 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28107 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28108 PyObject
*resultobj
;
28109 wxMenu
*arg1
= (wxMenu
*) 0 ;
28110 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28112 PyObject
* obj0
= 0 ;
28113 PyObject
* obj1
= 0 ;
28114 char *kwnames
[] = {
28115 (char *) "self",(char *) "item", NULL
28118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28123 result
= (bool)(arg1
)->Delete(arg2
);
28125 wxPyEndAllowThreads(__tstate
);
28126 if (PyErr_Occurred()) SWIG_fail
;
28128 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28135 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28136 PyObject
*resultobj
;
28137 wxMenu
*arg1
= (wxMenu
*) 0 ;
28138 PyObject
* obj0
= 0 ;
28139 char *kwnames
[] = {
28140 (char *) "self", NULL
28143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
28144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 wxMenu_Destroy(arg1
);
28149 wxPyEndAllowThreads(__tstate
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28152 Py_INCREF(Py_None
); resultobj
= Py_None
;
28159 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28160 PyObject
*resultobj
;
28161 wxMenu
*arg1
= (wxMenu
*) 0 ;
28164 PyObject
* obj0
= 0 ;
28165 PyObject
* obj1
= 0 ;
28166 char *kwnames
[] = {
28167 (char *) "self",(char *) "id", NULL
28170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
28171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28173 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28178 result
= (bool)(arg1
)->Destroy(arg2
);
28180 wxPyEndAllowThreads(__tstate
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28183 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28190 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28191 PyObject
*resultobj
;
28192 wxMenu
*arg1
= (wxMenu
*) 0 ;
28193 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28195 PyObject
* obj0
= 0 ;
28196 PyObject
* obj1
= 0 ;
28197 char *kwnames
[] = {
28198 (char *) "self",(char *) "item", NULL
28201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28203 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28206 result
= (bool)(arg1
)->Destroy(arg2
);
28208 wxPyEndAllowThreads(__tstate
);
28209 if (PyErr_Occurred()) SWIG_fail
;
28211 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28218 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28219 PyObject
*resultobj
;
28220 wxMenu
*arg1
= (wxMenu
*) 0 ;
28222 PyObject
* obj0
= 0 ;
28223 char *kwnames
[] = {
28224 (char *) "self", NULL
28227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
28228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28231 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
28233 wxPyEndAllowThreads(__tstate
);
28234 if (PyErr_Occurred()) SWIG_fail
;
28236 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
28243 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28244 PyObject
*resultobj
;
28245 wxMenu
*arg1
= (wxMenu
*) 0 ;
28247 PyObject
* obj0
= 0 ;
28248 char *kwnames
[] = {
28249 (char *) "self", NULL
28252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
28253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28256 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
28258 wxPyEndAllowThreads(__tstate
);
28259 if (PyErr_Occurred()) SWIG_fail
;
28261 resultobj
= result
;
28268 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28269 PyObject
*resultobj
;
28270 wxMenu
*arg1
= (wxMenu
*) 0 ;
28271 wxString
*arg2
= 0 ;
28273 bool temp2
= False
;
28274 PyObject
* obj0
= 0 ;
28275 PyObject
* obj1
= 0 ;
28276 char *kwnames
[] = {
28277 (char *) "self",(char *) "item", NULL
28280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28283 arg2
= wxString_in_helper(obj1
);
28284 if (arg2
== NULL
) SWIG_fail
;
28288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28289 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
28291 wxPyEndAllowThreads(__tstate
);
28292 if (PyErr_Occurred()) SWIG_fail
;
28294 resultobj
= SWIG_PyObj_FromInt((int)result
);
28309 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
;
28311 wxMenu
*arg1
= (wxMenu
*) 0 ;
28313 wxMenuItem
*result
;
28314 PyObject
* obj0
= 0 ;
28315 PyObject
* obj1
= 0 ;
28316 char *kwnames
[] = {
28317 (char *) "self",(char *) "id", NULL
28320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
28321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28323 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28324 if (PyErr_Occurred()) SWIG_fail
;
28327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28328 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28334 resultobj
= wxPyMake_wxObject(result
);
28342 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28343 PyObject
*resultobj
;
28344 wxMenu
*arg1
= (wxMenu
*) 0 ;
28346 wxMenuItem
*result
;
28347 PyObject
* obj0
= 0 ;
28348 PyObject
* obj1
= 0 ;
28349 char *kwnames
[] = {
28350 (char *) "self",(char *) "position", NULL
28353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28356 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28361 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
28363 wxPyEndAllowThreads(__tstate
);
28364 if (PyErr_Occurred()) SWIG_fail
;
28367 resultobj
= wxPyMake_wxObject(result
);
28375 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28376 PyObject
*resultobj
;
28377 wxMenu
*arg1
= (wxMenu
*) 0 ;
28380 PyObject
* obj0
= 0 ;
28381 PyObject
* obj1
= 0 ;
28382 PyObject
* obj2
= 0 ;
28383 char *kwnames
[] = {
28384 (char *) "self",(char *) "id",(char *) "enable", NULL
28387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28390 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28394 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28399 (arg1
)->Enable(arg2
,arg3
);
28401 wxPyEndAllowThreads(__tstate
);
28402 if (PyErr_Occurred()) SWIG_fail
;
28404 Py_INCREF(Py_None
); resultobj
= Py_None
;
28411 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28412 PyObject
*resultobj
;
28413 wxMenu
*arg1
= (wxMenu
*) 0 ;
28416 PyObject
* obj0
= 0 ;
28417 PyObject
* obj1
= 0 ;
28418 char *kwnames
[] = {
28419 (char *) "self",(char *) "id", NULL
28422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
28423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28425 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28442 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
;
28444 wxMenu
*arg1
= (wxMenu
*) 0 ;
28447 PyObject
* obj0
= 0 ;
28448 PyObject
* obj1
= 0 ;
28449 PyObject
* obj2
= 0 ;
28450 char *kwnames
[] = {
28451 (char *) "self",(char *) "id",(char *) "check", NULL
28454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28457 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28461 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
28462 if (PyErr_Occurred()) SWIG_fail
;
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 (arg1
)->Check(arg2
,arg3
);
28468 wxPyEndAllowThreads(__tstate
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28471 Py_INCREF(Py_None
); resultobj
= Py_None
;
28478 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28479 PyObject
*resultobj
;
28480 wxMenu
*arg1
= (wxMenu
*) 0 ;
28483 PyObject
* obj0
= 0 ;
28484 PyObject
* obj1
= 0 ;
28485 char *kwnames
[] = {
28486 (char *) "self",(char *) "id", NULL
28489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
28490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28492 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
28499 wxPyEndAllowThreads(__tstate
);
28500 if (PyErr_Occurred()) SWIG_fail
;
28502 resultobj
= SWIG_PyObj_FromBool((bool)result
);
28509 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28510 PyObject
*resultobj
;
28511 wxMenu
*arg1
= (wxMenu
*) 0 ;
28513 wxString
*arg3
= 0 ;
28514 bool temp3
= False
;
28515 PyObject
* obj0
= 0 ;
28516 PyObject
* obj1
= 0 ;
28517 PyObject
* obj2
= 0 ;
28518 char *kwnames
[] = {
28519 (char *) "self",(char *) "id",(char *) "label", NULL
28522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28525 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28529 arg3
= wxString_in_helper(obj2
);
28530 if (arg3
== NULL
) SWIG_fail
;
28534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28535 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
28537 wxPyEndAllowThreads(__tstate
);
28538 if (PyErr_Occurred()) SWIG_fail
;
28540 Py_INCREF(Py_None
); resultobj
= Py_None
;
28555 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28556 PyObject
*resultobj
;
28557 wxMenu
*arg1
= (wxMenu
*) 0 ;
28560 PyObject
* obj0
= 0 ;
28561 PyObject
* obj1
= 0 ;
28562 char *kwnames
[] = {
28563 (char *) "self",(char *) "id", NULL
28566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28569 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28570 if (PyErr_Occurred()) SWIG_fail
;
28573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28574 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
28576 wxPyEndAllowThreads(__tstate
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28592 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28593 PyObject
*resultobj
;
28594 wxMenu
*arg1
= (wxMenu
*) 0 ;
28596 wxString
*arg3
= 0 ;
28597 bool temp3
= False
;
28598 PyObject
* obj0
= 0 ;
28599 PyObject
* obj1
= 0 ;
28600 PyObject
* obj2
= 0 ;
28601 char *kwnames
[] = {
28602 (char *) "self",(char *) "id",(char *) "helpString", NULL
28605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28608 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28609 if (PyErr_Occurred()) SWIG_fail
;
28612 arg3
= wxString_in_helper(obj2
);
28613 if (arg3
== NULL
) SWIG_fail
;
28617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28618 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28623 Py_INCREF(Py_None
); resultobj
= Py_None
;
28638 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28639 PyObject
*resultobj
;
28640 wxMenu
*arg1
= (wxMenu
*) 0 ;
28643 PyObject
* obj0
= 0 ;
28644 PyObject
* obj1
= 0 ;
28645 char *kwnames
[] = {
28646 (char *) "self",(char *) "id", NULL
28649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
28650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28652 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
28659 wxPyEndAllowThreads(__tstate
);
28660 if (PyErr_Occurred()) SWIG_fail
;
28664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28675 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28676 PyObject
*resultobj
;
28677 wxMenu
*arg1
= (wxMenu
*) 0 ;
28678 wxString
*arg2
= 0 ;
28679 bool temp2
= False
;
28680 PyObject
* obj0
= 0 ;
28681 PyObject
* obj1
= 0 ;
28682 char *kwnames
[] = {
28683 (char *) "self",(char *) "title", NULL
28686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
28687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28689 arg2
= wxString_in_helper(obj1
);
28690 if (arg2
== NULL
) SWIG_fail
;
28694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28695 (arg1
)->SetTitle((wxString
const &)*arg2
);
28697 wxPyEndAllowThreads(__tstate
);
28698 if (PyErr_Occurred()) SWIG_fail
;
28700 Py_INCREF(Py_None
); resultobj
= Py_None
;
28715 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28716 PyObject
*resultobj
;
28717 wxMenu
*arg1
= (wxMenu
*) 0 ;
28719 PyObject
* obj0
= 0 ;
28720 char *kwnames
[] = {
28721 (char *) "self", NULL
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
28725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28728 result
= ((wxMenu
const *)arg1
)->GetTitle();
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28746 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28747 PyObject
*resultobj
;
28748 wxMenu
*arg1
= (wxMenu
*) 0 ;
28749 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28750 PyObject
* obj0
= 0 ;
28751 PyObject
* obj1
= 0 ;
28752 char *kwnames
[] = {
28753 (char *) "self",(char *) "handler", NULL
28756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28758 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28761 (arg1
)->SetEventHandler(arg2
);
28763 wxPyEndAllowThreads(__tstate
);
28764 if (PyErr_Occurred()) SWIG_fail
;
28766 Py_INCREF(Py_None
); resultobj
= Py_None
;
28773 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28774 PyObject
*resultobj
;
28775 wxMenu
*arg1
= (wxMenu
*) 0 ;
28776 wxEvtHandler
*result
;
28777 PyObject
* obj0
= 0 ;
28778 char *kwnames
[] = {
28779 (char *) "self", NULL
28782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28786 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28792 resultobj
= wxPyMake_wxObject(result
);
28800 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28801 PyObject
*resultobj
;
28802 wxMenu
*arg1
= (wxMenu
*) 0 ;
28803 wxWindow
*arg2
= (wxWindow
*) 0 ;
28804 PyObject
* obj0
= 0 ;
28805 PyObject
* obj1
= 0 ;
28806 char *kwnames
[] = {
28807 (char *) "self",(char *) "win", NULL
28810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28812 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28815 (arg1
)->SetInvokingWindow(arg2
);
28817 wxPyEndAllowThreads(__tstate
);
28818 if (PyErr_Occurred()) SWIG_fail
;
28820 Py_INCREF(Py_None
); resultobj
= Py_None
;
28827 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28828 PyObject
*resultobj
;
28829 wxMenu
*arg1
= (wxMenu
*) 0 ;
28831 PyObject
* obj0
= 0 ;
28832 char *kwnames
[] = {
28833 (char *) "self", NULL
28836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
28837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28846 resultobj
= wxPyMake_wxObject(result
);
28854 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28855 PyObject
*resultobj
;
28856 wxMenu
*arg1
= (wxMenu
*) 0 ;
28858 PyObject
* obj0
= 0 ;
28859 char *kwnames
[] = {
28860 (char *) "self", NULL
28863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
28864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
28869 wxPyEndAllowThreads(__tstate
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28872 resultobj
= SWIG_PyObj_FromLong((long)result
);
28879 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28880 PyObject
*resultobj
;
28881 wxMenu
*arg1
= (wxMenu
*) 0 ;
28882 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
28883 PyObject
* obj0
= 0 ;
28884 PyObject
* obj1
= 0 ;
28885 char *kwnames
[] = {
28886 (char *) "self",(char *) "source", NULL
28889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
28890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28892 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28896 (arg1
)->UpdateUI(arg2
);
28898 wxPyEndAllowThreads(__tstate
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28901 Py_INCREF(Py_None
); resultobj
= Py_None
;
28908 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28909 PyObject
*resultobj
;
28910 wxMenu
*arg1
= (wxMenu
*) 0 ;
28912 PyObject
* obj0
= 0 ;
28913 char *kwnames
[] = {
28914 (char *) "self", NULL
28917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
28918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28921 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
28923 wxPyEndAllowThreads(__tstate
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28927 resultobj
= wxPyMake_wxObject(result
);
28935 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28936 PyObject
*resultobj
;
28937 wxMenu
*arg1
= (wxMenu
*) 0 ;
28938 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
28939 PyObject
* obj0
= 0 ;
28940 PyObject
* obj1
= 0 ;
28941 char *kwnames
[] = {
28942 (char *) "self",(char *) "menubar", NULL
28945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
28946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28947 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 (arg1
)->Attach(arg2
);
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 Py_INCREF(Py_None
); resultobj
= Py_None
;
28962 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
;
28964 wxMenu
*arg1
= (wxMenu
*) 0 ;
28965 PyObject
* obj0
= 0 ;
28966 char *kwnames
[] = {
28967 (char *) "self", NULL
28970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
28971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28976 wxPyEndAllowThreads(__tstate
);
28977 if (PyErr_Occurred()) SWIG_fail
;
28979 Py_INCREF(Py_None
); resultobj
= Py_None
;
28986 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28987 PyObject
*resultobj
;
28988 wxMenu
*arg1
= (wxMenu
*) 0 ;
28990 PyObject
* obj0
= 0 ;
28991 char *kwnames
[] = {
28992 (char *) "self", NULL
28995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
28996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
29001 wxPyEndAllowThreads(__tstate
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29004 resultobj
= SWIG_PyObj_FromBool((bool)result
);
29011 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29012 PyObject
*resultobj
;
29013 wxMenu
*arg1
= (wxMenu
*) 0 ;
29014 wxMenu
*arg2
= (wxMenu
*) 0 ;
29015 PyObject
* obj0
= 0 ;
29016 PyObject
* obj1
= 0 ;
29017 char *kwnames
[] = {
29018 (char *) "self",(char *) "parent", NULL
29021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29026 (arg1
)->SetParent(arg2
);
29028 wxPyEndAllowThreads(__tstate
);
29029 if (PyErr_Occurred()) SWIG_fail
;
29031 Py_INCREF(Py_None
); resultobj
= Py_None
;
29038 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29039 PyObject
*resultobj
;
29040 wxMenu
*arg1
= (wxMenu
*) 0 ;
29042 PyObject
* obj0
= 0 ;
29043 char *kwnames
[] = {
29044 (char *) "self", NULL
29047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
29048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
29053 wxPyEndAllowThreads(__tstate
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29057 resultobj
= wxPyMake_wxObject(result
);
29065 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
29067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29068 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
29070 return Py_BuildValue((char *)"");
29072 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29073 PyObject
*resultobj
;
29074 long arg1
= (long) 0 ;
29076 PyObject
* obj0
= 0 ;
29077 char *kwnames
[] = {
29078 (char *) "style", NULL
29081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
29084 arg1
= (long) SWIG_PyObj_AsLong(obj0
);
29085 if (PyErr_Occurred()) SWIG_fail
;
29089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29090 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
29092 wxPyEndAllowThreads(__tstate
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29096 resultobj
= wxPyMake_wxObject(result
);
29104 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29105 PyObject
*resultobj
;
29106 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29107 wxMenu
*arg2
= (wxMenu
*) 0 ;
29108 wxString
*arg3
= 0 ;
29110 bool temp3
= False
;
29111 PyObject
* obj0
= 0 ;
29112 PyObject
* obj1
= 0 ;
29113 PyObject
* obj2
= 0 ;
29114 char *kwnames
[] = {
29115 (char *) "self",(char *) "menu",(char *) "title", NULL
29118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29122 arg3
= wxString_in_helper(obj2
);
29123 if (arg3
== NULL
) SWIG_fail
;
29127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29128 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
29130 wxPyEndAllowThreads(__tstate
);
29131 if (PyErr_Occurred()) SWIG_fail
;
29133 resultobj
= SWIG_PyObj_FromBool((bool)result
);
29148 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29149 PyObject
*resultobj
;
29150 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29152 wxMenu
*arg3
= (wxMenu
*) 0 ;
29153 wxString
*arg4
= 0 ;
29155 bool temp4
= False
;
29156 PyObject
* obj0
= 0 ;
29157 PyObject
* obj1
= 0 ;
29158 PyObject
* obj2
= 0 ;
29159 PyObject
* obj3
= 0 ;
29160 char *kwnames
[] = {
29161 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29167 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29170 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29172 arg4
= wxString_in_helper(obj3
);
29173 if (arg4
== NULL
) SWIG_fail
;
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
29180 wxPyEndAllowThreads(__tstate
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29183 resultobj
= SWIG_PyObj_FromBool((bool)result
);
29198 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29199 PyObject
*resultobj
;
29200 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29202 PyObject
* obj0
= 0 ;
29203 char *kwnames
[] = {
29204 (char *) "self", NULL
29207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
29208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29211 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
29213 wxPyEndAllowThreads(__tstate
);
29214 if (PyErr_Occurred()) SWIG_fail
;
29216 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
29223 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29224 PyObject
*resultobj
;
29225 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29228 PyObject
* obj0
= 0 ;
29229 PyObject
* obj1
= 0 ;
29230 char *kwnames
[] = {
29231 (char *) "self",(char *) "pos", NULL
29234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29237 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29238 if (PyErr_Occurred()) SWIG_fail
;
29241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29242 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29248 resultobj
= wxPyMake_wxObject(result
);
29256 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29257 PyObject
*resultobj
;
29258 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29260 wxMenu
*arg3
= (wxMenu
*) 0 ;
29261 wxString
*arg4
= 0 ;
29263 bool temp4
= False
;
29264 PyObject
* obj0
= 0 ;
29265 PyObject
* obj1
= 0 ;
29266 PyObject
* obj2
= 0 ;
29267 PyObject
* obj3
= 0 ;
29268 char *kwnames
[] = {
29269 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29275 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29278 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29280 arg4
= wxString_in_helper(obj3
);
29281 if (arg4
== NULL
) SWIG_fail
;
29285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29286 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
29288 wxPyEndAllowThreads(__tstate
);
29289 if (PyErr_Occurred()) SWIG_fail
;
29292 resultobj
= wxPyMake_wxObject(result
);
29308 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29309 PyObject
*resultobj
;
29310 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29313 PyObject
* obj0
= 0 ;
29314 PyObject
* obj1
= 0 ;
29315 char *kwnames
[] = {
29316 (char *) "self",(char *) "pos", NULL
29319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29322 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29327 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
29329 wxPyEndAllowThreads(__tstate
);
29330 if (PyErr_Occurred()) SWIG_fail
;
29333 resultobj
= wxPyMake_wxObject(result
);
29341 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29342 PyObject
*resultobj
;
29343 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29346 PyObject
* obj0
= 0 ;
29347 PyObject
* obj1
= 0 ;
29348 PyObject
* obj2
= 0 ;
29349 char *kwnames
[] = {
29350 (char *) "self",(char *) "pos",(char *) "enable", NULL
29353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29356 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29360 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29361 if (PyErr_Occurred()) SWIG_fail
;
29364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29365 (arg1
)->EnableTop(arg2
,arg3
);
29367 wxPyEndAllowThreads(__tstate
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29370 Py_INCREF(Py_None
); resultobj
= Py_None
;
29377 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29378 PyObject
*resultobj
;
29379 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29382 PyObject
* obj0
= 0 ;
29383 PyObject
* obj1
= 0 ;
29384 char *kwnames
[] = {
29385 (char *) "self",(char *) "pos", NULL
29388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29391 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29392 if (PyErr_Occurred()) SWIG_fail
;
29395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29396 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
29398 wxPyEndAllowThreads(__tstate
);
29399 if (PyErr_Occurred()) SWIG_fail
;
29401 resultobj
= SWIG_PyObj_FromBool((bool)result
);
29408 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29409 PyObject
*resultobj
;
29410 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29412 wxString
*arg3
= 0 ;
29413 bool temp3
= False
;
29414 PyObject
* obj0
= 0 ;
29415 PyObject
* obj1
= 0 ;
29416 PyObject
* obj2
= 0 ;
29417 char *kwnames
[] = {
29418 (char *) "self",(char *) "pos",(char *) "label", NULL
29421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29424 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29425 if (PyErr_Occurred()) SWIG_fail
;
29428 arg3
= wxString_in_helper(obj2
);
29429 if (arg3
== NULL
) SWIG_fail
;
29433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29434 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
29436 wxPyEndAllowThreads(__tstate
);
29437 if (PyErr_Occurred()) SWIG_fail
;
29439 Py_INCREF(Py_None
); resultobj
= Py_None
;
29454 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29455 PyObject
*resultobj
;
29456 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29459 PyObject
* obj0
= 0 ;
29460 PyObject
* obj1
= 0 ;
29461 char *kwnames
[] = {
29462 (char *) "self",(char *) "pos", NULL
29465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29468 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
29469 if (PyErr_Occurred()) SWIG_fail
;
29472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29473 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
29475 wxPyEndAllowThreads(__tstate
);
29476 if (PyErr_Occurred()) SWIG_fail
;
29480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29491 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29492 PyObject
*resultobj
;
29493 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29494 wxString
*arg2
= 0 ;
29495 wxString
*arg3
= 0 ;
29497 bool temp2
= False
;
29498 bool temp3
= False
;
29499 PyObject
* obj0
= 0 ;
29500 PyObject
* obj1
= 0 ;
29501 PyObject
* obj2
= 0 ;
29502 char *kwnames
[] = {
29503 (char *) "self",(char *) "menu",(char *) "item", NULL
29506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29509 arg2
= wxString_in_helper(obj1
);
29510 if (arg2
== NULL
) SWIG_fail
;
29514 arg3
= wxString_in_helper(obj2
);
29515 if (arg3
== NULL
) SWIG_fail
;
29519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29520 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
29522 wxPyEndAllowThreads(__tstate
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29525 resultobj
= SWIG_PyObj_FromInt((int)result
);
29548 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29549 PyObject
*resultobj
;
29550 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29552 wxMenuItem
*result
;
29553 PyObject
* obj0
= 0 ;
29554 PyObject
* obj1
= 0 ;
29555 char *kwnames
[] = {
29556 (char *) "self",(char *) "id", NULL
29559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29562 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29563 if (PyErr_Occurred()) SWIG_fail
;
29566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29567 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29573 resultobj
= wxPyMake_wxObject(result
);
29581 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29582 PyObject
*resultobj
;
29583 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29584 wxString
*arg2
= 0 ;
29586 bool temp2
= False
;
29587 PyObject
* obj0
= 0 ;
29588 PyObject
* obj1
= 0 ;
29589 char *kwnames
[] = {
29590 (char *) "self",(char *) "title", NULL
29593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29596 arg2
= wxString_in_helper(obj1
);
29597 if (arg2
== NULL
) SWIG_fail
;
29601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29602 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
29604 wxPyEndAllowThreads(__tstate
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29607 resultobj
= SWIG_PyObj_FromInt((int)result
);
29622 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29623 PyObject
*resultobj
;
29624 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29627 PyObject
* obj0
= 0 ;
29628 PyObject
* obj1
= 0 ;
29629 PyObject
* obj2
= 0 ;
29630 char *kwnames
[] = {
29631 (char *) "self",(char *) "id",(char *) "enable", NULL
29634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29637 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29641 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29646 (arg1
)->Enable(arg2
,arg3
);
29648 wxPyEndAllowThreads(__tstate
);
29649 if (PyErr_Occurred()) SWIG_fail
;
29651 Py_INCREF(Py_None
); resultobj
= Py_None
;
29658 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29659 PyObject
*resultobj
;
29660 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29663 PyObject
* obj0
= 0 ;
29664 PyObject
* obj1
= 0 ;
29665 PyObject
* obj2
= 0 ;
29666 char *kwnames
[] = {
29667 (char *) "self",(char *) "id",(char *) "check", NULL
29670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29673 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29674 if (PyErr_Occurred()) SWIG_fail
;
29677 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
29678 if (PyErr_Occurred()) SWIG_fail
;
29681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29682 (arg1
)->Check(arg2
,arg3
);
29684 wxPyEndAllowThreads(__tstate
);
29685 if (PyErr_Occurred()) SWIG_fail
;
29687 Py_INCREF(Py_None
); resultobj
= Py_None
;
29694 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29695 PyObject
*resultobj
;
29696 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29699 PyObject
* obj0
= 0 ;
29700 PyObject
* obj1
= 0 ;
29701 char *kwnames
[] = {
29702 (char *) "self",(char *) "id", NULL
29705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
29706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29708 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29709 if (PyErr_Occurred()) SWIG_fail
;
29712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29713 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
29715 wxPyEndAllowThreads(__tstate
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29718 resultobj
= SWIG_PyObj_FromBool((bool)result
);
29725 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29726 PyObject
*resultobj
;
29727 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29730 PyObject
* obj0
= 0 ;
29731 PyObject
* obj1
= 0 ;
29732 char *kwnames
[] = {
29733 (char *) "self",(char *) "id", NULL
29736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29739 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29744 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
29746 wxPyEndAllowThreads(__tstate
);
29747 if (PyErr_Occurred()) SWIG_fail
;
29749 resultobj
= SWIG_PyObj_FromBool((bool)result
);
29756 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29757 PyObject
*resultobj
;
29758 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29760 wxString
*arg3
= 0 ;
29761 bool temp3
= False
;
29762 PyObject
* obj0
= 0 ;
29763 PyObject
* obj1
= 0 ;
29764 PyObject
* obj2
= 0 ;
29765 char *kwnames
[] = {
29766 (char *) "self",(char *) "id",(char *) "label", NULL
29769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29772 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29773 if (PyErr_Occurred()) SWIG_fail
;
29776 arg3
= wxString_in_helper(obj2
);
29777 if (arg3
== NULL
) SWIG_fail
;
29781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29782 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
29784 wxPyEndAllowThreads(__tstate
);
29785 if (PyErr_Occurred()) SWIG_fail
;
29787 Py_INCREF(Py_None
); resultobj
= Py_None
;
29802 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29803 PyObject
*resultobj
;
29804 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29807 PyObject
* obj0
= 0 ;
29808 PyObject
* obj1
= 0 ;
29809 char *kwnames
[] = {
29810 (char *) "self",(char *) "id", NULL
29813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29816 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
29823 wxPyEndAllowThreads(__tstate
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29839 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29840 PyObject
*resultobj
;
29841 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29843 wxString
*arg3
= 0 ;
29844 bool temp3
= False
;
29845 PyObject
* obj0
= 0 ;
29846 PyObject
* obj1
= 0 ;
29847 PyObject
* obj2
= 0 ;
29848 char *kwnames
[] = {
29849 (char *) "self",(char *) "id",(char *) "helpString", NULL
29852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29855 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29856 if (PyErr_Occurred()) SWIG_fail
;
29859 arg3
= wxString_in_helper(obj2
);
29860 if (arg3
== NULL
) SWIG_fail
;
29864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29865 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
29867 wxPyEndAllowThreads(__tstate
);
29868 if (PyErr_Occurred()) SWIG_fail
;
29870 Py_INCREF(Py_None
); resultobj
= Py_None
;
29885 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29886 PyObject
*resultobj
;
29887 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29890 PyObject
* obj0
= 0 ;
29891 PyObject
* obj1
= 0 ;
29892 char *kwnames
[] = {
29893 (char *) "self",(char *) "id", NULL
29896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
29897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29899 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29904 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29922 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29923 PyObject
*resultobj
;
29924 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29926 PyObject
* obj0
= 0 ;
29927 char *kwnames
[] = {
29928 (char *) "self", NULL
29931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
29932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29935 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
29937 wxPyEndAllowThreads(__tstate
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29941 resultobj
= wxPyMake_wxObject(result
);
29949 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29950 PyObject
*resultobj
;
29951 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29953 PyObject
* obj0
= 0 ;
29954 char *kwnames
[] = {
29955 (char *) "self", NULL
29958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
29959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29962 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
29964 wxPyEndAllowThreads(__tstate
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29967 resultobj
= SWIG_PyObj_FromBool((bool)result
);
29974 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29975 PyObject
*resultobj
;
29976 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29977 wxFrame
*arg2
= (wxFrame
*) 0 ;
29978 PyObject
* obj0
= 0 ;
29979 PyObject
* obj1
= 0 ;
29980 char *kwnames
[] = {
29981 (char *) "self",(char *) "frame", NULL
29984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
29985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29986 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29989 (arg1
)->Attach(arg2
);
29991 wxPyEndAllowThreads(__tstate
);
29992 if (PyErr_Occurred()) SWIG_fail
;
29994 Py_INCREF(Py_None
); resultobj
= Py_None
;
30001 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30002 PyObject
*resultobj
;
30003 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30004 PyObject
* obj0
= 0 ;
30005 char *kwnames
[] = {
30006 (char *) "self", NULL
30009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
30010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30018 Py_INCREF(Py_None
); resultobj
= Py_None
;
30025 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
30027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30028 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
30030 return Py_BuildValue((char *)"");
30032 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
;
30034 wxMenu
*arg1
= (wxMenu
*) NULL
;
30035 int arg2
= (int) wxID_SEPARATOR
;
30036 wxString
const &arg3_defvalue
= wxPyEmptyString
;
30037 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30038 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30039 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30040 int arg5
= (int) wxITEM_NORMAL
;
30041 wxMenu
*arg6
= (wxMenu
*) NULL
;
30042 wxMenuItem
*result
;
30043 bool temp3
= False
;
30044 bool temp4
= False
;
30045 PyObject
* obj0
= 0 ;
30046 PyObject
* obj1
= 0 ;
30047 PyObject
* obj2
= 0 ;
30048 PyObject
* obj3
= 0 ;
30049 PyObject
* obj4
= 0 ;
30050 PyObject
* obj5
= 0 ;
30051 char *kwnames
[] = {
30052 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30061 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
30062 if (PyErr_Occurred()) SWIG_fail
;
30067 arg3
= wxString_in_helper(obj2
);
30068 if (arg3
== NULL
) SWIG_fail
;
30074 arg4
= wxString_in_helper(obj3
);
30075 if (arg4
== NULL
) SWIG_fail
;
30081 arg5
= (wxItemKind
) SWIG_PyObj_AsInt(obj4
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30086 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30090 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
30092 wxPyEndAllowThreads(__tstate
);
30093 if (PyErr_Occurred()) SWIG_fail
;
30096 resultobj
= wxPyMake_wxObject(result
);
30120 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30121 PyObject
*resultobj
;
30122 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30124 PyObject
* obj0
= 0 ;
30125 char *kwnames
[] = {
30126 (char *) "self", NULL
30129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
30130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30133 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
30135 wxPyEndAllowThreads(__tstate
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30139 resultobj
= wxPyMake_wxObject(result
);
30147 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30148 PyObject
*resultobj
;
30149 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30150 wxMenu
*arg2
= (wxMenu
*) 0 ;
30151 PyObject
* obj0
= 0 ;
30152 PyObject
* obj1
= 0 ;
30153 char *kwnames
[] = {
30154 (char *) "self",(char *) "menu", NULL
30157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30159 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30162 (arg1
)->SetMenu(arg2
);
30164 wxPyEndAllowThreads(__tstate
);
30165 if (PyErr_Occurred()) SWIG_fail
;
30167 Py_INCREF(Py_None
); resultobj
= Py_None
;
30174 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
;
30176 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30178 PyObject
* obj0
= 0 ;
30179 PyObject
* obj1
= 0 ;
30180 char *kwnames
[] = {
30181 (char *) "self",(char *) "id", NULL
30184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
30185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30187 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30192 (arg1
)->SetId(arg2
);
30194 wxPyEndAllowThreads(__tstate
);
30195 if (PyErr_Occurred()) SWIG_fail
;
30197 Py_INCREF(Py_None
); resultobj
= Py_None
;
30204 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30205 PyObject
*resultobj
;
30206 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30208 PyObject
* obj0
= 0 ;
30209 char *kwnames
[] = {
30210 (char *) "self", NULL
30213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
30214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30217 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
30219 wxPyEndAllowThreads(__tstate
);
30220 if (PyErr_Occurred()) SWIG_fail
;
30222 resultobj
= SWIG_PyObj_FromInt((int)result
);
30229 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30230 PyObject
*resultobj
;
30231 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30233 PyObject
* obj0
= 0 ;
30234 char *kwnames
[] = {
30235 (char *) "self", NULL
30238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
30239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30242 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= SWIG_PyObj_FromBool((bool)result
);
30254 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30255 PyObject
*resultobj
;
30256 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30257 wxString
*arg2
= 0 ;
30258 bool temp2
= False
;
30259 PyObject
* obj0
= 0 ;
30260 PyObject
* obj1
= 0 ;
30261 char *kwnames
[] = {
30262 (char *) "self",(char *) "str", NULL
30265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
30266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30268 arg2
= wxString_in_helper(obj1
);
30269 if (arg2
== NULL
) SWIG_fail
;
30273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30274 (arg1
)->SetText((wxString
const &)*arg2
);
30276 wxPyEndAllowThreads(__tstate
);
30277 if (PyErr_Occurred()) SWIG_fail
;
30279 Py_INCREF(Py_None
); resultobj
= Py_None
;
30294 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30295 PyObject
*resultobj
;
30296 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30298 PyObject
* obj0
= 0 ;
30299 char *kwnames
[] = {
30300 (char *) "self", NULL
30303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
30304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30307 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
30309 wxPyEndAllowThreads(__tstate
);
30310 if (PyErr_Occurred()) SWIG_fail
;
30314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30325 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30326 PyObject
*resultobj
;
30327 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30329 PyObject
* obj0
= 0 ;
30330 char *kwnames
[] = {
30331 (char *) "self", NULL
30334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
30335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30339 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
30340 result
= (wxString
*) &_result_ref
;
30343 wxPyEndAllowThreads(__tstate
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30348 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30350 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30359 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30360 PyObject
*resultobj
;
30361 wxString
*arg1
= 0 ;
30363 bool temp1
= False
;
30364 PyObject
* obj0
= 0 ;
30365 char *kwnames
[] = {
30366 (char *) "text", NULL
30369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
30371 arg1
= wxString_in_helper(obj0
);
30372 if (arg1
== NULL
) SWIG_fail
;
30376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30377 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
30379 wxPyEndAllowThreads(__tstate
);
30380 if (PyErr_Occurred()) SWIG_fail
;
30384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30403 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30404 PyObject
*resultobj
;
30405 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30407 PyObject
* obj0
= 0 ;
30408 char *kwnames
[] = {
30409 (char *) "self", NULL
30412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
30413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30416 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
30418 wxPyEndAllowThreads(__tstate
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30421 resultobj
= SWIG_PyObj_FromInt((int)result
);
30428 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30429 PyObject
*resultobj
;
30430 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30432 PyObject
* obj0
= 0 ;
30433 PyObject
* obj1
= 0 ;
30434 char *kwnames
[] = {
30435 (char *) "self",(char *) "checkable", NULL
30438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
30439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30441 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30442 if (PyErr_Occurred()) SWIG_fail
;
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 (arg1
)->SetCheckable(arg2
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30451 Py_INCREF(Py_None
); resultobj
= Py_None
;
30458 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30459 PyObject
*resultobj
;
30460 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30462 PyObject
* obj0
= 0 ;
30463 char *kwnames
[] = {
30464 (char *) "self", NULL
30467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
30468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30471 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
30473 wxPyEndAllowThreads(__tstate
);
30474 if (PyErr_Occurred()) SWIG_fail
;
30476 resultobj
= SWIG_PyObj_FromBool((bool)result
);
30483 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30484 PyObject
*resultobj
;
30485 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30487 PyObject
* obj0
= 0 ;
30488 char *kwnames
[] = {
30489 (char *) "self", NULL
30492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
30493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30496 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
30498 wxPyEndAllowThreads(__tstate
);
30499 if (PyErr_Occurred()) SWIG_fail
;
30501 resultobj
= SWIG_PyObj_FromBool((bool)result
);
30508 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30509 PyObject
*resultobj
;
30510 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30511 wxMenu
*arg2
= (wxMenu
*) 0 ;
30512 PyObject
* obj0
= 0 ;
30513 PyObject
* obj1
= 0 ;
30514 char *kwnames
[] = {
30515 (char *) "self",(char *) "menu", NULL
30518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30520 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30523 (arg1
)->SetSubMenu(arg2
);
30525 wxPyEndAllowThreads(__tstate
);
30526 if (PyErr_Occurred()) SWIG_fail
;
30528 Py_INCREF(Py_None
); resultobj
= Py_None
;
30535 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30536 PyObject
*resultobj
;
30537 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30539 PyObject
* obj0
= 0 ;
30540 char *kwnames
[] = {
30541 (char *) "self", NULL
30544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
30545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30548 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
30550 wxPyEndAllowThreads(__tstate
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30554 resultobj
= wxPyMake_wxObject(result
);
30562 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30563 PyObject
*resultobj
;
30564 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30565 bool arg2
= (bool) True
;
30566 PyObject
* obj0
= 0 ;
30567 PyObject
* obj1
= 0 ;
30568 char *kwnames
[] = {
30569 (char *) "self",(char *) "enable", NULL
30572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
30573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30576 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30582 (arg1
)->Enable(arg2
);
30584 wxPyEndAllowThreads(__tstate
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30587 Py_INCREF(Py_None
); resultobj
= Py_None
;
30594 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30595 PyObject
*resultobj
;
30596 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30598 PyObject
* obj0
= 0 ;
30599 char *kwnames
[] = {
30600 (char *) "self", NULL
30603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
30604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30607 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
30609 wxPyEndAllowThreads(__tstate
);
30610 if (PyErr_Occurred()) SWIG_fail
;
30612 resultobj
= SWIG_PyObj_FromBool((bool)result
);
30619 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30620 PyObject
*resultobj
;
30621 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30622 bool arg2
= (bool) True
;
30623 PyObject
* obj0
= 0 ;
30624 PyObject
* obj1
= 0 ;
30625 char *kwnames
[] = {
30626 (char *) "self",(char *) "check", NULL
30629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
30630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30633 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30639 (arg1
)->Check(arg2
);
30641 wxPyEndAllowThreads(__tstate
);
30642 if (PyErr_Occurred()) SWIG_fail
;
30644 Py_INCREF(Py_None
); resultobj
= Py_None
;
30651 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30652 PyObject
*resultobj
;
30653 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30655 PyObject
* obj0
= 0 ;
30656 char *kwnames
[] = {
30657 (char *) "self", NULL
30660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
30661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30664 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
30666 wxPyEndAllowThreads(__tstate
);
30667 if (PyErr_Occurred()) SWIG_fail
;
30669 resultobj
= SWIG_PyObj_FromBool((bool)result
);
30676 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
;
30678 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30679 PyObject
* obj0
= 0 ;
30680 char *kwnames
[] = {
30681 (char *) "self", NULL
30684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
30685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30690 wxPyEndAllowThreads(__tstate
);
30691 if (PyErr_Occurred()) SWIG_fail
;
30693 Py_INCREF(Py_None
); resultobj
= Py_None
;
30700 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30701 PyObject
*resultobj
;
30702 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30703 wxString
*arg2
= 0 ;
30704 bool temp2
= False
;
30705 PyObject
* obj0
= 0 ;
30706 PyObject
* obj1
= 0 ;
30707 char *kwnames
[] = {
30708 (char *) "self",(char *) "str", NULL
30711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30714 arg2
= wxString_in_helper(obj1
);
30715 if (arg2
== NULL
) SWIG_fail
;
30719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30720 (arg1
)->SetHelp((wxString
const &)*arg2
);
30722 wxPyEndAllowThreads(__tstate
);
30723 if (PyErr_Occurred()) SWIG_fail
;
30725 Py_INCREF(Py_None
); resultobj
= Py_None
;
30740 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30741 PyObject
*resultobj
;
30742 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30744 PyObject
* obj0
= 0 ;
30745 char *kwnames
[] = {
30746 (char *) "self", NULL
30749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
30750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30754 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
30755 result
= (wxString
*) &_result_ref
;
30758 wxPyEndAllowThreads(__tstate
);
30759 if (PyErr_Occurred()) SWIG_fail
;
30763 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30765 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30774 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30775 PyObject
*resultobj
;
30776 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30777 wxAcceleratorEntry
*result
;
30778 PyObject
* obj0
= 0 ;
30779 char *kwnames
[] = {
30780 (char *) "self", NULL
30783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
30784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30787 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
30789 wxPyEndAllowThreads(__tstate
);
30790 if (PyErr_Occurred()) SWIG_fail
;
30792 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
30799 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30800 PyObject
*resultobj
;
30801 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30802 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
30803 PyObject
* obj0
= 0 ;
30804 PyObject
* obj1
= 0 ;
30805 char *kwnames
[] = {
30806 (char *) "self",(char *) "accel", NULL
30809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
30810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30811 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30814 (arg1
)->SetAccel(arg2
);
30816 wxPyEndAllowThreads(__tstate
);
30817 if (PyErr_Occurred()) SWIG_fail
;
30819 Py_INCREF(Py_None
); resultobj
= Py_None
;
30826 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30827 PyObject
*resultobj
;
30829 char *kwnames
[] = {
30833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
30835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30836 result
= (int)MenuItem_GetDefaultMarginWidth();
30838 wxPyEndAllowThreads(__tstate
);
30839 if (PyErr_Occurred()) SWIG_fail
;
30841 resultobj
= SWIG_PyObj_FromInt((int)result
);
30848 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30849 PyObject
*resultobj
;
30850 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30851 wxBitmap
*arg2
= 0 ;
30852 PyObject
* obj0
= 0 ;
30853 PyObject
* obj1
= 0 ;
30854 char *kwnames
[] = {
30855 (char *) "self",(char *) "bitmap", NULL
30858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30860 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30861 if (arg2
== NULL
) {
30862 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30866 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
30868 wxPyEndAllowThreads(__tstate
);
30869 if (PyErr_Occurred()) SWIG_fail
;
30871 Py_INCREF(Py_None
); resultobj
= Py_None
;
30878 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30879 PyObject
*resultobj
;
30880 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30882 PyObject
* obj0
= 0 ;
30883 char *kwnames
[] = {
30884 (char *) "self", NULL
30887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
30888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30892 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
30893 result
= (wxBitmap
*) &_result_ref
;
30896 wxPyEndAllowThreads(__tstate
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30899 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
30906 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
30908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30909 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
30911 return Py_BuildValue((char *)"");
30913 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
30914 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
30919 static PyObject
*_wrap_ControlNameStr_get() {
30924 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
30926 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
30933 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30934 PyObject
*resultobj
;
30935 wxWindow
*arg1
= (wxWindow
*) 0 ;
30937 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30938 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30939 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30940 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30941 long arg5
= (long) 0 ;
30942 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
30943 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
30944 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
30945 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30949 bool temp7
= False
;
30950 PyObject
* obj0
= 0 ;
30951 PyObject
* obj1
= 0 ;
30952 PyObject
* obj2
= 0 ;
30953 PyObject
* obj3
= 0 ;
30954 PyObject
* obj4
= 0 ;
30955 PyObject
* obj5
= 0 ;
30956 PyObject
* obj6
= 0 ;
30957 char *kwnames
[] = {
30958 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
30961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
30962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30964 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
30965 if (PyErr_Occurred()) SWIG_fail
;
30970 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30976 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30981 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30986 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30987 if (arg6
== NULL
) {
30988 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
30993 arg7
= wxString_in_helper(obj6
);
30994 if (arg7
== NULL
) SWIG_fail
;
30999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31000 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31002 wxPyEndAllowThreads(__tstate
);
31003 if (PyErr_Occurred()) SWIG_fail
;
31006 resultobj
= wxPyMake_wxObject(result
);
31022 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31023 PyObject
*resultobj
;
31025 char *kwnames
[] = {
31029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
31031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31032 result
= (wxControl
*)new wxControl();
31034 wxPyEndAllowThreads(__tstate
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31038 resultobj
= wxPyMake_wxObject(result
);
31046 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31047 PyObject
*resultobj
;
31048 wxControl
*arg1
= (wxControl
*) 0 ;
31049 wxWindow
*arg2
= (wxWindow
*) 0 ;
31051 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31052 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31053 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31054 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31055 long arg6
= (long) 0 ;
31056 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31057 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31058 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
31059 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31063 bool temp8
= False
;
31064 PyObject
* obj0
= 0 ;
31065 PyObject
* obj1
= 0 ;
31066 PyObject
* obj2
= 0 ;
31067 PyObject
* obj3
= 0 ;
31068 PyObject
* obj4
= 0 ;
31069 PyObject
* obj5
= 0 ;
31070 PyObject
* obj6
= 0 ;
31071 PyObject
* obj7
= 0 ;
31072 char *kwnames
[] = {
31073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
31077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31078 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31080 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31081 if (PyErr_Occurred()) SWIG_fail
;
31086 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31092 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31097 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
31098 if (PyErr_Occurred()) SWIG_fail
;
31102 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31103 if (arg7
== NULL
) {
31104 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31109 arg8
= wxString_in_helper(obj7
);
31110 if (arg8
== NULL
) SWIG_fail
;
31115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31116 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31118 wxPyEndAllowThreads(__tstate
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31121 resultobj
= SWIG_PyObj_FromBool((bool)result
);
31136 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31137 PyObject
*resultobj
;
31138 wxControl
*arg1
= (wxControl
*) 0 ;
31139 wxCommandEvent
*arg2
= 0 ;
31140 PyObject
* obj0
= 0 ;
31141 PyObject
* obj1
= 0 ;
31142 char *kwnames
[] = {
31143 (char *) "self",(char *) "event", NULL
31146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
31147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31149 if (arg2
== NULL
) {
31150 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
31153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31154 (arg1
)->Command(*arg2
);
31156 wxPyEndAllowThreads(__tstate
);
31157 if (PyErr_Occurred()) SWIG_fail
;
31159 Py_INCREF(Py_None
); resultobj
= Py_None
;
31166 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31167 PyObject
*resultobj
;
31168 wxControl
*arg1
= (wxControl
*) 0 ;
31170 PyObject
* obj0
= 0 ;
31171 char *kwnames
[] = {
31172 (char *) "self", NULL
31175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
31176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31179 result
= (arg1
)->GetLabel();
31181 wxPyEndAllowThreads(__tstate
);
31182 if (PyErr_Occurred()) SWIG_fail
;
31186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31197 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31198 PyObject
*resultobj
;
31199 wxControl
*arg1
= (wxControl
*) 0 ;
31200 wxString
*arg2
= 0 ;
31201 bool temp2
= False
;
31202 PyObject
* obj0
= 0 ;
31203 PyObject
* obj1
= 0 ;
31204 char *kwnames
[] = {
31205 (char *) "self",(char *) "label", NULL
31208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31211 arg2
= wxString_in_helper(obj1
);
31212 if (arg2
== NULL
) SWIG_fail
;
31216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31217 (arg1
)->SetLabel((wxString
const &)*arg2
);
31219 wxPyEndAllowThreads(__tstate
);
31220 if (PyErr_Occurred()) SWIG_fail
;
31222 Py_INCREF(Py_None
); resultobj
= Py_None
;
31237 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
31239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31240 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
31242 return Py_BuildValue((char *)"");
31244 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31245 PyObject
*resultobj
;
31246 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31247 wxString
*arg2
= 0 ;
31248 PyObject
*arg3
= (PyObject
*) NULL
;
31250 bool temp2
= False
;
31251 PyObject
* obj0
= 0 ;
31252 PyObject
* obj1
= 0 ;
31253 PyObject
* obj2
= 0 ;
31254 char *kwnames
[] = {
31255 (char *) "self",(char *) "item",(char *) "clientData", NULL
31258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31261 arg2
= wxString_in_helper(obj1
);
31262 if (arg2
== NULL
) SWIG_fail
;
31269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31270 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
31272 wxPyEndAllowThreads(__tstate
);
31273 if (PyErr_Occurred()) SWIG_fail
;
31275 resultobj
= SWIG_PyObj_FromInt((int)result
);
31290 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31291 PyObject
*resultobj
;
31292 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31293 wxArrayString
*arg2
= 0 ;
31294 PyObject
* obj0
= 0 ;
31295 PyObject
* obj1
= 0 ;
31296 char *kwnames
[] = {
31297 (char *) "self",(char *) "strings", NULL
31300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31303 if (! PySequence_Check(obj1
)) {
31304 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
31307 arg2
= new wxArrayString
;
31308 int i
, len
=PySequence_Length(obj1
);
31309 for (i
=0; i
<len
; i
++) {
31310 PyObject
* item
= PySequence_GetItem(obj1
, i
);
31312 PyObject
* str
= PyObject_Unicode(item
);
31314 PyObject
* str
= PyObject_Str(item
);
31316 arg2
->Add(Py2wxString(str
));
31322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31323 (arg1
)->Append((wxArrayString
const &)*arg2
);
31325 wxPyEndAllowThreads(__tstate
);
31326 if (PyErr_Occurred()) SWIG_fail
;
31328 Py_INCREF(Py_None
); resultobj
= Py_None
;
31330 if (arg2
) delete arg2
;
31335 if (arg2
) delete arg2
;
31341 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31342 PyObject
*resultobj
;
31343 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31344 wxString
*arg2
= 0 ;
31346 PyObject
*arg4
= (PyObject
*) NULL
;
31348 bool temp2
= False
;
31349 PyObject
* obj0
= 0 ;
31350 PyObject
* obj1
= 0 ;
31351 PyObject
* obj2
= 0 ;
31352 PyObject
* obj3
= 0 ;
31353 char *kwnames
[] = {
31354 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
31357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31360 arg2
= wxString_in_helper(obj1
);
31361 if (arg2
== NULL
) SWIG_fail
;
31365 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31366 if (PyErr_Occurred()) SWIG_fail
;
31372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31373 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
31375 wxPyEndAllowThreads(__tstate
);
31376 if (PyErr_Occurred()) SWIG_fail
;
31378 resultobj
= SWIG_PyObj_FromInt((int)result
);
31393 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31394 PyObject
*resultobj
;
31395 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31396 PyObject
* obj0
= 0 ;
31397 char *kwnames
[] = {
31398 (char *) "self", NULL
31401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
31402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31407 wxPyEndAllowThreads(__tstate
);
31408 if (PyErr_Occurred()) SWIG_fail
;
31410 Py_INCREF(Py_None
); resultobj
= Py_None
;
31417 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31418 PyObject
*resultobj
;
31419 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31421 PyObject
* obj0
= 0 ;
31422 PyObject
* obj1
= 0 ;
31423 char *kwnames
[] = {
31424 (char *) "self",(char *) "n", NULL
31427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
31428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31430 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31431 if (PyErr_Occurred()) SWIG_fail
;
31434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31435 (arg1
)->Delete(arg2
);
31437 wxPyEndAllowThreads(__tstate
);
31438 if (PyErr_Occurred()) SWIG_fail
;
31440 Py_INCREF(Py_None
); resultobj
= Py_None
;
31447 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31448 PyObject
*resultobj
;
31449 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31451 PyObject
* obj0
= 0 ;
31452 char *kwnames
[] = {
31453 (char *) "self", NULL
31456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
31457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31460 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
31462 wxPyEndAllowThreads(__tstate
);
31463 if (PyErr_Occurred()) SWIG_fail
;
31465 resultobj
= SWIG_PyObj_FromInt((int)result
);
31472 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31473 PyObject
*resultobj
;
31474 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31476 PyObject
* obj0
= 0 ;
31477 char *kwnames
[] = {
31478 (char *) "self", NULL
31481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
31482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31485 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
31487 wxPyEndAllowThreads(__tstate
);
31488 if (PyErr_Occurred()) SWIG_fail
;
31490 resultobj
= SWIG_PyObj_FromBool((bool)result
);
31497 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31498 PyObject
*resultobj
;
31499 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31502 PyObject
* obj0
= 0 ;
31503 PyObject
* obj1
= 0 ;
31504 char *kwnames
[] = {
31505 (char *) "self",(char *) "n", NULL
31508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
31509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31511 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31512 if (PyErr_Occurred()) SWIG_fail
;
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
31518 wxPyEndAllowThreads(__tstate
);
31519 if (PyErr_Occurred()) SWIG_fail
;
31523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31534 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31535 PyObject
*resultobj
;
31536 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31537 wxArrayString result
;
31538 PyObject
* obj0
= 0 ;
31539 char *kwnames
[] = {
31540 (char *) "self", NULL
31543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
31544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31547 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
31549 wxPyEndAllowThreads(__tstate
);
31550 if (PyErr_Occurred()) SWIG_fail
;
31553 resultobj
= wxArrayString2PyList_helper(result
);
31561 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31562 PyObject
*resultobj
;
31563 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31565 wxString
*arg3
= 0 ;
31566 bool temp3
= False
;
31567 PyObject
* obj0
= 0 ;
31568 PyObject
* obj1
= 0 ;
31569 PyObject
* obj2
= 0 ;
31570 char *kwnames
[] = {
31571 (char *) "self",(char *) "n",(char *) "s", NULL
31574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31577 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31581 arg3
= wxString_in_helper(obj2
);
31582 if (arg3
== NULL
) SWIG_fail
;
31586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31587 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
31589 wxPyEndAllowThreads(__tstate
);
31590 if (PyErr_Occurred()) SWIG_fail
;
31592 Py_INCREF(Py_None
); resultobj
= Py_None
;
31607 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31608 PyObject
*resultobj
;
31609 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31610 wxString
*arg2
= 0 ;
31612 bool temp2
= False
;
31613 PyObject
* obj0
= 0 ;
31614 PyObject
* obj1
= 0 ;
31615 char *kwnames
[] = {
31616 (char *) "self",(char *) "s", NULL
31619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
31620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31622 arg2
= wxString_in_helper(obj1
);
31623 if (arg2
== NULL
) SWIG_fail
;
31627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31628 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
31630 wxPyEndAllowThreads(__tstate
);
31631 if (PyErr_Occurred()) SWIG_fail
;
31633 resultobj
= SWIG_PyObj_FromInt((int)result
);
31648 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31649 PyObject
*resultobj
;
31650 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31652 PyObject
* obj0
= 0 ;
31653 PyObject
* obj1
= 0 ;
31654 char *kwnames
[] = {
31655 (char *) "self",(char *) "n", NULL
31658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
31659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31661 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31662 if (PyErr_Occurred()) SWIG_fail
;
31665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31666 (arg1
)->Select(arg2
);
31668 wxPyEndAllowThreads(__tstate
);
31669 if (PyErr_Occurred()) SWIG_fail
;
31671 Py_INCREF(Py_None
); resultobj
= Py_None
;
31678 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31679 PyObject
*resultobj
;
31680 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31682 PyObject
* obj0
= 0 ;
31683 char *kwnames
[] = {
31684 (char *) "self", NULL
31687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
31688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31691 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
31693 wxPyEndAllowThreads(__tstate
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31696 resultobj
= SWIG_PyObj_FromInt((int)result
);
31703 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31704 PyObject
*resultobj
;
31705 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31707 PyObject
* obj0
= 0 ;
31708 char *kwnames
[] = {
31709 (char *) "self", NULL
31712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
31713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31716 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
31718 wxPyEndAllowThreads(__tstate
);
31719 if (PyErr_Occurred()) SWIG_fail
;
31723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31734 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31735 PyObject
*resultobj
;
31736 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31739 PyObject
* obj0
= 0 ;
31740 PyObject
* obj1
= 0 ;
31741 char *kwnames
[] = {
31742 (char *) "self",(char *) "n", NULL
31745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
31746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31748 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31749 if (PyErr_Occurred()) SWIG_fail
;
31752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31753 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
31755 wxPyEndAllowThreads(__tstate
);
31756 if (PyErr_Occurred()) SWIG_fail
;
31758 resultobj
= result
;
31765 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31766 PyObject
*resultobj
;
31767 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31769 PyObject
*arg3
= (PyObject
*) 0 ;
31770 PyObject
* obj0
= 0 ;
31771 PyObject
* obj1
= 0 ;
31772 PyObject
* obj2
= 0 ;
31773 char *kwnames
[] = {
31774 (char *) "self",(char *) "n",(char *) "clientData", NULL
31777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31780 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31781 if (PyErr_Occurred()) SWIG_fail
;
31785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31786 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
31788 wxPyEndAllowThreads(__tstate
);
31789 if (PyErr_Occurred()) SWIG_fail
;
31791 Py_INCREF(Py_None
); resultobj
= Py_None
;
31798 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
31800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31801 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
31803 return Py_BuildValue((char *)"");
31805 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
31807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31808 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
31810 return Py_BuildValue((char *)"");
31812 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31813 PyObject
*resultobj
;
31814 wxSizerItem
*result
;
31815 char *kwnames
[] = {
31819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
31821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31822 result
= (wxSizerItem
*)new wxSizerItem();
31824 wxPyEndAllowThreads(__tstate
);
31825 if (PyErr_Occurred()) SWIG_fail
;
31827 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
31834 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31835 PyObject
*resultobj
;
31841 wxObject
*arg6
= (wxObject
*) 0 ;
31842 wxSizerItem
*result
;
31843 PyObject
* obj0
= 0 ;
31844 PyObject
* obj1
= 0 ;
31845 PyObject
* obj2
= 0 ;
31846 PyObject
* obj3
= 0 ;
31847 PyObject
* obj4
= 0 ;
31848 PyObject
* obj5
= 0 ;
31849 char *kwnames
[] = {
31850 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
31853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31855 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
31856 if (PyErr_Occurred()) SWIG_fail
;
31859 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31863 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31867 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31871 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
31872 if (PyErr_Occurred()) SWIG_fail
;
31874 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31877 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31879 wxPyEndAllowThreads(__tstate
);
31880 if (PyErr_Occurred()) SWIG_fail
;
31882 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
31889 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31890 PyObject
*resultobj
;
31891 wxWindow
*arg1
= (wxWindow
*) 0 ;
31895 wxObject
*arg5
= (wxObject
*) 0 ;
31896 wxSizerItem
*result
;
31897 PyObject
* obj0
= 0 ;
31898 PyObject
* obj1
= 0 ;
31899 PyObject
* obj2
= 0 ;
31900 PyObject
* obj3
= 0 ;
31901 PyObject
* obj4
= 0 ;
31902 char *kwnames
[] = {
31903 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
31906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31909 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31913 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31914 if (PyErr_Occurred()) SWIG_fail
;
31917 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31918 if (PyErr_Occurred()) SWIG_fail
;
31920 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31923 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
31925 wxPyEndAllowThreads(__tstate
);
31926 if (PyErr_Occurred()) SWIG_fail
;
31928 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
31935 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31936 PyObject
*resultobj
;
31937 wxSizer
*arg1
= (wxSizer
*) 0 ;
31941 wxObject
*arg5
= (wxObject
*) 0 ;
31942 wxSizerItem
*result
;
31943 PyObject
* obj0
= 0 ;
31944 PyObject
* obj1
= 0 ;
31945 PyObject
* obj2
= 0 ;
31946 PyObject
* obj3
= 0 ;
31947 PyObject
* obj4
= 0 ;
31948 char *kwnames
[] = {
31949 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
31952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31955 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
31956 if (PyErr_Occurred()) SWIG_fail
;
31959 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
31960 if (PyErr_Occurred()) SWIG_fail
;
31963 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
31964 if (PyErr_Occurred()) SWIG_fail
;
31966 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31969 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
31971 wxPyEndAllowThreads(__tstate
);
31972 if (PyErr_Occurred()) SWIG_fail
;
31974 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
31981 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31982 PyObject
*resultobj
;
31983 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
31984 PyObject
* obj0
= 0 ;
31985 char *kwnames
[] = {
31986 (char *) "self", NULL
31989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
31990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31993 (arg1
)->DeleteWindows();
31995 wxPyEndAllowThreads(__tstate
);
31996 if (PyErr_Occurred()) SWIG_fail
;
31998 Py_INCREF(Py_None
); resultobj
= Py_None
;
32005 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32006 PyObject
*resultobj
;
32007 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32008 PyObject
* obj0
= 0 ;
32009 char *kwnames
[] = {
32010 (char *) "self", NULL
32013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
32014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32017 (arg1
)->DetachSizer();
32019 wxPyEndAllowThreads(__tstate
);
32020 if (PyErr_Occurred()) SWIG_fail
;
32022 Py_INCREF(Py_None
); resultobj
= Py_None
;
32029 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32030 PyObject
*resultobj
;
32031 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32033 PyObject
* obj0
= 0 ;
32034 char *kwnames
[] = {
32035 (char *) "self", NULL
32038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
32039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32042 result
= (arg1
)->GetSize();
32044 wxPyEndAllowThreads(__tstate
);
32045 if (PyErr_Occurred()) SWIG_fail
;
32048 wxSize
* resultptr
;
32049 resultptr
= new wxSize((wxSize
&) result
);
32050 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32058 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32059 PyObject
*resultobj
;
32060 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32062 PyObject
* obj0
= 0 ;
32063 char *kwnames
[] = {
32064 (char *) "self", NULL
32067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
32068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32071 result
= (arg1
)->CalcMin();
32073 wxPyEndAllowThreads(__tstate
);
32074 if (PyErr_Occurred()) SWIG_fail
;
32077 wxSize
* resultptr
;
32078 resultptr
= new wxSize((wxSize
&) result
);
32079 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32087 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32088 PyObject
*resultobj
;
32089 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32094 PyObject
* obj0
= 0 ;
32095 PyObject
* obj1
= 0 ;
32096 PyObject
* obj2
= 0 ;
32097 char *kwnames
[] = {
32098 (char *) "self",(char *) "pos",(char *) "size", NULL
32101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32103 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32105 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32109 (arg1
)->SetDimension(arg2
,arg3
);
32111 wxPyEndAllowThreads(__tstate
);
32112 if (PyErr_Occurred()) SWIG_fail
;
32114 Py_INCREF(Py_None
); resultobj
= Py_None
;
32121 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32122 PyObject
*resultobj
;
32123 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32125 PyObject
* obj0
= 0 ;
32126 char *kwnames
[] = {
32127 (char *) "self", NULL
32130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
32131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32134 result
= (arg1
)->GetMinSize();
32136 wxPyEndAllowThreads(__tstate
);
32137 if (PyErr_Occurred()) SWIG_fail
;
32140 wxSize
* resultptr
;
32141 resultptr
= new wxSize((wxSize
&) result
);
32142 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32150 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32151 PyObject
*resultobj
;
32152 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32155 PyObject
* obj0
= 0 ;
32156 PyObject
* obj1
= 0 ;
32157 PyObject
* obj2
= 0 ;
32158 char *kwnames
[] = {
32159 (char *) "self",(char *) "x",(char *) "y", NULL
32162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32165 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32166 if (PyErr_Occurred()) SWIG_fail
;
32169 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32174 (arg1
)->SetInitSize(arg2
,arg3
);
32176 wxPyEndAllowThreads(__tstate
);
32177 if (PyErr_Occurred()) SWIG_fail
;
32179 Py_INCREF(Py_None
); resultobj
= Py_None
;
32186 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32187 PyObject
*resultobj
;
32188 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32191 PyObject
* obj0
= 0 ;
32192 PyObject
* obj1
= 0 ;
32193 PyObject
* obj2
= 0 ;
32194 char *kwnames
[] = {
32195 (char *) "self",(char *) "width",(char *) "height", NULL
32198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32201 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32205 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32206 if (PyErr_Occurred()) SWIG_fail
;
32209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32210 (arg1
)->SetRatio(arg2
,arg3
);
32212 wxPyEndAllowThreads(__tstate
);
32213 if (PyErr_Occurred()) SWIG_fail
;
32215 Py_INCREF(Py_None
); resultobj
= Py_None
;
32222 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32223 PyObject
*resultobj
;
32224 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32227 PyObject
* obj0
= 0 ;
32228 PyObject
* obj1
= 0 ;
32229 char *kwnames
[] = {
32230 (char *) "self",(char *) "size", NULL
32233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32235 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32239 (arg1
)->SetRatio(arg2
);
32241 wxPyEndAllowThreads(__tstate
);
32242 if (PyErr_Occurred()) SWIG_fail
;
32244 Py_INCREF(Py_None
); resultobj
= Py_None
;
32251 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32252 PyObject
*resultobj
;
32253 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32255 PyObject
* obj0
= 0 ;
32256 PyObject
* obj1
= 0 ;
32257 char *kwnames
[] = {
32258 (char *) "self",(char *) "ratio", NULL
32261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
32262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32264 arg2
= (float) SWIG_PyObj_AsFloat(obj1
);
32265 if (PyErr_Occurred()) SWIG_fail
;
32268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32269 (arg1
)->SetRatio(arg2
);
32271 wxPyEndAllowThreads(__tstate
);
32272 if (PyErr_Occurred()) SWIG_fail
;
32274 Py_INCREF(Py_None
); resultobj
= Py_None
;
32281 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32282 PyObject
*resultobj
;
32283 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32285 PyObject
* obj0
= 0 ;
32286 char *kwnames
[] = {
32287 (char *) "self", NULL
32290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
32291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32294 result
= (float)(arg1
)->GetRatio();
32296 wxPyEndAllowThreads(__tstate
);
32297 if (PyErr_Occurred()) SWIG_fail
;
32299 resultobj
= SWIG_PyObj_FromFloat((float)result
);
32306 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32307 PyObject
*resultobj
;
32308 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32310 PyObject
* obj0
= 0 ;
32311 char *kwnames
[] = {
32312 (char *) "self", NULL
32315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
32316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32319 result
= (bool)(arg1
)->IsWindow();
32321 wxPyEndAllowThreads(__tstate
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32324 resultobj
= SWIG_PyObj_FromBool((bool)result
);
32331 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32332 PyObject
*resultobj
;
32333 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32335 PyObject
* obj0
= 0 ;
32336 char *kwnames
[] = {
32337 (char *) "self", NULL
32340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
32341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32344 result
= (bool)(arg1
)->IsSizer();
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32349 resultobj
= SWIG_PyObj_FromBool((bool)result
);
32356 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32357 PyObject
*resultobj
;
32358 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32360 PyObject
* obj0
= 0 ;
32361 char *kwnames
[] = {
32362 (char *) "self", NULL
32365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
32366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32369 result
= (bool)(arg1
)->IsSpacer();
32371 wxPyEndAllowThreads(__tstate
);
32372 if (PyErr_Occurred()) SWIG_fail
;
32374 resultobj
= SWIG_PyObj_FromBool((bool)result
);
32381 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32382 PyObject
*resultobj
;
32383 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32385 PyObject
* obj0
= 0 ;
32386 PyObject
* obj1
= 0 ;
32387 char *kwnames
[] = {
32388 (char *) "self",(char *) "proportion", NULL
32391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
32392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32394 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32395 if (PyErr_Occurred()) SWIG_fail
;
32398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32399 (arg1
)->SetProportion(arg2
);
32401 wxPyEndAllowThreads(__tstate
);
32402 if (PyErr_Occurred()) SWIG_fail
;
32404 Py_INCREF(Py_None
); resultobj
= Py_None
;
32411 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32412 PyObject
*resultobj
;
32413 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32415 PyObject
* obj0
= 0 ;
32416 char *kwnames
[] = {
32417 (char *) "self", NULL
32420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
32421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 result
= (int)(arg1
)->GetProportion();
32426 wxPyEndAllowThreads(__tstate
);
32427 if (PyErr_Occurred()) SWIG_fail
;
32429 resultobj
= SWIG_PyObj_FromInt((int)result
);
32436 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32437 PyObject
*resultobj
;
32438 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32440 PyObject
* obj0
= 0 ;
32441 PyObject
* obj1
= 0 ;
32442 char *kwnames
[] = {
32443 (char *) "self",(char *) "flag", NULL
32446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
32447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32449 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32450 if (PyErr_Occurred()) SWIG_fail
;
32453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32454 (arg1
)->SetFlag(arg2
);
32456 wxPyEndAllowThreads(__tstate
);
32457 if (PyErr_Occurred()) SWIG_fail
;
32459 Py_INCREF(Py_None
); resultobj
= Py_None
;
32466 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32467 PyObject
*resultobj
;
32468 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32470 PyObject
* obj0
= 0 ;
32471 char *kwnames
[] = {
32472 (char *) "self", NULL
32475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
32476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32479 result
= (int)(arg1
)->GetFlag();
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32484 resultobj
= SWIG_PyObj_FromInt((int)result
);
32491 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32492 PyObject
*resultobj
;
32493 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32495 PyObject
* obj0
= 0 ;
32496 PyObject
* obj1
= 0 ;
32497 char *kwnames
[] = {
32498 (char *) "self",(char *) "border", NULL
32501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
32502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32504 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32509 (arg1
)->SetBorder(arg2
);
32511 wxPyEndAllowThreads(__tstate
);
32512 if (PyErr_Occurred()) SWIG_fail
;
32514 Py_INCREF(Py_None
); resultobj
= Py_None
;
32521 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32522 PyObject
*resultobj
;
32523 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32525 PyObject
* obj0
= 0 ;
32526 char *kwnames
[] = {
32527 (char *) "self", NULL
32530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
32531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32534 result
= (int)(arg1
)->GetBorder();
32536 wxPyEndAllowThreads(__tstate
);
32537 if (PyErr_Occurred()) SWIG_fail
;
32539 resultobj
= SWIG_PyObj_FromInt((int)result
);
32546 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32547 PyObject
*resultobj
;
32548 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32550 PyObject
* obj0
= 0 ;
32551 char *kwnames
[] = {
32552 (char *) "self", NULL
32555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
32556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32559 result
= (wxWindow
*)(arg1
)->GetWindow();
32561 wxPyEndAllowThreads(__tstate
);
32562 if (PyErr_Occurred()) SWIG_fail
;
32565 resultobj
= wxPyMake_wxObject(result
);
32573 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32574 PyObject
*resultobj
;
32575 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32576 wxWindow
*arg2
= (wxWindow
*) 0 ;
32577 PyObject
* obj0
= 0 ;
32578 PyObject
* obj1
= 0 ;
32579 char *kwnames
[] = {
32580 (char *) "self",(char *) "window", NULL
32583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32588 (arg1
)->SetWindow(arg2
);
32590 wxPyEndAllowThreads(__tstate
);
32591 if (PyErr_Occurred()) SWIG_fail
;
32593 Py_INCREF(Py_None
); resultobj
= Py_None
;
32600 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32601 PyObject
*resultobj
;
32602 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32604 PyObject
* obj0
= 0 ;
32605 char *kwnames
[] = {
32606 (char *) "self", NULL
32609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
32610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32613 result
= (wxSizer
*)(arg1
)->GetSizer();
32615 wxPyEndAllowThreads(__tstate
);
32616 if (PyErr_Occurred()) SWIG_fail
;
32619 resultobj
= wxPyMake_wxSizer(result
);
32627 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32628 PyObject
*resultobj
;
32629 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32630 wxSizer
*arg2
= (wxSizer
*) 0 ;
32631 PyObject
* obj0
= 0 ;
32632 PyObject
* obj1
= 0 ;
32633 char *kwnames
[] = {
32634 (char *) "self",(char *) "sizer", NULL
32637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32639 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32642 (arg1
)->SetSizer(arg2
);
32644 wxPyEndAllowThreads(__tstate
);
32645 if (PyErr_Occurred()) SWIG_fail
;
32647 Py_INCREF(Py_None
); resultobj
= Py_None
;
32654 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32655 PyObject
*resultobj
;
32656 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32658 PyObject
* obj0
= 0 ;
32659 char *kwnames
[] = {
32660 (char *) "self", NULL
32663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
32664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32668 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
32669 result
= (wxSize
*) &_result_ref
;
32672 wxPyEndAllowThreads(__tstate
);
32673 if (PyErr_Occurred()) SWIG_fail
;
32675 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
32682 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32683 PyObject
*resultobj
;
32684 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32687 PyObject
* obj0
= 0 ;
32688 PyObject
* obj1
= 0 ;
32689 char *kwnames
[] = {
32690 (char *) "self",(char *) "size", NULL
32693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
32694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32697 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32701 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
32703 wxPyEndAllowThreads(__tstate
);
32704 if (PyErr_Occurred()) SWIG_fail
;
32706 Py_INCREF(Py_None
); resultobj
= Py_None
;
32713 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32714 PyObject
*resultobj
;
32715 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32717 PyObject
* obj0
= 0 ;
32718 PyObject
* obj1
= 0 ;
32719 char *kwnames
[] = {
32720 (char *) "self",(char *) "show", NULL
32723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
32724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32726 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
32727 if (PyErr_Occurred()) SWIG_fail
;
32730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32731 (arg1
)->Show(arg2
);
32733 wxPyEndAllowThreads(__tstate
);
32734 if (PyErr_Occurred()) SWIG_fail
;
32736 Py_INCREF(Py_None
); resultobj
= Py_None
;
32743 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32744 PyObject
*resultobj
;
32745 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32747 PyObject
* obj0
= 0 ;
32748 char *kwnames
[] = {
32749 (char *) "self", NULL
32752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
32753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32756 result
= (bool)(arg1
)->IsShown();
32758 wxPyEndAllowThreads(__tstate
);
32759 if (PyErr_Occurred()) SWIG_fail
;
32761 resultobj
= SWIG_PyObj_FromBool((bool)result
);
32768 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32769 PyObject
*resultobj
;
32770 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32772 PyObject
* obj0
= 0 ;
32773 char *kwnames
[] = {
32774 (char *) "self", NULL
32777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
32778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32781 result
= (arg1
)->GetPosition();
32783 wxPyEndAllowThreads(__tstate
);
32784 if (PyErr_Occurred()) SWIG_fail
;
32787 wxPoint
* resultptr
;
32788 resultptr
= new wxPoint((wxPoint
&) result
);
32789 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
32797 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32798 PyObject
*resultobj
;
32799 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32801 PyObject
* obj0
= 0 ;
32802 char *kwnames
[] = {
32803 (char *) "self", NULL
32806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
32807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32810 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
32812 wxPyEndAllowThreads(__tstate
);
32813 if (PyErr_Occurred()) SWIG_fail
;
32815 resultobj
= result
;
32822 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
32824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32825 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
32827 return Py_BuildValue((char *)"");
32829 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32830 PyObject
*resultobj
;
32831 wxSizer
*arg1
= (wxSizer
*) 0 ;
32832 PyObject
*arg2
= (PyObject
*) 0 ;
32833 PyObject
* obj0
= 0 ;
32834 PyObject
* obj1
= 0 ;
32835 char *kwnames
[] = {
32836 (char *) "self",(char *) "_self", NULL
32839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
32840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32844 wxSizer__setOORInfo(arg1
,arg2
);
32846 wxPyEndAllowThreads(__tstate
);
32847 if (PyErr_Occurred()) SWIG_fail
;
32849 Py_INCREF(Py_None
); resultobj
= Py_None
;
32856 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32857 PyObject
*resultobj
;
32858 wxSizer
*arg1
= (wxSizer
*) 0 ;
32859 PyObject
*arg2
= (PyObject
*) 0 ;
32860 int arg3
= (int) 0 ;
32861 int arg4
= (int) 0 ;
32862 int arg5
= (int) 0 ;
32863 PyObject
*arg6
= (PyObject
*) NULL
;
32864 PyObject
* obj0
= 0 ;
32865 PyObject
* obj1
= 0 ;
32866 PyObject
* obj2
= 0 ;
32867 PyObject
* obj3
= 0 ;
32868 PyObject
* obj4
= 0 ;
32869 PyObject
* obj5
= 0 ;
32870 char *kwnames
[] = {
32871 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32879 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32880 if (PyErr_Occurred()) SWIG_fail
;
32885 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32886 if (PyErr_Occurred()) SWIG_fail
;
32891 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
32892 if (PyErr_Occurred()) SWIG_fail
;
32899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32900 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
32902 wxPyEndAllowThreads(__tstate
);
32903 if (PyErr_Occurred()) SWIG_fail
;
32905 Py_INCREF(Py_None
); resultobj
= Py_None
;
32912 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32913 PyObject
*resultobj
;
32914 wxSizer
*arg1
= (wxSizer
*) 0 ;
32916 PyObject
*arg3
= (PyObject
*) 0 ;
32917 int arg4
= (int) 0 ;
32918 int arg5
= (int) 0 ;
32919 int arg6
= (int) 0 ;
32920 PyObject
*arg7
= (PyObject
*) NULL
;
32921 PyObject
* obj0
= 0 ;
32922 PyObject
* obj1
= 0 ;
32923 PyObject
* obj2
= 0 ;
32924 PyObject
* obj3
= 0 ;
32925 PyObject
* obj4
= 0 ;
32926 PyObject
* obj5
= 0 ;
32927 PyObject
* obj6
= 0 ;
32928 char *kwnames
[] = {
32929 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32935 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
32936 if (PyErr_Occurred()) SWIG_fail
;
32941 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
32942 if (PyErr_Occurred()) SWIG_fail
;
32947 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
32948 if (PyErr_Occurred()) SWIG_fail
;
32953 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
32954 if (PyErr_Occurred()) SWIG_fail
;
32961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32962 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32964 wxPyEndAllowThreads(__tstate
);
32965 if (PyErr_Occurred()) SWIG_fail
;
32967 Py_INCREF(Py_None
); resultobj
= Py_None
;
32974 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32975 PyObject
*resultobj
;
32976 wxSizer
*arg1
= (wxSizer
*) 0 ;
32977 PyObject
*arg2
= (PyObject
*) 0 ;
32978 int arg3
= (int) 0 ;
32979 int arg4
= (int) 0 ;
32980 int arg5
= (int) 0 ;
32981 PyObject
*arg6
= (PyObject
*) NULL
;
32982 PyObject
* obj0
= 0 ;
32983 PyObject
* obj1
= 0 ;
32984 PyObject
* obj2
= 0 ;
32985 PyObject
* obj3
= 0 ;
32986 PyObject
* obj4
= 0 ;
32987 PyObject
* obj5
= 0 ;
32988 char *kwnames
[] = {
32989 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32997 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33003 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33004 if (PyErr_Occurred()) SWIG_fail
;
33009 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33010 if (PyErr_Occurred()) SWIG_fail
;
33017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33018 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33020 wxPyEndAllowThreads(__tstate
);
33021 if (PyErr_Occurred()) SWIG_fail
;
33023 Py_INCREF(Py_None
); resultobj
= Py_None
;
33030 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33031 PyObject
*resultobj
;
33032 wxSizer
*arg1
= (wxSizer
*) 0 ;
33033 PyObject
*arg2
= (PyObject
*) 0 ;
33035 PyObject
* obj0
= 0 ;
33036 PyObject
* obj1
= 0 ;
33037 char *kwnames
[] = {
33038 (char *) "self",(char *) "item", NULL
33041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33046 result
= (bool)wxSizer_Remove(arg1
,arg2
);
33048 wxPyEndAllowThreads(__tstate
);
33049 if (PyErr_Occurred()) SWIG_fail
;
33051 resultobj
= SWIG_PyObj_FromBool((bool)result
);
33058 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33059 PyObject
*resultobj
;
33060 wxSizer
*arg1
= (wxSizer
*) 0 ;
33061 PyObject
*arg2
= (PyObject
*) 0 ;
33064 PyObject
* obj0
= 0 ;
33065 PyObject
* obj1
= 0 ;
33066 PyObject
* obj2
= 0 ;
33067 char *kwnames
[] = {
33068 (char *) "self",(char *) "item",(char *) "size", NULL
33071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33076 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33080 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
33082 wxPyEndAllowThreads(__tstate
);
33083 if (PyErr_Occurred()) SWIG_fail
;
33085 Py_INCREF(Py_None
); resultobj
= Py_None
;
33092 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33093 PyObject
*resultobj
;
33094 wxSizer
*arg1
= (wxSizer
*) 0 ;
33095 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33096 PyObject
* obj0
= 0 ;
33097 PyObject
* obj1
= 0 ;
33098 char *kwnames
[] = {
33099 (char *) "self",(char *) "item", NULL
33102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33104 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33109 wxPyEndAllowThreads(__tstate
);
33110 if (PyErr_Occurred()) SWIG_fail
;
33112 Py_INCREF(Py_None
); resultobj
= Py_None
;
33119 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33120 PyObject
*resultobj
;
33121 wxSizer
*arg1
= (wxSizer
*) 0 ;
33123 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
33124 PyObject
* obj0
= 0 ;
33125 PyObject
* obj1
= 0 ;
33126 PyObject
* obj2
= 0 ;
33127 char *kwnames
[] = {
33128 (char *) "self",(char *) "index",(char *) "item", NULL
33131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33134 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
33135 if (PyErr_Occurred()) SWIG_fail
;
33137 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33140 (arg1
)->Insert(arg2
,arg3
);
33142 wxPyEndAllowThreads(__tstate
);
33143 if (PyErr_Occurred()) SWIG_fail
;
33145 Py_INCREF(Py_None
); resultobj
= Py_None
;
33152 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33153 PyObject
*resultobj
;
33154 wxSizer
*arg1
= (wxSizer
*) 0 ;
33155 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33156 PyObject
* obj0
= 0 ;
33157 PyObject
* obj1
= 0 ;
33158 char *kwnames
[] = {
33159 (char *) "self",(char *) "item", NULL
33162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33164 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33167 (arg1
)->Prepend(arg2
);
33169 wxPyEndAllowThreads(__tstate
);
33170 if (PyErr_Occurred()) SWIG_fail
;
33172 Py_INCREF(Py_None
); resultobj
= Py_None
;
33179 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33180 PyObject
*resultobj
;
33181 wxSizer
*arg1
= (wxSizer
*) 0 ;
33186 PyObject
* obj0
= 0 ;
33187 PyObject
* obj1
= 0 ;
33188 PyObject
* obj2
= 0 ;
33189 PyObject
* obj3
= 0 ;
33190 PyObject
* obj4
= 0 ;
33191 char *kwnames
[] = {
33192 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33198 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
33199 if (PyErr_Occurred()) SWIG_fail
;
33202 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
33203 if (PyErr_Occurred()) SWIG_fail
;
33206 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
33207 if (PyErr_Occurred()) SWIG_fail
;
33210 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
33211 if (PyErr_Occurred()) SWIG_fail
;
33214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33215 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
33217 wxPyEndAllowThreads(__tstate
);
33218 if (PyErr_Occurred()) SWIG_fail
;
33220 Py_INCREF(Py_None
); resultobj
= Py_None
;
33227 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33228 PyObject
*resultobj
;
33229 wxSizer
*arg1
= (wxSizer
*) 0 ;
33232 PyObject
* obj0
= 0 ;
33233 PyObject
* obj1
= 0 ;
33234 char *kwnames
[] = {
33235 (char *) "self",(char *) "size", NULL
33238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33242 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33246 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
33248 wxPyEndAllowThreads(__tstate
);
33249 if (PyErr_Occurred()) SWIG_fail
;
33251 Py_INCREF(Py_None
); resultobj
= Py_None
;
33258 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33259 PyObject
*resultobj
;
33260 wxSizer
*arg1
= (wxSizer
*) 0 ;
33262 PyObject
* obj0
= 0 ;
33263 char *kwnames
[] = {
33264 (char *) "self", NULL
33267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
33268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33271 result
= (arg1
)->GetSize();
33273 wxPyEndAllowThreads(__tstate
);
33274 if (PyErr_Occurred()) SWIG_fail
;
33277 wxSize
* resultptr
;
33278 resultptr
= new wxSize((wxSize
&) result
);
33279 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33287 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33288 PyObject
*resultobj
;
33289 wxSizer
*arg1
= (wxSizer
*) 0 ;
33291 PyObject
* obj0
= 0 ;
33292 char *kwnames
[] = {
33293 (char *) "self", NULL
33296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
33297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33300 result
= (arg1
)->GetPosition();
33302 wxPyEndAllowThreads(__tstate
);
33303 if (PyErr_Occurred()) SWIG_fail
;
33306 wxPoint
* resultptr
;
33307 resultptr
= new wxPoint((wxPoint
&) result
);
33308 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
33316 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33317 PyObject
*resultobj
;
33318 wxSizer
*arg1
= (wxSizer
*) 0 ;
33320 PyObject
* obj0
= 0 ;
33321 char *kwnames
[] = {
33322 (char *) "self", NULL
33325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
33326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33329 result
= (arg1
)->GetMinSize();
33331 wxPyEndAllowThreads(__tstate
);
33332 if (PyErr_Occurred()) SWIG_fail
;
33335 wxSize
* resultptr
;
33336 resultptr
= new wxSize((wxSize
&) result
);
33337 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33345 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33346 PyObject
*resultobj
;
33347 wxSizer
*arg1
= (wxSizer
*) 0 ;
33348 PyObject
* obj0
= 0 ;
33349 char *kwnames
[] = {
33350 (char *) "self", NULL
33353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
33354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33357 (arg1
)->RecalcSizes();
33359 wxPyEndAllowThreads(__tstate
);
33360 if (PyErr_Occurred()) SWIG_fail
;
33362 Py_INCREF(Py_None
); resultobj
= Py_None
;
33369 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33370 PyObject
*resultobj
;
33371 wxSizer
*arg1
= (wxSizer
*) 0 ;
33373 PyObject
* obj0
= 0 ;
33374 char *kwnames
[] = {
33375 (char *) "self", NULL
33378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
33379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33382 result
= (arg1
)->CalcMin();
33384 wxPyEndAllowThreads(__tstate
);
33385 if (PyErr_Occurred()) SWIG_fail
;
33388 wxSize
* resultptr
;
33389 resultptr
= new wxSize((wxSize
&) result
);
33390 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33398 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33399 PyObject
*resultobj
;
33400 wxSizer
*arg1
= (wxSizer
*) 0 ;
33401 PyObject
* obj0
= 0 ;
33402 char *kwnames
[] = {
33403 (char *) "self", NULL
33406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
33407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33412 wxPyEndAllowThreads(__tstate
);
33413 if (PyErr_Occurred()) SWIG_fail
;
33415 Py_INCREF(Py_None
); resultobj
= Py_None
;
33422 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33423 PyObject
*resultobj
;
33424 wxSizer
*arg1
= (wxSizer
*) 0 ;
33425 wxWindow
*arg2
= (wxWindow
*) 0 ;
33427 PyObject
* obj0
= 0 ;
33428 PyObject
* obj1
= 0 ;
33429 char *kwnames
[] = {
33430 (char *) "self",(char *) "window", NULL
33433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
33434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33435 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33438 result
= (arg1
)->Fit(arg2
);
33440 wxPyEndAllowThreads(__tstate
);
33441 if (PyErr_Occurred()) SWIG_fail
;
33444 wxSize
* resultptr
;
33445 resultptr
= new wxSize((wxSize
&) result
);
33446 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33454 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33455 PyObject
*resultobj
;
33456 wxSizer
*arg1
= (wxSizer
*) 0 ;
33457 wxWindow
*arg2
= (wxWindow
*) 0 ;
33458 PyObject
* obj0
= 0 ;
33459 PyObject
* obj1
= 0 ;
33460 char *kwnames
[] = {
33461 (char *) "self",(char *) "window", NULL
33464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
33465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33466 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33469 (arg1
)->FitInside(arg2
);
33471 wxPyEndAllowThreads(__tstate
);
33472 if (PyErr_Occurred()) SWIG_fail
;
33474 Py_INCREF(Py_None
); resultobj
= Py_None
;
33481 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33482 PyObject
*resultobj
;
33483 wxSizer
*arg1
= (wxSizer
*) 0 ;
33484 wxWindow
*arg2
= (wxWindow
*) 0 ;
33485 PyObject
* obj0
= 0 ;
33486 PyObject
* obj1
= 0 ;
33487 char *kwnames
[] = {
33488 (char *) "self",(char *) "window", NULL
33491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33493 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33496 (arg1
)->SetSizeHints(arg2
);
33498 wxPyEndAllowThreads(__tstate
);
33499 if (PyErr_Occurred()) SWIG_fail
;
33501 Py_INCREF(Py_None
); resultobj
= Py_None
;
33508 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33509 PyObject
*resultobj
;
33510 wxSizer
*arg1
= (wxSizer
*) 0 ;
33511 wxWindow
*arg2
= (wxWindow
*) 0 ;
33512 PyObject
* obj0
= 0 ;
33513 PyObject
* obj1
= 0 ;
33514 char *kwnames
[] = {
33515 (char *) "self",(char *) "window", NULL
33518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33520 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33523 (arg1
)->SetVirtualSizeHints(arg2
);
33525 wxPyEndAllowThreads(__tstate
);
33526 if (PyErr_Occurred()) SWIG_fail
;
33528 Py_INCREF(Py_None
); resultobj
= Py_None
;
33535 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33536 PyObject
*resultobj
;
33537 wxSizer
*arg1
= (wxSizer
*) 0 ;
33538 bool arg2
= (bool) False
;
33539 PyObject
* obj0
= 0 ;
33540 PyObject
* obj1
= 0 ;
33541 char *kwnames
[] = {
33542 (char *) "self",(char *) "delete_windows", NULL
33545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
33546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33549 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
33550 if (PyErr_Occurred()) SWIG_fail
;
33554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33555 (arg1
)->Clear(arg2
);
33557 wxPyEndAllowThreads(__tstate
);
33558 if (PyErr_Occurred()) SWIG_fail
;
33560 Py_INCREF(Py_None
); resultobj
= Py_None
;
33567 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33568 PyObject
*resultobj
;
33569 wxSizer
*arg1
= (wxSizer
*) 0 ;
33570 PyObject
* obj0
= 0 ;
33571 char *kwnames
[] = {
33572 (char *) "self", NULL
33575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33579 (arg1
)->DeleteWindows();
33581 wxPyEndAllowThreads(__tstate
);
33582 if (PyErr_Occurred()) SWIG_fail
;
33584 Py_INCREF(Py_None
); resultobj
= Py_None
;
33591 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33592 PyObject
*resultobj
;
33593 wxSizer
*arg1
= (wxSizer
*) 0 ;
33595 PyObject
* obj0
= 0 ;
33596 char *kwnames
[] = {
33597 (char *) "self", NULL
33600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
33601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33604 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
33606 wxPyEndAllowThreads(__tstate
);
33607 if (PyErr_Occurred()) SWIG_fail
;
33609 resultobj
= result
;
33616 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33617 PyObject
*resultobj
;
33618 wxSizer
*arg1
= (wxSizer
*) 0 ;
33619 PyObject
*arg2
= (PyObject
*) 0 ;
33620 bool arg3
= (bool) True
;
33621 PyObject
* obj0
= 0 ;
33622 PyObject
* obj1
= 0 ;
33623 PyObject
* obj2
= 0 ;
33624 char *kwnames
[] = {
33625 (char *) "self",(char *) "item",(char *) "show", NULL
33628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33633 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
33634 if (PyErr_Occurred()) SWIG_fail
;
33638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33639 wxSizer_Show(arg1
,arg2
,arg3
);
33641 wxPyEndAllowThreads(__tstate
);
33642 if (PyErr_Occurred()) SWIG_fail
;
33644 Py_INCREF(Py_None
); resultobj
= Py_None
;
33651 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33652 PyObject
*resultobj
;
33653 wxSizer
*arg1
= (wxSizer
*) 0 ;
33654 PyObject
*arg2
= (PyObject
*) 0 ;
33655 PyObject
* obj0
= 0 ;
33656 PyObject
* obj1
= 0 ;
33657 char *kwnames
[] = {
33658 (char *) "self",(char *) "item", NULL
33661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
33662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33666 wxSizer_Hide(arg1
,arg2
);
33668 wxPyEndAllowThreads(__tstate
);
33669 if (PyErr_Occurred()) SWIG_fail
;
33671 Py_INCREF(Py_None
); resultobj
= Py_None
;
33678 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33679 PyObject
*resultobj
;
33680 wxSizer
*arg1
= (wxSizer
*) 0 ;
33681 PyObject
*arg2
= (PyObject
*) 0 ;
33683 PyObject
* obj0
= 0 ;
33684 PyObject
* obj1
= 0 ;
33685 char *kwnames
[] = {
33686 (char *) "self",(char *) "item", NULL
33689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
33690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33694 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
33696 wxPyEndAllowThreads(__tstate
);
33697 if (PyErr_Occurred()) SWIG_fail
;
33699 resultobj
= SWIG_PyObj_FromBool((bool)result
);
33706 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33707 PyObject
*resultobj
;
33708 wxSizer
*arg1
= (wxSizer
*) 0 ;
33710 PyObject
* obj0
= 0 ;
33711 PyObject
* obj1
= 0 ;
33712 char *kwnames
[] = {
33713 (char *) "self",(char *) "show", NULL
33716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33719 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
33720 if (PyErr_Occurred()) SWIG_fail
;
33723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33724 (arg1
)->ShowItems(arg2
);
33726 wxPyEndAllowThreads(__tstate
);
33727 if (PyErr_Occurred()) SWIG_fail
;
33729 Py_INCREF(Py_None
); resultobj
= Py_None
;
33736 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
33738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33739 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
33741 return Py_BuildValue((char *)"");
33743 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33744 PyObject
*resultobj
;
33746 char *kwnames
[] = {
33750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
33752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33753 result
= (wxPySizer
*)new wxPySizer();
33755 wxPyEndAllowThreads(__tstate
);
33756 if (PyErr_Occurred()) SWIG_fail
;
33758 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
33765 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33766 PyObject
*resultobj
;
33767 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
33768 PyObject
*arg2
= (PyObject
*) 0 ;
33769 PyObject
*arg3
= (PyObject
*) 0 ;
33770 PyObject
* obj0
= 0 ;
33771 PyObject
* obj1
= 0 ;
33772 PyObject
* obj2
= 0 ;
33773 char *kwnames
[] = {
33774 (char *) "self",(char *) "self",(char *) "_class", NULL
33777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33783 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33785 wxPyEndAllowThreads(__tstate
);
33786 if (PyErr_Occurred()) SWIG_fail
;
33788 Py_INCREF(Py_None
); resultobj
= Py_None
;
33795 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
33797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33798 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
33800 return Py_BuildValue((char *)"");
33802 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33803 PyObject
*resultobj
;
33804 int arg1
= (int) wxHORIZONTAL
;
33805 wxBoxSizer
*result
;
33806 PyObject
* obj0
= 0 ;
33807 char *kwnames
[] = {
33808 (char *) "orient", NULL
33811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
33814 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
33815 if (PyErr_Occurred()) SWIG_fail
;
33819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33820 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
33822 wxPyEndAllowThreads(__tstate
);
33823 if (PyErr_Occurred()) SWIG_fail
;
33825 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
33832 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33833 PyObject
*resultobj
;
33834 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
33836 PyObject
* obj0
= 0 ;
33837 char *kwnames
[] = {
33838 (char *) "self", NULL
33841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
33842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33845 result
= (int)(arg1
)->GetOrientation();
33847 wxPyEndAllowThreads(__tstate
);
33848 if (PyErr_Occurred()) SWIG_fail
;
33850 resultobj
= SWIG_PyObj_FromInt((int)result
);
33857 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33858 PyObject
*resultobj
;
33859 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
33861 PyObject
* obj0
= 0 ;
33862 PyObject
* obj1
= 0 ;
33863 char *kwnames
[] = {
33864 (char *) "self",(char *) "orient", NULL
33867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
33868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33870 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
33871 if (PyErr_Occurred()) SWIG_fail
;
33874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33875 (arg1
)->SetOrientation(arg2
);
33877 wxPyEndAllowThreads(__tstate
);
33878 if (PyErr_Occurred()) SWIG_fail
;
33880 Py_INCREF(Py_None
); resultobj
= Py_None
;
33887 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33888 PyObject
*resultobj
;
33889 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
33890 PyObject
* obj0
= 0 ;
33891 char *kwnames
[] = {
33892 (char *) "self", NULL
33895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
33896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33899 (arg1
)->RecalcSizes();
33901 wxPyEndAllowThreads(__tstate
);
33902 if (PyErr_Occurred()) SWIG_fail
;
33904 Py_INCREF(Py_None
); resultobj
= Py_None
;
33911 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33912 PyObject
*resultobj
;
33913 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
33915 PyObject
* obj0
= 0 ;
33916 char *kwnames
[] = {
33917 (char *) "self", NULL
33920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
33921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33924 result
= (arg1
)->CalcMin();
33926 wxPyEndAllowThreads(__tstate
);
33927 if (PyErr_Occurred()) SWIG_fail
;
33930 wxSize
* resultptr
;
33931 resultptr
= new wxSize((wxSize
&) result
);
33932 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33940 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
33942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33943 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
33945 return Py_BuildValue((char *)"");
33947 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33948 PyObject
*resultobj
;
33949 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
33950 int arg2
= (int) wxHORIZONTAL
;
33951 wxStaticBoxSizer
*result
;
33952 PyObject
* obj0
= 0 ;
33953 PyObject
* obj1
= 0 ;
33954 char *kwnames
[] = {
33955 (char *) "box",(char *) "orient", NULL
33958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33962 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
33963 if (PyErr_Occurred()) SWIG_fail
;
33967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33968 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
33970 wxPyEndAllowThreads(__tstate
);
33971 if (PyErr_Occurred()) SWIG_fail
;
33973 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
33980 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33981 PyObject
*resultobj
;
33982 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
33983 wxStaticBox
*result
;
33984 PyObject
* obj0
= 0 ;
33985 char *kwnames
[] = {
33986 (char *) "self", NULL
33989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
33990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33993 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
33995 wxPyEndAllowThreads(__tstate
);
33996 if (PyErr_Occurred()) SWIG_fail
;
33999 resultobj
= wxPyMake_wxObject(result
);
34007 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34008 PyObject
*resultobj
;
34009 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34010 PyObject
* obj0
= 0 ;
34011 char *kwnames
[] = {
34012 (char *) "self", NULL
34015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34019 (arg1
)->RecalcSizes();
34021 wxPyEndAllowThreads(__tstate
);
34022 if (PyErr_Occurred()) SWIG_fail
;
34024 Py_INCREF(Py_None
); resultobj
= Py_None
;
34031 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34032 PyObject
*resultobj
;
34033 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34035 PyObject
* obj0
= 0 ;
34036 char *kwnames
[] = {
34037 (char *) "self", NULL
34040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34044 result
= (arg1
)->CalcMin();
34046 wxPyEndAllowThreads(__tstate
);
34047 if (PyErr_Occurred()) SWIG_fail
;
34050 wxSize
* resultptr
;
34051 resultptr
= new wxSize((wxSize
&) result
);
34052 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34060 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34063 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
34065 return Py_BuildValue((char *)"");
34067 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34068 PyObject
*resultobj
;
34069 int arg1
= (int) 1 ;
34070 int arg2
= (int) 0 ;
34071 int arg3
= (int) 0 ;
34072 int arg4
= (int) 0 ;
34073 wxGridSizer
*result
;
34074 PyObject
* obj0
= 0 ;
34075 PyObject
* obj1
= 0 ;
34076 PyObject
* obj2
= 0 ;
34077 PyObject
* obj3
= 0 ;
34078 char *kwnames
[] = {
34079 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34085 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34086 if (PyErr_Occurred()) SWIG_fail
;
34091 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34092 if (PyErr_Occurred()) SWIG_fail
;
34097 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34098 if (PyErr_Occurred()) SWIG_fail
;
34103 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
34104 if (PyErr_Occurred()) SWIG_fail
;
34108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34109 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
34111 wxPyEndAllowThreads(__tstate
);
34112 if (PyErr_Occurred()) SWIG_fail
;
34114 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
34121 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34122 PyObject
*resultobj
;
34123 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34124 PyObject
* obj0
= 0 ;
34125 char *kwnames
[] = {
34126 (char *) "self", NULL
34129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34133 (arg1
)->RecalcSizes();
34135 wxPyEndAllowThreads(__tstate
);
34136 if (PyErr_Occurred()) SWIG_fail
;
34138 Py_INCREF(Py_None
); resultobj
= Py_None
;
34145 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34146 PyObject
*resultobj
;
34147 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34149 PyObject
* obj0
= 0 ;
34150 char *kwnames
[] = {
34151 (char *) "self", NULL
34154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34158 result
= (arg1
)->CalcMin();
34160 wxPyEndAllowThreads(__tstate
);
34161 if (PyErr_Occurred()) SWIG_fail
;
34164 wxSize
* resultptr
;
34165 resultptr
= new wxSize((wxSize
&) result
);
34166 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34174 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34175 PyObject
*resultobj
;
34176 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34178 PyObject
* obj0
= 0 ;
34179 PyObject
* obj1
= 0 ;
34180 char *kwnames
[] = {
34181 (char *) "self",(char *) "cols", NULL
34184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
34185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34187 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34188 if (PyErr_Occurred()) SWIG_fail
;
34191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34192 (arg1
)->SetCols(arg2
);
34194 wxPyEndAllowThreads(__tstate
);
34195 if (PyErr_Occurred()) SWIG_fail
;
34197 Py_INCREF(Py_None
); resultobj
= Py_None
;
34204 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34205 PyObject
*resultobj
;
34206 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34208 PyObject
* obj0
= 0 ;
34209 PyObject
* obj1
= 0 ;
34210 char *kwnames
[] = {
34211 (char *) "self",(char *) "rows", NULL
34214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
34215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34217 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34218 if (PyErr_Occurred()) SWIG_fail
;
34221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34222 (arg1
)->SetRows(arg2
);
34224 wxPyEndAllowThreads(__tstate
);
34225 if (PyErr_Occurred()) SWIG_fail
;
34227 Py_INCREF(Py_None
); resultobj
= Py_None
;
34234 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34235 PyObject
*resultobj
;
34236 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34238 PyObject
* obj0
= 0 ;
34239 PyObject
* obj1
= 0 ;
34240 char *kwnames
[] = {
34241 (char *) "self",(char *) "gap", NULL
34244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34247 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34248 if (PyErr_Occurred()) SWIG_fail
;
34251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34252 (arg1
)->SetVGap(arg2
);
34254 wxPyEndAllowThreads(__tstate
);
34255 if (PyErr_Occurred()) SWIG_fail
;
34257 Py_INCREF(Py_None
); resultobj
= Py_None
;
34264 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34265 PyObject
*resultobj
;
34266 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34268 PyObject
* obj0
= 0 ;
34269 PyObject
* obj1
= 0 ;
34270 char *kwnames
[] = {
34271 (char *) "self",(char *) "gap", NULL
34274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34277 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34278 if (PyErr_Occurred()) SWIG_fail
;
34281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34282 (arg1
)->SetHGap(arg2
);
34284 wxPyEndAllowThreads(__tstate
);
34285 if (PyErr_Occurred()) SWIG_fail
;
34287 Py_INCREF(Py_None
); resultobj
= Py_None
;
34294 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34295 PyObject
*resultobj
;
34296 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34298 PyObject
* obj0
= 0 ;
34299 char *kwnames
[] = {
34300 (char *) "self", NULL
34303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
34304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34307 result
= (int)(arg1
)->GetCols();
34309 wxPyEndAllowThreads(__tstate
);
34310 if (PyErr_Occurred()) SWIG_fail
;
34312 resultobj
= SWIG_PyObj_FromInt((int)result
);
34319 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34320 PyObject
*resultobj
;
34321 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34323 PyObject
* obj0
= 0 ;
34324 char *kwnames
[] = {
34325 (char *) "self", NULL
34328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
34329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34332 result
= (int)(arg1
)->GetRows();
34334 wxPyEndAllowThreads(__tstate
);
34335 if (PyErr_Occurred()) SWIG_fail
;
34337 resultobj
= SWIG_PyObj_FromInt((int)result
);
34344 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34345 PyObject
*resultobj
;
34346 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34348 PyObject
* obj0
= 0 ;
34349 char *kwnames
[] = {
34350 (char *) "self", NULL
34353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
34354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34357 result
= (int)(arg1
)->GetVGap();
34359 wxPyEndAllowThreads(__tstate
);
34360 if (PyErr_Occurred()) SWIG_fail
;
34362 resultobj
= SWIG_PyObj_FromInt((int)result
);
34369 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34370 PyObject
*resultobj
;
34371 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34373 PyObject
* obj0
= 0 ;
34374 char *kwnames
[] = {
34375 (char *) "self", NULL
34378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
34379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34382 result
= (int)(arg1
)->GetHGap();
34384 wxPyEndAllowThreads(__tstate
);
34385 if (PyErr_Occurred()) SWIG_fail
;
34387 resultobj
= SWIG_PyObj_FromInt((int)result
);
34394 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34397 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
34399 return Py_BuildValue((char *)"");
34401 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34402 PyObject
*resultobj
;
34403 int arg1
= (int) 1 ;
34404 int arg2
= (int) 0 ;
34405 int arg3
= (int) 0 ;
34406 int arg4
= (int) 0 ;
34407 wxFlexGridSizer
*result
;
34408 PyObject
* obj0
= 0 ;
34409 PyObject
* obj1
= 0 ;
34410 PyObject
* obj2
= 0 ;
34411 PyObject
* obj3
= 0 ;
34412 char *kwnames
[] = {
34413 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34419 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34420 if (PyErr_Occurred()) SWIG_fail
;
34425 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34426 if (PyErr_Occurred()) SWIG_fail
;
34431 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34432 if (PyErr_Occurred()) SWIG_fail
;
34437 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
34438 if (PyErr_Occurred()) SWIG_fail
;
34442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34443 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
34445 wxPyEndAllowThreads(__tstate
);
34446 if (PyErr_Occurred()) SWIG_fail
;
34448 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
34455 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34456 PyObject
*resultobj
;
34457 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34458 PyObject
* obj0
= 0 ;
34459 char *kwnames
[] = {
34460 (char *) "self", NULL
34463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34467 (arg1
)->RecalcSizes();
34469 wxPyEndAllowThreads(__tstate
);
34470 if (PyErr_Occurred()) SWIG_fail
;
34472 Py_INCREF(Py_None
); resultobj
= Py_None
;
34479 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34480 PyObject
*resultobj
;
34481 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34483 PyObject
* obj0
= 0 ;
34484 char *kwnames
[] = {
34485 (char *) "self", NULL
34488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34492 result
= (arg1
)->CalcMin();
34494 wxPyEndAllowThreads(__tstate
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34498 wxSize
* resultptr
;
34499 resultptr
= new wxSize((wxSize
&) result
);
34500 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34508 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34509 PyObject
*resultobj
;
34510 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34512 int arg3
= (int) 0 ;
34513 PyObject
* obj0
= 0 ;
34514 PyObject
* obj1
= 0 ;
34515 PyObject
* obj2
= 0 ;
34516 char *kwnames
[] = {
34517 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34523 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
34524 if (PyErr_Occurred()) SWIG_fail
;
34528 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34529 if (PyErr_Occurred()) SWIG_fail
;
34533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34534 (arg1
)->AddGrowableRow(arg2
,arg3
);
34536 wxPyEndAllowThreads(__tstate
);
34537 if (PyErr_Occurred()) SWIG_fail
;
34539 Py_INCREF(Py_None
); resultobj
= Py_None
;
34546 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34547 PyObject
*resultobj
;
34548 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34550 PyObject
* obj0
= 0 ;
34551 PyObject
* obj1
= 0 ;
34552 char *kwnames
[] = {
34553 (char *) "self",(char *) "idx", NULL
34556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
34557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34559 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
34560 if (PyErr_Occurred()) SWIG_fail
;
34563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34564 (arg1
)->RemoveGrowableRow(arg2
);
34566 wxPyEndAllowThreads(__tstate
);
34567 if (PyErr_Occurred()) SWIG_fail
;
34569 Py_INCREF(Py_None
); resultobj
= Py_None
;
34576 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34577 PyObject
*resultobj
;
34578 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34580 int arg3
= (int) 0 ;
34581 PyObject
* obj0
= 0 ;
34582 PyObject
* obj1
= 0 ;
34583 PyObject
* obj2
= 0 ;
34584 char *kwnames
[] = {
34585 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34591 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
34592 if (PyErr_Occurred()) SWIG_fail
;
34596 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
34597 if (PyErr_Occurred()) SWIG_fail
;
34601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34602 (arg1
)->AddGrowableCol(arg2
,arg3
);
34604 wxPyEndAllowThreads(__tstate
);
34605 if (PyErr_Occurred()) SWIG_fail
;
34607 Py_INCREF(Py_None
); resultobj
= Py_None
;
34614 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34615 PyObject
*resultobj
;
34616 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34618 PyObject
* obj0
= 0 ;
34619 PyObject
* obj1
= 0 ;
34620 char *kwnames
[] = {
34621 (char *) "self",(char *) "idx", NULL
34624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
34625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34627 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
34628 if (PyErr_Occurred()) SWIG_fail
;
34631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34632 (arg1
)->RemoveGrowableCol(arg2
);
34634 wxPyEndAllowThreads(__tstate
);
34635 if (PyErr_Occurred()) SWIG_fail
;
34637 Py_INCREF(Py_None
); resultobj
= Py_None
;
34644 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34645 PyObject
*resultobj
;
34646 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34648 PyObject
* obj0
= 0 ;
34649 PyObject
* obj1
= 0 ;
34650 char *kwnames
[] = {
34651 (char *) "self",(char *) "direction", NULL
34654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
34655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34657 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34658 if (PyErr_Occurred()) SWIG_fail
;
34661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34662 (arg1
)->SetFlexibleDirection(arg2
);
34664 wxPyEndAllowThreads(__tstate
);
34665 if (PyErr_Occurred()) SWIG_fail
;
34667 Py_INCREF(Py_None
); resultobj
= Py_None
;
34674 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34675 PyObject
*resultobj
;
34676 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34678 PyObject
* obj0
= 0 ;
34679 char *kwnames
[] = {
34680 (char *) "self", NULL
34683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
34684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34687 result
= (int)(arg1
)->GetFlexibleDirection();
34689 wxPyEndAllowThreads(__tstate
);
34690 if (PyErr_Occurred()) SWIG_fail
;
34692 resultobj
= SWIG_PyObj_FromInt((int)result
);
34699 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34700 PyObject
*resultobj
;
34701 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34703 PyObject
* obj0
= 0 ;
34704 PyObject
* obj1
= 0 ;
34705 char *kwnames
[] = {
34706 (char *) "self",(char *) "mode", NULL
34709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
34710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34712 arg2
= (wxFlexSizerGrowMode
) SWIG_PyObj_AsInt(obj1
);
34713 if (PyErr_Occurred()) SWIG_fail
;
34716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34717 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
34719 wxPyEndAllowThreads(__tstate
);
34720 if (PyErr_Occurred()) SWIG_fail
;
34722 Py_INCREF(Py_None
); resultobj
= Py_None
;
34729 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34730 PyObject
*resultobj
;
34731 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34733 PyObject
* obj0
= 0 ;
34734 char *kwnames
[] = {
34735 (char *) "self", NULL
34738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
34739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34742 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
34744 wxPyEndAllowThreads(__tstate
);
34745 if (PyErr_Occurred()) SWIG_fail
;
34747 resultobj
= SWIG_PyObj_FromInt((int)result
);
34754 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34755 PyObject
*resultobj
;
34756 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34757 wxArrayInt
*result
;
34758 PyObject
* obj0
= 0 ;
34759 char *kwnames
[] = {
34760 (char *) "self", NULL
34763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
34764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34768 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
34769 result
= (wxArrayInt
*) &_result_ref
;
34772 wxPyEndAllowThreads(__tstate
);
34773 if (PyErr_Occurred()) SWIG_fail
;
34776 resultobj
= PyList_New(0);
34778 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
34779 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
34780 PyList_Append(resultobj
, val
);
34790 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34791 PyObject
*resultobj
;
34792 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34793 wxArrayInt
*result
;
34794 PyObject
* obj0
= 0 ;
34795 char *kwnames
[] = {
34796 (char *) "self", NULL
34799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
34800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34804 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
34805 result
= (wxArrayInt
*) &_result_ref
;
34808 wxPyEndAllowThreads(__tstate
);
34809 if (PyErr_Occurred()) SWIG_fail
;
34812 resultobj
= PyList_New(0);
34814 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
34815 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
34816 PyList_Append(resultobj
, val
);
34826 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34829 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
34831 return Py_BuildValue((char *)"");
34833 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34834 PyObject
*resultobj
;
34835 int arg1
= (int) 0 ;
34836 int arg2
= (int) 0 ;
34837 wxGBPosition
*result
;
34838 PyObject
* obj0
= 0 ;
34839 PyObject
* obj1
= 0 ;
34840 char *kwnames
[] = {
34841 (char *) "row",(char *) "col", NULL
34844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34847 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
34848 if (PyErr_Occurred()) SWIG_fail
;
34853 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34854 if (PyErr_Occurred()) SWIG_fail
;
34858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34859 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
34861 wxPyEndAllowThreads(__tstate
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34864 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
34871 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34872 PyObject
*resultobj
;
34873 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
34875 PyObject
* obj0
= 0 ;
34876 char *kwnames
[] = {
34877 (char *) "self", NULL
34880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
34881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34884 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
34886 wxPyEndAllowThreads(__tstate
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34889 resultobj
= SWIG_PyObj_FromInt((int)result
);
34896 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34897 PyObject
*resultobj
;
34898 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
34900 PyObject
* obj0
= 0 ;
34901 char *kwnames
[] = {
34902 (char *) "self", NULL
34905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
34906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34909 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
34911 wxPyEndAllowThreads(__tstate
);
34912 if (PyErr_Occurred()) SWIG_fail
;
34914 resultobj
= SWIG_PyObj_FromInt((int)result
);
34921 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34922 PyObject
*resultobj
;
34923 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
34925 PyObject
* obj0
= 0 ;
34926 PyObject
* obj1
= 0 ;
34927 char *kwnames
[] = {
34928 (char *) "self",(char *) "row", NULL
34931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
34932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34934 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34935 if (PyErr_Occurred()) SWIG_fail
;
34938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34939 (arg1
)->SetRow(arg2
);
34941 wxPyEndAllowThreads(__tstate
);
34942 if (PyErr_Occurred()) SWIG_fail
;
34944 Py_INCREF(Py_None
); resultobj
= Py_None
;
34951 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34952 PyObject
*resultobj
;
34953 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
34955 PyObject
* obj0
= 0 ;
34956 PyObject
* obj1
= 0 ;
34957 char *kwnames
[] = {
34958 (char *) "self",(char *) "col", NULL
34961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
34962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34964 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34969 (arg1
)->SetCol(arg2
);
34971 wxPyEndAllowThreads(__tstate
);
34972 if (PyErr_Occurred()) SWIG_fail
;
34974 Py_INCREF(Py_None
); resultobj
= Py_None
;
34981 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34982 PyObject
*resultobj
;
34983 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
34984 wxGBPosition
*arg2
= 0 ;
34986 wxGBPosition temp2
;
34987 PyObject
* obj0
= 0 ;
34988 PyObject
* obj1
= 0 ;
34989 char *kwnames
[] = {
34990 (char *) "self",(char *) "p", NULL
34993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
34994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34997 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35001 result
= (bool)((wxGBPosition
const *)arg1
)->operator ==((wxGBPosition
const &)*arg2
);
35003 wxPyEndAllowThreads(__tstate
);
35004 if (PyErr_Occurred()) SWIG_fail
;
35006 resultobj
= SWIG_PyObj_FromBool((bool)result
);
35013 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35014 PyObject
*resultobj
;
35015 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35016 wxGBPosition
*arg2
= 0 ;
35018 wxGBPosition temp2
;
35019 PyObject
* obj0
= 0 ;
35020 PyObject
* obj1
= 0 ;
35021 char *kwnames
[] = {
35022 (char *) "self",(char *) "p", NULL
35025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35029 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35033 result
= (bool)((wxGBPosition
const *)arg1
)->operator !=((wxGBPosition
const &)*arg2
);
35035 wxPyEndAllowThreads(__tstate
);
35036 if (PyErr_Occurred()) SWIG_fail
;
35038 resultobj
= SWIG_PyObj_FromBool((bool)result
);
35045 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35046 PyObject
*resultobj
;
35047 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35048 int arg2
= (int) 0 ;
35049 int arg3
= (int) 0 ;
35050 PyObject
* obj0
= 0 ;
35051 PyObject
* obj1
= 0 ;
35052 PyObject
* obj2
= 0 ;
35053 char *kwnames
[] = {
35054 (char *) "self",(char *) "row",(char *) "col", NULL
35057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35061 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35062 if (PyErr_Occurred()) SWIG_fail
;
35067 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
35068 if (PyErr_Occurred()) SWIG_fail
;
35072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35073 wxGBPosition_Set(arg1
,arg2
,arg3
);
35075 wxPyEndAllowThreads(__tstate
);
35076 if (PyErr_Occurred()) SWIG_fail
;
35078 Py_INCREF(Py_None
); resultobj
= Py_None
;
35085 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35086 PyObject
*resultobj
;
35087 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35089 PyObject
* obj0
= 0 ;
35090 char *kwnames
[] = {
35091 (char *) "self", NULL
35094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
35095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35098 result
= (PyObject
*)wxGBPosition_Get(arg1
);
35100 wxPyEndAllowThreads(__tstate
);
35101 if (PyErr_Occurred()) SWIG_fail
;
35103 resultobj
= result
;
35110 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
35112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35113 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
35115 return Py_BuildValue((char *)"");
35117 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35118 PyObject
*resultobj
;
35119 int arg1
= (int) 1 ;
35120 int arg2
= (int) 1 ;
35122 PyObject
* obj0
= 0 ;
35123 PyObject
* obj1
= 0 ;
35124 char *kwnames
[] = {
35125 (char *) "rowspan",(char *) "colspan", NULL
35128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35131 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
35132 if (PyErr_Occurred()) SWIG_fail
;
35137 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35138 if (PyErr_Occurred()) SWIG_fail
;
35142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35143 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
35145 wxPyEndAllowThreads(__tstate
);
35146 if (PyErr_Occurred()) SWIG_fail
;
35148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
35155 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35156 PyObject
*resultobj
;
35157 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35159 PyObject
* obj0
= 0 ;
35160 char *kwnames
[] = {
35161 (char *) "self", NULL
35164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
35165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35168 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
35170 wxPyEndAllowThreads(__tstate
);
35171 if (PyErr_Occurred()) SWIG_fail
;
35173 resultobj
= SWIG_PyObj_FromInt((int)result
);
35180 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35181 PyObject
*resultobj
;
35182 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35184 PyObject
* obj0
= 0 ;
35185 char *kwnames
[] = {
35186 (char *) "self", NULL
35189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
35190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35193 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35198 resultobj
= SWIG_PyObj_FromInt((int)result
);
35205 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35206 PyObject
*resultobj
;
35207 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35209 PyObject
* obj0
= 0 ;
35210 PyObject
* obj1
= 0 ;
35211 char *kwnames
[] = {
35212 (char *) "self",(char *) "rowspan", NULL
35215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35218 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35219 if (PyErr_Occurred()) SWIG_fail
;
35222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35223 (arg1
)->SetRowspan(arg2
);
35225 wxPyEndAllowThreads(__tstate
);
35226 if (PyErr_Occurred()) SWIG_fail
;
35228 Py_INCREF(Py_None
); resultobj
= Py_None
;
35235 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35236 PyObject
*resultobj
;
35237 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35239 PyObject
* obj0
= 0 ;
35240 PyObject
* obj1
= 0 ;
35241 char *kwnames
[] = {
35242 (char *) "self",(char *) "colspan", NULL
35245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35248 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35249 if (PyErr_Occurred()) SWIG_fail
;
35252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35253 (arg1
)->SetColspan(arg2
);
35255 wxPyEndAllowThreads(__tstate
);
35256 if (PyErr_Occurred()) SWIG_fail
;
35258 Py_INCREF(Py_None
); resultobj
= Py_None
;
35265 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35266 PyObject
*resultobj
;
35267 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35268 wxGBSpan
*arg2
= 0 ;
35271 PyObject
* obj0
= 0 ;
35272 PyObject
* obj1
= 0 ;
35273 char *kwnames
[] = {
35274 (char *) "self",(char *) "o", NULL
35277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35281 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
35284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35285 result
= (bool)((wxGBSpan
const *)arg1
)->operator ==((wxGBSpan
const &)*arg2
);
35287 wxPyEndAllowThreads(__tstate
);
35288 if (PyErr_Occurred()) SWIG_fail
;
35290 resultobj
= SWIG_PyObj_FromBool((bool)result
);
35297 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35298 PyObject
*resultobj
;
35299 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35300 wxGBSpan
*arg2
= 0 ;
35303 PyObject
* obj0
= 0 ;
35304 PyObject
* obj1
= 0 ;
35305 char *kwnames
[] = {
35306 (char *) "self",(char *) "o", NULL
35309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35313 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
35316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35317 result
= (bool)((wxGBSpan
const *)arg1
)->operator !=((wxGBSpan
const &)*arg2
);
35319 wxPyEndAllowThreads(__tstate
);
35320 if (PyErr_Occurred()) SWIG_fail
;
35322 resultobj
= SWIG_PyObj_FromBool((bool)result
);
35329 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35330 PyObject
*resultobj
;
35331 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35332 int arg2
= (int) 1 ;
35333 int arg3
= (int) 1 ;
35334 PyObject
* obj0
= 0 ;
35335 PyObject
* obj1
= 0 ;
35336 PyObject
* obj2
= 0 ;
35337 char *kwnames
[] = {
35338 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
35341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35345 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35346 if (PyErr_Occurred()) SWIG_fail
;
35351 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
35352 if (PyErr_Occurred()) SWIG_fail
;
35356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35357 wxGBSpan_Set(arg1
,arg2
,arg3
);
35359 wxPyEndAllowThreads(__tstate
);
35360 if (PyErr_Occurred()) SWIG_fail
;
35362 Py_INCREF(Py_None
); resultobj
= Py_None
;
35369 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35370 PyObject
*resultobj
;
35371 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35373 PyObject
* obj0
= 0 ;
35374 char *kwnames
[] = {
35375 (char *) "self", NULL
35378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
35379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35382 result
= (PyObject
*)wxGBSpan_Get(arg1
);
35384 wxPyEndAllowThreads(__tstate
);
35385 if (PyErr_Occurred()) SWIG_fail
;
35387 resultobj
= result
;
35394 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
35396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35397 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
35399 return Py_BuildValue((char *)"");
35401 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
35402 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
35407 static PyObject
*_wrap_DefaultSpan_get() {
35410 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
35415 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35416 PyObject
*resultobj
;
35417 wxGBSizerItem
*result
;
35418 char *kwnames
[] = {
35422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
35424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35425 result
= (wxGBSizerItem
*)new wxGBSizerItem();
35427 wxPyEndAllowThreads(__tstate
);
35428 if (PyErr_Occurred()) SWIG_fail
;
35430 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35437 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35438 PyObject
*resultobj
;
35439 wxWindow
*arg1
= (wxWindow
*) 0 ;
35440 wxGBPosition
*arg2
= 0 ;
35441 wxGBSpan
*arg3
= 0 ;
35444 wxObject
*arg6
= (wxObject
*) 0 ;
35445 wxGBSizerItem
*result
;
35446 wxGBPosition temp2
;
35448 PyObject
* obj0
= 0 ;
35449 PyObject
* obj1
= 0 ;
35450 PyObject
* obj2
= 0 ;
35451 PyObject
* obj3
= 0 ;
35452 PyObject
* obj4
= 0 ;
35453 PyObject
* obj5
= 0 ;
35454 char *kwnames
[] = {
35455 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35462 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35466 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35469 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
35470 if (PyErr_Occurred()) SWIG_fail
;
35473 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
35474 if (PyErr_Occurred()) SWIG_fail
;
35476 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35479 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
35481 wxPyEndAllowThreads(__tstate
);
35482 if (PyErr_Occurred()) SWIG_fail
;
35484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35491 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35492 PyObject
*resultobj
;
35493 wxSizer
*arg1
= (wxSizer
*) 0 ;
35494 wxGBPosition
*arg2
= 0 ;
35495 wxGBSpan
*arg3
= 0 ;
35498 wxObject
*arg6
= (wxObject
*) 0 ;
35499 wxGBSizerItem
*result
;
35500 wxGBPosition temp2
;
35502 PyObject
* obj0
= 0 ;
35503 PyObject
* obj1
= 0 ;
35504 PyObject
* obj2
= 0 ;
35505 PyObject
* obj3
= 0 ;
35506 PyObject
* obj4
= 0 ;
35507 PyObject
* obj5
= 0 ;
35508 char *kwnames
[] = {
35509 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35516 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35520 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35523 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
35524 if (PyErr_Occurred()) SWIG_fail
;
35527 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
35528 if (PyErr_Occurred()) SWIG_fail
;
35530 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35533 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
35535 wxPyEndAllowThreads(__tstate
);
35536 if (PyErr_Occurred()) SWIG_fail
;
35538 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35545 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35546 PyObject
*resultobj
;
35549 wxGBPosition
*arg3
= 0 ;
35550 wxGBSpan
*arg4
= 0 ;
35553 wxObject
*arg7
= (wxObject
*) 0 ;
35554 wxGBSizerItem
*result
;
35555 wxGBPosition temp3
;
35557 PyObject
* obj0
= 0 ;
35558 PyObject
* obj1
= 0 ;
35559 PyObject
* obj2
= 0 ;
35560 PyObject
* obj3
= 0 ;
35561 PyObject
* obj4
= 0 ;
35562 PyObject
* obj5
= 0 ;
35563 PyObject
* obj6
= 0 ;
35564 char *kwnames
[] = {
35565 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35570 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
35571 if (PyErr_Occurred()) SWIG_fail
;
35574 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35575 if (PyErr_Occurred()) SWIG_fail
;
35579 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
35583 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
35586 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
35587 if (PyErr_Occurred()) SWIG_fail
;
35590 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
35591 if (PyErr_Occurred()) SWIG_fail
;
35593 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35596 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
35598 wxPyEndAllowThreads(__tstate
);
35599 if (PyErr_Occurred()) SWIG_fail
;
35601 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
35608 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35609 PyObject
*resultobj
;
35610 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35611 wxGBPosition result
;
35612 PyObject
* obj0
= 0 ;
35613 char *kwnames
[] = {
35614 (char *) "self", NULL
35617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
35618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35621 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
35623 wxPyEndAllowThreads(__tstate
);
35624 if (PyErr_Occurred()) SWIG_fail
;
35627 wxGBPosition
* resultptr
;
35628 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
35629 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
35637 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35638 PyObject
*resultobj
;
35639 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35641 PyObject
* obj0
= 0 ;
35642 char *kwnames
[] = {
35643 (char *) "self", NULL
35646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
35647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35650 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
35652 wxPyEndAllowThreads(__tstate
);
35653 if (PyErr_Occurred()) SWIG_fail
;
35656 wxGBSpan
* resultptr
;
35657 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
35658 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
35666 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35667 PyObject
*resultobj
;
35668 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35669 wxGBPosition
*arg2
= 0 ;
35671 wxGBPosition temp2
;
35672 PyObject
* obj0
= 0 ;
35673 PyObject
* obj1
= 0 ;
35674 char *kwnames
[] = {
35675 (char *) "self",(char *) "pos", NULL
35678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
35679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35682 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35686 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
35688 wxPyEndAllowThreads(__tstate
);
35689 if (PyErr_Occurred()) SWIG_fail
;
35691 resultobj
= SWIG_PyObj_FromBool((bool)result
);
35698 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35699 PyObject
*resultobj
;
35700 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35701 wxGBSpan
*arg2
= 0 ;
35704 PyObject
* obj0
= 0 ;
35705 PyObject
* obj1
= 0 ;
35706 char *kwnames
[] = {
35707 (char *) "self",(char *) "span", NULL
35710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35714 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
35717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35718 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
35720 wxPyEndAllowThreads(__tstate
);
35721 if (PyErr_Occurred()) SWIG_fail
;
35723 resultobj
= SWIG_PyObj_FromBool((bool)result
);
35730 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
35731 PyObject
*resultobj
;
35732 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35733 wxGBSizerItem
*arg2
= 0 ;
35735 PyObject
* obj0
= 0 ;
35736 PyObject
* obj1
= 0 ;
35738 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
35739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35740 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35741 if (arg2
== NULL
) {
35742 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
35745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35746 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
35748 wxPyEndAllowThreads(__tstate
);
35749 if (PyErr_Occurred()) SWIG_fail
;
35751 resultobj
= SWIG_PyObj_FromBool((bool)result
);
35758 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
35759 PyObject
*resultobj
;
35760 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35761 wxGBPosition
*arg2
= 0 ;
35762 wxGBSpan
*arg3
= 0 ;
35764 wxGBPosition temp2
;
35766 PyObject
* obj0
= 0 ;
35767 PyObject
* obj1
= 0 ;
35768 PyObject
* obj2
= 0 ;
35770 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
35771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35774 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35778 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35782 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
35784 wxPyEndAllowThreads(__tstate
);
35785 if (PyErr_Occurred()) SWIG_fail
;
35787 resultobj
= SWIG_PyObj_FromBool((bool)result
);
35794 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
35799 argc
= PyObject_Length(args
);
35800 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
35801 argv
[ii
] = PyTuple_GetItem(args
,ii
);
35807 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
35817 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
35825 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
35833 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
35842 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
35846 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
35849 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
35855 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
35860 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35861 PyObject
*resultobj
;
35862 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35865 PyObject
* obj0
= 0 ;
35866 PyObject
* obj1
= 0 ;
35867 PyObject
* obj2
= 0 ;
35868 char *kwnames
[] = {
35869 (char *) "self",(char *) "row",(char *) "col", NULL
35872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35874 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35875 if (arg2
== NULL
) {
35876 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
35878 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35879 if (arg3
== NULL
) {
35880 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
35883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35884 (arg1
)->GetEndPos(*arg2
,*arg3
);
35886 wxPyEndAllowThreads(__tstate
);
35887 if (PyErr_Occurred()) SWIG_fail
;
35889 Py_INCREF(Py_None
); resultobj
= Py_None
;
35896 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35897 PyObject
*resultobj
;
35898 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35899 wxGridBagSizer
*result
;
35900 PyObject
* obj0
= 0 ;
35901 char *kwnames
[] = {
35902 (char *) "self", NULL
35905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
35906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35909 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
35911 wxPyEndAllowThreads(__tstate
);
35912 if (PyErr_Occurred()) SWIG_fail
;
35914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
35921 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35922 PyObject
*resultobj
;
35923 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35924 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
35925 PyObject
* obj0
= 0 ;
35926 PyObject
* obj1
= 0 ;
35927 char *kwnames
[] = {
35928 (char *) "self",(char *) "sizer", NULL
35931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35933 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35936 (arg1
)->SetGBSizer(arg2
);
35938 wxPyEndAllowThreads(__tstate
);
35939 if (PyErr_Occurred()) SWIG_fail
;
35941 Py_INCREF(Py_None
); resultobj
= Py_None
;
35948 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
35950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35951 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
35953 return Py_BuildValue((char *)"");
35955 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35956 PyObject
*resultobj
;
35957 int arg1
= (int) 0 ;
35958 int arg2
= (int) 0 ;
35959 wxGridBagSizer
*result
;
35960 PyObject
* obj0
= 0 ;
35961 PyObject
* obj1
= 0 ;
35962 char *kwnames
[] = {
35963 (char *) "vgap",(char *) "hgap", NULL
35966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35969 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
35970 if (PyErr_Occurred()) SWIG_fail
;
35975 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
35976 if (PyErr_Occurred()) SWIG_fail
;
35980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35981 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
35983 wxPyEndAllowThreads(__tstate
);
35984 if (PyErr_Occurred()) SWIG_fail
;
35986 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
35993 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35994 PyObject
*resultobj
;
35995 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
35996 PyObject
*arg2
= (PyObject
*) 0 ;
35997 wxGBPosition
*arg3
= 0 ;
35998 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
35999 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
36000 int arg5
= (int) 0 ;
36001 int arg6
= (int) 0 ;
36002 PyObject
*arg7
= (PyObject
*) NULL
;
36004 wxGBPosition temp3
;
36006 PyObject
* obj0
= 0 ;
36007 PyObject
* obj1
= 0 ;
36008 PyObject
* obj2
= 0 ;
36009 PyObject
* obj3
= 0 ;
36010 PyObject
* obj4
= 0 ;
36011 PyObject
* obj5
= 0 ;
36012 PyObject
* obj6
= 0 ;
36013 char *kwnames
[] = {
36014 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36022 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36027 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36032 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
36033 if (PyErr_Occurred()) SWIG_fail
;
36038 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
36039 if (PyErr_Occurred()) SWIG_fail
;
36046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36047 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36049 wxPyEndAllowThreads(__tstate
);
36050 if (PyErr_Occurred()) SWIG_fail
;
36052 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36059 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36060 PyObject
*resultobj
;
36061 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36062 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
36064 PyObject
* obj0
= 0 ;
36065 PyObject
* obj1
= 0 ;
36066 char *kwnames
[] = {
36067 (char *) "self",(char *) "item", NULL
36070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36072 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36075 result
= (bool)(arg1
)->Add(arg2
);
36077 wxPyEndAllowThreads(__tstate
);
36078 if (PyErr_Occurred()) SWIG_fail
;
36080 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36087 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36088 PyObject
*resultobj
;
36089 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36091 PyObject
* obj0
= 0 ;
36092 char *kwnames
[] = {
36093 (char *) "self", NULL
36096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
36097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36100 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
36102 wxPyEndAllowThreads(__tstate
);
36103 if (PyErr_Occurred()) SWIG_fail
;
36106 wxSize
* resultptr
;
36107 resultptr
= new wxSize((wxSize
&) result
);
36108 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
36116 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36117 PyObject
*resultobj
;
36118 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36121 PyObject
* obj0
= 0 ;
36122 PyObject
* obj1
= 0 ;
36123 char *kwnames
[] = {
36124 (char *) "self",(char *) "sz", NULL
36127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36131 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36135 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
36137 wxPyEndAllowThreads(__tstate
);
36138 if (PyErr_Occurred()) SWIG_fail
;
36140 Py_INCREF(Py_None
); resultobj
= Py_None
;
36147 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
36148 PyObject
*resultobj
;
36149 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36150 wxWindow
*arg2
= (wxWindow
*) 0 ;
36151 wxGBPosition result
;
36152 PyObject
* obj0
= 0 ;
36153 PyObject
* obj1
= 0 ;
36155 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36157 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36160 result
= (arg1
)->GetItemPosition(arg2
);
36162 wxPyEndAllowThreads(__tstate
);
36163 if (PyErr_Occurred()) SWIG_fail
;
36166 wxGBPosition
* resultptr
;
36167 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36168 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36176 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
36177 PyObject
*resultobj
;
36178 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36179 wxSizer
*arg2
= (wxSizer
*) 0 ;
36180 wxGBPosition result
;
36181 PyObject
* obj0
= 0 ;
36182 PyObject
* obj1
= 0 ;
36184 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36186 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36189 result
= (arg1
)->GetItemPosition(arg2
);
36191 wxPyEndAllowThreads(__tstate
);
36192 if (PyErr_Occurred()) SWIG_fail
;
36195 wxGBPosition
* resultptr
;
36196 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36197 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36205 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
36206 PyObject
*resultobj
;
36207 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36209 wxGBPosition result
;
36210 PyObject
* obj0
= 0 ;
36211 PyObject
* obj1
= 0 ;
36213 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36216 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36217 if (PyErr_Occurred()) SWIG_fail
;
36220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36221 result
= (arg1
)->GetItemPosition(arg2
);
36223 wxPyEndAllowThreads(__tstate
);
36224 if (PyErr_Occurred()) SWIG_fail
;
36227 wxGBPosition
* resultptr
;
36228 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36229 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
36237 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
36242 argc
= PyObject_Length(args
);
36243 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36244 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36250 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36260 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36268 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
36276 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36286 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36294 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
36302 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36311 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36312 if (PyErr_Occurred()) {
36320 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
36325 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
36330 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
36331 PyObject
*resultobj
;
36332 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36333 wxWindow
*arg2
= (wxWindow
*) 0 ;
36334 wxGBPosition
*arg3
= 0 ;
36336 wxGBPosition temp3
;
36337 PyObject
* obj0
= 0 ;
36338 PyObject
* obj1
= 0 ;
36339 PyObject
* obj2
= 0 ;
36341 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36343 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36346 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36350 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36352 wxPyEndAllowThreads(__tstate
);
36353 if (PyErr_Occurred()) SWIG_fail
;
36355 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36362 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
36363 PyObject
*resultobj
;
36364 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36365 wxSizer
*arg2
= (wxSizer
*) 0 ;
36366 wxGBPosition
*arg3
= 0 ;
36368 wxGBPosition temp3
;
36369 PyObject
* obj0
= 0 ;
36370 PyObject
* obj1
= 0 ;
36371 PyObject
* obj2
= 0 ;
36373 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36375 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36378 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36382 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36384 wxPyEndAllowThreads(__tstate
);
36385 if (PyErr_Occurred()) SWIG_fail
;
36387 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36394 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
36395 PyObject
*resultobj
;
36396 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36398 wxGBPosition
*arg3
= 0 ;
36400 wxGBPosition temp3
;
36401 PyObject
* obj0
= 0 ;
36402 PyObject
* obj1
= 0 ;
36403 PyObject
* obj2
= 0 ;
36405 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36408 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36409 if (PyErr_Occurred()) SWIG_fail
;
36413 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36417 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36419 wxPyEndAllowThreads(__tstate
);
36420 if (PyErr_Occurred()) SWIG_fail
;
36422 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36429 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
36434 argc
= PyObject_Length(args
);
36435 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36436 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36442 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36452 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36461 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36464 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
36473 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36483 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36492 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36495 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
36504 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36513 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36514 if (PyErr_Occurred()) {
36523 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36526 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
36532 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
36537 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
36538 PyObject
*resultobj
;
36539 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36540 wxWindow
*arg2
= (wxWindow
*) 0 ;
36542 PyObject
* obj0
= 0 ;
36543 PyObject
* obj1
= 0 ;
36545 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36547 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36550 result
= (arg1
)->GetItemSpan(arg2
);
36552 wxPyEndAllowThreads(__tstate
);
36553 if (PyErr_Occurred()) SWIG_fail
;
36556 wxGBSpan
* resultptr
;
36557 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36558 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
36566 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
36567 PyObject
*resultobj
;
36568 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36569 wxSizer
*arg2
= (wxSizer
*) 0 ;
36571 PyObject
* obj0
= 0 ;
36572 PyObject
* obj1
= 0 ;
36574 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36576 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36579 result
= (arg1
)->GetItemSpan(arg2
);
36581 wxPyEndAllowThreads(__tstate
);
36582 if (PyErr_Occurred()) SWIG_fail
;
36585 wxGBSpan
* resultptr
;
36586 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36587 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
36595 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
36596 PyObject
*resultobj
;
36597 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36600 PyObject
* obj0
= 0 ;
36601 PyObject
* obj1
= 0 ;
36603 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36606 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36607 if (PyErr_Occurred()) SWIG_fail
;
36610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36611 result
= (arg1
)->GetItemSpan(arg2
);
36613 wxPyEndAllowThreads(__tstate
);
36614 if (PyErr_Occurred()) SWIG_fail
;
36617 wxGBSpan
* resultptr
;
36618 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36619 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
36627 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
36632 argc
= PyObject_Length(args
);
36633 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36634 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36640 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36650 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36658 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
36666 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36676 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36684 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
36692 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36701 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36702 if (PyErr_Occurred()) {
36710 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
36715 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
36720 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
36721 PyObject
*resultobj
;
36722 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36723 wxWindow
*arg2
= (wxWindow
*) 0 ;
36724 wxGBSpan
*arg3
= 0 ;
36727 PyObject
* obj0
= 0 ;
36728 PyObject
* obj1
= 0 ;
36729 PyObject
* obj2
= 0 ;
36731 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
36732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36733 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36736 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36740 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
36742 wxPyEndAllowThreads(__tstate
);
36743 if (PyErr_Occurred()) SWIG_fail
;
36745 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36752 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
36753 PyObject
*resultobj
;
36754 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36755 wxSizer
*arg2
= (wxSizer
*) 0 ;
36756 wxGBSpan
*arg3
= 0 ;
36759 PyObject
* obj0
= 0 ;
36760 PyObject
* obj1
= 0 ;
36761 PyObject
* obj2
= 0 ;
36763 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
36764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36765 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36768 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36772 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
36774 wxPyEndAllowThreads(__tstate
);
36775 if (PyErr_Occurred()) SWIG_fail
;
36777 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36784 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
36785 PyObject
*resultobj
;
36786 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36788 wxGBSpan
*arg3
= 0 ;
36791 PyObject
* obj0
= 0 ;
36792 PyObject
* obj1
= 0 ;
36793 PyObject
* obj2
= 0 ;
36795 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
36796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36798 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
36799 if (PyErr_Occurred()) SWIG_fail
;
36803 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36807 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
36809 wxPyEndAllowThreads(__tstate
);
36810 if (PyErr_Occurred()) SWIG_fail
;
36812 resultobj
= SWIG_PyObj_FromBool((bool)result
);
36819 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
36824 argc
= PyObject_Length(args
);
36825 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36826 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36832 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36842 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36851 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36854 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
36863 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36873 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36882 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36885 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
36894 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36903 SWIG_PyObj_AsUnsignedLong(argv
[1]);
36904 if (PyErr_Occurred()) {
36913 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36916 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
36922 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
36927 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
36928 PyObject
*resultobj
;
36929 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36930 wxWindow
*arg2
= (wxWindow
*) 0 ;
36931 wxGBSizerItem
*result
;
36932 PyObject
* obj0
= 0 ;
36933 PyObject
* obj1
= 0 ;
36935 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
36936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36940 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
36942 wxPyEndAllowThreads(__tstate
);
36943 if (PyErr_Occurred()) SWIG_fail
;
36945 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
36952 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
36953 PyObject
*resultobj
;
36954 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36955 wxSizer
*arg2
= (wxSizer
*) 0 ;
36956 wxGBSizerItem
*result
;
36957 PyObject
* obj0
= 0 ;
36958 PyObject
* obj1
= 0 ;
36960 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
36961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36962 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
36964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36965 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
36967 wxPyEndAllowThreads(__tstate
);
36968 if (PyErr_Occurred()) SWIG_fail
;
36970 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
36977 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
36982 argc
= PyObject_Length(args
);
36983 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36984 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36990 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37000 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37008 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
37016 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37026 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37034 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
37039 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
37044 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37045 PyObject
*resultobj
;
37046 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37047 wxGBPosition
*arg2
= 0 ;
37048 wxGBSizerItem
*result
;
37049 wxGBPosition temp2
;
37050 PyObject
* obj0
= 0 ;
37051 PyObject
* obj1
= 0 ;
37052 char *kwnames
[] = {
37053 (char *) "self",(char *) "pos", NULL
37056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37060 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37064 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
37066 wxPyEndAllowThreads(__tstate
);
37067 if (PyErr_Occurred()) SWIG_fail
;
37069 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37076 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37077 PyObject
*resultobj
;
37078 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37079 wxPoint
*arg2
= 0 ;
37080 wxGBSizerItem
*result
;
37082 PyObject
* obj0
= 0 ;
37083 PyObject
* obj1
= 0 ;
37084 char *kwnames
[] = {
37085 (char *) "self",(char *) "pt", NULL
37088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
37089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37092 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37096 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
37098 wxPyEndAllowThreads(__tstate
);
37099 if (PyErr_Occurred()) SWIG_fail
;
37101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37108 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37109 PyObject
*resultobj
;
37110 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37111 wxObject
*arg2
= (wxObject
*) 0 ;
37112 wxGBSizerItem
*result
;
37113 PyObject
* obj0
= 0 ;
37114 PyObject
* obj1
= 0 ;
37115 char *kwnames
[] = {
37116 (char *) "self",(char *) "userData", NULL
37119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
37120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37121 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37124 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
37126 wxPyEndAllowThreads(__tstate
);
37127 if (PyErr_Occurred()) SWIG_fail
;
37129 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
37136 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37137 PyObject
*resultobj
;
37138 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37139 PyObject
* obj0
= 0 ;
37140 char *kwnames
[] = {
37141 (char *) "self", NULL
37144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
37145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37148 (arg1
)->RecalcSizes();
37150 wxPyEndAllowThreads(__tstate
);
37151 if (PyErr_Occurred()) SWIG_fail
;
37153 Py_INCREF(Py_None
); resultobj
= Py_None
;
37160 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37161 PyObject
*resultobj
;
37162 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37164 PyObject
* obj0
= 0 ;
37165 char *kwnames
[] = {
37166 (char *) "self", NULL
37169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
37170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37173 result
= (arg1
)->CalcMin();
37175 wxPyEndAllowThreads(__tstate
);
37176 if (PyErr_Occurred()) SWIG_fail
;
37179 wxSize
* resultptr
;
37180 resultptr
= new wxSize((wxSize
&) result
);
37181 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
37189 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
37190 PyObject
*resultobj
;
37191 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37192 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37193 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
37195 PyObject
* obj0
= 0 ;
37196 PyObject
* obj1
= 0 ;
37197 PyObject
* obj2
= 0 ;
37199 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
37200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37201 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37203 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37207 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
37209 wxPyEndAllowThreads(__tstate
);
37210 if (PyErr_Occurred()) SWIG_fail
;
37212 resultobj
= SWIG_PyObj_FromBool((bool)result
);
37219 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
37220 PyObject
*resultobj
;
37221 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37222 wxGBPosition
*arg2
= 0 ;
37223 wxGBSpan
*arg3
= 0 ;
37224 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
37226 wxGBPosition temp2
;
37228 PyObject
* obj0
= 0 ;
37229 PyObject
* obj1
= 0 ;
37230 PyObject
* obj2
= 0 ;
37231 PyObject
* obj3
= 0 ;
37233 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37237 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37241 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37244 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37248 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
37250 wxPyEndAllowThreads(__tstate
);
37251 if (PyErr_Occurred()) SWIG_fail
;
37253 resultobj
= SWIG_PyObj_FromBool((bool)result
);
37260 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
37265 argc
= PyObject_Length(args
);
37266 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
37267 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37269 if ((argc
>= 2) && (argc
<= 3)) {
37273 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37283 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37292 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37296 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37304 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37309 if ((argc
>= 3) && (argc
<= 4)) {
37313 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37322 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37326 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37330 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37334 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37342 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37349 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
37354 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37357 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
37359 return Py_BuildValue((char *)"");
37361 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37362 PyObject
*resultobj
;
37363 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37365 wxWindow
*arg3
= (wxWindow
*) 0 ;
37367 int arg5
= (int) 0 ;
37368 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
37369 PyObject
* obj0
= 0 ;
37370 PyObject
* obj1
= 0 ;
37371 PyObject
* obj2
= 0 ;
37372 PyObject
* obj3
= 0 ;
37373 PyObject
* obj4
= 0 ;
37374 PyObject
* obj5
= 0 ;
37375 char *kwnames
[] = {
37376 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
37379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37382 arg2
= (wxRelationship
) SWIG_PyObj_AsInt(obj1
);
37383 if (PyErr_Occurred()) SWIG_fail
;
37385 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37387 arg4
= (wxEdge
) SWIG_PyObj_AsInt(obj3
);
37388 if (PyErr_Occurred()) SWIG_fail
;
37392 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
37393 if (PyErr_Occurred()) SWIG_fail
;
37398 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
37399 if (PyErr_Occurred()) SWIG_fail
;
37403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37404 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
37406 wxPyEndAllowThreads(__tstate
);
37407 if (PyErr_Occurred()) SWIG_fail
;
37409 Py_INCREF(Py_None
); resultobj
= Py_None
;
37416 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37417 PyObject
*resultobj
;
37418 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37419 wxWindow
*arg2
= (wxWindow
*) 0 ;
37420 int arg3
= (int) 0 ;
37421 PyObject
* obj0
= 0 ;
37422 PyObject
* obj1
= 0 ;
37423 PyObject
* obj2
= 0 ;
37424 char *kwnames
[] = {
37425 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37433 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37434 if (PyErr_Occurred()) SWIG_fail
;
37438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37439 (arg1
)->LeftOf(arg2
,arg3
);
37441 wxPyEndAllowThreads(__tstate
);
37442 if (PyErr_Occurred()) SWIG_fail
;
37444 Py_INCREF(Py_None
); resultobj
= Py_None
;
37451 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37452 PyObject
*resultobj
;
37453 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37454 wxWindow
*arg2
= (wxWindow
*) 0 ;
37455 int arg3
= (int) 0 ;
37456 PyObject
* obj0
= 0 ;
37457 PyObject
* obj1
= 0 ;
37458 PyObject
* obj2
= 0 ;
37459 char *kwnames
[] = {
37460 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37465 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37468 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37469 if (PyErr_Occurred()) SWIG_fail
;
37473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37474 (arg1
)->RightOf(arg2
,arg3
);
37476 wxPyEndAllowThreads(__tstate
);
37477 if (PyErr_Occurred()) SWIG_fail
;
37479 Py_INCREF(Py_None
); resultobj
= Py_None
;
37486 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37487 PyObject
*resultobj
;
37488 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37489 wxWindow
*arg2
= (wxWindow
*) 0 ;
37490 int arg3
= (int) 0 ;
37491 PyObject
* obj0
= 0 ;
37492 PyObject
* obj1
= 0 ;
37493 PyObject
* obj2
= 0 ;
37494 char *kwnames
[] = {
37495 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37500 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37503 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37504 if (PyErr_Occurred()) SWIG_fail
;
37508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37509 (arg1
)->Above(arg2
,arg3
);
37511 wxPyEndAllowThreads(__tstate
);
37512 if (PyErr_Occurred()) SWIG_fail
;
37514 Py_INCREF(Py_None
); resultobj
= Py_None
;
37521 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37522 PyObject
*resultobj
;
37523 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37524 wxWindow
*arg2
= (wxWindow
*) 0 ;
37525 int arg3
= (int) 0 ;
37526 PyObject
* obj0
= 0 ;
37527 PyObject
* obj1
= 0 ;
37528 PyObject
* obj2
= 0 ;
37529 char *kwnames
[] = {
37530 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37535 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37538 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
37539 if (PyErr_Occurred()) SWIG_fail
;
37543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37544 (arg1
)->Below(arg2
,arg3
);
37546 wxPyEndAllowThreads(__tstate
);
37547 if (PyErr_Occurred()) SWIG_fail
;
37549 Py_INCREF(Py_None
); resultobj
= Py_None
;
37556 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37557 PyObject
*resultobj
;
37558 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37559 wxWindow
*arg2
= (wxWindow
*) 0 ;
37561 int arg4
= (int) 0 ;
37562 PyObject
* obj0
= 0 ;
37563 PyObject
* obj1
= 0 ;
37564 PyObject
* obj2
= 0 ;
37565 PyObject
* obj3
= 0 ;
37566 char *kwnames
[] = {
37567 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
37570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37572 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37574 arg3
= (wxEdge
) SWIG_PyObj_AsInt(obj2
);
37575 if (PyErr_Occurred()) SWIG_fail
;
37579 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
37580 if (PyErr_Occurred()) SWIG_fail
;
37584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37585 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
37587 wxPyEndAllowThreads(__tstate
);
37588 if (PyErr_Occurred()) SWIG_fail
;
37590 Py_INCREF(Py_None
); resultobj
= Py_None
;
37597 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37598 PyObject
*resultobj
;
37599 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37600 wxWindow
*arg2
= (wxWindow
*) 0 ;
37603 PyObject
* obj0
= 0 ;
37604 PyObject
* obj1
= 0 ;
37605 PyObject
* obj2
= 0 ;
37606 PyObject
* obj3
= 0 ;
37607 char *kwnames
[] = {
37608 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
37611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37613 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37615 arg3
= (wxEdge
) SWIG_PyObj_AsInt(obj2
);
37616 if (PyErr_Occurred()) SWIG_fail
;
37619 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
37620 if (PyErr_Occurred()) SWIG_fail
;
37623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37624 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
37626 wxPyEndAllowThreads(__tstate
);
37627 if (PyErr_Occurred()) SWIG_fail
;
37629 Py_INCREF(Py_None
); resultobj
= Py_None
;
37636 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37637 PyObject
*resultobj
;
37638 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37640 PyObject
* obj0
= 0 ;
37641 PyObject
* obj1
= 0 ;
37642 char *kwnames
[] = {
37643 (char *) "self",(char *) "val", NULL
37646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
37647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37649 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
37650 if (PyErr_Occurred()) SWIG_fail
;
37653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37654 (arg1
)->Absolute(arg2
);
37656 wxPyEndAllowThreads(__tstate
);
37657 if (PyErr_Occurred()) SWIG_fail
;
37659 Py_INCREF(Py_None
); resultobj
= Py_None
;
37666 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37667 PyObject
*resultobj
;
37668 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37669 PyObject
* obj0
= 0 ;
37670 char *kwnames
[] = {
37671 (char *) "self", NULL
37674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
37675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37678 (arg1
)->Unconstrained();
37680 wxPyEndAllowThreads(__tstate
);
37681 if (PyErr_Occurred()) SWIG_fail
;
37683 Py_INCREF(Py_None
); resultobj
= Py_None
;
37690 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37691 PyObject
*resultobj
;
37692 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37693 PyObject
* obj0
= 0 ;
37694 char *kwnames
[] = {
37695 (char *) "self", NULL
37698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
37699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37704 wxPyEndAllowThreads(__tstate
);
37705 if (PyErr_Occurred()) SWIG_fail
;
37707 Py_INCREF(Py_None
); resultobj
= Py_None
;
37714 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37715 PyObject
*resultobj
;
37716 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37718 PyObject
* obj0
= 0 ;
37719 char *kwnames
[] = {
37720 (char *) "self", NULL
37723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
37724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37727 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
37729 wxPyEndAllowThreads(__tstate
);
37730 if (PyErr_Occurred()) SWIG_fail
;
37733 resultobj
= wxPyMake_wxObject(result
);
37741 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37742 PyObject
*resultobj
;
37743 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37745 PyObject
* obj0
= 0 ;
37746 char *kwnames
[] = {
37747 (char *) "self", NULL
37750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
37751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37754 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
37756 wxPyEndAllowThreads(__tstate
);
37757 if (PyErr_Occurred()) SWIG_fail
;
37759 resultobj
= SWIG_PyObj_FromInt((int)result
);
37766 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37767 PyObject
*resultobj
;
37768 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37770 PyObject
* obj0
= 0 ;
37771 PyObject
* obj1
= 0 ;
37772 char *kwnames
[] = {
37773 (char *) "self",(char *) "which", NULL
37776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
37777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37779 arg2
= (wxEdge
) SWIG_PyObj_AsInt(obj1
);
37780 if (PyErr_Occurred()) SWIG_fail
;
37783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37784 (arg1
)->SetEdge((wxEdge
)arg2
);
37786 wxPyEndAllowThreads(__tstate
);
37787 if (PyErr_Occurred()) SWIG_fail
;
37789 Py_INCREF(Py_None
); resultobj
= Py_None
;
37796 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37797 PyObject
*resultobj
;
37798 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37800 PyObject
* obj0
= 0 ;
37801 PyObject
* obj1
= 0 ;
37802 char *kwnames
[] = {
37803 (char *) "self",(char *) "v", NULL
37806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
37807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37809 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
37810 if (PyErr_Occurred()) SWIG_fail
;
37813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37814 (arg1
)->SetValue(arg2
);
37816 wxPyEndAllowThreads(__tstate
);
37817 if (PyErr_Occurred()) SWIG_fail
;
37819 Py_INCREF(Py_None
); resultobj
= Py_None
;
37826 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37827 PyObject
*resultobj
;
37828 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37830 PyObject
* obj0
= 0 ;
37831 char *kwnames
[] = {
37832 (char *) "self", NULL
37835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
37836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37839 result
= (int)(arg1
)->GetMargin();
37841 wxPyEndAllowThreads(__tstate
);
37842 if (PyErr_Occurred()) SWIG_fail
;
37844 resultobj
= SWIG_PyObj_FromInt((int)result
);
37851 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37852 PyObject
*resultobj
;
37853 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37855 PyObject
* obj0
= 0 ;
37856 PyObject
* obj1
= 0 ;
37857 char *kwnames
[] = {
37858 (char *) "self",(char *) "m", NULL
37861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
37862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37864 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
37865 if (PyErr_Occurred()) SWIG_fail
;
37868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37869 (arg1
)->SetMargin(arg2
);
37871 wxPyEndAllowThreads(__tstate
);
37872 if (PyErr_Occurred()) SWIG_fail
;
37874 Py_INCREF(Py_None
); resultobj
= Py_None
;
37881 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37882 PyObject
*resultobj
;
37883 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37885 PyObject
* obj0
= 0 ;
37886 char *kwnames
[] = {
37887 (char *) "self", NULL
37890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
37891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37894 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
37896 wxPyEndAllowThreads(__tstate
);
37897 if (PyErr_Occurred()) SWIG_fail
;
37899 resultobj
= SWIG_PyObj_FromInt((int)result
);
37906 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37907 PyObject
*resultobj
;
37908 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37910 PyObject
* obj0
= 0 ;
37911 char *kwnames
[] = {
37912 (char *) "self", NULL
37915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
37916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37919 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
37921 wxPyEndAllowThreads(__tstate
);
37922 if (PyErr_Occurred()) SWIG_fail
;
37924 resultobj
= SWIG_PyObj_FromInt((int)result
);
37931 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37932 PyObject
*resultobj
;
37933 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37935 PyObject
* obj0
= 0 ;
37936 char *kwnames
[] = {
37937 (char *) "self", NULL
37940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
37941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37944 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
37946 wxPyEndAllowThreads(__tstate
);
37947 if (PyErr_Occurred()) SWIG_fail
;
37949 resultobj
= SWIG_PyObj_FromInt((int)result
);
37956 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37957 PyObject
*resultobj
;
37958 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37960 PyObject
* obj0
= 0 ;
37961 char *kwnames
[] = {
37962 (char *) "self", NULL
37965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
37966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37969 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
37971 wxPyEndAllowThreads(__tstate
);
37972 if (PyErr_Occurred()) SWIG_fail
;
37974 resultobj
= SWIG_PyObj_FromBool((bool)result
);
37981 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37982 PyObject
*resultobj
;
37983 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37985 PyObject
* obj0
= 0 ;
37986 PyObject
* obj1
= 0 ;
37987 char *kwnames
[] = {
37988 (char *) "self",(char *) "d", NULL
37991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
37992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
37994 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
37995 if (PyErr_Occurred()) SWIG_fail
;
37998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37999 (arg1
)->SetDone(arg2
);
38001 wxPyEndAllowThreads(__tstate
);
38002 if (PyErr_Occurred()) SWIG_fail
;
38004 Py_INCREF(Py_None
); resultobj
= Py_None
;
38011 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38012 PyObject
*resultobj
;
38013 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38015 PyObject
* obj0
= 0 ;
38016 char *kwnames
[] = {
38017 (char *) "self", NULL
38020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
38021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38024 result
= (int)(arg1
)->GetRelationship();
38026 wxPyEndAllowThreads(__tstate
);
38027 if (PyErr_Occurred()) SWIG_fail
;
38029 resultobj
= SWIG_PyObj_FromInt((int)result
);
38036 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38037 PyObject
*resultobj
;
38038 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38040 PyObject
* obj0
= 0 ;
38041 PyObject
* obj1
= 0 ;
38042 char *kwnames
[] = {
38043 (char *) "self",(char *) "r", NULL
38046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
38047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38049 arg2
= (wxRelationship
) SWIG_PyObj_AsInt(obj1
);
38050 if (PyErr_Occurred()) SWIG_fail
;
38053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38054 (arg1
)->SetRelationship((wxRelationship
)arg2
);
38056 wxPyEndAllowThreads(__tstate
);
38057 if (PyErr_Occurred()) SWIG_fail
;
38059 Py_INCREF(Py_None
); resultobj
= Py_None
;
38066 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38067 PyObject
*resultobj
;
38068 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38069 wxWindow
*arg2
= (wxWindow
*) 0 ;
38071 PyObject
* obj0
= 0 ;
38072 PyObject
* obj1
= 0 ;
38073 char *kwnames
[] = {
38074 (char *) "self",(char *) "otherW", NULL
38077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
38078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38082 result
= (bool)(arg1
)->ResetIfWin(arg2
);
38084 wxPyEndAllowThreads(__tstate
);
38085 if (PyErr_Occurred()) SWIG_fail
;
38087 resultobj
= SWIG_PyObj_FromBool((bool)result
);
38094 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38095 PyObject
*resultobj
;
38096 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38097 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
38098 wxWindow
*arg3
= (wxWindow
*) 0 ;
38100 PyObject
* obj0
= 0 ;
38101 PyObject
* obj1
= 0 ;
38102 PyObject
* obj2
= 0 ;
38103 char *kwnames
[] = {
38104 (char *) "self",(char *) "constraints",(char *) "win", NULL
38107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38110 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38113 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
38115 wxPyEndAllowThreads(__tstate
);
38116 if (PyErr_Occurred()) SWIG_fail
;
38118 resultobj
= SWIG_PyObj_FromBool((bool)result
);
38125 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38126 PyObject
*resultobj
;
38127 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38129 wxWindow
*arg3
= (wxWindow
*) 0 ;
38130 wxWindow
*arg4
= (wxWindow
*) 0 ;
38132 PyObject
* obj0
= 0 ;
38133 PyObject
* obj1
= 0 ;
38134 PyObject
* obj2
= 0 ;
38135 PyObject
* obj3
= 0 ;
38136 char *kwnames
[] = {
38137 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38143 arg2
= (wxEdge
) SWIG_PyObj_AsInt(obj1
);
38144 if (PyErr_Occurred()) SWIG_fail
;
38146 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38147 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38150 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
38152 wxPyEndAllowThreads(__tstate
);
38153 if (PyErr_Occurred()) SWIG_fail
;
38155 resultobj
= SWIG_PyObj_FromInt((int)result
);
38162 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
38164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38165 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
38167 return Py_BuildValue((char *)"");
38169 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38170 PyObject
*resultobj
;
38171 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38172 wxIndividualLayoutConstraint
*result
;
38173 PyObject
* obj0
= 0 ;
38174 char *kwnames
[] = {
38175 (char *) "self", NULL
38178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
38179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38180 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
38182 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38189 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38190 PyObject
*resultobj
;
38191 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38192 wxIndividualLayoutConstraint
*result
;
38193 PyObject
* obj0
= 0 ;
38194 char *kwnames
[] = {
38195 (char *) "self", NULL
38198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
38199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38200 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
38202 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38209 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38210 PyObject
*resultobj
;
38211 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38212 wxIndividualLayoutConstraint
*result
;
38213 PyObject
* obj0
= 0 ;
38214 char *kwnames
[] = {
38215 (char *) "self", NULL
38218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
38219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38220 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
38222 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38229 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38230 PyObject
*resultobj
;
38231 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38232 wxIndividualLayoutConstraint
*result
;
38233 PyObject
* obj0
= 0 ;
38234 char *kwnames
[] = {
38235 (char *) "self", NULL
38238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
38239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38240 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
38242 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38249 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38250 PyObject
*resultobj
;
38251 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38252 wxIndividualLayoutConstraint
*result
;
38253 PyObject
* obj0
= 0 ;
38254 char *kwnames
[] = {
38255 (char *) "self", NULL
38258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
38259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38260 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
38262 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38269 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38270 PyObject
*resultobj
;
38271 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38272 wxIndividualLayoutConstraint
*result
;
38273 PyObject
* obj0
= 0 ;
38274 char *kwnames
[] = {
38275 (char *) "self", NULL
38278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
38279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38280 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
38282 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38289 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38290 PyObject
*resultobj
;
38291 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38292 wxIndividualLayoutConstraint
*result
;
38293 PyObject
* obj0
= 0 ;
38294 char *kwnames
[] = {
38295 (char *) "self", NULL
38298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
38299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38300 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
38302 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38309 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38310 PyObject
*resultobj
;
38311 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38312 wxIndividualLayoutConstraint
*result
;
38313 PyObject
* obj0
= 0 ;
38314 char *kwnames
[] = {
38315 (char *) "self", NULL
38318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
38319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38320 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
38322 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38329 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38330 PyObject
*resultobj
;
38331 wxLayoutConstraints
*result
;
38332 char *kwnames
[] = {
38336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
38338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38339 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
38341 wxPyEndAllowThreads(__tstate
);
38342 if (PyErr_Occurred()) SWIG_fail
;
38344 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
38351 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38352 PyObject
*resultobj
;
38353 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38354 wxWindow
*arg2
= (wxWindow
*) 0 ;
38355 int *arg3
= (int *) 0 ;
38358 PyObject
* obj0
= 0 ;
38359 PyObject
* obj1
= 0 ;
38360 char *kwnames
[] = {
38361 (char *) "self",(char *) "win", NULL
38365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
38366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38370 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
38372 wxPyEndAllowThreads(__tstate
);
38373 if (PyErr_Occurred()) SWIG_fail
;
38375 resultobj
= SWIG_PyObj_FromBool((bool)result
);
38377 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
38378 resultobj
= t_output_helper(resultobj
,o
);
38386 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38387 PyObject
*resultobj
;
38388 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38390 PyObject
* obj0
= 0 ;
38391 char *kwnames
[] = {
38392 (char *) "self", NULL
38395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
38396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
38398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38399 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
38401 wxPyEndAllowThreads(__tstate
);
38402 if (PyErr_Occurred()) SWIG_fail
;
38404 resultobj
= SWIG_PyObj_FromBool((bool)result
);
38411 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
38413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38414 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
38416 return Py_BuildValue((char *)"");
38418 static PyMethodDef SwigMethods
[] = {
38419 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
38420 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
38421 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
38422 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
38423 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
38424 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
38425 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
38426 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
38427 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
38428 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
38429 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
38430 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38431 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38432 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
38433 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38434 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
38435 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
38436 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
38437 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38438 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38439 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38440 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38441 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
38442 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
38443 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38444 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38445 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38446 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38447 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
38448 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
38449 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38450 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38451 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
38452 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38453 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
38454 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
38455 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
38456 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38457 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38458 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38459 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38460 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
38461 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
38462 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38463 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38464 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
38465 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38466 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38467 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
38468 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
38469 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
38470 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
38471 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
38472 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
38473 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
38474 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
38475 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38476 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
38477 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38478 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
38479 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38480 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38481 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38482 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38483 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38484 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38485 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
38486 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
38487 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
38488 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
38489 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
38490 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
38491 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
38492 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
38493 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
38494 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
38495 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
38496 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
38497 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
38498 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
38499 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
38500 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
38501 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
38502 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
38503 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
38504 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
38505 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38506 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38507 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38508 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
38509 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
38510 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
38511 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38512 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38513 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38514 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38515 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
38516 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
38517 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
38518 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
38519 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
38520 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
38521 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
38522 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
38523 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
38524 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
38525 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
38526 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
38527 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
38528 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
38529 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
38530 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
38531 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
38532 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
38533 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
38534 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
38535 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
38536 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
38537 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38538 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
38539 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
38540 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
38541 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38542 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38543 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38544 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38545 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38546 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38547 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
38548 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
38549 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
38550 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
38551 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
38552 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
38553 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
38554 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
38555 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
38556 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
38557 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
38558 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
38559 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
38560 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
38561 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
38562 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
38563 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
38564 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
38565 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
38566 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
38567 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
38568 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
38569 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
38570 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
38571 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
38572 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
38573 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
38574 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
38575 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
38576 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
38577 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
38578 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
38579 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
38580 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
38581 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38582 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38583 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38584 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38585 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
38586 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
38587 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
38588 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
38589 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
38590 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
38591 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
38592 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
38593 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
38594 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
38595 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38596 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38597 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38598 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
38599 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
38600 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
38601 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
38602 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
38603 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
38604 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38605 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38606 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
38607 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
38608 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38609 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38610 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38611 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38612 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
38613 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
38614 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
38615 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
38616 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
38617 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
38618 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38619 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38620 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38621 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38622 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
38623 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
38624 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
38625 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
38626 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
38627 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
38628 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
38629 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
38630 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
38631 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
38632 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
38633 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
38634 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
38635 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
38636 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
38637 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
38638 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
38639 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
38640 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
38641 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
38642 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
38643 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
38644 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
38645 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
38646 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
38647 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
38648 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
38649 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
38650 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
38651 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
38652 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
38653 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
38654 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
38655 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
38656 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
38657 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
38658 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
38659 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
38660 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
38661 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
38662 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
38663 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
38664 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
38665 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
38666 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
38667 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
38668 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
38669 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38670 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38671 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
38672 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
38673 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
38674 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
38675 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
38676 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
38677 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
38678 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
38679 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
38680 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
38681 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
38682 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
38683 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
38684 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
38685 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
38686 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
38687 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
38688 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
38689 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
38690 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
38691 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
38692 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
38693 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
38694 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
38695 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
38696 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
38697 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
38698 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
38699 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
38700 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
38701 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
38702 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
38703 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
38704 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
38705 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
38706 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
38707 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
38708 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
38709 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
38710 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
38711 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
38712 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
38713 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
38714 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
38715 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
38716 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
38717 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
38718 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
38719 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
38720 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
38721 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
38722 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
38723 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
38724 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
38725 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
38726 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
38727 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
38728 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
38729 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
38730 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
38731 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
38732 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
38733 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
38734 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
38735 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
38736 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
38737 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
38738 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
38739 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
38740 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
38741 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
38742 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
38743 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
38744 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
38745 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
38746 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
38747 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
38748 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
38749 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
38750 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
38751 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
38752 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
38753 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
38754 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
38755 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
38756 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
38757 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
38758 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
38759 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
38760 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
38761 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
38762 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
38763 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
38764 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
38765 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
38766 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
38767 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
38768 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
38769 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
38770 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
38771 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
38772 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
38773 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
38774 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
38775 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
38776 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
38777 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
38778 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
38779 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
38780 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
38781 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
38782 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
38783 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
38784 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
38785 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
38786 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
38787 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38788 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
38789 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38790 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
38791 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
38792 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
38793 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38794 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
38795 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38796 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
38797 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
38798 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
38799 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
38800 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
38801 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
38802 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
38803 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
38804 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
38805 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
38806 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
38807 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
38808 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
38809 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
38810 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
38811 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
38812 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
38813 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
38814 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
38815 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
38816 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
38817 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
38818 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
38819 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
38820 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
38821 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
38822 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
38823 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
38824 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
38825 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38826 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
38827 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
38828 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38829 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38830 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
38831 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
38832 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
38833 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
38834 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38835 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38836 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38837 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38838 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38839 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38840 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38841 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38842 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38843 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38844 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38845 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38846 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38847 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38848 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38849 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38850 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38851 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38852 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
38853 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
38854 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
38855 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
38856 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
38857 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
38858 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
38859 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
38860 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38861 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38862 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
38863 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
38864 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
38865 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
38866 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
38867 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
38868 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
38869 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
38870 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
38871 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
38872 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
38873 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
38874 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
38875 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
38876 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38877 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
38878 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38879 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38880 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38881 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38882 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38883 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38884 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
38885 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
38886 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38887 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38888 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38889 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38890 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38891 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38892 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
38893 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
38894 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
38895 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
38896 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
38897 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
38898 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
38899 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
38900 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
38901 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
38902 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
38903 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
38904 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
38905 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
38906 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
38907 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
38908 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
38909 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
38910 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
38911 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
38912 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38913 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
38914 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
38915 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38916 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
38917 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
38918 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
38919 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
38920 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
38921 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
38922 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
38923 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
38924 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
38925 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
38926 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
38927 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
38928 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
38929 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
38930 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
38931 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
38932 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
38933 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
38934 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
38935 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
38936 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
38937 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
38938 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
38939 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
38940 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
38941 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
38942 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
38943 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
38944 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
38945 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
38946 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
38947 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
38948 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
38949 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
38950 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
38951 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
38952 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
38953 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
38954 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
38955 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
38956 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
38957 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
38958 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
38959 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
38960 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
38961 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
38962 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38963 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
38964 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
38965 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
38966 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
38967 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
38968 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
38969 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
38970 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
38971 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
38972 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
38973 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
38974 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
38975 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
38976 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
38977 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
38978 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
38979 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
38980 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
38981 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
38982 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
38983 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
38984 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
38985 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
38986 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
38987 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
38988 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
38989 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
38990 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
38991 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
38992 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
38993 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
38994 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
38995 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
38996 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
38997 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
38998 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
38999 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
39000 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
39001 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
39002 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
39003 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
39004 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
39005 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
39006 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
39007 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39008 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
39009 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39010 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39011 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
39012 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
39013 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39014 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39015 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
39016 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
39017 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
39018 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
39019 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
39020 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
39021 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
39022 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
39023 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39024 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39025 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39026 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39027 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
39028 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39029 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39030 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39031 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39032 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
39033 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39034 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39035 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39036 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39037 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39038 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39039 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39040 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39041 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39042 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
39043 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
39044 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39045 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39046 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39047 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39048 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39049 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
39050 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
39051 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
39052 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
39053 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
39054 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39055 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39056 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39057 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39058 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39059 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39060 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39061 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39062 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39063 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39064 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39065 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39066 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39067 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39068 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39069 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39070 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39071 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39072 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39073 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39074 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
39075 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
39076 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
39077 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39078 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39079 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
39080 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
39081 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39082 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
39083 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
39084 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
39085 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39086 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39087 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
39088 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39089 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39090 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
39091 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39092 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
39093 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
39094 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39095 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39096 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39097 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
39098 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
39099 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
39100 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
39101 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
39102 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
39103 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39104 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
39105 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
39106 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39107 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39108 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39109 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39110 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39111 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39112 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39113 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39114 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
39115 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
39116 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
39117 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39118 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
39119 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39120 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39121 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
39122 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
39123 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
39124 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
39125 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39126 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39127 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39128 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39129 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39130 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39131 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39132 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39133 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39134 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39135 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
39136 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39137 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39138 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39139 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39140 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
39141 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
39142 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
39143 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
39144 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
39145 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39146 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39147 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
39148 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
39149 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
39150 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
39151 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
39152 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39153 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39154 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39155 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39156 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39157 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
39158 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
39159 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39160 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
39161 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39162 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39163 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39164 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39165 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
39166 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
39167 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
39168 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
39169 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39170 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39171 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
39172 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39173 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39174 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
39175 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
39176 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
39177 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
39178 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
39179 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
39180 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39181 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39182 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39183 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
39184 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
39185 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
39186 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
39187 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
39188 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
39189 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
39190 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
39191 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
39192 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39193 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39194 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39195 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39196 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39197 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39198 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39199 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39200 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39201 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39202 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39203 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39204 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39205 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
39206 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
39207 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39208 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39209 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
39210 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
39211 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
39212 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
39213 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
39214 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
39215 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
39216 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
39217 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
39218 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
39219 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
39220 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
39221 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
39222 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39223 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
39224 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
39225 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
39226 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39227 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39228 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39229 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39230 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39231 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39232 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
39233 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
39234 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
39235 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
39236 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
39237 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
39238 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
39239 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
39240 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
39241 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
39242 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
39243 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
39244 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
39245 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
39246 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
39247 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39248 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
39249 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
39250 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
39251 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
39252 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
39253 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
39254 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
39255 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
39256 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
39257 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
39258 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
39259 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
39260 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
39261 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
39262 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
39263 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
39264 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
39265 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
39266 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
39267 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
39268 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
39269 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
39270 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
39271 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
39272 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
39273 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39274 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39275 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
39276 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
39277 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
39278 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39279 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
39280 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39281 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
39282 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
39283 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
39284 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
39285 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
39286 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
39287 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
39288 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
39289 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39290 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
39291 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
39292 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
39293 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39294 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39295 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
39296 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
39297 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
39298 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
39299 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39300 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
39301 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
39302 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
39303 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39304 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39305 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39306 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
39307 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
39308 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
39309 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
39310 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39311 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39312 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39313 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39314 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
39315 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
39316 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
39317 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39318 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39319 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39320 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
39321 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39322 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
39323 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
39324 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
39325 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39326 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
39327 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
39328 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
39329 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
39330 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
39331 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
39332 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
39333 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39334 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39335 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
39336 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39337 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39338 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39339 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39340 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39341 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39342 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39343 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39344 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39345 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
39346 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
39347 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
39348 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
39349 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
39350 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
39351 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
39352 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
39353 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
39354 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
39355 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
39356 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
39357 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
39358 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39359 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
39360 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39361 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
39362 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39363 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
39364 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
39365 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
39366 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
39367 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39368 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
39369 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
39370 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39371 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
39372 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39373 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39374 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39375 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39376 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39377 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39378 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
39379 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
39380 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
39381 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
39382 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
39383 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39384 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39385 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39386 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39387 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39388 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39389 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
39390 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39391 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
39392 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
39393 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
39394 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
39395 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
39396 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39397 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39398 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39399 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39400 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39401 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
39402 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39403 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
39404 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
39405 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
39406 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
39407 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
39408 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
39409 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39410 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39411 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
39412 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
39413 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
39414 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
39415 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
39416 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39417 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39418 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
39419 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
39420 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
39421 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39422 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
39423 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
39424 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
39425 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
39426 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
39427 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
39428 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
39429 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
39430 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
39431 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
39432 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
39433 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
39434 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
39435 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
39436 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
39437 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
39438 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39439 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
39440 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
39441 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
39442 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
39443 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39444 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39445 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
39446 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39447 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
39448 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
39449 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
39450 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
39451 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
39452 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
39453 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
39454 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39455 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
39456 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
39457 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
39458 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
39459 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39460 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39461 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39462 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39463 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39464 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39465 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39466 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39467 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
39468 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39469 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39470 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
39471 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
39472 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
39473 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
39474 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39475 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
39476 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39477 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39478 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
39479 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
39480 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
39481 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
39482 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39483 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39484 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39485 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39486 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39487 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39488 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
39489 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
39490 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
39491 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39492 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39493 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
39494 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
39495 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
39496 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
39497 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
39498 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39499 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
39500 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
39501 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
39502 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39503 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
39504 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
39505 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39506 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39507 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39508 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39509 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
39510 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
39511 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
39512 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39513 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39514 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
39515 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
39516 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39517 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39518 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
39519 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
39520 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
39521 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
39522 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
39523 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
39524 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
39525 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
39526 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
39527 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
39528 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39529 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39530 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
39531 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
39532 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
39533 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
39534 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
39535 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
39536 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
39537 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
39538 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
39539 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
39540 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
39541 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
39542 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
39543 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
39544 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
39545 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
39546 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39547 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39548 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
39549 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
39550 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
39551 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
39552 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
39553 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
39554 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
39555 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
39556 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39557 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39558 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
39559 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
39560 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
39561 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
39562 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
39563 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
39564 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39565 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
39566 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
39567 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
39568 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
39569 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
39570 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
39571 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
39572 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
39573 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
39574 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
39575 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
39576 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
39577 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
39578 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
39579 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
39580 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
39581 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
39582 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
39583 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
39584 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
39585 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
39586 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
39587 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39588 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39589 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
39590 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
39591 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
39592 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
39593 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
39594 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
39595 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
39596 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
39597 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
39598 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
39599 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
39600 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
39601 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
39602 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
39603 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
39604 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
39605 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
39606 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
39607 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
39608 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
39609 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
39610 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
39611 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
39612 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
39613 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
39614 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
39615 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
39616 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
39617 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
39618 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
39619 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
39620 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
39621 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
39622 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
39623 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
39624 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
39625 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
39626 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39627 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39628 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
39629 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
39634 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39636 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
39637 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
39639 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
39640 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
39642 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
39643 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39645 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
39646 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39648 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
39649 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
39651 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
39652 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39654 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
39655 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
39657 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
39658 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39660 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
39661 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39663 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
39664 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
39666 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
39667 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
39669 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
39670 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
39672 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
39673 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
39675 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
39676 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
39678 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
39679 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
39681 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
39682 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
39684 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
39685 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
39687 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
39688 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39690 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
39691 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
39693 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
39694 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39696 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
39697 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39699 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
39700 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
39702 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
39703 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
39705 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
39706 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
39708 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
39709 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
39711 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
39712 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
39714 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
39715 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
39717 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
39718 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
39720 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
39721 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39723 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
39724 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39726 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
39727 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39729 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
39730 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39732 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
39733 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39735 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
39736 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
39738 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
39739 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
39741 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
39742 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39744 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
39745 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
39747 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
39748 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
39750 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
39751 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39753 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
39754 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39756 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
39757 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39759 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
39760 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
39762 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
39763 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
39765 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
39766 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39768 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
39769 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39771 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
39772 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39774 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
39775 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
39777 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
39778 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
39780 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
39781 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
39783 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
39784 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
39786 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
39787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39789 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
39790 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
39792 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
39793 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
39795 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
39796 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
39798 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
39799 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
39801 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
39802 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
39804 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
39805 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
39807 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
39808 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
39810 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
39811 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
39813 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
39814 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
39816 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
39817 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
39819 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
39820 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39822 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
39823 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
39825 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
39826 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
39828 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
39829 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39831 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
39832 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39834 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
39835 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
39837 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
39838 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
39840 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
39841 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
39843 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
39844 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
39846 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
39847 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
39849 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
39850 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
39852 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
39853 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
39855 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
39856 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
39858 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
39859 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
39861 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
39862 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
39864 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
39865 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
39867 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39868 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39870 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39871 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39873 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39874 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39876 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39877 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39879 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39880 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39882 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39883 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39885 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39886 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39888 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39891 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39894 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39895 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39897 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39898 return (void *)((wxObject
*) ((wxSizer
*) x
));
39900 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39901 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39903 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39904 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39906 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39907 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39909 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39910 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39912 static void *_p_wxImageTo_p_wxObject(void *x
) {
39913 return (void *)((wxObject
*) ((wxImage
*) x
));
39915 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39916 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39918 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39919 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39921 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39922 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39924 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39925 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39927 static void *_p_wxControlTo_p_wxObject(void *x
) {
39928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39930 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39931 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39933 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39934 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39936 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39937 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39939 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39940 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39942 static void *_p_wxEventTo_p_wxObject(void *x
) {
39943 return (void *)((wxObject
*) ((wxEvent
*) x
));
39945 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39946 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39948 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39949 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39951 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39952 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39954 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39955 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39957 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39958 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39960 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39961 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39963 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39964 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39966 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39967 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39969 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39972 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39973 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39975 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39976 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39978 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39979 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39981 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39982 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39984 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39985 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39987 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39988 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39990 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39991 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39993 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39994 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39996 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39997 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39999 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40000 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40002 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40003 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40005 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40006 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40008 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40009 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40011 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40012 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40014 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40015 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40017 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40018 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40020 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40021 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40023 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40024 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40026 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40027 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40029 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40030 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40032 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40033 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40035 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40036 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40038 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40039 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40041 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40042 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40044 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40045 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40047 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40048 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40050 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40051 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40053 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40054 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40056 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40057 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40059 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40060 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40062 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40063 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40065 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40066 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40068 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40069 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40071 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40072 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40074 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40075 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40077 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40078 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40080 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40081 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40083 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40084 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40086 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40087 return (void *)((wxWindow
*) ((wxControl
*) x
));
40089 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40090 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40092 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40093 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40095 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
40096 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40098 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
40099 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
40101 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
40102 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40104 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
40105 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40107 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
40108 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40110 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
40111 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40113 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
40114 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40116 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
40117 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40119 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
40120 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
40122 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
40123 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
40124 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
40125 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
40126 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
40127 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
40128 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}};
40129 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
40130 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
40131 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
40132 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
40133 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
40134 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
40135 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}};
40136 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}};
40137 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
40138 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
40139 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
40140 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
40141 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
40142 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
40143 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
40144 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
40145 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
40146 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
40147 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
40148 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
40149 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
40150 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
40151 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
40152 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
40153 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
40154 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
40155 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
40156 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
40157 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
40158 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
40159 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
40160 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
40161 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
40162 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
40163 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
40164 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
40165 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
40166 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
40167 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
40168 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
40169 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
40170 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
40171 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
40172 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
40173 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
40174 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
40175 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
40176 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
40177 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
40178 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
40179 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
40180 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
40181 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
40182 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
40183 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
40184 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
40185 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
40186 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}};
40187 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
40188 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}};
40189 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}};
40190 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}};
40191 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}};
40192 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
40193 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
40194 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
40195 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
40196 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
40197 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
40198 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
40199 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
40200 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
40201 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
40202 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
40203 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
40204 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
40205 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
40206 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
40207 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}};
40208 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
40209 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
40210 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
40211 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
40212 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
40213 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
40214 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
40215 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}};
40216 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
40217 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
40218 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
40219 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
40220 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
40221 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
40222 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
40223 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
40224 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
40225 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
40226 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
40227 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}};
40228 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
40229 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
40230 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
40231 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
40232 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
40233 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
40234 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
40235 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
40236 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
40238 static swig_type_info
*swig_types_initial
[] = {
40239 _swigt__p_wxLayoutConstraints
,
40240 _swigt__p_wxRealPoint
,
40241 _swigt__p_wxSizerItem
,
40242 _swigt__p_wxGBSizerItem
,
40243 _swigt__p_wxScrollEvent
,
40244 _swigt__p_wxIndividualLayoutConstraint
,
40246 _swigt__p_wxBoxSizer
,
40247 _swigt__p_wxStaticBoxSizer
,
40248 _swigt__p_wxGridBagSizer
,
40249 _swigt__p_wxAcceleratorEntry
,
40250 _swigt__p_wxUpdateUIEvent
,
40253 _swigt__p_wxGridSizer
,
40254 _swigt__p_wxFlexGridSizer
,
40255 _swigt__p_wxInitDialogEvent
,
40256 _swigt__p_wxItemContainer
,
40257 _swigt__p_wxNcPaintEvent
,
40258 _swigt__p_wxPaintEvent
,
40259 _swigt__p_wxSysColourChangedEvent
,
40260 _swigt__p_wxMouseCaptureChangedEvent
,
40261 _swigt__p_wxDisplayChangedEvent
,
40262 _swigt__p_wxPaletteChangedEvent
,
40263 _swigt__p_wxControl
,
40265 _swigt__p_wxMenuBarBase
,
40266 _swigt__p_wxSetCursorEvent
,
40267 _swigt__p_wxFSFile
,
40269 _swigt__p_wxRegion
,
40270 _swigt__p_wxPoint2D
,
40274 _swigt__p_wxPySizer
,
40275 _swigt__p_wxNotifyEvent
,
40276 _swigt__p_wxPyEvent
,
40277 _swigt__p_wxPropagationDisabler
,
40278 _swigt__p_wxAppTraits
,
40279 _swigt__p_wxArrayString
,
40280 _swigt__p_wxShowEvent
,
40281 _swigt__p_wxToolTip
,
40282 _swigt__p_wxIconizeEvent
,
40283 _swigt__p_wxActivateEvent
,
40284 _swigt__p_wxMoveEvent
,
40285 _swigt__p_wxSizeEvent
,
40286 _swigt__p_wxMaximizeEvent
,
40287 _swigt__p_wxQueryNewPaletteEvent
,
40288 _swigt__p_wxWindowCreateEvent
,
40289 _swigt__p_wxIdleEvent
,
40290 _swigt__p_wxMenuItem
,
40291 _swigt__p_wxStaticBox
,
40293 _swigt__p_wxTIFFHandler
,
40294 _swigt__p_wxXPMHandler
,
40295 _swigt__p_wxPNMHandler
,
40296 _swigt__p_wxJPEGHandler
,
40297 _swigt__p_wxPCXHandler
,
40298 _swigt__p_wxGIFHandler
,
40299 _swigt__p_wxPNGHandler
,
40300 _swigt__p_wxANIHandler
,
40301 _swigt__p_wxMemoryFSHandler
,
40302 _swigt__p_wxZipFSHandler
,
40303 _swigt__p_wxEvtHandler
,
40304 _swigt__p_wxCURHandler
,
40305 _swigt__p_wxICOHandler
,
40306 _swigt__p_wxBMPHandler
,
40307 _swigt__p_wxImageHandler
,
40308 _swigt__p_wxFileSystemHandler
,
40309 _swigt__p_wxPyFileSystemHandler
,
40310 _swigt__p_wxInternetFSHandler
,
40312 _swigt__p_wxGBSpan
,
40313 _swigt__p_wxPropagateOnce
,
40314 _swigt__p_wxAcceleratorTable
,
40316 _swigt__p_wxGBPosition
,
40319 _swigt__p_wxScrollWinEvent
,
40320 _swigt__p_wxImageHistogram
,
40323 _swigt__p_wxCursor
,
40324 _swigt__p_wxObject
,
40325 _swigt__p_wxPyInputStream
,
40326 _swigt__p_wxOutputStream
,
40327 _swigt__p_wxInputStream
,
40328 _swigt__p_wxDateTime
,
40329 _swigt__p_wxKeyEvent
,
40330 _swigt__p_wxNavigationKeyEvent
,
40331 _swigt__p_wxWindowDestroyEvent
,
40332 _swigt__p_wxWindow
,
40333 _swigt__p_wxMenuBar
,
40334 _swigt__p_wxString
,
40335 _swigt__p_wxFileSystem
,
40336 _swigt__p_wxBitmap
,
40337 _swigt__p_wxMenuEvent
,
40338 _swigt__p_wxContextMenuEvent
,
40339 _swigt__p_unsigned_char
,
40340 _swigt__p_wxCloseEvent
,
40341 _swigt__p_wxEraseEvent
,
40342 _swigt__p_wxMouseEvent
,
40344 _swigt__p_wxCommandEvent
,
40345 _swigt__p_wxPyCommandEvent
,
40346 _swigt__p_wxPyDropTarget
,
40347 _swigt__p_wxChildFocusEvent
,
40348 _swigt__p_wxFocusEvent
,
40349 _swigt__p_wxDropFilesEvent
,
40350 _swigt__p_wxControlWithItems
,
40351 _swigt__p_wxColour
,
40352 _swigt__p_wxValidator
,
40353 _swigt__p_wxPyValidator
,
40358 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40360 static swig_const_info swig_const_table
[] = {
40370 SWIGEXPORT(void) SWIG_init(void) {
40371 static PyObject
*SWIG_globals
= 0;
40372 static int typeinit
= 0;
40375 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
40376 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40377 d
= PyModule_GetDict(m
);
40380 for (i
= 0; swig_types_initial
[i
]; i
++) {
40381 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
40385 SWIG_InstallConstants(d
,swig_const_table
);
40388 #ifndef wxPyUSE_EXPORT
40389 // Make our API structure a CObject so other modules can import it
40390 // from this module.
40391 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
40392 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
40396 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_PyObj_FromInt((int)wxNOT_FOUND
));
40397 PyDict_SetItemString(d
,"VSCROLL", SWIG_PyObj_FromInt((int)wxVSCROLL
));
40398 PyDict_SetItemString(d
,"HSCROLL", SWIG_PyObj_FromInt((int)wxHSCROLL
));
40399 PyDict_SetItemString(d
,"CAPTION", SWIG_PyObj_FromInt((int)wxCAPTION
));
40400 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_PyObj_FromInt((int)wxDOUBLE_BORDER
));
40401 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_PyObj_FromInt((int)wxSUNKEN_BORDER
));
40402 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_PyObj_FromInt((int)wxRAISED_BORDER
));
40403 PyDict_SetItemString(d
,"BORDER", SWIG_PyObj_FromInt((int)wxBORDER
));
40404 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_PyObj_FromInt((int)wxSIMPLE_BORDER
));
40405 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_PyObj_FromInt((int)wxSTATIC_BORDER
));
40406 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_PyObj_FromInt((int)wxTRANSPARENT_WINDOW
));
40407 PyDict_SetItemString(d
,"NO_BORDER", SWIG_PyObj_FromInt((int)wxNO_BORDER
));
40408 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_PyObj_FromInt((int)wxUSER_COLOURS
));
40409 PyDict_SetItemString(d
,"NO_3D", SWIG_PyObj_FromInt((int)wxNO_3D
));
40410 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_PyObj_FromInt((int)wxTAB_TRAVERSAL
));
40411 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_PyObj_FromInt((int)wxWANTS_CHARS
));
40412 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_PyObj_FromInt((int)wxPOPUP_WINDOW
));
40413 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_PyObj_FromInt((int)wxCENTER_FRAME
));
40414 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxCENTRE_ON_SCREEN
));
40415 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_PyObj_FromInt((int)wxCENTER_ON_SCREEN
));
40416 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_PyObj_FromInt((int)wxSTAY_ON_TOP
));
40417 PyDict_SetItemString(d
,"ICONIZE", SWIG_PyObj_FromInt((int)wxICONIZE
));
40418 PyDict_SetItemString(d
,"MINIMIZE", SWIG_PyObj_FromInt((int)wxMINIMIZE
));
40419 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_PyObj_FromInt((int)wxMAXIMIZE
));
40420 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_PyObj_FromInt((int)wxCLOSE_BOX
));
40421 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_PyObj_FromInt((int)wxTHICK_FRAME
));
40422 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_PyObj_FromInt((int)wxSYSTEM_MENU
));
40423 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_PyObj_FromInt((int)wxMINIMIZE_BOX
));
40424 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_PyObj_FromInt((int)wxMAXIMIZE_BOX
));
40425 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_PyObj_FromInt((int)wxTINY_CAPTION_HORIZ
));
40426 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_PyObj_FromInt((int)wxTINY_CAPTION_VERT
));
40427 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_PyObj_FromInt((int)wxRESIZE_BOX
));
40428 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_PyObj_FromInt((int)wxRESIZE_BORDER
));
40429 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_PyObj_FromInt((int)wxDIALOG_MODAL
));
40430 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_PyObj_FromInt((int)wxDIALOG_MODELESS
));
40431 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_PyObj_FromInt((int)wxDIALOG_NO_PARENT
));
40432 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_PyObj_FromInt((int)wxDEFAULT_FRAME_STYLE
));
40433 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_PyObj_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
40434 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_PyObj_FromInt((int)wxFRAME_TOOL_WINDOW
));
40435 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_PyObj_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
40436 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_PyObj_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
40437 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_PyObj_FromInt((int)wxFRAME_NO_TASKBAR
));
40438 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_PyObj_FromInt((int)wxFRAME_SHAPED
));
40439 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_PyObj_FromInt((int)wxED_CLIENT_MARGIN
));
40440 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_PyObj_FromInt((int)wxED_BUTTONS_BOTTOM
));
40441 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_PyObj_FromInt((int)wxED_BUTTONS_RIGHT
));
40442 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_PyObj_FromInt((int)wxED_STATIC_LINE
));
40443 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_PyObj_FromInt((int)wxEXT_DIALOG_STYLE
));
40444 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_PyObj_FromInt((int)wxCLIP_CHILDREN
));
40445 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_PyObj_FromInt((int)wxCLIP_SIBLINGS
));
40446 PyDict_SetItemString(d
,"RETAINED", SWIG_PyObj_FromInt((int)wxRETAINED
));
40447 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_PyObj_FromInt((int)wxBACKINGSTORE
));
40448 PyDict_SetItemString(d
,"COLOURED", SWIG_PyObj_FromInt((int)wxCOLOURED
));
40449 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_PyObj_FromInt((int)wxFIXED_LENGTH
));
40450 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_PyObj_FromInt((int)wxLB_NEEDED_SB
));
40451 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_PyObj_FromInt((int)wxLB_ALWAYS_SB
));
40452 PyDict_SetItemString(d
,"LB_SORT", SWIG_PyObj_FromInt((int)wxLB_SORT
));
40453 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_PyObj_FromInt((int)wxLB_SINGLE
));
40454 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_PyObj_FromInt((int)wxLB_MULTIPLE
));
40455 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_PyObj_FromInt((int)wxLB_EXTENDED
));
40456 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_PyObj_FromInt((int)wxLB_OWNERDRAW
));
40457 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_PyObj_FromInt((int)wxLB_HSCROLL
));
40458 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxPROCESS_ENTER
));
40459 PyDict_SetItemString(d
,"PASSWORD", SWIG_PyObj_FromInt((int)wxPASSWORD
));
40460 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_PyObj_FromInt((int)wxCB_SIMPLE
));
40461 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_PyObj_FromInt((int)wxCB_DROPDOWN
));
40462 PyDict_SetItemString(d
,"CB_SORT", SWIG_PyObj_FromInt((int)wxCB_SORT
));
40463 PyDict_SetItemString(d
,"CB_READONLY", SWIG_PyObj_FromInt((int)wxCB_READONLY
));
40464 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxRA_HORIZONTAL
));
40465 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_PyObj_FromInt((int)wxRA_VERTICAL
));
40466 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_PyObj_FromInt((int)wxRA_SPECIFY_ROWS
));
40467 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_PyObj_FromInt((int)wxRA_SPECIFY_COLS
));
40468 PyDict_SetItemString(d
,"RB_GROUP", SWIG_PyObj_FromInt((int)wxRB_GROUP
));
40469 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_PyObj_FromInt((int)wxRB_SINGLE
));
40470 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSL_HORIZONTAL
));
40471 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_PyObj_FromInt((int)wxSL_VERTICAL
));
40472 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_PyObj_FromInt((int)wxSL_AUTOTICKS
));
40473 PyDict_SetItemString(d
,"SL_LABELS", SWIG_PyObj_FromInt((int)wxSL_LABELS
));
40474 PyDict_SetItemString(d
,"SL_LEFT", SWIG_PyObj_FromInt((int)wxSL_LEFT
));
40475 PyDict_SetItemString(d
,"SL_TOP", SWIG_PyObj_FromInt((int)wxSL_TOP
));
40476 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_PyObj_FromInt((int)wxSL_RIGHT
));
40477 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_PyObj_FromInt((int)wxSL_BOTTOM
));
40478 PyDict_SetItemString(d
,"SL_BOTH", SWIG_PyObj_FromInt((int)wxSL_BOTH
));
40479 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_PyObj_FromInt((int)wxSL_SELRANGE
));
40480 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSB_HORIZONTAL
));
40481 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_PyObj_FromInt((int)wxSB_VERTICAL
));
40482 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_PyObj_FromInt((int)wxST_SIZEGRIP
));
40483 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_PyObj_FromInt((int)wxST_NO_AUTORESIZE
));
40484 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_PyObj_FromInt((int)wxFLOOD_SURFACE
));
40485 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_PyObj_FromInt((int)wxFLOOD_BORDER
));
40486 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_PyObj_FromInt((int)wxODDEVEN_RULE
));
40487 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_PyObj_FromInt((int)wxWINDING_RULE
));
40488 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_PyObj_FromInt((int)wxTOOL_TOP
));
40489 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_PyObj_FromInt((int)wxTOOL_BOTTOM
));
40490 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_PyObj_FromInt((int)wxTOOL_LEFT
));
40491 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_PyObj_FromInt((int)wxTOOL_RIGHT
));
40492 PyDict_SetItemString(d
,"OK", SWIG_PyObj_FromInt((int)wxOK
));
40493 PyDict_SetItemString(d
,"YES_NO", SWIG_PyObj_FromInt((int)wxYES_NO
));
40494 PyDict_SetItemString(d
,"CANCEL", SWIG_PyObj_FromInt((int)wxCANCEL
));
40495 PyDict_SetItemString(d
,"YES", SWIG_PyObj_FromInt((int)wxYES
));
40496 PyDict_SetItemString(d
,"NO", SWIG_PyObj_FromInt((int)wxNO
));
40497 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_PyObj_FromInt((int)wxNO_DEFAULT
));
40498 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_PyObj_FromInt((int)wxYES_DEFAULT
));
40499 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_PyObj_FromInt((int)wxICON_EXCLAMATION
));
40500 PyDict_SetItemString(d
,"ICON_HAND", SWIG_PyObj_FromInt((int)wxICON_HAND
));
40501 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_PyObj_FromInt((int)wxICON_QUESTION
));
40502 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_PyObj_FromInt((int)wxICON_INFORMATION
));
40503 PyDict_SetItemString(d
,"ICON_STOP", SWIG_PyObj_FromInt((int)wxICON_STOP
));
40504 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_PyObj_FromInt((int)wxICON_ASTERISK
));
40505 PyDict_SetItemString(d
,"ICON_MASK", SWIG_PyObj_FromInt((int)wxICON_MASK
));
40506 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_PyObj_FromInt((int)wxICON_WARNING
));
40507 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_PyObj_FromInt((int)wxICON_ERROR
));
40508 PyDict_SetItemString(d
,"FORWARD", SWIG_PyObj_FromInt((int)wxFORWARD
));
40509 PyDict_SetItemString(d
,"BACKWARD", SWIG_PyObj_FromInt((int)wxBACKWARD
));
40510 PyDict_SetItemString(d
,"RESET", SWIG_PyObj_FromInt((int)wxRESET
));
40511 PyDict_SetItemString(d
,"HELP", SWIG_PyObj_FromInt((int)wxHELP
));
40512 PyDict_SetItemString(d
,"MORE", SWIG_PyObj_FromInt((int)wxMORE
));
40513 PyDict_SetItemString(d
,"SETUP", SWIG_PyObj_FromInt((int)wxSETUP
));
40514 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_PyObj_FromInt((int)wxSIZE_AUTO_WIDTH
));
40515 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_PyObj_FromInt((int)wxSIZE_AUTO_HEIGHT
));
40516 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_PyObj_FromInt((int)wxSIZE_AUTO
));
40517 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_PyObj_FromInt((int)wxSIZE_USE_EXISTING
));
40518 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_PyObj_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
40519 PyDict_SetItemString(d
,"PORTRAIT", SWIG_PyObj_FromInt((int)wxPORTRAIT
));
40520 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_PyObj_FromInt((int)wxLANDSCAPE
));
40521 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_HIGH
));
40522 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
40523 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_LOW
));
40524 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_PyObj_FromInt((int)wxPRINT_QUALITY_DRAFT
));
40525 PyDict_SetItemString(d
,"ID_ANY", SWIG_PyObj_FromInt((int)wxID_ANY
));
40526 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_PyObj_FromInt((int)wxID_SEPARATOR
));
40527 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_PyObj_FromInt((int)wxID_LOWEST
));
40528 PyDict_SetItemString(d
,"ID_OPEN", SWIG_PyObj_FromInt((int)wxID_OPEN
));
40529 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_PyObj_FromInt((int)wxID_CLOSE
));
40530 PyDict_SetItemString(d
,"ID_NEW", SWIG_PyObj_FromInt((int)wxID_NEW
));
40531 PyDict_SetItemString(d
,"ID_SAVE", SWIG_PyObj_FromInt((int)wxID_SAVE
));
40532 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_PyObj_FromInt((int)wxID_SAVEAS
));
40533 PyDict_SetItemString(d
,"ID_REVERT", SWIG_PyObj_FromInt((int)wxID_REVERT
));
40534 PyDict_SetItemString(d
,"ID_EXIT", SWIG_PyObj_FromInt((int)wxID_EXIT
));
40535 PyDict_SetItemString(d
,"ID_UNDO", SWIG_PyObj_FromInt((int)wxID_UNDO
));
40536 PyDict_SetItemString(d
,"ID_REDO", SWIG_PyObj_FromInt((int)wxID_REDO
));
40537 PyDict_SetItemString(d
,"ID_HELP", SWIG_PyObj_FromInt((int)wxID_HELP
));
40538 PyDict_SetItemString(d
,"ID_PRINT", SWIG_PyObj_FromInt((int)wxID_PRINT
));
40539 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_PyObj_FromInt((int)wxID_PRINT_SETUP
));
40540 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_PyObj_FromInt((int)wxID_PREVIEW
));
40541 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_PyObj_FromInt((int)wxID_ABOUT
));
40542 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_PyObj_FromInt((int)wxID_HELP_CONTENTS
));
40543 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_PyObj_FromInt((int)wxID_HELP_COMMANDS
));
40544 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_PyObj_FromInt((int)wxID_HELP_PROCEDURES
));
40545 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_PyObj_FromInt((int)wxID_HELP_CONTEXT
));
40546 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_PyObj_FromInt((int)wxID_CLOSE_ALL
));
40547 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_PyObj_FromInt((int)wxID_PREFERENCES
));
40548 PyDict_SetItemString(d
,"ID_CUT", SWIG_PyObj_FromInt((int)wxID_CUT
));
40549 PyDict_SetItemString(d
,"ID_COPY", SWIG_PyObj_FromInt((int)wxID_COPY
));
40550 PyDict_SetItemString(d
,"ID_PASTE", SWIG_PyObj_FromInt((int)wxID_PASTE
));
40551 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_PyObj_FromInt((int)wxID_CLEAR
));
40552 PyDict_SetItemString(d
,"ID_FIND", SWIG_PyObj_FromInt((int)wxID_FIND
));
40553 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_PyObj_FromInt((int)wxID_DUPLICATE
));
40554 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_PyObj_FromInt((int)wxID_SELECTALL
));
40555 PyDict_SetItemString(d
,"ID_DELETE", SWIG_PyObj_FromInt((int)wxID_DELETE
));
40556 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_PyObj_FromInt((int)wxID_REPLACE
));
40557 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_PyObj_FromInt((int)wxID_REPLACE_ALL
));
40558 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_PyObj_FromInt((int)wxID_PROPERTIES
));
40559 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_PyObj_FromInt((int)wxID_VIEW_DETAILS
));
40560 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_PyObj_FromInt((int)wxID_VIEW_LARGEICONS
));
40561 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_PyObj_FromInt((int)wxID_VIEW_SMALLICONS
));
40562 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_PyObj_FromInt((int)wxID_VIEW_LIST
));
40563 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTDATE
));
40564 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTNAME
));
40565 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTSIZE
));
40566 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_PyObj_FromInt((int)wxID_VIEW_SORTTYPE
));
40567 PyDict_SetItemString(d
,"ID_FILE1", SWIG_PyObj_FromInt((int)wxID_FILE1
));
40568 PyDict_SetItemString(d
,"ID_FILE2", SWIG_PyObj_FromInt((int)wxID_FILE2
));
40569 PyDict_SetItemString(d
,"ID_FILE3", SWIG_PyObj_FromInt((int)wxID_FILE3
));
40570 PyDict_SetItemString(d
,"ID_FILE4", SWIG_PyObj_FromInt((int)wxID_FILE4
));
40571 PyDict_SetItemString(d
,"ID_FILE5", SWIG_PyObj_FromInt((int)wxID_FILE5
));
40572 PyDict_SetItemString(d
,"ID_FILE6", SWIG_PyObj_FromInt((int)wxID_FILE6
));
40573 PyDict_SetItemString(d
,"ID_FILE7", SWIG_PyObj_FromInt((int)wxID_FILE7
));
40574 PyDict_SetItemString(d
,"ID_FILE8", SWIG_PyObj_FromInt((int)wxID_FILE8
));
40575 PyDict_SetItemString(d
,"ID_FILE9", SWIG_PyObj_FromInt((int)wxID_FILE9
));
40576 PyDict_SetItemString(d
,"ID_OK", SWIG_PyObj_FromInt((int)wxID_OK
));
40577 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_PyObj_FromInt((int)wxID_CANCEL
));
40578 PyDict_SetItemString(d
,"ID_APPLY", SWIG_PyObj_FromInt((int)wxID_APPLY
));
40579 PyDict_SetItemString(d
,"ID_YES", SWIG_PyObj_FromInt((int)wxID_YES
));
40580 PyDict_SetItemString(d
,"ID_NO", SWIG_PyObj_FromInt((int)wxID_NO
));
40581 PyDict_SetItemString(d
,"ID_STATIC", SWIG_PyObj_FromInt((int)wxID_STATIC
));
40582 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_PyObj_FromInt((int)wxID_FORWARD
));
40583 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_PyObj_FromInt((int)wxID_BACKWARD
));
40584 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_PyObj_FromInt((int)wxID_DEFAULT
));
40585 PyDict_SetItemString(d
,"ID_MORE", SWIG_PyObj_FromInt((int)wxID_MORE
));
40586 PyDict_SetItemString(d
,"ID_SETUP", SWIG_PyObj_FromInt((int)wxID_SETUP
));
40587 PyDict_SetItemString(d
,"ID_RESET", SWIG_PyObj_FromInt((int)wxID_RESET
));
40588 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_PyObj_FromInt((int)wxID_CONTEXT_HELP
));
40589 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_PyObj_FromInt((int)wxID_YESTOALL
));
40590 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_PyObj_FromInt((int)wxID_NOTOALL
));
40591 PyDict_SetItemString(d
,"ID_ABORT", SWIG_PyObj_FromInt((int)wxID_ABORT
));
40592 PyDict_SetItemString(d
,"ID_RETRY", SWIG_PyObj_FromInt((int)wxID_RETRY
));
40593 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_PyObj_FromInt((int)wxID_IGNORE
));
40594 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_PyObj_FromInt((int)wxID_HIGHEST
));
40595 PyDict_SetItemString(d
,"OPEN", SWIG_PyObj_FromInt((int)wxOPEN
));
40596 PyDict_SetItemString(d
,"SAVE", SWIG_PyObj_FromInt((int)wxSAVE
));
40597 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_PyObj_FromInt((int)wxHIDE_READONLY
));
40598 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_PyObj_FromInt((int)wxOVERWRITE_PROMPT
));
40599 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_PyObj_FromInt((int)wxFILE_MUST_EXIST
));
40600 PyDict_SetItemString(d
,"MULTIPLE", SWIG_PyObj_FromInt((int)wxMULTIPLE
));
40601 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_PyObj_FromInt((int)wxCHANGE_DIR
));
40602 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_PyObj_FromInt((int)wxACCEL_ALT
));
40603 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_PyObj_FromInt((int)wxACCEL_CTRL
));
40604 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_PyObj_FromInt((int)wxACCEL_SHIFT
));
40605 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_PyObj_FromInt((int)wxACCEL_NORMAL
));
40606 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_PyObj_FromInt((int)wxPD_AUTO_HIDE
));
40607 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_PyObj_FromInt((int)wxPD_APP_MODAL
));
40608 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_PyObj_FromInt((int)wxPD_CAN_ABORT
));
40609 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_PyObj_FromInt((int)wxPD_ELAPSED_TIME
));
40610 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_PyObj_FromInt((int)wxPD_ESTIMATED_TIME
));
40611 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_PyObj_FromInt((int)wxPD_REMAINING_TIME
));
40612 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_PyObj_FromInt((int)wxDD_NEW_DIR_BUTTON
));
40613 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxDD_DEFAULT_STYLE
));
40614 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_PyObj_FromInt((int)wxMENU_TEAROFF
));
40615 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_PyObj_FromInt((int)wxMB_DOCKABLE
));
40616 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_PyObj_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
40617 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_PyObj_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
40618 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLI_HORIZONTAL
));
40619 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_PyObj_FromInt((int)wxLI_VERTICAL
));
40620 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_PyObj_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
40621 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_PyObj_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
40622 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_PyObj_FromInt((int)wxWS_EX_TRANSIENT
));
40623 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_PyObj_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
40624 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_PyObj_FromInt((int)wxWS_EX_PROCESS_IDLE
));
40625 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_PyObj_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
40626 PyDict_SetItemString(d
,"MM_TEXT", SWIG_PyObj_FromInt((int)wxMM_TEXT
));
40627 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_PyObj_FromInt((int)wxMM_LOMETRIC
));
40628 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_PyObj_FromInt((int)wxMM_HIMETRIC
));
40629 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_PyObj_FromInt((int)wxMM_LOENGLISH
));
40630 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_PyObj_FromInt((int)wxMM_HIENGLISH
));
40631 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_PyObj_FromInt((int)wxMM_TWIPS
));
40632 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_PyObj_FromInt((int)wxMM_ISOTROPIC
));
40633 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_PyObj_FromInt((int)wxMM_ANISOTROPIC
));
40634 PyDict_SetItemString(d
,"MM_POINTS", SWIG_PyObj_FromInt((int)wxMM_POINTS
));
40635 PyDict_SetItemString(d
,"MM_METRIC", SWIG_PyObj_FromInt((int)wxMM_METRIC
));
40636 PyDict_SetItemString(d
,"CENTRE", SWIG_PyObj_FromInt((int)wxCENTRE
));
40637 PyDict_SetItemString(d
,"CENTER", SWIG_PyObj_FromInt((int)wxCENTER
));
40638 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_PyObj_FromInt((int)wxHORIZONTAL
));
40639 PyDict_SetItemString(d
,"VERTICAL", SWIG_PyObj_FromInt((int)wxVERTICAL
));
40640 PyDict_SetItemString(d
,"BOTH", SWIG_PyObj_FromInt((int)wxBOTH
));
40641 PyDict_SetItemString(d
,"LEFT", SWIG_PyObj_FromInt((int)wxLEFT
));
40642 PyDict_SetItemString(d
,"RIGHT", SWIG_PyObj_FromInt((int)wxRIGHT
));
40643 PyDict_SetItemString(d
,"UP", SWIG_PyObj_FromInt((int)wxUP
));
40644 PyDict_SetItemString(d
,"DOWN", SWIG_PyObj_FromInt((int)wxDOWN
));
40645 PyDict_SetItemString(d
,"TOP", SWIG_PyObj_FromInt((int)wxTOP
));
40646 PyDict_SetItemString(d
,"BOTTOM", SWIG_PyObj_FromInt((int)wxBOTTOM
));
40647 PyDict_SetItemString(d
,"NORTH", SWIG_PyObj_FromInt((int)wxNORTH
));
40648 PyDict_SetItemString(d
,"SOUTH", SWIG_PyObj_FromInt((int)wxSOUTH
));
40649 PyDict_SetItemString(d
,"WEST", SWIG_PyObj_FromInt((int)wxWEST
));
40650 PyDict_SetItemString(d
,"EAST", SWIG_PyObj_FromInt((int)wxEAST
));
40651 PyDict_SetItemString(d
,"ALL", SWIG_PyObj_FromInt((int)wxALL
));
40652 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_PyObj_FromInt((int)wxALIGN_NOT
));
40653 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
40654 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
40655 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxALIGN_LEFT
));
40656 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_PyObj_FromInt((int)wxALIGN_TOP
));
40657 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_PyObj_FromInt((int)wxALIGN_RIGHT
));
40658 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_PyObj_FromInt((int)wxALIGN_BOTTOM
));
40659 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTER_VERTICAL
));
40660 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
40661 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_PyObj_FromInt((int)wxALIGN_CENTER
));
40662 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_PyObj_FromInt((int)wxALIGN_CENTRE
));
40663 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_PyObj_FromInt((int)wxALIGN_MASK
));
40664 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_PyObj_FromInt((int)wxSTRETCH_NOT
));
40665 PyDict_SetItemString(d
,"SHRINK", SWIG_PyObj_FromInt((int)wxSHRINK
));
40666 PyDict_SetItemString(d
,"GROW", SWIG_PyObj_FromInt((int)wxGROW
));
40667 PyDict_SetItemString(d
,"EXPAND", SWIG_PyObj_FromInt((int)wxEXPAND
));
40668 PyDict_SetItemString(d
,"SHAPED", SWIG_PyObj_FromInt((int)wxSHAPED
));
40669 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_PyObj_FromInt((int)wxADJUST_MINSIZE
));
40670 PyDict_SetItemString(d
,"TILE", SWIG_PyObj_FromInt((int)wxTILE
));
40671 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_PyObj_FromInt((int)wxBORDER_DEFAULT
));
40672 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_PyObj_FromInt((int)wxBORDER_NONE
));
40673 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_PyObj_FromInt((int)wxBORDER_STATIC
));
40674 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_PyObj_FromInt((int)wxBORDER_SIMPLE
));
40675 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_PyObj_FromInt((int)wxBORDER_RAISED
));
40676 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_PyObj_FromInt((int)wxBORDER_SUNKEN
));
40677 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_PyObj_FromInt((int)wxBORDER_DOUBLE
));
40678 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_PyObj_FromInt((int)wxBORDER_MASK
));
40679 PyDict_SetItemString(d
,"DEFAULT", SWIG_PyObj_FromInt((int)wxDEFAULT
));
40680 PyDict_SetItemString(d
,"DECORATIVE", SWIG_PyObj_FromInt((int)wxDECORATIVE
));
40681 PyDict_SetItemString(d
,"ROMAN", SWIG_PyObj_FromInt((int)wxROMAN
));
40682 PyDict_SetItemString(d
,"SCRIPT", SWIG_PyObj_FromInt((int)wxSCRIPT
));
40683 PyDict_SetItemString(d
,"SWISS", SWIG_PyObj_FromInt((int)wxSWISS
));
40684 PyDict_SetItemString(d
,"MODERN", SWIG_PyObj_FromInt((int)wxMODERN
));
40685 PyDict_SetItemString(d
,"TELETYPE", SWIG_PyObj_FromInt((int)wxTELETYPE
));
40686 PyDict_SetItemString(d
,"VARIABLE", SWIG_PyObj_FromInt((int)wxVARIABLE
));
40687 PyDict_SetItemString(d
,"FIXED", SWIG_PyObj_FromInt((int)wxFIXED
));
40688 PyDict_SetItemString(d
,"NORMAL", SWIG_PyObj_FromInt((int)wxNORMAL
));
40689 PyDict_SetItemString(d
,"LIGHT", SWIG_PyObj_FromInt((int)wxLIGHT
));
40690 PyDict_SetItemString(d
,"BOLD", SWIG_PyObj_FromInt((int)wxBOLD
));
40691 PyDict_SetItemString(d
,"ITALIC", SWIG_PyObj_FromInt((int)wxITALIC
));
40692 PyDict_SetItemString(d
,"SLANT", SWIG_PyObj_FromInt((int)wxSLANT
));
40693 PyDict_SetItemString(d
,"SOLID", SWIG_PyObj_FromInt((int)wxSOLID
));
40694 PyDict_SetItemString(d
,"DOT", SWIG_PyObj_FromInt((int)wxDOT
));
40695 PyDict_SetItemString(d
,"LONG_DASH", SWIG_PyObj_FromInt((int)wxLONG_DASH
));
40696 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_PyObj_FromInt((int)wxSHORT_DASH
));
40697 PyDict_SetItemString(d
,"DOT_DASH", SWIG_PyObj_FromInt((int)wxDOT_DASH
));
40698 PyDict_SetItemString(d
,"USER_DASH", SWIG_PyObj_FromInt((int)wxUSER_DASH
));
40699 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_PyObj_FromInt((int)wxTRANSPARENT
));
40700 PyDict_SetItemString(d
,"STIPPLE", SWIG_PyObj_FromInt((int)wxSTIPPLE
));
40701 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_PyObj_FromInt((int)wxBDIAGONAL_HATCH
));
40702 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_PyObj_FromInt((int)wxCROSSDIAG_HATCH
));
40703 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_PyObj_FromInt((int)wxFDIAGONAL_HATCH
));
40704 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_PyObj_FromInt((int)wxCROSS_HATCH
));
40705 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_PyObj_FromInt((int)wxHORIZONTAL_HATCH
));
40706 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_PyObj_FromInt((int)wxVERTICAL_HATCH
));
40707 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_PyObj_FromInt((int)wxJOIN_BEVEL
));
40708 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_PyObj_FromInt((int)wxJOIN_MITER
));
40709 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_PyObj_FromInt((int)wxJOIN_ROUND
));
40710 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_PyObj_FromInt((int)wxCAP_ROUND
));
40711 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_PyObj_FromInt((int)wxCAP_PROJECTING
));
40712 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_PyObj_FromInt((int)wxCAP_BUTT
));
40713 PyDict_SetItemString(d
,"CLEAR", SWIG_PyObj_FromInt((int)wxCLEAR
));
40714 PyDict_SetItemString(d
,"XOR", SWIG_PyObj_FromInt((int)wxXOR
));
40715 PyDict_SetItemString(d
,"INVERT", SWIG_PyObj_FromInt((int)wxINVERT
));
40716 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_PyObj_FromInt((int)wxOR_REVERSE
));
40717 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_PyObj_FromInt((int)wxAND_REVERSE
));
40718 PyDict_SetItemString(d
,"COPY", SWIG_PyObj_FromInt((int)wxCOPY
));
40719 PyDict_SetItemString(d
,"AND", SWIG_PyObj_FromInt((int)wxAND
));
40720 PyDict_SetItemString(d
,"AND_INVERT", SWIG_PyObj_FromInt((int)wxAND_INVERT
));
40721 PyDict_SetItemString(d
,"NO_OP", SWIG_PyObj_FromInt((int)wxNO_OP
));
40722 PyDict_SetItemString(d
,"NOR", SWIG_PyObj_FromInt((int)wxNOR
));
40723 PyDict_SetItemString(d
,"EQUIV", SWIG_PyObj_FromInt((int)wxEQUIV
));
40724 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_PyObj_FromInt((int)wxSRC_INVERT
));
40725 PyDict_SetItemString(d
,"OR_INVERT", SWIG_PyObj_FromInt((int)wxOR_INVERT
));
40726 PyDict_SetItemString(d
,"NAND", SWIG_PyObj_FromInt((int)wxNAND
));
40727 PyDict_SetItemString(d
,"OR", SWIG_PyObj_FromInt((int)wxOR
));
40728 PyDict_SetItemString(d
,"SET", SWIG_PyObj_FromInt((int)wxSET
));
40729 PyDict_SetItemString(d
,"WXK_BACK", SWIG_PyObj_FromInt((int)WXK_BACK
));
40730 PyDict_SetItemString(d
,"WXK_TAB", SWIG_PyObj_FromInt((int)WXK_TAB
));
40731 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_PyObj_FromInt((int)WXK_RETURN
));
40732 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_PyObj_FromInt((int)WXK_ESCAPE
));
40733 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_PyObj_FromInt((int)WXK_SPACE
));
40734 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_PyObj_FromInt((int)WXK_DELETE
));
40735 PyDict_SetItemString(d
,"WXK_START", SWIG_PyObj_FromInt((int)WXK_START
));
40736 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_PyObj_FromInt((int)WXK_LBUTTON
));
40737 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_PyObj_FromInt((int)WXK_RBUTTON
));
40738 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_PyObj_FromInt((int)WXK_CANCEL
));
40739 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_PyObj_FromInt((int)WXK_MBUTTON
));
40740 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_PyObj_FromInt((int)WXK_CLEAR
));
40741 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_PyObj_FromInt((int)WXK_SHIFT
));
40742 PyDict_SetItemString(d
,"WXK_ALT", SWIG_PyObj_FromInt((int)WXK_ALT
));
40743 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_PyObj_FromInt((int)WXK_CONTROL
));
40744 PyDict_SetItemString(d
,"WXK_MENU", SWIG_PyObj_FromInt((int)WXK_MENU
));
40745 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_PyObj_FromInt((int)WXK_PAUSE
));
40746 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_PyObj_FromInt((int)WXK_CAPITAL
));
40747 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_PyObj_FromInt((int)WXK_PRIOR
));
40748 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_PyObj_FromInt((int)WXK_NEXT
));
40749 PyDict_SetItemString(d
,"WXK_END", SWIG_PyObj_FromInt((int)WXK_END
));
40750 PyDict_SetItemString(d
,"WXK_HOME", SWIG_PyObj_FromInt((int)WXK_HOME
));
40751 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_PyObj_FromInt((int)WXK_LEFT
));
40752 PyDict_SetItemString(d
,"WXK_UP", SWIG_PyObj_FromInt((int)WXK_UP
));
40753 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_PyObj_FromInt((int)WXK_RIGHT
));
40754 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_PyObj_FromInt((int)WXK_DOWN
));
40755 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_PyObj_FromInt((int)WXK_SELECT
));
40756 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_PyObj_FromInt((int)WXK_PRINT
));
40757 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_PyObj_FromInt((int)WXK_EXECUTE
));
40758 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_PyObj_FromInt((int)WXK_SNAPSHOT
));
40759 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_PyObj_FromInt((int)WXK_INSERT
));
40760 PyDict_SetItemString(d
,"WXK_HELP", SWIG_PyObj_FromInt((int)WXK_HELP
));
40761 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_PyObj_FromInt((int)WXK_NUMPAD0
));
40762 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_PyObj_FromInt((int)WXK_NUMPAD1
));
40763 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_PyObj_FromInt((int)WXK_NUMPAD2
));
40764 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_PyObj_FromInt((int)WXK_NUMPAD3
));
40765 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_PyObj_FromInt((int)WXK_NUMPAD4
));
40766 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_PyObj_FromInt((int)WXK_NUMPAD5
));
40767 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_PyObj_FromInt((int)WXK_NUMPAD6
));
40768 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_PyObj_FromInt((int)WXK_NUMPAD7
));
40769 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_PyObj_FromInt((int)WXK_NUMPAD8
));
40770 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_PyObj_FromInt((int)WXK_NUMPAD9
));
40771 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_PyObj_FromInt((int)WXK_MULTIPLY
));
40772 PyDict_SetItemString(d
,"WXK_ADD", SWIG_PyObj_FromInt((int)WXK_ADD
));
40773 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_PyObj_FromInt((int)WXK_SEPARATOR
));
40774 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_PyObj_FromInt((int)WXK_SUBTRACT
));
40775 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_PyObj_FromInt((int)WXK_DECIMAL
));
40776 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_PyObj_FromInt((int)WXK_DIVIDE
));
40777 PyDict_SetItemString(d
,"WXK_F1", SWIG_PyObj_FromInt((int)WXK_F1
));
40778 PyDict_SetItemString(d
,"WXK_F2", SWIG_PyObj_FromInt((int)WXK_F2
));
40779 PyDict_SetItemString(d
,"WXK_F3", SWIG_PyObj_FromInt((int)WXK_F3
));
40780 PyDict_SetItemString(d
,"WXK_F4", SWIG_PyObj_FromInt((int)WXK_F4
));
40781 PyDict_SetItemString(d
,"WXK_F5", SWIG_PyObj_FromInt((int)WXK_F5
));
40782 PyDict_SetItemString(d
,"WXK_F6", SWIG_PyObj_FromInt((int)WXK_F6
));
40783 PyDict_SetItemString(d
,"WXK_F7", SWIG_PyObj_FromInt((int)WXK_F7
));
40784 PyDict_SetItemString(d
,"WXK_F8", SWIG_PyObj_FromInt((int)WXK_F8
));
40785 PyDict_SetItemString(d
,"WXK_F9", SWIG_PyObj_FromInt((int)WXK_F9
));
40786 PyDict_SetItemString(d
,"WXK_F10", SWIG_PyObj_FromInt((int)WXK_F10
));
40787 PyDict_SetItemString(d
,"WXK_F11", SWIG_PyObj_FromInt((int)WXK_F11
));
40788 PyDict_SetItemString(d
,"WXK_F12", SWIG_PyObj_FromInt((int)WXK_F12
));
40789 PyDict_SetItemString(d
,"WXK_F13", SWIG_PyObj_FromInt((int)WXK_F13
));
40790 PyDict_SetItemString(d
,"WXK_F14", SWIG_PyObj_FromInt((int)WXK_F14
));
40791 PyDict_SetItemString(d
,"WXK_F15", SWIG_PyObj_FromInt((int)WXK_F15
));
40792 PyDict_SetItemString(d
,"WXK_F16", SWIG_PyObj_FromInt((int)WXK_F16
));
40793 PyDict_SetItemString(d
,"WXK_F17", SWIG_PyObj_FromInt((int)WXK_F17
));
40794 PyDict_SetItemString(d
,"WXK_F18", SWIG_PyObj_FromInt((int)WXK_F18
));
40795 PyDict_SetItemString(d
,"WXK_F19", SWIG_PyObj_FromInt((int)WXK_F19
));
40796 PyDict_SetItemString(d
,"WXK_F20", SWIG_PyObj_FromInt((int)WXK_F20
));
40797 PyDict_SetItemString(d
,"WXK_F21", SWIG_PyObj_FromInt((int)WXK_F21
));
40798 PyDict_SetItemString(d
,"WXK_F22", SWIG_PyObj_FromInt((int)WXK_F22
));
40799 PyDict_SetItemString(d
,"WXK_F23", SWIG_PyObj_FromInt((int)WXK_F23
));
40800 PyDict_SetItemString(d
,"WXK_F24", SWIG_PyObj_FromInt((int)WXK_F24
));
40801 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_PyObj_FromInt((int)WXK_NUMLOCK
));
40802 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_PyObj_FromInt((int)WXK_SCROLL
));
40803 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_PyObj_FromInt((int)WXK_PAGEUP
));
40804 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_PyObj_FromInt((int)WXK_PAGEDOWN
));
40805 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SPACE
));
40806 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_PyObj_FromInt((int)WXK_NUMPAD_TAB
));
40807 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_PyObj_FromInt((int)WXK_NUMPAD_ENTER
));
40808 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F1
));
40809 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F2
));
40810 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F3
));
40811 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_PyObj_FromInt((int)WXK_NUMPAD_F4
));
40812 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_PyObj_FromInt((int)WXK_NUMPAD_HOME
));
40813 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_LEFT
));
40814 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_PyObj_FromInt((int)WXK_NUMPAD_UP
));
40815 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_RIGHT
));
40816 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DOWN
));
40817 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PRIOR
));
40818 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PAGEUP
));
40819 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_NEXT
));
40820 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
40821 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_PyObj_FromInt((int)WXK_NUMPAD_END
));
40822 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_PyObj_FromInt((int)WXK_NUMPAD_BEGIN
));
40823 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_INSERT
));
40824 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DELETE
));
40825 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_PyObj_FromInt((int)WXK_NUMPAD_EQUAL
));
40826 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_PyObj_FromInt((int)WXK_NUMPAD_MULTIPLY
));
40827 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_PyObj_FromInt((int)WXK_NUMPAD_ADD
));
40828 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SEPARATOR
));
40829 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_PyObj_FromInt((int)WXK_NUMPAD_SUBTRACT
));
40830 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DECIMAL
));
40831 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_PyObj_FromInt((int)WXK_NUMPAD_DIVIDE
));
40832 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_PyObj_FromInt((int)WXK_WINDOWS_LEFT
));
40833 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_PyObj_FromInt((int)WXK_WINDOWS_RIGHT
));
40834 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_PyObj_FromInt((int)WXK_WINDOWS_MENU
));
40835 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_PyObj_FromInt((int)wxPAPER_NONE
));
40836 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_PyObj_FromInt((int)wxPAPER_LETTER
));
40837 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_PyObj_FromInt((int)wxPAPER_LEGAL
));
40838 PyDict_SetItemString(d
,"PAPER_A4", SWIG_PyObj_FromInt((int)wxPAPER_A4
));
40839 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_PyObj_FromInt((int)wxPAPER_CSHEET
));
40840 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_PyObj_FromInt((int)wxPAPER_DSHEET
));
40841 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_PyObj_FromInt((int)wxPAPER_ESHEET
));
40842 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_PyObj_FromInt((int)wxPAPER_LETTERSMALL
));
40843 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_PyObj_FromInt((int)wxPAPER_TABLOID
));
40844 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_PyObj_FromInt((int)wxPAPER_LEDGER
));
40845 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_PyObj_FromInt((int)wxPAPER_STATEMENT
));
40846 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_PyObj_FromInt((int)wxPAPER_EXECUTIVE
));
40847 PyDict_SetItemString(d
,"PAPER_A3", SWIG_PyObj_FromInt((int)wxPAPER_A3
));
40848 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_PyObj_FromInt((int)wxPAPER_A4SMALL
));
40849 PyDict_SetItemString(d
,"PAPER_A5", SWIG_PyObj_FromInt((int)wxPAPER_A5
));
40850 PyDict_SetItemString(d
,"PAPER_B4", SWIG_PyObj_FromInt((int)wxPAPER_B4
));
40851 PyDict_SetItemString(d
,"PAPER_B5", SWIG_PyObj_FromInt((int)wxPAPER_B5
));
40852 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_PyObj_FromInt((int)wxPAPER_FOLIO
));
40853 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_PyObj_FromInt((int)wxPAPER_QUARTO
));
40854 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_PyObj_FromInt((int)wxPAPER_10X14
));
40855 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_PyObj_FromInt((int)wxPAPER_11X17
));
40856 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_PyObj_FromInt((int)wxPAPER_NOTE
));
40857 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_PyObj_FromInt((int)wxPAPER_ENV_9
));
40858 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_PyObj_FromInt((int)wxPAPER_ENV_10
));
40859 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_PyObj_FromInt((int)wxPAPER_ENV_11
));
40860 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_PyObj_FromInt((int)wxPAPER_ENV_12
));
40861 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_PyObj_FromInt((int)wxPAPER_ENV_14
));
40862 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_PyObj_FromInt((int)wxPAPER_ENV_DL
));
40863 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C5
));
40864 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C3
));
40865 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C4
));
40866 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C6
));
40867 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_PyObj_FromInt((int)wxPAPER_ENV_C65
));
40868 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B4
));
40869 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B5
));
40870 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_PyObj_FromInt((int)wxPAPER_ENV_B6
));
40871 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_PyObj_FromInt((int)wxPAPER_ENV_ITALY
));
40872 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_PyObj_FromInt((int)wxPAPER_ENV_MONARCH
));
40873 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_PyObj_FromInt((int)wxPAPER_ENV_PERSONAL
));
40874 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_US
));
40875 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
40876 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_PyObj_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
40877 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_PyObj_FromInt((int)wxPAPER_ISO_B4
));
40878 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_PyObj_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
40879 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_PyObj_FromInt((int)wxPAPER_9X11
));
40880 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_PyObj_FromInt((int)wxPAPER_10X11
));
40881 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_PyObj_FromInt((int)wxPAPER_15X11
));
40882 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_PyObj_FromInt((int)wxPAPER_ENV_INVITE
));
40883 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_EXTRA
));
40884 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_LEGAL_EXTRA
));
40885 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_TABLOID_EXTRA
));
40886 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A4_EXTRA
));
40887 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
40888 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A4_TRANSVERSE
));
40889 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
40890 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_A_PLUS
));
40891 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_B_PLUS
));
40892 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_LETTER_PLUS
));
40893 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_PyObj_FromInt((int)wxPAPER_A4_PLUS
));
40894 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A5_TRANSVERSE
));
40895 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_B5_TRANSVERSE
));
40896 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A3_EXTRA
));
40897 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_A5_EXTRA
));
40898 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_PyObj_FromInt((int)wxPAPER_B5_EXTRA
));
40899 PyDict_SetItemString(d
,"PAPER_A2", SWIG_PyObj_FromInt((int)wxPAPER_A2
));
40900 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A3_TRANSVERSE
));
40901 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_PyObj_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
40902 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_PyObj_FromInt((int)wxDUPLEX_SIMPLEX
));
40903 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_PyObj_FromInt((int)wxDUPLEX_HORIZONTAL
));
40904 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_PyObj_FromInt((int)wxDUPLEX_VERTICAL
));
40905 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_PyObj_FromInt((int)wxITEM_SEPARATOR
));
40906 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_PyObj_FromInt((int)wxITEM_NORMAL
));
40907 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_PyObj_FromInt((int)wxITEM_CHECK
));
40908 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_PyObj_FromInt((int)wxITEM_RADIO
));
40909 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_PyObj_FromInt((int)wxITEM_MAX
));
40910 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_PyObj_FromInt((int)wxHT_NOWHERE
));
40911 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_FIRST
));
40912 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
40913 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
40914 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
40915 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
40916 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_THUMB
));
40917 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
40918 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
40919 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_PyObj_FromInt((int)wxHT_SCROLLBAR_LAST
));
40920 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_PyObj_FromInt((int)wxHT_WINDOW_OUTSIDE
));
40921 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_PyObj_FromInt((int)wxHT_WINDOW_INSIDE
));
40922 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_PyObj_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
40923 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_PyObj_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
40924 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_PyObj_FromInt((int)wxHT_WINDOW_CORNER
));
40925 PyDict_SetItemString(d
,"HT_MAX", SWIG_PyObj_FromInt((int)wxHT_MAX
));
40926 PyDict_SetItemString(d
,"MOD_NONE", SWIG_PyObj_FromInt((int)wxMOD_NONE
));
40927 PyDict_SetItemString(d
,"MOD_ALT", SWIG_PyObj_FromInt((int)wxMOD_ALT
));
40928 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_PyObj_FromInt((int)wxMOD_CONTROL
));
40929 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_PyObj_FromInt((int)wxMOD_SHIFT
));
40930 PyDict_SetItemString(d
,"MOD_WIN", SWIG_PyObj_FromInt((int)wxMOD_WIN
));
40931 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_NONE
));
40932 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_RECURSE
));
40933 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_PyObj_FromInt((int)wxUPDATE_UI_FROMIDLE
));
40934 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
40935 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
40936 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_INVALID
));
40937 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_BMP
));
40938 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ICO
));
40939 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_CUR
));
40940 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XBM
));
40941 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
40942 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XPM
));
40943 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
40944 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_TIF
));
40945 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_GIF
));
40946 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PNG
));
40947 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_JPEG
));
40948 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PNM
));
40949 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PCX
));
40950 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_PICT
));
40951 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ICON
));
40952 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ANI
));
40953 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_IFF
));
40954 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
40955 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_PyObj_FromInt((int)wxBITMAP_TYPE_ANY
));
40956 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_PyObj_FromInt((int)wxCURSOR_NONE
));
40957 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_ARROW
));
40958 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_RIGHT_ARROW
));
40959 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_PyObj_FromInt((int)wxCURSOR_BULLSEYE
));
40960 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_PyObj_FromInt((int)wxCURSOR_CHAR
));
40961 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_PyObj_FromInt((int)wxCURSOR_CROSS
));
40962 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_PyObj_FromInt((int)wxCURSOR_HAND
));
40963 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_PyObj_FromInt((int)wxCURSOR_IBEAM
));
40964 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_LEFT_BUTTON
));
40965 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_PyObj_FromInt((int)wxCURSOR_MAGNIFIER
));
40966 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
40967 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_PyObj_FromInt((int)wxCURSOR_NO_ENTRY
));
40968 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_PyObj_FromInt((int)wxCURSOR_PAINT_BRUSH
));
40969 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_PyObj_FromInt((int)wxCURSOR_PENCIL
));
40970 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_PyObj_FromInt((int)wxCURSOR_POINT_LEFT
));
40971 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_PyObj_FromInt((int)wxCURSOR_POINT_RIGHT
));
40972 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_QUESTION_ARROW
));
40973 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_PyObj_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
40974 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENESW
));
40975 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENS
));
40976 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_PyObj_FromInt((int)wxCURSOR_SIZENWSE
));
40977 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_PyObj_FromInt((int)wxCURSOR_SIZEWE
));
40978 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_PyObj_FromInt((int)wxCURSOR_SIZING
));
40979 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_PyObj_FromInt((int)wxCURSOR_SPRAYCAN
));
40980 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_PyObj_FromInt((int)wxCURSOR_WAIT
));
40981 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_PyObj_FromInt((int)wxCURSOR_WATCH
));
40982 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_PyObj_FromInt((int)wxCURSOR_BLANK
));
40983 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_PyObj_FromInt((int)wxCURSOR_DEFAULT
));
40984 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_PyObj_FromInt((int)wxCURSOR_COPY_ARROW
));
40985 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_PyObj_FromInt((int)wxCURSOR_ARROWWAIT
));
40986 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_PyObj_FromInt((int)wxCURSOR_MAX
));
40987 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
40988 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
40989 PyDict_SetItemString(d
,"FromStart", SWIG_PyObj_FromInt((int)wxFromStart
));
40990 PyDict_SetItemString(d
,"FromCurrent", SWIG_PyObj_FromInt((int)wxFromCurrent
));
40991 PyDict_SetItemString(d
,"FromEnd", SWIG_PyObj_FromInt((int)wxFromEnd
));
40993 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
40996 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
40998 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
40999 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
41000 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
41001 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
41002 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
41003 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
41004 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_PyObj_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
41005 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_PyObj_FromInt((int)wxIMAGE_RESOLUTION_CM
));
41006 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_PyObj_FromInt((int)wxBMP_24BPP
));
41007 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_PyObj_FromInt((int)wxBMP_8BPP
));
41008 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_PyObj_FromInt((int)wxBMP_8BPP_GREY
));
41009 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_PyObj_FromInt((int)wxBMP_8BPP_GRAY
));
41010 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_PyObj_FromInt((int)wxBMP_8BPP_RED
));
41011 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_PyObj_FromInt((int)wxBMP_8BPP_PALETTE
));
41012 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_PyObj_FromInt((int)wxBMP_4BPP
));
41013 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_PyObj_FromInt((int)wxBMP_1BPP
));
41014 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_PyObj_FromInt((int)wxBMP_1BPP_BW
));
41015 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_PyObj_FromInt((int)wxEVENT_PROPAGATE_NONE
));
41016 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_PyObj_FromInt((int)wxEVENT_PROPAGATE_MAX
));
41017 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
41018 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
41019 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
41020 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
41021 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
41022 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
41023 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
41024 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
41025 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
41026 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
41027 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
41028 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
41029 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
41030 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
41031 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
41032 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
41033 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
41034 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
41035 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
41036 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
41037 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
41038 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
41039 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
41040 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
41041 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
41042 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
41043 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
41044 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
41045 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
41046 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
41047 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
41048 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
41049 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
41050 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
41051 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
41052 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
41053 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
41054 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
41055 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
41056 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
41057 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
41058 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
41059 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
41060 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
41061 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
41062 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
41063 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
41064 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
41065 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
41066 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
41067 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
41068 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
41069 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
41070 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
41071 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
41072 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
41073 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
41074 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
41075 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
41076 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
41077 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
41078 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
41079 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
41080 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
41081 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
41082 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
41083 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
41084 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
41085 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
41086 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
41087 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
41088 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
41089 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
41090 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
41091 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
41092 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
41093 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
41094 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
41095 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
41096 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
41097 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
41098 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
41099 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
41100 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
41101 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
41102 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
41103 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
41104 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
41105 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
41106 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
41107 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
41108 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
41109 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
41110 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
41111 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
41112 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
41113 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
41114 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
41115 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
41116 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
41117 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
41118 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
41119 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
41120 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
41121 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
41122 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
41123 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
41124 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
41125 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
41126 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
41127 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
41128 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
41129 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
41130 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
41131 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_ANY
));
41132 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_NONE
));
41133 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_LEFT
));
41134 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_MIDDLE
));
41135 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_PyObj_FromInt((int)wxMOUSE_BTN_RIGHT
));
41136 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_PyObj_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
41137 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_PyObj_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
41138 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_PyObj_FromInt((int)wxIDLE_PROCESS_ALL
));
41139 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_PyObj_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
41140 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
41141 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
41142 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
41143 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_PyObj_FromInt((int)wxPYAPP_ASSERT_LOG
));
41144 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_PyObj_FromInt((int)wxPRINT_WINDOWS
));
41145 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_PyObj_FromInt((int)wxPRINT_POSTSCRIPT
));
41146 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
41147 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
41148 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
41149 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
41150 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_NONE
));
41151 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
41152 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_PyObj_FromInt((int)wxFLEX_GROWMODE_ALL
));
41153 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
41154 PyDict_SetItemString(d
,"Left", SWIG_PyObj_FromInt((int)wxLeft
));
41155 PyDict_SetItemString(d
,"Top", SWIG_PyObj_FromInt((int)wxTop
));
41156 PyDict_SetItemString(d
,"Right", SWIG_PyObj_FromInt((int)wxRight
));
41157 PyDict_SetItemString(d
,"Bottom", SWIG_PyObj_FromInt((int)wxBottom
));
41158 PyDict_SetItemString(d
,"Width", SWIG_PyObj_FromInt((int)wxWidth
));
41159 PyDict_SetItemString(d
,"Height", SWIG_PyObj_FromInt((int)wxHeight
));
41160 PyDict_SetItemString(d
,"Centre", SWIG_PyObj_FromInt((int)wxCentre
));
41161 PyDict_SetItemString(d
,"Center", SWIG_PyObj_FromInt((int)wxCenter
));
41162 PyDict_SetItemString(d
,"CentreX", SWIG_PyObj_FromInt((int)wxCentreX
));
41163 PyDict_SetItemString(d
,"CentreY", SWIG_PyObj_FromInt((int)wxCentreY
));
41164 PyDict_SetItemString(d
,"Unconstrained", SWIG_PyObj_FromInt((int)wxUnconstrained
));
41165 PyDict_SetItemString(d
,"AsIs", SWIG_PyObj_FromInt((int)wxAsIs
));
41166 PyDict_SetItemString(d
,"PercentOf", SWIG_PyObj_FromInt((int)wxPercentOf
));
41167 PyDict_SetItemString(d
,"Above", SWIG_PyObj_FromInt((int)wxAbove
));
41168 PyDict_SetItemString(d
,"Below", SWIG_PyObj_FromInt((int)wxBelow
));
41169 PyDict_SetItemString(d
,"LeftOf", SWIG_PyObj_FromInt((int)wxLeftOf
));
41170 PyDict_SetItemString(d
,"RightOf", SWIG_PyObj_FromInt((int)wxRightOf
));
41171 PyDict_SetItemString(d
,"SameAs", SWIG_PyObj_FromInt((int)wxSameAs
));
41172 PyDict_SetItemString(d
,"Absolute", SWIG_PyObj_FromInt((int)wxAbsolute
));
41174 // Initialize threading, some globals and such
41178 // Although these are defined in __version__ they need to be here too so
41179 // that an assert can be done to ensure that the wxPython and the wxWindows
41181 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
41182 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
41183 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));