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
50 /***********************************************************************
51 * common.swg for wxPython
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 ************************************************************************/
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #define SWIGRUNTIME(a) static a
96 typedef void *(*swig_converter_func
)(void *);
97 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
99 typedef struct swig_type_info
{
101 swig_converter_func converter
;
104 swig_dycast_func dcast
;
105 struct swig_type_info
*next
;
106 struct swig_type_info
*prev
;
110 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
123 /***********************************************************************
124 * pyrun.swg for wxPython
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
131 ************************************************************************/
140 #define SWIG_PY_INT 1
141 #define SWIG_PY_FLOAT 2
142 #define SWIG_PY_STRING 3
143 #define SWIG_PY_POINTER 4
144 #define SWIG_PY_BINARY 5
146 /* Flags for pointer conversion */
148 #define SWIG_POINTER_EXCEPTION 0x1
149 #define SWIG_POINTER_DISOWN 0x2
151 /* Exception handling in wrappers */
152 #define SWIG_fail goto fail
154 /* Constant information structure */
155 typedef struct swig_const_info
{
161 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183 #define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185 #define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187 #define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
191 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
192 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
193 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
195 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
196 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
197 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
198 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
199 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
200 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
201 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
204 /* Contract support */
206 #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207 #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
209 #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210 #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
212 #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213 #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214 #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
222 /* -------- TYPES TABLE (BEGIN) -------- */
224 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
225 #define SWIGTYPE_p_wxRealPoint swig_types[1]
226 #define SWIGTYPE_p_wxSizerItem swig_types[2]
227 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
228 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
229 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
230 #define SWIGTYPE_p_wxSizer swig_types[6]
231 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
232 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
233 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
234 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
235 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
236 #define SWIGTYPE_p_wxMenu swig_types[12]
237 #define SWIGTYPE_p_wxEvent swig_types[13]
238 #define SWIGTYPE_p_wxGridSizer swig_types[14]
239 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
240 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
241 #define SWIGTYPE_p_wxItemContainer swig_types[17]
242 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
243 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
244 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
245 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
246 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
247 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
248 #define SWIGTYPE_p_wxControl swig_types[24]
249 #define SWIGTYPE_p_wxFont swig_types[25]
250 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
251 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
252 #define SWIGTYPE_p_wxFSFile swig_types[28]
253 #define SWIGTYPE_p_wxCaret swig_types[29]
254 #define SWIGTYPE_p_wxRegion swig_types[30]
255 #define SWIGTYPE_p_wxPoint2D swig_types[31]
256 #define SWIGTYPE_p_int swig_types[32]
257 #define SWIGTYPE_p_wxSize swig_types[33]
258 #define SWIGTYPE_p_wxDC swig_types[34]
259 #define SWIGTYPE_p_wxPySizer swig_types[35]
260 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
261 #define SWIGTYPE_p_wxPyEvent swig_types[37]
262 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
263 #define SWIGTYPE_p_wxAppTraits swig_types[39]
264 #define SWIGTYPE_p_wxArrayString swig_types[40]
265 #define SWIGTYPE_p_wxShowEvent swig_types[41]
266 #define SWIGTYPE_p_wxToolTip swig_types[42]
267 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
268 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
269 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
270 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
271 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
272 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
273 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
274 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
275 #define SWIGTYPE_p_wxMenuItem swig_types[51]
276 #define SWIGTYPE_p_wxStaticBox swig_types[52]
277 #define SWIGTYPE_p_long swig_types[53]
278 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
279 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
280 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
281 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
282 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
283 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
284 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
285 #define SWIGTYPE_p_wxANIHandler swig_types[61]
286 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
287 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
288 #define SWIGTYPE_p_wxCURHandler swig_types[64]
289 #define SWIGTYPE_p_wxICOHandler swig_types[65]
290 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
291 #define SWIGTYPE_p_wxImageHandler swig_types[67]
292 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
293 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
294 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
295 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
296 #define SWIGTYPE_p_wxRect swig_types[72]
297 #define SWIGTYPE_p_wxGBSpan swig_types[73]
298 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
299 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
300 #define SWIGTYPE_p_wxGBPosition swig_types[76]
301 #define SWIGTYPE_p_wxImage swig_types[77]
302 #define SWIGTYPE_p_wxFrame swig_types[78]
303 #define SWIGTYPE_p_wxScrollWinEvent swig_types[79]
304 #define SWIGTYPE_p_wxImageHistogram swig_types[80]
305 #define SWIGTYPE_p_byte swig_types[81]
306 #define SWIGTYPE_p_wxPoint swig_types[82]
307 #define SWIGTYPE_p_wxCursor swig_types[83]
308 #define SWIGTYPE_p_wxObject swig_types[84]
309 #define SWIGTYPE_p_wxPyInputStream swig_types[85]
310 #define SWIGTYPE_p_wxOutputStream swig_types[86]
311 #define SWIGTYPE_p_wxInputStream swig_types[87]
312 #define SWIGTYPE_p_wxDateTime swig_types[88]
313 #define SWIGTYPE_p_wxKeyEvent swig_types[89]
314 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[90]
315 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[91]
316 #define SWIGTYPE_p_wxWindow swig_types[92]
317 #define SWIGTYPE_p_wxMenuBar swig_types[93]
318 #define SWIGTYPE_p_wxString swig_types[94]
319 #define SWIGTYPE_p_wxFileSystem swig_types[95]
320 #define SWIGTYPE_p_wxBitmap swig_types[96]
321 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
322 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
323 #define SWIGTYPE_p_unsigned_char swig_types[99]
324 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
325 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
326 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
327 #define SWIGTYPE_p_wxPyApp swig_types[103]
328 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
329 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
330 #define SWIGTYPE_p_wxDropTarget swig_types[106]
331 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
332 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
333 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
334 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
335 #define SWIGTYPE_p_wxColour swig_types[111]
336 #define SWIGTYPE_p_wxValidator swig_types[112]
337 #define SWIGTYPE_p_wxPyValidator swig_types[113]
338 static swig_type_info
*swig_types
[115];
340 /* -------- TYPES TABLE (END) -------- */
343 /*-----------------------------------------------
345 ------------------------------------------------*/
346 #define SWIG_init init_core
348 #define SWIG_name "_core"
350 #include "wx/wxPython/wxPython_int.h"
351 #include "wx/wxPython/pyclasses.h"
354 #ifndef wxPyUSE_EXPORT
355 // Helper functions for dealing with SWIG objects and such. These are
356 // located here so they know about the SWIG types and functions declared
357 // in the wrapper code.
359 #include <wx/hashmap.h>
360 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
363 // Maintains a hashmap of className to swig_type_info pointers. Given the
364 // name of a class either looks up the type info in the cache, or scans the
365 // SWIG tables for it.
366 extern PyObject
* wxPyPtrTypeMap
;
368 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
370 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
372 if (typeInfoCache
== NULL
)
373 typeInfoCache
= new wxPyTypeInfoHashMap
;
375 wxString
name(className
);
376 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
379 // it wasn't in the cache, so look it up from SWIG
380 name
.Append(wxT(" *"));
381 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
383 // if it still wasn't found, try looking for a mapped name
388 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
389 (char*)(const char*)name
.mbc_str())) != NULL
) {
390 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
391 name
.Append(wxT(" *"));
392 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
396 // and add it to the map if found
397 (*typeInfoCache
)[className
] = swigType
;
404 // Check if a class name is a type known to SWIG
405 bool wxPyCheckSwigType(const wxChar
* className
) {
407 swig_type_info
* swigType
= wxPyFindSwigType(className
);
408 return swigType
!= NULL
;
412 // Given a pointer to a C++ object and a class name, construct a Python proxy
414 PyObject
* wxPyConstructObject(void* ptr
,
415 const wxChar
* className
,
418 swig_type_info
* swigType
= wxPyFindSwigType(className
);
419 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
421 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
425 // Extract a pointer to the wrapped C++ object from a Python proxy object.
426 // Ensures that the proxy object is of the specified (or derived) type. If
427 // not able to perform the conversion then a Python exception is set and the
428 // error should be handled properly in the caller. Returns true on success.
429 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
430 const wxChar
* className
) {
432 swig_type_info
* swigType
= wxPyFindSwigType(className
);
433 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
435 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
439 // Make a SWIGified pointer object suitable for a .this attribute
440 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
442 PyObject
* robj
= NULL
;
444 swig_type_info
* swigType
= wxPyFindSwigType(className
);
445 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
447 #ifdef SWIG_COBJECT_TYPES
448 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
454 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
455 strcpy(r
, swigType
->name
);
456 robj
= PyString_FromString(result
);
466 // Export a C API in a struct. Other modules will be able to load this from
467 // the wx.core module and will then have safe access to these functions, even if
468 // they are located in another shared library.
469 static wxPyCoreAPI API
= {
471 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
472 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
473 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
474 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
475 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
476 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
477 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
478 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
479 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
480 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
481 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
482 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
483 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
484 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
485 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
486 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
487 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
494 wxPyBeginAllowThreads
,
496 wxPyBeginBlockThreads
,
510 wxBitmap_LIST_helper
,
511 wxString_LIST_helper
,
512 wxAcceleratorEntry_LIST_helper
,
521 wxPySimple_typecheck
,
524 wxPyCBH_setCallbackInfo
,
525 wxPyCBH_findCallback
,
526 wxPyCBH_callCallback
,
527 wxPyCBH_callCallbackObj
,
535 wxArrayString2PyList_helper
,
536 wxArrayInt2PyList_helper
,
540 wxPyOORClientData_dtor
,
542 wxPyCBInputStream_create
,
545 wxPySwigInstance_Check
552 DECLARE_DEF_STRING(EmptyString
);
553 DECLARE_DEF_STRING(PanelNameStr
);
557 enum wxHotkeyModifier
565 #define wxEVT_HOTKEY 9999
568 wxString
wxObject_GetClassName(wxObject
*self
){
569 return self
->GetClassInfo()->GetClassName();
571 void wxObject_Destroy(wxObject
*self
){
576 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
579 PyObject
*wxSize_asTuple(wxSize
*self
){
580 wxPyBeginBlockThreads();
581 PyObject
* tup
= PyTuple_New(2);
582 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
583 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
584 wxPyEndBlockThreads();
587 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
591 PyObject
*wxRealPoint_asTuple(wxRealPoint
*self
){
592 wxPyBeginBlockThreads();
593 PyObject
* tup
= PyTuple_New(2);
594 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
595 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
596 wxPyEndBlockThreads();
599 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
603 PyObject
*wxPoint_asTuple(wxPoint
*self
){
604 wxPyBeginBlockThreads();
605 PyObject
* tup
= PyTuple_New(2);
606 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
607 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
608 wxPyEndBlockThreads();
611 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
615 self
->height
= height
;
617 PyObject
*wxRect_asTuple(wxRect
*self
){
618 wxPyBeginBlockThreads();
619 PyObject
* tup
= PyTuple_New(4);
620 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
621 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
622 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
623 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
624 wxPyEndBlockThreads();
628 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
631 wxRect
dest(0,0,0,0);
634 reg1
.Intersect(reg2
);
635 dest
= reg1
.GetBox();
637 if (dest
!= wxRect(0,0,0,0)) {
638 wxPyBeginBlockThreads();
639 wxRect
* newRect
= new wxRect(dest
);
640 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
641 wxPyEndBlockThreads();
649 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
655 } else if (target
== Py_None
) {
659 if (!PyTuple_Check(target
)) {
661 target
= PyTuple_New(1);
662 PyTuple_SetItem(target
, 0, o2
);
665 PyTuple_SetItem(o3
, 0, o
);
668 target
= PySequence_Concat(o2
, o3
);
675 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
679 PyObject
*wxPoint2D_asTuple(wxPoint2D
*self
){
680 wxPyBeginBlockThreads();
681 PyObject
* tup
= PyTuple_New(2);
682 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
683 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
684 wxPyEndBlockThreads();
688 #include "wx/wxPython/pyistream.h"
690 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
691 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
693 return new wxPyInputStream(wxis
);
697 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
698 // We use only strings for the streams, not unicode
699 PyObject
* str
= PyObject_Str(obj
);
701 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
704 self
->Write(PyString_AS_STRING(str
),
705 PyString_GET_SIZE(str
));
709 #include "wx/wxPython/pyistream.h"
712 class wxPyFileSystemHandler
: public wxFileSystemHandler
715 wxPyFileSystemHandler() : wxFileSystemHandler() {}
717 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
718 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
719 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
720 DEC_PYCALLBACK_STRING__pure(FindNext
);
722 wxString
GetProtocol(const wxString
& location
) {
723 return wxFileSystemHandler::GetProtocol(location
);
726 wxString
GetLeftLocation(const wxString
& location
) {
727 return wxFileSystemHandler::GetLeftLocation(location
);
730 wxString
GetAnchor(const wxString
& location
) {
731 return wxFileSystemHandler::GetAnchor(location
);
734 wxString
GetRightLocation(const wxString
& location
) {
735 return wxFileSystemHandler::GetRightLocation(location
);
738 wxString
GetMimeTypeFromExt(const wxString
& location
) {
739 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
746 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
747 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
748 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
749 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
752 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
753 wxFileName fname
= wxFileSystem::URLToFileName(url
);
754 return fname
.GetFullPath();
758 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
761 wxMemoryFSHandler::AddFile(filename
, image
, type
);
764 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
765 const wxBitmap
& bitmap
,
767 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
770 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
772 wxMemoryFSHandler::AddFile(filename
,
773 // TODO: Verify data type
774 (void*)PyString_AsString(data
),
775 (size_t)PyString_Size(data
));
779 #include "wx/wxPython/pyistream.h"
781 wxImage
*new_wxImage(int width
,int height
,bool clear
){
782 if (width
> 0 && height
> 0)
783 return new wxImage(width
, height
, clear
);
787 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
788 return new wxImage(bitmap
.ConvertToImage());
790 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
791 // Copy the source data so the wxImage can clean it up later
792 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
797 memcpy(copy
, data
, width
*height
*3);
798 return new wxImage(width
, height
, copy
, FALSE
);
800 PyObject
*wxImage_GetData(wxImage
*self
){
801 unsigned char* data
= self
->GetData();
802 int len
= self
->GetWidth() * self
->GetHeight() * 3;
804 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
807 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
808 unsigned char* dataPtr
;
810 if (! PyString_Check(data
)) {
811 PyErr_SetString(PyExc_TypeError
, "Expected string object");
815 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
816 dataPtr
= (unsigned char*) malloc(len
);
817 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
818 self
->SetData(dataPtr
);
819 // wxImage takes ownership of dataPtr...
821 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
822 unsigned char* data
= self
->GetData();
823 int len
= self
->GetWidth() * self
->GetHeight() * 3;
825 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
828 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
829 unsigned char* buffer
;
832 wxPyBeginBlockThreads();
833 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
836 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
837 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
840 self
->SetData(buffer
);
842 wxPyEndBlockThreads();
844 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
845 unsigned char* data
= self
->GetAlpha();
849 int len
= self
->GetWidth() * self
->GetHeight();
851 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
855 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
856 unsigned char* dataPtr
;
858 if (! PyString_Check(data
)) {
859 PyErr_SetString(PyExc_TypeError
, "Expected string object");
863 size_t len
= self
->GetWidth() * self
->GetHeight();
864 dataPtr
= (unsigned char*) malloc(len
);
865 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
866 self
->SetAlpha(dataPtr
);
867 // wxImage takes ownership of dataPtr...
869 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
870 unsigned char* data
= self
->GetAlpha();
871 int len
= self
->GetWidth() * self
->GetHeight();
873 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
876 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
877 unsigned char* buffer
;
880 wxPyBeginBlockThreads();
881 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
884 if (size
!= self
->GetWidth() * self
->GetHeight()) {
885 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
888 self
->SetAlpha(buffer
);
890 wxPyEndBlockThreads();
892 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
893 wxBitmap
bitmap(*self
);
896 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
897 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
898 wxBitmap
bitmap( mono
, 1 );
901 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
902 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
903 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
904 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
905 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
906 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
907 if (PyCallable_Check(func
)) {
908 self
->Connect(id
, lastId
, eventType
,
909 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
910 new wxPyCallback(func
));
912 else if (func
== Py_None
) {
913 self
->Disconnect(id
, lastId
, eventType
,
914 (wxObjectEventFunction
)
915 &wxPyCallback::EventThunker
);
918 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
921 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
922 return self
->Disconnect(id
, lastId
, eventType
,
923 (wxObjectEventFunction
)
924 &wxPyCallback::EventThunker
);
926 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
927 if (_self
&& _self
!= Py_None
) {
928 self
->SetClientObject(new wxPyOORClientData(_self
));
931 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
933 self
->SetClientObject(NULL
); // This will delete it too
937 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
944 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
947 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
950 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
951 int count
= self
->GetNumberOfFiles();
952 wxString
* files
= self
->GetFiles();
953 PyObject
* list
= PyList_New(count
);
956 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
960 for (int i
=0; i
<count
; i
++) {
964 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
971 wxPyApp
*new_wxPyApp(){
972 wxPythonApp
= new wxPyApp();
976 void wxApp_CleanUp() {
981 wxPyApp
* wxGetApp() {
982 return (wxPyApp
*)wxTheApp
;
987 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
988 wxWindowList
& list
= self
->GetChildren();
989 return wxPy_ConvertList(&list
);
991 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
998 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1005 long wxWindow_GetHandle(wxWindow
*self
){
1006 return wxPyGetWinHandle(self
);
1009 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1010 return wxWindow::FindWindowById(id
, parent
);
1013 wxWindow
* wxFindWindowByName( const wxString
& name
,
1014 const wxWindow
*parent
= NULL
) {
1015 return wxWindow::FindWindowByName(name
, parent
);
1018 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1019 const wxWindow
*parent
= NULL
) {
1020 return wxWindow::FindWindowByLabel(label
, parent
);
1024 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1026 wxWindow
* win
= new wxWindow
;
1028 win
->SubclassWin(hWnd
);
1031 PyErr_SetNone(PyExc_NotImplementedError
);
1037 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1038 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1039 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1041 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1043 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1044 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1045 wxMenuItemList
& list
= self
->GetMenuItems();
1046 return wxPy_ConvertList(&list
);
1049 DECLARE_DEF_STRING(ControlNameStr
);
1051 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1053 wxPyClientData
* data
= new wxPyClientData(clientData
);
1054 return self
->Append(item
, data
);
1056 return self
->Append(item
);
1058 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1060 wxPyClientData
* data
= new wxPyClientData(clientData
);
1061 return self
->Insert(item
, pos
, data
);
1063 return self
->Insert(item
, pos
);
1065 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1066 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1068 Py_INCREF(data
->m_obj
);
1075 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1076 wxPyClientData
* data
= new wxPyClientData(clientData
);
1077 self
->SetClientObject(n
, data
);
1081 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1082 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1084 Py_INCREF(data
->m_obj
);
1092 // Figure out the type of the sizer item
1094 struct wxPySizerItemInfo
{
1096 : window(NULL
), sizer(NULL
), gotSize(false),
1097 size(wxDefaultSize
), gotPos(false), pos(-1)
1108 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1110 wxPySizerItemInfo info
;
1112 wxSize
* sizePtr
= &size
;
1114 // Find out what the type of the item is
1116 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1121 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1125 // try wxSize or (w,h)
1126 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1127 info
.size
= *sizePtr
;
1128 info
.gotSize
= true;
1132 if (checkIdx
&& PyInt_Check(item
)) {
1133 info
.pos
= PyInt_AsLong(item
);
1139 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1140 // no expected type, figure out what kind of error message to generate
1141 if ( !checkSize
&& !checkIdx
)
1142 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1143 else if ( checkSize
&& !checkIdx
)
1144 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1145 else if ( !checkSize
&& checkIdx
)
1146 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1148 // can this one happen?
1149 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1155 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1156 self
->SetClientObject(new wxPyOORClientData(_self
));
1158 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1160 wxPyUserData
* data
= NULL
;
1161 wxPyBeginBlockThreads();
1162 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1163 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1164 data
= new wxPyUserData(userData
);
1165 wxPyEndBlockThreads();
1167 // Now call the real Add method if a valid item type was found
1169 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1170 else if ( info
.sizer
)
1171 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1172 else if (info
.gotSize
)
1173 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1174 proportion
, flag
, border
, data
);
1176 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1178 wxPyUserData
* data
= NULL
;
1179 wxPyBeginBlockThreads();
1180 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1181 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1182 data
= new wxPyUserData(userData
);
1183 wxPyEndBlockThreads();
1185 // Now call the real Insert method if a valid item type was found
1187 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1188 else if ( info
.sizer
)
1189 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1190 else if (info
.gotSize
)
1191 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1192 proportion
, flag
, border
, data
);
1194 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1196 wxPyUserData
* data
= NULL
;
1197 wxPyBeginBlockThreads();
1198 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1199 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1200 data
= new wxPyUserData(userData
);
1201 wxPyEndBlockThreads();
1203 // Now call the real Prepend method if a valid item type was found
1205 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1206 else if ( info
.sizer
)
1207 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1208 else if (info
.gotSize
)
1209 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1210 proportion
, flag
, border
, data
);
1212 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1213 wxPyBeginBlockThreads();
1214 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1215 wxPyEndBlockThreads();
1217 return self
->Remove(info
.window
);
1218 else if ( info
.sizer
)
1219 return self
->Remove(info
.sizer
);
1220 else if ( info
.gotPos
)
1221 return self
->Remove(info
.pos
);
1225 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize size
){
1226 wxPyBeginBlockThreads();
1227 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1228 wxPyEndBlockThreads();
1230 self
->SetItemMinSize(info
.window
, size
);
1231 else if ( info
.sizer
)
1232 self
->SetItemMinSize(info
.sizer
, size
);
1233 else if ( info
.gotPos
)
1234 self
->SetItemMinSize(info
.pos
, size
);
1236 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1237 wxSizerItemList
& list
= self
->GetChildren();
1238 return wxPy_ConvertList(&list
);
1240 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1241 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1243 self
->Show(info
.window
, show
);
1244 else if ( info
.sizer
)
1245 self
->Show(info
.sizer
, show
);
1247 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1248 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1250 self
->Hide(info
.window
);
1251 else if ( info
.sizer
)
1252 self
->Hide(info
.sizer
);
1254 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1255 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1257 return self
->IsShown(info
.window
);
1258 else if ( info
.sizer
)
1259 return self
->IsShown(info
.sizer
);
1265 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1266 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1267 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1272 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1274 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1277 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1279 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1283 PyObject
*wxGBPosition_asTuple(wxGBPosition
*self
){
1284 wxPyBeginBlockThreads();
1285 PyObject
* tup
= PyTuple_New(2);
1286 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1287 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1288 wxPyEndBlockThreads();
1291 PyObject
*wxGBSpan_asTuple(wxGBSpan
*self
){
1292 wxPyBeginBlockThreads();
1293 PyObject
* tup
= PyTuple_New(2);
1294 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1295 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1296 wxPyEndBlockThreads();
1299 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1301 wxPyUserData
* data
= NULL
;
1302 wxPyBeginBlockThreads();
1303 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1304 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1305 data
= new wxPyUserData(userData
);
1306 wxPyEndBlockThreads();
1308 // Now call the real Add method if a valid item type was found
1310 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1311 else if ( info
.sizer
)
1312 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1313 else if (info
.gotSize
)
1314 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1315 pos
, span
, flag
, border
, data
);
1323 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
*resultobj
;
1325 wxObject
*arg1
= (wxObject
*) 0 ;
1327 PyObject
* obj0
= 0 ;
1329 (char *) "self", NULL
1332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1336 result
= wxObject_GetClassName(arg1
);
1338 wxPyEndAllowThreads(__tstate
);
1339 if (PyErr_Occurred()) SWIG_fail
;
1343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1354 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
*resultobj
;
1356 wxObject
*arg1
= (wxObject
*) 0 ;
1357 PyObject
* obj0
= 0 ;
1359 (char *) "self", NULL
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1366 wxObject_Destroy(arg1
);
1368 wxPyEndAllowThreads(__tstate
);
1369 if (PyErr_Occurred()) SWIG_fail
;
1371 Py_INCREF(Py_None
); resultobj
= Py_None
;
1378 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1381 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1383 return Py_BuildValue((char *)"");
1385 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
*resultobj
;
1387 wxSize
*arg1
= (wxSize
*) 0 ;
1389 PyObject
* obj0
= 0 ;
1391 (char *) "self",(char *) "x", NULL
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1396 if (arg1
) (arg1
)->x
= arg2
;
1398 Py_INCREF(Py_None
); resultobj
= Py_None
;
1405 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1406 PyObject
*resultobj
;
1407 wxSize
*arg1
= (wxSize
*) 0 ;
1409 PyObject
* obj0
= 0 ;
1411 (char *) "self", NULL
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1416 result
= (int) ((arg1
)->x
);
1418 resultobj
= PyInt_FromLong((long)result
);
1425 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1426 PyObject
*resultobj
;
1427 wxSize
*arg1
= (wxSize
*) 0 ;
1429 PyObject
* obj0
= 0 ;
1431 (char *) "self",(char *) "y", NULL
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1436 if (arg1
) (arg1
)->y
= arg2
;
1438 Py_INCREF(Py_None
); resultobj
= Py_None
;
1445 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
*resultobj
;
1447 wxSize
*arg1
= (wxSize
*) 0 ;
1449 PyObject
* obj0
= 0 ;
1451 (char *) "self", NULL
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1456 result
= (int) ((arg1
)->y
);
1458 resultobj
= PyInt_FromLong((long)result
);
1465 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1466 PyObject
*resultobj
;
1467 int arg1
= (int) 0 ;
1468 int arg2
= (int) 0 ;
1471 (char *) "w",(char *) "h", NULL
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Size",kwnames
,&arg1
,&arg2
)) goto fail
;
1476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1479 wxPyEndAllowThreads(__tstate
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1482 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1489 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
*resultobj
;
1491 wxSize
*arg1
= (wxSize
*) 0 ;
1492 PyObject
* obj0
= 0 ;
1494 (char *) "self", NULL
1497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1503 wxPyEndAllowThreads(__tstate
);
1504 if (PyErr_Occurred()) SWIG_fail
;
1506 Py_INCREF(Py_None
); resultobj
= Py_None
;
1513 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
*resultobj
;
1515 wxSize
*arg1
= (wxSize
*) 0 ;
1519 PyObject
* obj0
= 0 ;
1520 PyObject
* obj1
= 0 ;
1522 (char *) "self",(char *) "sz", NULL
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1529 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 result
= (bool)((wxSize
const *)arg1
)->operator ==((wxSize
const &)*arg2
);
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) SWIG_fail
;
1538 resultobj
= PyInt_FromLong((long)result
);
1545 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
*resultobj
;
1547 wxSize
*arg1
= (wxSize
*) 0 ;
1551 PyObject
* obj0
= 0 ;
1552 PyObject
* obj1
= 0 ;
1554 (char *) "self",(char *) "sz", NULL
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1561 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1565 result
= (bool)((wxSize
const *)arg1
)->operator !=((wxSize
const &)*arg2
);
1567 wxPyEndAllowThreads(__tstate
);
1568 if (PyErr_Occurred()) SWIG_fail
;
1570 resultobj
= PyInt_FromLong((long)result
);
1577 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
*resultobj
;
1579 wxSize
*arg1
= (wxSize
*) 0 ;
1583 PyObject
* obj0
= 0 ;
1584 PyObject
* obj1
= 0 ;
1586 (char *) "self",(char *) "sz", NULL
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1593 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1604 resultptr
= new wxSize((wxSize
&) result
);
1605 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1613 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
*resultobj
;
1615 wxSize
*arg1
= (wxSize
*) 0 ;
1619 PyObject
* obj0
= 0 ;
1620 PyObject
* obj1
= 0 ;
1622 (char *) "self",(char *) "sz", NULL
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1629 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) SWIG_fail
;
1640 resultptr
= new wxSize((wxSize
&) result
);
1641 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1649 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
*resultobj
;
1651 wxSize
*arg1
= (wxSize
*) 0 ;
1654 PyObject
* obj0
= 0 ;
1655 PyObject
* obj1
= 0 ;
1657 (char *) "self",(char *) "sz", NULL
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1664 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1668 (arg1
)->IncTo((wxSize
const &)*arg2
);
1670 wxPyEndAllowThreads(__tstate
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1673 Py_INCREF(Py_None
); resultobj
= Py_None
;
1680 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
*resultobj
;
1682 wxSize
*arg1
= (wxSize
*) 0 ;
1685 PyObject
* obj0
= 0 ;
1686 PyObject
* obj1
= 0 ;
1688 (char *) "self",(char *) "sz", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1695 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 (arg1
)->DecTo((wxSize
const &)*arg2
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1704 Py_INCREF(Py_None
); resultobj
= Py_None
;
1711 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
*resultobj
;
1713 wxSize
*arg1
= (wxSize
*) 0 ;
1716 PyObject
* obj0
= 0 ;
1718 (char *) "self",(char *) "xx",(char *) "yy", NULL
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Size_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 (arg1
)->Set(arg2
,arg3
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1730 Py_INCREF(Py_None
); resultobj
= Py_None
;
1737 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
*resultobj
;
1739 wxSize
*arg1
= (wxSize
*) 0 ;
1741 PyObject
* obj0
= 0 ;
1743 (char *) "self",(char *) "w", NULL
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1750 (arg1
)->SetWidth(arg2
);
1752 wxPyEndAllowThreads(__tstate
);
1753 if (PyErr_Occurred()) SWIG_fail
;
1755 Py_INCREF(Py_None
); resultobj
= Py_None
;
1762 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
*resultobj
;
1764 wxSize
*arg1
= (wxSize
*) 0 ;
1766 PyObject
* obj0
= 0 ;
1768 (char *) "self",(char *) "h", NULL
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
1772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1775 (arg1
)->SetHeight(arg2
);
1777 wxPyEndAllowThreads(__tstate
);
1778 if (PyErr_Occurred()) SWIG_fail
;
1780 Py_INCREF(Py_None
); resultobj
= Py_None
;
1787 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
*resultobj
;
1789 wxSize
*arg1
= (wxSize
*) 0 ;
1791 PyObject
* obj0
= 0 ;
1793 (char *) "self", NULL
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
1797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 result
= (int)((wxSize
const *)arg1
)->GetWidth();
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) SWIG_fail
;
1805 resultobj
= PyInt_FromLong((long)result
);
1812 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1813 PyObject
*resultobj
;
1814 wxSize
*arg1
= (wxSize
*) 0 ;
1816 PyObject
* obj0
= 0 ;
1818 (char *) "self", NULL
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
1822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 result
= (int)((wxSize
const *)arg1
)->GetHeight();
1827 wxPyEndAllowThreads(__tstate
);
1828 if (PyErr_Occurred()) SWIG_fail
;
1830 resultobj
= PyInt_FromLong((long)result
);
1837 static PyObject
*_wrap_Size_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
*resultobj
;
1839 wxSize
*arg1
= (wxSize
*) 0 ;
1841 PyObject
* obj0
= 0 ;
1843 (char *) "self", NULL
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetX",kwnames
,&obj0
)) goto fail
;
1847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 result
= (int)((wxSize
const *)arg1
)->GetX();
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) SWIG_fail
;
1855 resultobj
= PyInt_FromLong((long)result
);
1862 static PyObject
*_wrap_Size_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
*resultobj
;
1864 wxSize
*arg1
= (wxSize
*) 0 ;
1866 PyObject
* obj0
= 0 ;
1868 (char *) "self", NULL
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetY",kwnames
,&obj0
)) goto fail
;
1872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1875 result
= (int)((wxSize
const *)arg1
)->GetY();
1877 wxPyEndAllowThreads(__tstate
);
1878 if (PyErr_Occurred()) SWIG_fail
;
1880 resultobj
= PyInt_FromLong((long)result
);
1887 static PyObject
*_wrap_Size_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
*resultobj
;
1889 wxSize
*arg1
= (wxSize
*) 0 ;
1891 PyObject
* obj0
= 0 ;
1893 (char *) "self", NULL
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_asTuple",kwnames
,&obj0
)) goto fail
;
1897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 result
= (PyObject
*)wxSize_asTuple(arg1
);
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) SWIG_fail
;
1912 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
1914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1915 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
1917 return Py_BuildValue((char *)"");
1919 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
*resultobj
;
1921 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1923 PyObject
* obj0
= 0 ;
1925 (char *) "self",(char *) "x", NULL
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1930 if (arg1
) (arg1
)->x
= arg2
;
1932 Py_INCREF(Py_None
); resultobj
= Py_None
;
1939 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
*resultobj
;
1941 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1943 PyObject
* obj0
= 0 ;
1945 (char *) "self", NULL
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
1949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1950 result
= (double) ((arg1
)->x
);
1952 resultobj
= PyFloat_FromDouble(result
);
1959 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
*resultobj
;
1961 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1963 PyObject
* obj0
= 0 ;
1965 (char *) "self",(char *) "y", NULL
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1970 if (arg1
) (arg1
)->y
= arg2
;
1972 Py_INCREF(Py_None
); resultobj
= Py_None
;
1979 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
*resultobj
;
1981 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1983 PyObject
* obj0
= 0 ;
1985 (char *) "self", NULL
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
1989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1990 result
= (double) ((arg1
)->y
);
1992 resultobj
= PyFloat_FromDouble(result
);
1999 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2001 double arg1
= (double) 0.0 ;
2002 double arg2
= (double) 0.0 ;
2003 wxRealPoint
*result
;
2005 (char *) "x",(char *) "y", NULL
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_RealPoint",kwnames
,&arg1
,&arg2
)) goto fail
;
2010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2011 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2013 wxPyEndAllowThreads(__tstate
);
2014 if (PyErr_Occurred()) SWIG_fail
;
2016 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
2023 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
*resultobj
;
2025 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2026 PyObject
* obj0
= 0 ;
2028 (char *) "self", NULL
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2040 Py_INCREF(Py_None
); resultobj
= Py_None
;
2047 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
*resultobj
;
2049 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2050 wxRealPoint
*arg2
= 0 ;
2053 PyObject
* obj0
= 0 ;
2054 PyObject
* obj1
= 0 ;
2056 (char *) "self",(char *) "pt", NULL
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2063 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2067 result
= ((wxRealPoint
const *)arg1
)->operator +((wxRealPoint
const &)*arg2
);
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) SWIG_fail
;
2073 wxRealPoint
* resultptr
;
2074 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2075 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2083 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
*resultobj
;
2085 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2086 wxRealPoint
*arg2
= 0 ;
2089 PyObject
* obj0
= 0 ;
2090 PyObject
* obj1
= 0 ;
2092 (char *) "self",(char *) "pt", NULL
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2099 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 result
= ((wxRealPoint
const *)arg1
)->operator -((wxRealPoint
const &)*arg2
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2109 wxRealPoint
* resultptr
;
2110 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2111 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2119 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2121 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2122 wxRealPoint
*arg2
= 0 ;
2125 PyObject
* obj0
= 0 ;
2126 PyObject
* obj1
= 0 ;
2128 (char *) "self",(char *) "pt", NULL
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2135 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2139 result
= (bool)((wxRealPoint
const *)arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2141 wxPyEndAllowThreads(__tstate
);
2142 if (PyErr_Occurred()) SWIG_fail
;
2144 resultobj
= PyInt_FromLong((long)result
);
2151 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
*resultobj
;
2153 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2154 wxRealPoint
*arg2
= 0 ;
2157 PyObject
* obj0
= 0 ;
2158 PyObject
* obj1
= 0 ;
2160 (char *) "self",(char *) "pt", NULL
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2167 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2171 result
= (bool)((wxRealPoint
const *)arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2173 wxPyEndAllowThreads(__tstate
);
2174 if (PyErr_Occurred()) SWIG_fail
;
2176 resultobj
= PyInt_FromLong((long)result
);
2183 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
*resultobj
;
2185 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2188 PyObject
* obj0
= 0 ;
2190 (char *) "self",(char *) "x",(char *) "y", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:RealPoint_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2197 wxRealPoint_Set(arg1
,arg2
,arg3
);
2199 wxPyEndAllowThreads(__tstate
);
2200 if (PyErr_Occurred()) SWIG_fail
;
2202 Py_INCREF(Py_None
); resultobj
= Py_None
;
2209 static PyObject
*_wrap_RealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "self", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_asTuple",kwnames
,&obj0
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 result
= (PyObject
*)wxRealPoint_asTuple(arg1
);
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2234 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2237 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2239 return Py_BuildValue((char *)"");
2241 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
*resultobj
;
2243 wxPoint
*arg1
= (wxPoint
*) 0 ;
2245 PyObject
* obj0
= 0 ;
2247 (char *) "self",(char *) "x", NULL
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2252 if (arg1
) (arg1
)->x
= arg2
;
2254 Py_INCREF(Py_None
); resultobj
= Py_None
;
2261 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
*resultobj
;
2263 wxPoint
*arg1
= (wxPoint
*) 0 ;
2265 PyObject
* obj0
= 0 ;
2267 (char *) "self", NULL
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2272 result
= (int) ((arg1
)->x
);
2274 resultobj
= PyInt_FromLong((long)result
);
2281 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
*resultobj
;
2283 wxPoint
*arg1
= (wxPoint
*) 0 ;
2285 PyObject
* obj0
= 0 ;
2287 (char *) "self",(char *) "y", NULL
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2292 if (arg1
) (arg1
)->y
= arg2
;
2294 Py_INCREF(Py_None
); resultobj
= Py_None
;
2301 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
*resultobj
;
2303 wxPoint
*arg1
= (wxPoint
*) 0 ;
2305 PyObject
* obj0
= 0 ;
2307 (char *) "self", NULL
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2312 result
= (int) ((arg1
)->y
);
2314 resultobj
= PyInt_FromLong((long)result
);
2321 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
*resultobj
;
2323 int arg1
= (int) 0 ;
2324 int arg2
= (int) 0 ;
2327 (char *) "x",(char *) "y", NULL
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Point",kwnames
,&arg1
,&arg2
)) goto fail
;
2332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2335 wxPyEndAllowThreads(__tstate
);
2336 if (PyErr_Occurred()) SWIG_fail
;
2338 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2345 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
*resultobj
;
2347 wxPoint
*arg1
= (wxPoint
*) 0 ;
2348 PyObject
* obj0
= 0 ;
2350 (char *) "self", NULL
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) SWIG_fail
;
2362 Py_INCREF(Py_None
); resultobj
= Py_None
;
2369 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2371 wxPoint
*arg1
= (wxPoint
*) 0 ;
2375 PyObject
* obj0
= 0 ;
2376 PyObject
* obj1
= 0 ;
2378 (char *) "self",(char *) "p", NULL
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2385 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 result
= (bool)((wxPoint
const *)arg1
)->operator ==((wxPoint
const &)*arg2
);
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) SWIG_fail
;
2394 resultobj
= PyInt_FromLong((long)result
);
2401 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
*resultobj
;
2403 wxPoint
*arg1
= (wxPoint
*) 0 ;
2407 PyObject
* obj0
= 0 ;
2408 PyObject
* obj1
= 0 ;
2410 (char *) "self",(char *) "p", NULL
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2417 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2421 result
= (bool)((wxPoint
const *)arg1
)->operator !=((wxPoint
const &)*arg2
);
2423 wxPyEndAllowThreads(__tstate
);
2424 if (PyErr_Occurred()) SWIG_fail
;
2426 resultobj
= PyInt_FromLong((long)result
);
2433 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
*resultobj
;
2435 wxPoint
*arg1
= (wxPoint
*) 0 ;
2439 PyObject
* obj0
= 0 ;
2440 PyObject
* obj1
= 0 ;
2442 (char *) "self",(char *) "p", NULL
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2449 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 result
= ((wxPoint
const *)arg1
)->operator +((wxPoint
const &)*arg2
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) SWIG_fail
;
2459 wxPoint
* resultptr
;
2460 resultptr
= new wxPoint((wxPoint
&) result
);
2461 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2469 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
*resultobj
;
2471 wxPoint
*arg1
= (wxPoint
*) 0 ;
2475 PyObject
* obj0
= 0 ;
2476 PyObject
* obj1
= 0 ;
2478 (char *) "self",(char *) "p", NULL
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2485 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 result
= ((wxPoint
const *)arg1
)->operator -((wxPoint
const &)*arg2
);
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2495 wxPoint
* resultptr
;
2496 resultptr
= new wxPoint((wxPoint
&) result
);
2497 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2505 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
*resultobj
;
2507 wxPoint
*arg1
= (wxPoint
*) 0 ;
2511 PyObject
* obj0
= 0 ;
2512 PyObject
* obj1
= 0 ;
2514 (char *) "self",(char *) "p", NULL
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2521 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2527 result
= (wxPoint
*) &_result_ref
;
2530 wxPyEndAllowThreads(__tstate
);
2531 if (PyErr_Occurred()) SWIG_fail
;
2533 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2540 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
*resultobj
;
2542 wxPoint
*arg1
= (wxPoint
*) 0 ;
2546 PyObject
* obj0
= 0 ;
2547 PyObject
* obj1
= 0 ;
2549 (char *) "self",(char *) "p", NULL
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2556 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2562 result
= (wxPoint
*) &_result_ref
;
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2568 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2575 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
*resultobj
;
2577 wxPoint
*arg1
= (wxPoint
*) 0 ;
2580 PyObject
* obj0
= 0 ;
2582 (char *) "self",(char *) "x",(char *) "y", NULL
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:Point_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2589 wxPoint_Set(arg1
,arg2
,arg3
);
2591 wxPyEndAllowThreads(__tstate
);
2592 if (PyErr_Occurred()) SWIG_fail
;
2594 Py_INCREF(Py_None
); resultobj
= Py_None
;
2601 static PyObject
*_wrap_Point_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
*resultobj
;
2603 wxPoint
*arg1
= (wxPoint
*) 0 ;
2605 PyObject
* obj0
= 0 ;
2607 (char *) "self", NULL
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_asTuple",kwnames
,&obj0
)) goto fail
;
2611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2614 result
= (PyObject
*)wxPoint_asTuple(arg1
);
2616 wxPyEndAllowThreads(__tstate
);
2617 if (PyErr_Occurred()) SWIG_fail
;
2626 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2629 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2631 return Py_BuildValue((char *)"");
2633 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
*resultobj
;
2635 int arg1
= (int) 0 ;
2636 int arg2
= (int) 0 ;
2637 int arg3
= (int) 0 ;
2638 int arg4
= (int) 0 ;
2641 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Rect",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
2646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2647 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2649 wxPyEndAllowThreads(__tstate
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2652 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2659 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
*resultobj
;
2666 PyObject
* obj0
= 0 ;
2667 PyObject
* obj1
= 0 ;
2669 (char *) "topLeft",(char *) "bottomRight", NULL
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2675 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2679 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2683 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2685 wxPyEndAllowThreads(__tstate
);
2686 if (PyErr_Occurred()) SWIG_fail
;
2688 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2695 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2696 PyObject
*resultobj
;
2702 PyObject
* obj0
= 0 ;
2703 PyObject
* obj1
= 0 ;
2705 (char *) "pos",(char *) "size", NULL
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2711 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2715 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2724 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2731 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
*resultobj
;
2733 wxRect
*arg1
= (wxRect
*) 0 ;
2734 PyObject
* obj0
= 0 ;
2736 (char *) "self", NULL
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
2740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2745 wxPyEndAllowThreads(__tstate
);
2746 if (PyErr_Occurred()) SWIG_fail
;
2748 Py_INCREF(Py_None
); resultobj
= Py_None
;
2755 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
*resultobj
;
2757 wxRect
*arg1
= (wxRect
*) 0 ;
2759 PyObject
* obj0
= 0 ;
2761 (char *) "self", NULL
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
2765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2768 result
= (int)((wxRect
const *)arg1
)->GetX();
2770 wxPyEndAllowThreads(__tstate
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2773 resultobj
= PyInt_FromLong((long)result
);
2780 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
*resultobj
;
2782 wxRect
*arg1
= (wxRect
*) 0 ;
2784 PyObject
* obj0
= 0 ;
2786 (char *) "self",(char *) "x", NULL
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetX",kwnames
,&obj0
,&arg2
)) goto fail
;
2790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2798 Py_INCREF(Py_None
); resultobj
= Py_None
;
2805 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
*resultobj
;
2807 wxRect
*arg1
= (wxRect
*) 0 ;
2809 PyObject
* obj0
= 0 ;
2811 (char *) "self", NULL
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
2815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 result
= (int)(arg1
)->GetY();
2820 wxPyEndAllowThreads(__tstate
);
2821 if (PyErr_Occurred()) SWIG_fail
;
2823 resultobj
= PyInt_FromLong((long)result
);
2830 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
*resultobj
;
2832 wxRect
*arg1
= (wxRect
*) 0 ;
2834 PyObject
* obj0
= 0 ;
2836 (char *) "self",(char *) "y", NULL
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetY",kwnames
,&obj0
,&arg2
)) goto fail
;
2840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2848 Py_INCREF(Py_None
); resultobj
= Py_None
;
2855 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
*resultobj
;
2857 wxRect
*arg1
= (wxRect
*) 0 ;
2859 PyObject
* obj0
= 0 ;
2861 (char *) "self", NULL
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
2865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2868 result
= (int)((wxRect
const *)arg1
)->GetWidth();
2870 wxPyEndAllowThreads(__tstate
);
2871 if (PyErr_Occurred()) SWIG_fail
;
2873 resultobj
= PyInt_FromLong((long)result
);
2880 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
*resultobj
;
2882 wxRect
*arg1
= (wxRect
*) 0 ;
2884 PyObject
* obj0
= 0 ;
2886 (char *) "self",(char *) "w", NULL
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
2890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2893 (arg1
)->SetWidth(arg2
);
2895 wxPyEndAllowThreads(__tstate
);
2896 if (PyErr_Occurred()) SWIG_fail
;
2898 Py_INCREF(Py_None
); resultobj
= Py_None
;
2905 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
*resultobj
;
2907 wxRect
*arg1
= (wxRect
*) 0 ;
2909 PyObject
* obj0
= 0 ;
2911 (char *) "self", NULL
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
2915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 result
= (int)((wxRect
const *)arg1
)->GetHeight();
2920 wxPyEndAllowThreads(__tstate
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2923 resultobj
= PyInt_FromLong((long)result
);
2930 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
*resultobj
;
2932 wxRect
*arg1
= (wxRect
*) 0 ;
2934 PyObject
* obj0
= 0 ;
2936 (char *) "self",(char *) "h", NULL
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
2940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2943 (arg1
)->SetHeight(arg2
);
2945 wxPyEndAllowThreads(__tstate
);
2946 if (PyErr_Occurred()) SWIG_fail
;
2948 Py_INCREF(Py_None
); resultobj
= Py_None
;
2955 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
*resultobj
;
2957 wxRect
*arg1
= (wxRect
*) 0 ;
2959 PyObject
* obj0
= 0 ;
2961 (char *) "self", NULL
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
2965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 result
= ((wxRect
const *)arg1
)->GetPosition();
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2974 wxPoint
* resultptr
;
2975 resultptr
= new wxPoint((wxPoint
&) result
);
2976 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2984 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
*resultobj
;
2986 wxRect
*arg1
= (wxRect
*) 0 ;
2989 PyObject
* obj0
= 0 ;
2990 PyObject
* obj1
= 0 ;
2992 (char *) "self",(char *) "p", NULL
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
2996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2999 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3003 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3005 wxPyEndAllowThreads(__tstate
);
3006 if (PyErr_Occurred()) SWIG_fail
;
3008 Py_INCREF(Py_None
); resultobj
= Py_None
;
3015 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
*resultobj
;
3017 wxRect
*arg1
= (wxRect
*) 0 ;
3019 PyObject
* obj0
= 0 ;
3021 (char *) "self", NULL
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 result
= ((wxRect
const *)arg1
)->GetSize();
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3035 resultptr
= new wxSize((wxSize
&) result
);
3036 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3044 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
*resultobj
;
3046 wxRect
*arg1
= (wxRect
*) 0 ;
3049 PyObject
* obj0
= 0 ;
3050 PyObject
* obj1
= 0 ;
3052 (char *) "self",(char *) "s", NULL
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3059 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 (arg1
)->SetSize((wxSize
const &)*arg2
);
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3068 Py_INCREF(Py_None
); resultobj
= Py_None
;
3075 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
*resultobj
;
3077 wxRect
*arg1
= (wxRect
*) 0 ;
3079 PyObject
* obj0
= 0 ;
3081 (char *) "self", NULL
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3093 resultobj
= PyInt_FromLong((long)result
);
3100 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxRect
*arg1
= (wxRect
*) 0 ;
3104 PyObject
* obj0
= 0 ;
3106 (char *) "self", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3113 result
= (int)((wxRect
const *)arg1
)->GetTop();
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3118 resultobj
= PyInt_FromLong((long)result
);
3125 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
*resultobj
;
3127 wxRect
*arg1
= (wxRect
*) 0 ;
3129 PyObject
* obj0
= 0 ;
3131 (char *) "self", NULL
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3138 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3140 wxPyEndAllowThreads(__tstate
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3143 resultobj
= PyInt_FromLong((long)result
);
3150 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
*resultobj
;
3152 wxRect
*arg1
= (wxRect
*) 0 ;
3154 PyObject
* obj0
= 0 ;
3156 (char *) "self", NULL
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 result
= (int)((wxRect
const *)arg1
)->GetRight();
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) SWIG_fail
;
3168 resultobj
= PyInt_FromLong((long)result
);
3175 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
*resultobj
;
3177 wxRect
*arg1
= (wxRect
*) 0 ;
3179 PyObject
* obj0
= 0 ;
3181 (char *) "self",(char *) "left", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetLeft",kwnames
,&obj0
,&arg2
)) goto fail
;
3185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 (arg1
)->SetLeft(arg2
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 Py_INCREF(Py_None
); resultobj
= Py_None
;
3200 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxRect
*arg1
= (wxRect
*) 0 ;
3204 PyObject
* obj0
= 0 ;
3206 (char *) "self",(char *) "right", NULL
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetRight",kwnames
,&obj0
,&arg2
)) goto fail
;
3210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 (arg1
)->SetRight(arg2
);
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3218 Py_INCREF(Py_None
); resultobj
= Py_None
;
3225 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3226 PyObject
*resultobj
;
3227 wxRect
*arg1
= (wxRect
*) 0 ;
3229 PyObject
* obj0
= 0 ;
3231 (char *) "self",(char *) "top", NULL
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetTop",kwnames
,&obj0
,&arg2
)) goto fail
;
3235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 (arg1
)->SetTop(arg2
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3243 Py_INCREF(Py_None
); resultobj
= Py_None
;
3250 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
;
3252 wxRect
*arg1
= (wxRect
*) 0 ;
3254 PyObject
* obj0
= 0 ;
3256 (char *) "self",(char *) "bottom", NULL
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetBottom",kwnames
,&obj0
,&arg2
)) goto fail
;
3260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 (arg1
)->SetBottom(arg2
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3268 Py_INCREF(Py_None
); resultobj
= Py_None
;
3275 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxRect
*arg1
= (wxRect
*) 0 ;
3281 PyObject
* obj0
= 0 ;
3283 (char *) "self",(char *) "dx",(char *) "dy", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Inflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3292 result
= (wxRect
*) &_result_ref
;
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3298 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3305 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 wxRect
*arg1
= (wxRect
*) 0 ;
3311 PyObject
* obj0
= 0 ;
3313 (char *) "self",(char *) "dx",(char *) "dy", NULL
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Deflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3322 result
= (wxRect
*) &_result_ref
;
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3328 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3335 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxRect
*arg1
= (wxRect
*) 0 ;
3340 PyObject
* obj0
= 0 ;
3342 (char *) "self",(char *) "dx",(char *) "dy", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_OffsetXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 (arg1
)->Offset(arg2
,arg3
);
3351 wxPyEndAllowThreads(__tstate
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3354 Py_INCREF(Py_None
); resultobj
= Py_None
;
3361 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3363 wxRect
*arg1
= (wxRect
*) 0 ;
3366 PyObject
* obj0
= 0 ;
3367 PyObject
* obj1
= 0 ;
3369 (char *) "self",(char *) "pt", NULL
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3376 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 (arg1
)->Offset((wxPoint
const &)*arg2
);
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) SWIG_fail
;
3385 Py_INCREF(Py_None
); resultobj
= Py_None
;
3392 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
*resultobj
;
3394 wxRect
*arg1
= (wxRect
*) 0 ;
3398 PyObject
* obj0
= 0 ;
3399 PyObject
* obj1
= 0 ;
3401 (char *) "self",(char *) "rect", NULL
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3408 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3414 result
= (wxRect
*) &_result_ref
;
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3427 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxRect
*arg1
= (wxRect
*) 0 ;
3433 PyObject
* obj0
= 0 ;
3434 PyObject
* obj1
= 0 ;
3436 (char *) "self",(char *) "rect", NULL
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3443 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3454 resultptr
= new wxRect((wxRect
&) result
);
3455 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3463 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
*resultobj
;
3465 wxRect
*arg1
= (wxRect
*) 0 ;
3469 PyObject
* obj0
= 0 ;
3470 PyObject
* obj1
= 0 ;
3472 (char *) "self",(char *) "rect", NULL
3475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3479 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3485 result
= (wxRect
*) &_result_ref
;
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) SWIG_fail
;
3491 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3498 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxRect
*arg1
= (wxRect
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3505 PyObject
* obj1
= 0 ;
3507 (char *) "self",(char *) "rect", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3514 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3523 resultobj
= PyInt_FromLong((long)result
);
3530 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
*resultobj
;
3532 wxRect
*arg1
= (wxRect
*) 0 ;
3536 PyObject
* obj0
= 0 ;
3537 PyObject
* obj1
= 0 ;
3539 (char *) "self",(char *) "rect", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3546 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3550 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3555 resultobj
= PyInt_FromLong((long)result
);
3562 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
*resultobj
;
3564 wxRect
*arg1
= (wxRect
*) 0 ;
3568 PyObject
* obj0
= 0 ;
3570 (char *) "self",(char *) "x",(char *) "y", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_InsideXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3582 resultobj
= PyInt_FromLong((long)result
);
3589 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
*resultobj
;
3591 wxRect
*arg1
= (wxRect
*) 0 ;
3595 PyObject
* obj0
= 0 ;
3596 PyObject
* obj1
= 0 ;
3598 (char *) "self",(char *) "pt", NULL
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
3602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3605 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3614 resultobj
= PyInt_FromLong((long)result
);
3621 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
*resultobj
;
3623 wxRect
*arg1
= (wxRect
*) 0 ;
3627 PyObject
* obj0
= 0 ;
3628 PyObject
* obj1
= 0 ;
3630 (char *) "self",(char *) "rect", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
3634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3637 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3646 resultobj
= PyInt_FromLong((long)result
);
3653 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
*resultobj
;
3655 wxRect
*arg1
= (wxRect
*) 0 ;
3657 PyObject
* obj0
= 0 ;
3659 (char *) "self",(char *) "x", NULL
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3664 if (arg1
) (arg1
)->x
= arg2
;
3666 Py_INCREF(Py_None
); resultobj
= Py_None
;
3673 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3675 wxRect
*arg1
= (wxRect
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3679 (char *) "self", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3684 result
= (int) ((arg1
)->x
);
3686 resultobj
= PyInt_FromLong((long)result
);
3693 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
*resultobj
;
3695 wxRect
*arg1
= (wxRect
*) 0 ;
3697 PyObject
* obj0
= 0 ;
3699 (char *) "self",(char *) "y", NULL
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3704 if (arg1
) (arg1
)->y
= arg2
;
3706 Py_INCREF(Py_None
); resultobj
= Py_None
;
3713 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
;
3715 wxRect
*arg1
= (wxRect
*) 0 ;
3717 PyObject
* obj0
= 0 ;
3719 (char *) "self", NULL
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
3723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3724 result
= (int) ((arg1
)->y
);
3726 resultobj
= PyInt_FromLong((long)result
);
3733 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
*resultobj
;
3735 wxRect
*arg1
= (wxRect
*) 0 ;
3737 PyObject
* obj0
= 0 ;
3739 (char *) "self",(char *) "width", NULL
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3744 if (arg1
) (arg1
)->width
= arg2
;
3746 Py_INCREF(Py_None
); resultobj
= Py_None
;
3753 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
*resultobj
;
3755 wxRect
*arg1
= (wxRect
*) 0 ;
3757 PyObject
* obj0
= 0 ;
3759 (char *) "self", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
3763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3764 result
= (int) ((arg1
)->width
);
3766 resultobj
= PyInt_FromLong((long)result
);
3773 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
*resultobj
;
3775 wxRect
*arg1
= (wxRect
*) 0 ;
3777 PyObject
* obj0
= 0 ;
3779 (char *) "self",(char *) "height", NULL
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3784 if (arg1
) (arg1
)->height
= arg2
;
3786 Py_INCREF(Py_None
); resultobj
= Py_None
;
3793 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
;
3795 wxRect
*arg1
= (wxRect
*) 0 ;
3797 PyObject
* obj0
= 0 ;
3799 (char *) "self", NULL
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
3803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3804 result
= (int) ((arg1
)->height
);
3806 resultobj
= PyInt_FromLong((long)result
);
3813 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxRect
*arg1
= (wxRect
*) 0 ;
3816 int arg2
= (int) 0 ;
3817 int arg3
= (int) 0 ;
3818 int arg4
= (int) 0 ;
3819 int arg5
= (int) 0 ;
3820 PyObject
* obj0
= 0 ;
3822 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiii:Rect_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
3826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3834 Py_INCREF(Py_None
); resultobj
= Py_None
;
3841 static PyObject
*_wrap_Rect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3843 wxRect
*arg1
= (wxRect
*) 0 ;
3845 PyObject
* obj0
= 0 ;
3847 (char *) "self", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_asTuple",kwnames
,&obj0
)) goto fail
;
3851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 result
= (PyObject
*)wxRect_asTuple(arg1
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3866 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
3868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3869 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
3871 return Py_BuildValue((char *)"");
3873 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxRect
*arg1
= (wxRect
*) 0 ;
3876 wxRect
*arg2
= (wxRect
*) 0 ;
3878 PyObject
* obj0
= 0 ;
3879 PyObject
* obj1
= 0 ;
3881 (char *) "r1",(char *) "r2", NULL
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3886 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3901 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 double arg1
= (double) 0.0 ;
3904 double arg2
= (double) 0.0 ;
3907 (char *) "x",(char *) "y", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_Point2D",kwnames
,&arg1
,&arg2
)) goto fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3925 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
*resultobj
;
3927 wxPoint2D
*arg1
= 0 ;
3930 PyObject
* obj0
= 0 ;
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
3938 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3954 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
*resultobj
;
3959 PyObject
* obj0
= 0 ;
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
3967 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3976 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3983 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
;
3985 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
3986 int *arg2
= (int *) 0 ;
3987 int *arg3
= (int *) 0 ;
3990 PyObject
* obj0
= 0 ;
3992 (char *) "self", NULL
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
3998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4006 Py_INCREF(Py_None
); resultobj
= Py_None
;
4008 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4009 resultobj
= t_output_helper(resultobj
,o
);
4012 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4013 resultobj
= t_output_helper(resultobj
,o
);
4021 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4024 int *arg2
= (int *) 0 ;
4025 int *arg3
= (int *) 0 ;
4028 PyObject
* obj0
= 0 ;
4030 (char *) "self", NULL
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 Py_INCREF(Py_None
); resultobj
= Py_None
;
4046 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4047 resultobj
= t_output_helper(resultobj
,o
);
4050 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4051 resultobj
= t_output_helper(resultobj
,o
);
4059 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
*resultobj
;
4061 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4063 PyObject
* obj0
= 0 ;
4065 (char *) "self", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4077 resultobj
= PyFloat_FromDouble(result
);
4084 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
;
4086 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4088 PyObject
* obj0
= 0 ;
4090 (char *) "self", NULL
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 resultobj
= PyFloat_FromDouble(result
);
4109 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
;
4111 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4113 PyObject
* obj0
= 0 ;
4115 (char *) "self",(char *) "length", NULL
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorLength",kwnames
,&obj0
,&arg2
)) goto fail
;
4119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 (arg1
)->SetVectorLength(arg2
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4127 Py_INCREF(Py_None
); resultobj
= Py_None
;
4134 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
;
4136 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4138 PyObject
* obj0
= 0 ;
4140 (char *) "self",(char *) "degrees", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorAngle",kwnames
,&obj0
,&arg2
)) goto fail
;
4144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 (arg1
)->SetVectorAngle(arg2
);
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 Py_INCREF(Py_None
); resultobj
= Py_None
;
4159 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4162 wxPoint2D
*arg2
= 0 ;
4165 PyObject
* obj0
= 0 ;
4166 PyObject
* obj1
= 0 ;
4168 (char *) "self",(char *) "pt", NULL
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4175 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= PyFloat_FromDouble(result
);
4191 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
;
4193 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4194 wxPoint2D
*arg2
= 0 ;
4197 PyObject
* obj0
= 0 ;
4198 PyObject
* obj1
= 0 ;
4200 (char *) "self",(char *) "pt", NULL
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4207 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4216 resultobj
= PyFloat_FromDouble(result
);
4223 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4225 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4226 wxPoint2D
*arg2
= 0 ;
4229 PyObject
* obj0
= 0 ;
4230 PyObject
* obj1
= 0 ;
4232 (char *) "self",(char *) "vec", NULL
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4239 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 resultobj
= PyFloat_FromDouble(result
);
4255 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
;
4257 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4258 wxPoint2D
*arg2
= 0 ;
4261 PyObject
* obj0
= 0 ;
4262 PyObject
* obj1
= 0 ;
4264 (char *) "self",(char *) "vec", NULL
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4271 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= PyFloat_FromDouble(result
);
4287 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4291 PyObject
* obj0
= 0 ;
4293 (char *) "self", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 result
= (arg1
)->operator -();
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4306 wxPoint2D
* resultptr
;
4307 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4308 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4316 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
;
4318 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4319 wxPoint2D
*arg2
= 0 ;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4325 (char *) "self",(char *) "pt", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4332 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4338 result
= (wxPoint2D
*) &_result_ref
;
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4344 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4351 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
*resultobj
;
4353 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4354 wxPoint2D
*arg2
= 0 ;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4360 (char *) "self",(char *) "pt", NULL
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4367 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4373 result
= (wxPoint2D
*) &_result_ref
;
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4386 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
;
4388 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4389 wxPoint2D
*arg2
= 0 ;
4392 PyObject
* obj0
= 0 ;
4393 PyObject
* obj1
= 0 ;
4395 (char *) "self",(char *) "pt", NULL
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4402 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4408 result
= (wxPoint2D
*) &_result_ref
;
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4421 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
;
4423 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4424 wxPoint2D
*arg2
= 0 ;
4427 PyObject
* obj0
= 0 ;
4428 PyObject
* obj1
= 0 ;
4430 (char *) "self",(char *) "pt", NULL
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4437 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4443 result
= (wxPoint2D
*) &_result_ref
;
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4456 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4459 wxPoint2D
*arg2
= 0 ;
4462 PyObject
* obj0
= 0 ;
4463 PyObject
* obj1
= 0 ;
4465 (char *) "self",(char *) "pt", NULL
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4472 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= PyInt_FromLong((long)result
);
4488 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4491 wxPoint2D
*arg2
= 0 ;
4494 PyObject
* obj0
= 0 ;
4495 PyObject
* obj1
= 0 ;
4497 (char *) "self",(char *) "pt", NULL
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4504 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 resultobj
= PyInt_FromLong((long)result
);
4520 static PyObject
*_wrap_Point2D_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
*resultobj
;
4522 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4524 PyObject
* obj0
= 0 ;
4526 (char *) "self",(char *) "m_x", NULL
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4531 if (arg1
) (arg1
)->m_x
= arg2
;
4533 Py_INCREF(Py_None
); resultobj
= Py_None
;
4540 static PyObject
*_wrap_Point2D_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
;
4542 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4544 PyObject
* obj0
= 0 ;
4546 (char *) "self", NULL
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_m_x_get",kwnames
,&obj0
)) goto fail
;
4550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4551 result
= (double) ((arg1
)->m_x
);
4553 resultobj
= PyFloat_FromDouble(result
);
4560 static PyObject
*_wrap_Point2D_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
*resultobj
;
4562 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4564 PyObject
* obj0
= 0 ;
4566 (char *) "self",(char *) "m_y", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4571 if (arg1
) (arg1
)->m_y
= arg2
;
4573 Py_INCREF(Py_None
); resultobj
= Py_None
;
4580 static PyObject
*_wrap_Point2D_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
;
4582 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4586 (char *) "self", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_m_y_get",kwnames
,&obj0
)) goto fail
;
4590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4591 result
= (double) ((arg1
)->m_y
);
4593 resultobj
= PyFloat_FromDouble(result
);
4600 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4604 PyObject
* obj0
= 0 ;
4606 (char *) "self",(char *) "m_x", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4611 if (arg1
) (arg1
)->m_x
= arg2
;
4613 Py_INCREF(Py_None
); resultobj
= Py_None
;
4620 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
*resultobj
;
4622 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4624 PyObject
* obj0
= 0 ;
4626 (char *) "self", NULL
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
4630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4631 result
= (double) ((arg1
)->m_x
);
4633 resultobj
= PyFloat_FromDouble(result
);
4640 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
;
4642 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4646 (char *) "self",(char *) "m_y", NULL
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4651 if (arg1
) (arg1
)->m_y
= arg2
;
4653 Py_INCREF(Py_None
); resultobj
= Py_None
;
4660 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
;
4662 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4664 PyObject
* obj0
= 0 ;
4666 (char *) "self", NULL
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
4670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4671 result
= (double) ((arg1
)->m_y
);
4673 resultobj
= PyFloat_FromDouble(result
);
4680 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
*resultobj
;
4682 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4683 double arg2
= (double) 0 ;
4684 double arg3
= (double) 0 ;
4685 PyObject
* obj0
= 0 ;
4687 (char *) "self",(char *) "x",(char *) "y", NULL
4690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|dd:Point2D_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 wxPoint2D_Set(arg1
,arg2
,arg3
);
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4699 Py_INCREF(Py_None
); resultobj
= Py_None
;
4706 static PyObject
*_wrap_Point2D_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
*resultobj
;
4708 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4710 PyObject
* obj0
= 0 ;
4712 (char *) "self", NULL
4715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_asTuple",kwnames
,&obj0
)) goto fail
;
4716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 result
= (PyObject
*)wxPoint2D_asTuple(arg1
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4731 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
4733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4734 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
4736 return Py_BuildValue((char *)"");
4738 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
4739 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
4744 static PyObject
*_wrap_DefaultPosition_get() {
4747 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
4752 static int _wrap_DefaultSize_set(PyObject
*_val
) {
4753 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
4758 static PyObject
*_wrap_DefaultSize_get() {
4761 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
4766 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
*resultobj
;
4768 PyObject
*arg1
= (PyObject
*) 0 ;
4769 wxPyInputStream
*result
;
4770 PyObject
* obj0
= 0 ;
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
4791 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
*resultobj
;
4793 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4794 PyObject
* obj0
= 0 ;
4796 (char *) "self", NULL
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
4800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4808 Py_INCREF(Py_None
); resultobj
= Py_None
;
4815 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
*resultobj
;
4817 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4818 PyObject
* obj0
= 0 ;
4820 (char *) "self", NULL
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
4824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4832 Py_INCREF(Py_None
); resultobj
= Py_None
;
4839 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
;
4841 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4843 PyObject
* obj0
= 0 ;
4845 (char *) "self", NULL
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
4849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= (bool)(arg1
)->eof();
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= PyInt_FromLong((long)result
);
4864 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4866 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4867 int arg2
= (int) -1 ;
4869 PyObject
* obj0
= 0 ;
4871 (char *) "self",(char *) "size", NULL
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_read",kwnames
,&obj0
,&arg2
)) goto fail
;
4875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 result
= (PyObject
*)(arg1
)->read(arg2
);
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4890 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
;
4892 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4893 int arg2
= (int) -1 ;
4895 PyObject
* obj0
= 0 ;
4897 (char *) "self",(char *) "size", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readline",kwnames
,&obj0
,&arg2
)) goto fail
;
4901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (PyObject
*)(arg1
)->readline(arg2
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4916 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4919 int arg2
= (int) -1 ;
4921 PyObject
* obj0
= 0 ;
4923 (char *) "self",(char *) "sizehint", NULL
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readlines",kwnames
,&obj0
,&arg2
)) goto fail
;
4927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 result
= (PyObject
*)(arg1
)->readlines(arg2
);
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4942 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
;
4944 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4946 int arg3
= (int) 0 ;
4947 PyObject
* obj0
= 0 ;
4949 (char *) "self",(char *) "offset",(char *) "whence", NULL
4952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:InputStream_seek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 (arg1
)->seek(arg2
,arg3
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4961 Py_INCREF(Py_None
); resultobj
= Py_None
;
4968 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
*resultobj
;
4970 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4972 PyObject
* obj0
= 0 ;
4974 (char *) "self", NULL
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
4978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 result
= (int)(arg1
)->tell();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= PyInt_FromLong((long)result
);
4993 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
;
4995 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4997 PyObject
* obj0
= 0 ;
4999 (char *) "self", NULL
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (char)(arg1
)->Peek();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= Py_BuildValue((char*)"c",result
);
5018 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5022 PyObject
* obj0
= 0 ;
5024 (char *) "self", NULL
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (char)(arg1
)->GetC();
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= Py_BuildValue((char*)"c",result
);
5043 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5045 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5047 PyObject
* obj0
= 0 ;
5049 (char *) "self", NULL
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5056 result
= (size_t)(arg1
)->LastRead();
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5061 resultobj
= PyInt_FromLong((long)result
);
5068 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
*resultobj
;
5070 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5074 (char *) "self", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 result
= (bool)(arg1
)->CanRead();
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5086 resultobj
= PyInt_FromLong((long)result
);
5093 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5097 PyObject
* obj0
= 0 ;
5099 (char *) "self", NULL
5102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 result
= (bool)(arg1
)->Eof();
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= PyInt_FromLong((long)result
);
5118 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
*resultobj
;
5120 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5123 PyObject
* obj0
= 0 ;
5125 (char *) "self",(char *) "c", NULL
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oc:InputStream_Ungetch",kwnames
,&obj0
,&arg2
)) goto fail
;
5129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 result
= (bool)(arg1
)->Ungetch(arg2
);
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= PyInt_FromLong((long)result
);
5144 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
;
5146 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5148 int arg3
= (int) wxFromStart
;
5150 PyObject
* obj0
= 0 ;
5152 (char *) "self",(char *) "pos",(char *) "mode", NULL
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:InputStream_SeekI",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= PyInt_FromLong((long)result
);
5171 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
*resultobj
;
5173 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5175 PyObject
* obj0
= 0 ;
5177 (char *) "self", NULL
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= (long)(arg1
)->TellI();
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= PyInt_FromLong((long)result
);
5196 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5199 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5201 return Py_BuildValue((char *)"");
5203 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5206 PyObject
*arg2
= (PyObject
*) 0 ;
5207 PyObject
* obj0
= 0 ;
5208 PyObject
* obj1
= 0 ;
5210 (char *) "self",(char *) "obj", NULL
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 wxOutputStream_write(arg1
,arg2
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 Py_INCREF(Py_None
); resultobj
= Py_None
;
5230 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5233 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5235 return Py_BuildValue((char *)"");
5237 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
;
5239 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5240 wxString
*arg2
= 0 ;
5241 wxString
*arg3
= 0 ;
5242 wxString
*arg4
= 0 ;
5245 wxPyInputStream
*temp1
;
5247 bool temp2
= false ;
5248 bool temp3
= false ;
5249 bool temp4
= false ;
5251 PyObject
* obj0
= 0 ;
5252 PyObject
* obj1
= 0 ;
5253 PyObject
* obj2
= 0 ;
5254 PyObject
* obj3
= 0 ;
5255 PyObject
* obj4
= 0 ;
5257 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5262 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5263 arg1
= temp1
->m_wxis
;
5266 PyErr_Clear(); // clear the failure of the wxPyConvert above
5267 arg1
= wxPyCBInputStream_create(obj0
, false);
5269 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5276 arg2
= wxString_in_helper(obj1
);
5277 if (arg2
== NULL
) SWIG_fail
;
5281 arg3
= wxString_in_helper(obj2
);
5282 if (arg3
== NULL
) SWIG_fail
;
5286 arg4
= wxString_in_helper(obj3
);
5287 if (arg4
== NULL
) SWIG_fail
;
5290 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= wxPyMake_wxObject(result
);
5340 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
;
5342 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5343 PyObject
* obj0
= 0 ;
5345 (char *) "self", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5357 Py_INCREF(Py_None
); resultobj
= Py_None
;
5364 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5367 wxInputStream
*result
;
5368 PyObject
* obj0
= 0 ;
5370 (char *) "self", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 result
= (wxInputStream
*)(arg1
)->GetStream();
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5383 wxPyInputStream
* _ptr
= NULL
;
5386 _ptr
= new wxPyInputStream(result
);
5388 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
5396 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5400 PyObject
* obj0
= 0 ;
5402 (char *) "self", NULL
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5411 result
= (wxString
*) &_result_ref
;
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5424 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
;
5426 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5428 PyObject
* obj0
= 0 ;
5430 (char *) "self", NULL
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 wxString
const &_result_ref
= (arg1
)->GetLocation();
5439 result
= (wxString
*) &_result_ref
;
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5445 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5452 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5456 PyObject
* obj0
= 0 ;
5458 (char *) "self", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
5462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 wxString
const &_result_ref
= (arg1
)->GetAnchor();
5467 result
= (wxString
*) &_result_ref
;
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5480 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
;
5482 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5484 PyObject
* obj0
= 0 ;
5486 (char *) "self", NULL
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
5490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= (arg1
)->GetModificationTime();
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5499 wxDateTime
* resultptr
;
5500 resultptr
= new wxDateTime((wxDateTime
&) result
);
5501 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
5509 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
5511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5512 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
5514 return Py_BuildValue((char *)"");
5516 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5519 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
5521 return Py_BuildValue((char *)"");
5523 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5524 PyObject
*resultobj
;
5525 wxPyFileSystemHandler
*result
;
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
5545 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5548 PyObject
*arg2
= (PyObject
*) 0 ;
5549 PyObject
*arg3
= (PyObject
*) 0 ;
5550 PyObject
* obj0
= 0 ;
5551 PyObject
* obj1
= 0 ;
5552 PyObject
* obj2
= 0 ;
5554 (char *) "self",(char *) "self",(char *) "_class", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5568 Py_INCREF(Py_None
); resultobj
= Py_None
;
5575 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
;
5577 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5578 wxString
*arg2
= 0 ;
5580 bool temp2
= false ;
5581 PyObject
* obj0
= 0 ;
5582 PyObject
* obj1
= 0 ;
5584 (char *) "self",(char *) "location", NULL
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
5588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5590 arg2
= wxString_in_helper(obj1
);
5591 if (arg2
== NULL
) SWIG_fail
;
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
5598 wxPyEndAllowThreads(__tstate
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5601 resultobj
= PyInt_FromLong((long)result
);
5616 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5619 wxFileSystem
*arg2
= 0 ;
5620 wxString
*arg3
= 0 ;
5622 bool temp3
= false ;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5625 PyObject
* obj2
= 0 ;
5627 (char *) "self",(char *) "fs",(char *) "location", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5632 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5634 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5637 arg3
= wxString_in_helper(obj2
);
5638 if (arg3
== NULL
) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= wxPyMake_wxObject(result
);
5665 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
;
5667 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5668 wxString
*arg2
= 0 ;
5669 int arg3
= (int) 0 ;
5671 bool temp2
= false ;
5672 PyObject
* obj0
= 0 ;
5673 PyObject
* obj1
= 0 ;
5675 (char *) "self",(char *) "spec",(char *) "flags", NULL
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5681 arg2
= wxString_in_helper(obj1
);
5682 if (arg2
== NULL
) SWIG_fail
;
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5713 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5717 PyObject
* obj0
= 0 ;
5719 (char *) "self", NULL
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
5723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (arg1
)->FindNext();
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5744 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
*resultobj
;
5746 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5747 wxString
*arg2
= 0 ;
5749 bool temp2
= false ;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5753 (char *) "self",(char *) "location", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5759 arg2
= wxString_in_helper(obj1
);
5760 if (arg2
== NULL
) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5791 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
*resultobj
;
5793 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5794 wxString
*arg2
= 0 ;
5796 bool temp2
= false ;
5797 PyObject
* obj0
= 0 ;
5798 PyObject
* obj1
= 0 ;
5800 (char *) "self",(char *) "location", NULL
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5806 arg2
= wxString_in_helper(obj1
);
5807 if (arg2
== NULL
) SWIG_fail
;
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5838 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5841 wxString
*arg2
= 0 ;
5843 bool temp2
= false ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5847 (char *) "self",(char *) "location", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5853 arg2
= wxString_in_helper(obj1
);
5854 if (arg2
== NULL
) SWIG_fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5885 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
;
5887 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5888 wxString
*arg2
= 0 ;
5890 bool temp2
= false ;
5891 PyObject
* obj0
= 0 ;
5892 PyObject
* obj1
= 0 ;
5894 (char *) "self",(char *) "location", NULL
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5900 arg2
= wxString_in_helper(obj1
);
5901 if (arg2
== NULL
) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5932 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
;
5934 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5935 wxString
*arg2
= 0 ;
5937 bool temp2
= false ;
5938 PyObject
* obj0
= 0 ;
5939 PyObject
* obj1
= 0 ;
5941 (char *) "self",(char *) "location", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
5945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5947 arg2
= wxString_in_helper(obj1
);
5948 if (arg2
== NULL
) SWIG_fail
;
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5979 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5982 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
5984 return Py_BuildValue((char *)"");
5986 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
;
5988 wxFileSystem
*result
;
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (wxFileSystem
*)new wxFileSystem();
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6002 resultobj
= wxPyMake_wxObject(result
);
6010 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6013 PyObject
* obj0
= 0 ;
6015 (char *) "self", NULL
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 Py_INCREF(Py_None
); resultobj
= Py_None
;
6034 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6037 wxString
*arg2
= 0 ;
6038 bool arg3
= (bool) FALSE
;
6039 bool temp2
= false ;
6040 PyObject
* obj0
= 0 ;
6041 PyObject
* obj1
= 0 ;
6042 PyObject
* obj2
= 0 ;
6044 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6050 arg2
= wxString_in_helper(obj1
);
6051 if (arg2
== NULL
) SWIG_fail
;
6055 arg3
= PyInt_AsLong(obj2
) ? true : false;
6056 if (PyErr_Occurred()) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 Py_INCREF(Py_None
); resultobj
= Py_None
;
6080 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6084 PyObject
* obj0
= 0 ;
6086 (char *) "self", NULL
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (arg1
)->GetPath();
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6111 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
;
6113 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6114 wxString
*arg2
= 0 ;
6116 bool temp2
= false ;
6117 PyObject
* obj0
= 0 ;
6118 PyObject
* obj1
= 0 ;
6120 (char *) "self",(char *) "location", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6126 arg2
= wxString_in_helper(obj1
);
6127 if (arg2
== NULL
) SWIG_fail
;
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= wxPyMake_wxObject(result
);
6154 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
*resultobj
;
6156 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6157 wxString
*arg2
= 0 ;
6158 int arg3
= (int) 0 ;
6160 bool temp2
= false ;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6164 (char *) "self",(char *) "spec",(char *) "flags", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6170 arg2
= wxString_in_helper(obj1
);
6171 if (arg2
== NULL
) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6202 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6206 PyObject
* obj0
= 0 ;
6208 (char *) "self", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 result
= (arg1
)->FindNext();
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6233 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6235 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6236 PyObject
* obj0
= 0 ;
6238 (char *) "handler", NULL
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 wxFileSystem::AddHandler(arg1
);
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6250 Py_INCREF(Py_None
); resultobj
= Py_None
;
6257 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
;
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 wxFileSystem::CleanUpHandlers();
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6271 Py_INCREF(Py_None
); resultobj
= Py_None
;
6278 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxString
*arg1
= 0 ;
6282 bool temp1
= false ;
6283 PyObject
* obj0
= 0 ;
6285 (char *) "filename", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6290 arg1
= wxString_in_helper(obj0
);
6291 if (arg1
== NULL
) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
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());
6322 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6325 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6327 return Py_BuildValue((char *)"");
6329 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxString
*arg1
= 0 ;
6333 bool temp1
= false ;
6334 PyObject
* obj0
= 0 ;
6336 (char *) "url", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6341 arg1
= wxString_in_helper(obj0
);
6342 if (arg1
== NULL
) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6373 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxInternetFSHandler
*result
;
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6395 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6398 wxString
*arg2
= 0 ;
6400 bool temp2
= false ;
6401 PyObject
* obj0
= 0 ;
6402 PyObject
* obj1
= 0 ;
6404 (char *) "self",(char *) "location", NULL
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6410 arg2
= wxString_in_helper(obj1
);
6411 if (arg2
== NULL
) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= PyInt_FromLong((long)result
);
6436 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
*resultobj
;
6438 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6439 wxFileSystem
*arg2
= 0 ;
6440 wxString
*arg3
= 0 ;
6442 bool temp3
= false ;
6443 PyObject
* obj0
= 0 ;
6444 PyObject
* obj1
= 0 ;
6445 PyObject
* obj2
= 0 ;
6447 (char *) "self",(char *) "fs",(char *) "location", NULL
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6457 arg3
= wxString_in_helper(obj2
);
6458 if (arg3
== NULL
) SWIG_fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= wxPyMake_wxObject(result
);
6485 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6488 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
6490 return Py_BuildValue((char *)"");
6492 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
;
6494 wxZipFSHandler
*result
;
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 result
= (wxZipFSHandler
*)new wxZipFSHandler();
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
6514 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6517 wxString
*arg2
= 0 ;
6519 bool temp2
= false ;
6520 PyObject
* obj0
= 0 ;
6521 PyObject
* obj1
= 0 ;
6523 (char *) "self",(char *) "location", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6529 arg2
= wxString_in_helper(obj1
);
6530 if (arg2
== NULL
) SWIG_fail
;
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= PyInt_FromLong((long)result
);
6555 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6557 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6558 wxFileSystem
*arg2
= 0 ;
6559 wxString
*arg3
= 0 ;
6561 bool temp3
= false ;
6562 PyObject
* obj0
= 0 ;
6563 PyObject
* obj1
= 0 ;
6564 PyObject
* obj2
= 0 ;
6566 (char *) "self",(char *) "fs",(char *) "location", NULL
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6571 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6573 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6576 arg3
= wxString_in_helper(obj2
);
6577 if (arg3
== NULL
) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6588 resultobj
= wxPyMake_wxObject(result
);
6604 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
;
6606 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6607 wxString
*arg2
= 0 ;
6608 int arg3
= (int) 0 ;
6610 bool temp2
= false ;
6611 PyObject
* obj0
= 0 ;
6612 PyObject
* obj1
= 0 ;
6614 (char *) "self",(char *) "spec",(char *) "flags", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6620 arg2
= wxString_in_helper(obj1
);
6621 if (arg2
== NULL
) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6652 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
*resultobj
;
6654 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6656 PyObject
* obj0
= 0 ;
6658 (char *) "self", NULL
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (arg1
)->FindNext();
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
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6686 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
6688 return Py_BuildValue((char *)"");
6690 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
*resultobj
;
6692 wxString
*arg1
= 0 ;
6695 bool temp1
= false ;
6696 PyObject
* obj0
= 0 ;
6697 PyObject
* obj1
= 0 ;
6699 (char *) "filename",(char *) "image",(char *) "type", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6704 arg1
= wxString_in_helper(obj0
);
6705 if (arg1
== NULL
) SWIG_fail
;
6708 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6710 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 Py_INCREF(Py_None
); resultobj
= Py_None
;
6734 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
;
6736 wxString
*arg1
= 0 ;
6737 wxBitmap
*arg2
= 0 ;
6739 bool temp1
= false ;
6740 PyObject
* obj0
= 0 ;
6741 PyObject
* obj1
= 0 ;
6743 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6748 arg1
= wxString_in_helper(obj0
);
6749 if (arg1
== NULL
) SWIG_fail
;
6752 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6754 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6763 Py_INCREF(Py_None
); resultobj
= Py_None
;
6778 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxString
*arg1
= 0 ;
6781 PyObject
*arg2
= (PyObject
*) 0 ;
6782 bool temp1
= false ;
6783 PyObject
* obj0
= 0 ;
6784 PyObject
* obj1
= 0 ;
6786 (char *) "filename",(char *) "data", NULL
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
6791 arg1
= wxString_in_helper(obj0
);
6792 if (arg1
== NULL
) SWIG_fail
;
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 Py_INCREF(Py_None
); resultobj
= Py_None
;
6818 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxMemoryFSHandler
*result
;
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
6840 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6842 wxString
*arg1
= 0 ;
6843 bool temp1
= false ;
6844 PyObject
* obj0
= 0 ;
6846 (char *) "filename", NULL
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
6851 arg1
= wxString_in_helper(obj0
);
6852 if (arg1
== NULL
) SWIG_fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 Py_INCREF(Py_None
); resultobj
= Py_None
;
6877 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
;
6879 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6880 wxString
*arg2
= 0 ;
6882 bool temp2
= false ;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6886 (char *) "self",(char *) "location", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6892 arg2
= wxString_in_helper(obj1
);
6893 if (arg2
== NULL
) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= PyInt_FromLong((long)result
);
6918 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6921 wxFileSystem
*arg2
= 0 ;
6922 wxString
*arg3
= 0 ;
6924 bool temp3
= false ;
6925 PyObject
* obj0
= 0 ;
6926 PyObject
* obj1
= 0 ;
6927 PyObject
* obj2
= 0 ;
6929 (char *) "self",(char *) "fs",(char *) "location", NULL
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6936 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6939 arg3
= wxString_in_helper(obj2
);
6940 if (arg3
== NULL
) SWIG_fail
;
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6951 resultobj
= wxPyMake_wxObject(result
);
6967 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6968 PyObject
*resultobj
;
6969 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6970 wxString
*arg2
= 0 ;
6971 int arg3
= (int) 0 ;
6973 bool temp2
= false ;
6974 PyObject
* obj0
= 0 ;
6975 PyObject
* obj1
= 0 ;
6977 (char *) "self",(char *) "spec",(char *) "flags", NULL
6980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6983 arg2
= wxString_in_helper(obj1
);
6984 if (arg2
== NULL
) SWIG_fail
;
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7015 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
;
7017 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7019 PyObject
* obj0
= 0 ;
7021 (char *) "self", NULL
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 result
= (arg1
)->FindNext();
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7046 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7049 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7051 return Py_BuildValue((char *)"");
7053 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
;
7055 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7057 PyObject
* obj0
= 0 ;
7059 (char *) "self", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
7063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 result
= (arg1
)->GetName();
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7084 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7088 PyObject
* obj0
= 0 ;
7090 (char *) "self", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
7094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (arg1
)->GetExtension();
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7115 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7117 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7119 PyObject
* obj0
= 0 ;
7121 (char *) "self", NULL
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
7125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 result
= (long)(arg1
)->GetType();
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7133 resultobj
= PyInt_FromLong((long)result
);
7140 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7141 PyObject
*resultobj
;
7142 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7144 PyObject
* obj0
= 0 ;
7146 (char *) "self", NULL
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 result
= (arg1
)->GetMimeType();
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7171 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
*resultobj
;
7173 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7174 wxString
*arg2
= 0 ;
7176 bool temp2
= false ;
7177 PyObject
* obj0
= 0 ;
7178 PyObject
* obj1
= 0 ;
7180 (char *) "self",(char *) "name", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7186 arg2
= wxString_in_helper(obj1
);
7187 if (arg2
== NULL
) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 resultobj
= PyInt_FromLong((long)result
);
7212 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7214 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7215 wxString
*arg2
= 0 ;
7216 bool temp2
= false ;
7217 PyObject
* obj0
= 0 ;
7218 PyObject
* obj1
= 0 ;
7220 (char *) "self",(char *) "name", NULL
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7226 arg2
= wxString_in_helper(obj1
);
7227 if (arg2
== NULL
) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 (arg1
)->SetName((wxString
const &)*arg2
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 Py_INCREF(Py_None
); resultobj
= Py_None
;
7252 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7255 wxString
*arg2
= 0 ;
7256 bool temp2
= false ;
7257 PyObject
* obj0
= 0 ;
7258 PyObject
* obj1
= 0 ;
7260 (char *) "self",(char *) "extension", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7266 arg2
= wxString_in_helper(obj1
);
7267 if (arg2
== NULL
) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 (arg1
)->SetExtension((wxString
const &)*arg2
);
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 Py_INCREF(Py_None
); resultobj
= Py_None
;
7292 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7296 PyObject
* obj0
= 0 ;
7298 (char *) "self",(char *) "type", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ImageHandler_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
7302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 (arg1
)->SetType(arg2
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 Py_INCREF(Py_None
); resultobj
= Py_None
;
7317 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
;
7319 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7320 wxString
*arg2
= 0 ;
7321 bool temp2
= false ;
7322 PyObject
* obj0
= 0 ;
7323 PyObject
* obj1
= 0 ;
7325 (char *) "self",(char *) "mimetype", NULL
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7331 arg2
= wxString_in_helper(obj1
);
7332 if (arg2
== NULL
) SWIG_fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 Py_INCREF(Py_None
); resultobj
= Py_None
;
7357 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7360 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7362 return Py_BuildValue((char *)"");
7364 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
*resultobj
;
7366 wxImageHistogram
*result
;
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (wxImageHistogram
*)new wxImageHistogram();
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7386 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
;
7388 unsigned char arg1
;
7389 unsigned char arg2
;
7390 unsigned char arg3
;
7391 unsigned long result
;
7392 PyObject
* obj0
= 0 ;
7393 PyObject
* obj1
= 0 ;
7394 PyObject
* obj2
= 0 ;
7396 (char *) "r",(char *) "g",(char *) "b", NULL
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7400 arg1
= (unsigned char) PyInt_AsLong(obj0
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7402 arg2
= (unsigned char) PyInt_AsLong(obj1
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7404 arg3
= (unsigned char) PyInt_AsLong(obj2
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= PyInt_FromLong((long)result
);
7420 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
*resultobj
;
7422 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
7423 unsigned char *arg2
= (unsigned char *) 0 ;
7424 unsigned char *arg3
= (unsigned char *) 0 ;
7425 unsigned char *arg4
= (unsigned char *) 0 ;
7426 unsigned char arg5
= (unsigned char) 1 ;
7427 unsigned char arg6
= (unsigned char) 0 ;
7428 unsigned char arg7
= (unsigned char) 0 ;
7430 unsigned char temp2
;
7431 unsigned char temp3
;
7432 unsigned char temp4
;
7433 PyObject
* obj0
= 0 ;
7434 PyObject
* obj1
= 0 ;
7435 PyObject
* obj2
= 0 ;
7436 PyObject
* obj3
= 0 ;
7438 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7447 arg5
= (unsigned char) PyInt_AsLong(obj1
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7451 arg6
= (unsigned char) PyInt_AsLong(obj2
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7455 arg7
= (unsigned char) PyInt_AsLong(obj3
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= PyInt_FromLong((long)result
);
7467 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7468 resultobj
= t_output_helper(resultobj
,o
);
7471 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7472 resultobj
= t_output_helper(resultobj
,o
);
7475 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7476 resultobj
= t_output_helper(resultobj
,o
);
7484 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
7486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7487 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
7489 return Py_BuildValue((char *)"");
7491 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
*resultobj
;
7493 wxString
*arg1
= 0 ;
7494 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7495 int arg3
= (int) -1 ;
7497 bool temp1
= false ;
7498 PyObject
* obj0
= 0 ;
7500 (char *) "name",(char *) "type",(char *) "index", NULL
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_Image",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7505 arg1
= wxString_in_helper(obj0
);
7506 if (arg1
== NULL
) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7531 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
;
7533 wxImage
*arg1
= (wxImage
*) 0 ;
7534 PyObject
* obj0
= 0 ;
7536 (char *) "self", NULL
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
7540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 Py_INCREF(Py_None
); resultobj
= Py_None
;
7555 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxString
*arg1
= 0 ;
7558 wxString
*arg2
= 0 ;
7559 int arg3
= (int) -1 ;
7561 bool temp1
= false ;
7562 bool temp2
= false ;
7563 PyObject
* obj0
= 0 ;
7564 PyObject
* obj1
= 0 ;
7566 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7571 arg1
= wxString_in_helper(obj0
);
7572 if (arg1
== NULL
) SWIG_fail
;
7576 arg2
= wxString_in_helper(obj1
);
7577 if (arg2
== NULL
) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7610 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxInputStream
*arg1
= 0 ;
7613 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7614 int arg3
= (int) -1 ;
7616 wxPyInputStream
*temp1
;
7618 PyObject
* obj0
= 0 ;
7620 (char *) "stream",(char *) "type",(char *) "index", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_ImageFromStream",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7625 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7626 arg1
= temp1
->m_wxis
;
7629 PyErr_Clear(); // clear the failure of the wxPyConvert above
7630 arg1
= wxPyCBInputStream_create(obj0
, false);
7632 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7660 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
;
7662 wxInputStream
*arg1
= 0 ;
7663 wxString
*arg2
= 0 ;
7664 int arg3
= (int) -1 ;
7666 wxPyInputStream
*temp1
;
7668 bool temp2
= false ;
7669 PyObject
* obj0
= 0 ;
7670 PyObject
* obj1
= 0 ;
7672 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7677 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7678 arg1
= temp1
->m_wxis
;
7681 PyErr_Clear(); // clear the failure of the wxPyConvert above
7682 arg1
= wxPyCBInputStream_create(obj0
, false);
7684 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7691 arg2
= wxString_in_helper(obj1
);
7692 if (arg2
== NULL
) SWIG_fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7725 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 int arg1
= (int) 0 ;
7728 int arg2
= (int) 0 ;
7729 bool arg3
= (bool) TRUE
;
7731 PyObject
* obj2
= 0 ;
7733 (char *) "width",(char *) "height",(char *) "clear", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_EmptyImage",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7738 arg3
= PyInt_AsLong(obj2
) ? true : false;
7739 if (PyErr_Occurred()) SWIG_fail
;
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7743 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7755 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxBitmap
*arg1
= 0 ;
7759 PyObject
* obj0
= 0 ;
7761 (char *) "bitmap", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
7765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7767 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7783 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
;
7787 unsigned char *arg3
= (unsigned char *) 0 ;
7789 PyObject
* obj2
= 0 ;
7791 (char *) "width",(char *) "height",(char *) "data", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO:new_ImageFromData",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7795 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7810 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxImage
*arg1
= (wxImage
*) 0 ;
7815 PyObject
* obj0
= 0 ;
7817 (char *) "self",(char *) "width",(char *) "height", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Create",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 (arg1
)->Create(arg2
,arg3
);
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7829 Py_INCREF(Py_None
); resultobj
= Py_None
;
7836 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
*resultobj
;
7838 wxImage
*arg1
= (wxImage
*) 0 ;
7839 PyObject
* obj0
= 0 ;
7841 (char *) "self", NULL
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
7845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 Py_INCREF(Py_None
); resultobj
= Py_None
;
7860 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxImage
*arg1
= (wxImage
*) 0 ;
7865 SwigValueWrapper
< wxImage
> result
;
7866 PyObject
* obj0
= 0 ;
7868 (char *) "self",(char *) "width",(char *) "height", NULL
7871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 result
= (arg1
)->Scale(arg2
,arg3
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7881 wxImage
* resultptr
;
7882 resultptr
= new wxImage((wxImage
&) result
);
7883 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7891 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
*resultobj
;
7893 wxImage
*arg1
= (wxImage
*) 0 ;
7896 SwigValueWrapper
< wxImage
> result
;
7897 PyObject
* obj0
= 0 ;
7899 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_ShrinkBy",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7912 wxImage
* resultptr
;
7913 resultptr
= new wxImage((wxImage
&) result
);
7914 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7922 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
*resultobj
;
7924 wxImage
*arg1
= (wxImage
*) 0 ;
7928 PyObject
* obj0
= 0 ;
7930 (char *) "self",(char *) "width",(char *) "height", NULL
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Rescale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
7939 result
= (wxImage
*) &_result_ref
;
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
7952 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 wxImage
*arg1
= (wxImage
*) 0 ;
7957 unsigned char arg4
;
7958 unsigned char arg5
;
7959 unsigned char arg6
;
7960 PyObject
* obj0
= 0 ;
7961 PyObject
* obj3
= 0 ;
7962 PyObject
* obj4
= 0 ;
7963 PyObject
* obj5
= 0 ;
7965 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiOOO:Image_SetRGB",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
7969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7970 arg4
= (unsigned char) PyInt_AsLong(obj3
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7972 arg5
= (unsigned char) PyInt_AsLong(obj4
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7974 arg6
= (unsigned char) PyInt_AsLong(obj5
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7983 Py_INCREF(Py_None
); resultobj
= Py_None
;
7990 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
*resultobj
;
7992 wxImage
*arg1
= (wxImage
*) 0 ;
7995 unsigned char result
;
7996 PyObject
* obj0
= 0 ;
7998 (char *) "self",(char *) "x",(char *) "y", NULL
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetRed",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8010 resultobj
= PyInt_FromLong((long)result
);
8017 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxImage
*arg1
= (wxImage
*) 0 ;
8022 unsigned char result
;
8023 PyObject
* obj0
= 0 ;
8025 (char *) "self",(char *) "x",(char *) "y", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetGreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 resultobj
= PyInt_FromLong((long)result
);
8044 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxImage
*arg1
= (wxImage
*) 0 ;
8049 unsigned char result
;
8050 PyObject
* obj0
= 0 ;
8052 (char *) "self",(char *) "x",(char *) "y", NULL
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetBlue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 resultobj
= PyInt_FromLong((long)result
);
8071 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
;
8073 wxImage
*arg1
= (wxImage
*) 0 ;
8076 unsigned char arg4
;
8077 PyObject
* obj0
= 0 ;
8078 PyObject
* obj3
= 0 ;
8080 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Image_SetAlpha",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
8084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8085 arg4
= (unsigned char) PyInt_AsLong(obj3
);
8086 if (PyErr_Occurred()) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 Py_INCREF(Py_None
); resultobj
= Py_None
;
8101 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
;
8103 wxImage
*arg1
= (wxImage
*) 0 ;
8106 unsigned char result
;
8107 PyObject
* obj0
= 0 ;
8109 (char *) "self",(char *) "x",(char *) "y", NULL
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetAlpha",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 resultobj
= PyInt_FromLong((long)result
);
8128 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
;
8130 wxImage
*arg1
= (wxImage
*) 0 ;
8132 PyObject
* obj0
= 0 ;
8134 (char *) "self", NULL
8137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 result
= (bool)(arg1
)->HasAlpha();
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 resultobj
= PyInt_FromLong((long)result
);
8153 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxImage
*arg1
= (wxImage
*) 0 ;
8156 byte
*arg2
= (byte
*) 0 ;
8157 byte
*arg3
= (byte
*) 0 ;
8158 byte
*arg4
= (byte
*) 0 ;
8159 byte arg5
= (byte
) 0 ;
8160 byte arg6
= (byte
) 0 ;
8161 byte arg7
= (byte
) 0 ;
8166 PyObject
* obj0
= 0 ;
8167 PyObject
* obj1
= 0 ;
8168 PyObject
* obj2
= 0 ;
8169 PyObject
* obj3
= 0 ;
8171 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8180 arg5
= (byte
) PyInt_AsLong(obj1
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8184 arg6
= (byte
) PyInt_AsLong(obj2
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8188 arg7
= (byte
) PyInt_AsLong(obj3
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 resultobj
= PyInt_FromLong((long)result
);
8200 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8201 resultobj
= t_output_helper(resultobj
,o
);
8204 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8205 resultobj
= t_output_helper(resultobj
,o
);
8208 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8209 resultobj
= t_output_helper(resultobj
,o
);
8217 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxImage
*arg1
= (wxImage
*) 0 ;
8225 PyObject
* obj0
= 0 ;
8226 PyObject
* obj1
= 0 ;
8227 PyObject
* obj2
= 0 ;
8228 PyObject
* obj3
= 0 ;
8229 PyObject
* obj4
= 0 ;
8231 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8236 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8238 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8240 arg3
= (byte
) PyInt_AsLong(obj2
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8242 arg4
= (byte
) PyInt_AsLong(obj3
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8244 arg5
= (byte
) PyInt_AsLong(obj4
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 resultobj
= PyInt_FromLong((long)result
);
8260 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
;
8262 wxString
*arg1
= 0 ;
8264 bool temp1
= false ;
8265 PyObject
* obj0
= 0 ;
8267 (char *) "name", NULL
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
8272 arg1
= wxString_in_helper(obj0
);
8273 if (arg1
== NULL
) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 resultobj
= PyInt_FromLong((long)result
);
8298 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
;
8300 wxString
*arg1
= 0 ;
8301 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8303 bool temp1
= false ;
8304 PyObject
* obj0
= 0 ;
8306 (char *) "name",(char *) "type", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Image_GetImageCount",kwnames
,&obj0
,&arg2
)) goto fail
;
8311 arg1
= wxString_in_helper(obj0
);
8312 if (arg1
== NULL
) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 resultobj
= PyInt_FromLong((long)result
);
8337 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxImage
*arg1
= (wxImage
*) 0 ;
8340 wxString
*arg2
= 0 ;
8341 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8342 int arg4
= (int) -1 ;
8344 bool temp2
= false ;
8345 PyObject
* obj0
= 0 ;
8346 PyObject
* obj1
= 0 ;
8348 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8354 arg2
= wxString_in_helper(obj1
);
8355 if (arg2
== NULL
) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= PyInt_FromLong((long)result
);
8380 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
;
8382 wxImage
*arg1
= (wxImage
*) 0 ;
8383 wxString
*arg2
= 0 ;
8384 wxString
*arg3
= 0 ;
8385 int arg4
= (int) -1 ;
8387 bool temp2
= false ;
8388 bool temp3
= false ;
8389 PyObject
* obj0
= 0 ;
8390 PyObject
* obj1
= 0 ;
8391 PyObject
* obj2
= 0 ;
8393 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8399 arg2
= wxString_in_helper(obj1
);
8400 if (arg2
== NULL
) SWIG_fail
;
8404 arg3
= wxString_in_helper(obj2
);
8405 if (arg3
== NULL
) SWIG_fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= PyInt_FromLong((long)result
);
8438 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxImage
*arg1
= (wxImage
*) 0 ;
8441 wxString
*arg2
= 0 ;
8444 bool temp2
= false ;
8445 PyObject
* obj0
= 0 ;
8446 PyObject
* obj1
= 0 ;
8448 (char *) "self",(char *) "name",(char *) "type", NULL
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
8452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8454 arg2
= wxString_in_helper(obj1
);
8455 if (arg2
== NULL
) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= PyInt_FromLong((long)result
);
8480 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
;
8482 wxImage
*arg1
= (wxImage
*) 0 ;
8483 wxString
*arg2
= 0 ;
8484 wxString
*arg3
= 0 ;
8486 bool temp2
= false ;
8487 bool temp3
= false ;
8488 PyObject
* obj0
= 0 ;
8489 PyObject
* obj1
= 0 ;
8490 PyObject
* obj2
= 0 ;
8492 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8498 arg2
= wxString_in_helper(obj1
);
8499 if (arg2
== NULL
) SWIG_fail
;
8503 arg3
= wxString_in_helper(obj2
);
8504 if (arg3
== NULL
) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= PyInt_FromLong((long)result
);
8537 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
;
8539 wxInputStream
*arg1
= 0 ;
8541 wxPyInputStream
*temp1
;
8543 PyObject
* obj0
= 0 ;
8545 (char *) "stream", NULL
8548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
8550 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8551 arg1
= temp1
->m_wxis
;
8554 PyErr_Clear(); // clear the failure of the wxPyConvert above
8555 arg1
= wxPyCBInputStream_create(obj0
, false);
8557 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 result
= (bool)wxImage::CanRead(*arg1
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8570 resultobj
= PyInt_FromLong((long)result
);
8585 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8586 PyObject
*resultobj
;
8587 wxImage
*arg1
= (wxImage
*) 0 ;
8588 wxInputStream
*arg2
= 0 ;
8589 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8590 int arg4
= (int) -1 ;
8592 wxPyInputStream
*temp2
;
8594 PyObject
* obj0
= 0 ;
8595 PyObject
* obj1
= 0 ;
8597 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadStream",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8603 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8604 arg2
= temp2
->m_wxis
;
8607 PyErr_Clear(); // clear the failure of the wxPyConvert above
8608 arg2
= wxPyCBInputStream_create(obj1
, false);
8610 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 resultobj
= PyInt_FromLong((long)result
);
8638 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
*resultobj
;
8640 wxImage
*arg1
= (wxImage
*) 0 ;
8641 wxInputStream
*arg2
= 0 ;
8642 wxString
*arg3
= 0 ;
8643 int arg4
= (int) -1 ;
8645 wxPyInputStream
*temp2
;
8647 bool temp3
= false ;
8648 PyObject
* obj0
= 0 ;
8649 PyObject
* obj1
= 0 ;
8650 PyObject
* obj2
= 0 ;
8652 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8658 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8659 arg2
= temp2
->m_wxis
;
8662 PyErr_Clear(); // clear the failure of the wxPyConvert above
8663 arg2
= wxPyCBInputStream_create(obj1
, false);
8665 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8672 arg3
= wxString_in_helper(obj2
);
8673 if (arg3
== NULL
) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 resultobj
= PyInt_FromLong((long)result
);
8706 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
;
8708 wxImage
*arg1
= (wxImage
*) 0 ;
8710 PyObject
* obj0
= 0 ;
8712 (char *) "self", NULL
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
8716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 result
= (bool)(arg1
)->Ok();
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= PyInt_FromLong((long)result
);
8731 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
*resultobj
;
8733 wxImage
*arg1
= (wxImage
*) 0 ;
8735 PyObject
* obj0
= 0 ;
8737 (char *) "self", NULL
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
8741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 result
= (int)(arg1
)->GetWidth();
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= PyInt_FromLong((long)result
);
8756 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 wxImage
*arg1
= (wxImage
*) 0 ;
8760 PyObject
* obj0
= 0 ;
8762 (char *) "self", NULL
8765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
8766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8769 result
= (int)(arg1
)->GetHeight();
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8774 resultobj
= PyInt_FromLong((long)result
);
8781 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
*resultobj
;
8783 wxImage
*arg1
= (wxImage
*) 0 ;
8785 SwigValueWrapper
< wxImage
> result
;
8787 PyObject
* obj0
= 0 ;
8788 PyObject
* obj1
= 0 ;
8790 (char *) "self",(char *) "rect", NULL
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
8794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8797 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8801 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
8803 wxPyEndAllowThreads(__tstate
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8807 wxImage
* resultptr
;
8808 resultptr
= new wxImage((wxImage
&) result
);
8809 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8817 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
*resultobj
;
8819 wxImage
*arg1
= (wxImage
*) 0 ;
8820 SwigValueWrapper
< wxImage
> result
;
8821 PyObject
* obj0
= 0 ;
8823 (char *) "self", NULL
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
8827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 result
= (arg1
)->Copy();
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8836 wxImage
* resultptr
;
8837 resultptr
= new wxImage((wxImage
&) result
);
8838 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8846 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
;
8848 wxImage
*arg1
= (wxImage
*) 0 ;
8852 PyObject
* obj0
= 0 ;
8853 PyObject
* obj1
= 0 ;
8855 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Image_Paste",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8860 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8862 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 Py_INCREF(Py_None
); resultobj
= Py_None
;
8878 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8880 wxImage
*arg1
= (wxImage
*) 0 ;
8882 PyObject
* obj0
= 0 ;
8884 (char *) "self", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
8888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 result
= (PyObject
*)wxImage_GetData(arg1
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8903 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8905 wxImage
*arg1
= (wxImage
*) 0 ;
8906 PyObject
*arg2
= (PyObject
*) 0 ;
8907 PyObject
* obj0
= 0 ;
8908 PyObject
* obj1
= 0 ;
8910 (char *) "self",(char *) "data", NULL
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
8914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 wxImage_SetData(arg1
,arg2
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 Py_INCREF(Py_None
); resultobj
= Py_None
;
8930 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxImage
*arg1
= (wxImage
*) 0 ;
8934 PyObject
* obj0
= 0 ;
8936 (char *) "self", NULL
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
8940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8955 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxImage
*arg1
= (wxImage
*) 0 ;
8958 PyObject
*arg2
= (PyObject
*) 0 ;
8959 PyObject
* obj0
= 0 ;
8960 PyObject
* obj1
= 0 ;
8962 (char *) "self",(char *) "data", NULL
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
8966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 wxImage_SetDataBuffer(arg1
,arg2
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 Py_INCREF(Py_None
); resultobj
= Py_None
;
8982 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxImage
*arg1
= (wxImage
*) 0 ;
8986 PyObject
* obj0
= 0 ;
8988 (char *) "self", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
8992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9007 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
;
9009 wxImage
*arg1
= (wxImage
*) 0 ;
9010 PyObject
*arg2
= (PyObject
*) 0 ;
9011 PyObject
* obj0
= 0 ;
9012 PyObject
* obj1
= 0 ;
9014 (char *) "self",(char *) "data", NULL
9017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
9018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 wxImage_SetAlphaData(arg1
,arg2
);
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 Py_INCREF(Py_None
); resultobj
= Py_None
;
9034 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 wxImage
*arg1
= (wxImage
*) 0 ;
9038 PyObject
* obj0
= 0 ;
9040 (char *) "self", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
9044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9059 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9060 PyObject
*resultobj
;
9061 wxImage
*arg1
= (wxImage
*) 0 ;
9062 PyObject
*arg2
= (PyObject
*) 0 ;
9063 PyObject
* obj0
= 0 ;
9064 PyObject
* obj1
= 0 ;
9066 (char *) "self",(char *) "data", NULL
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 wxImage_SetAlphaBuffer(arg1
,arg2
);
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 Py_INCREF(Py_None
); resultobj
= Py_None
;
9086 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxImage
*arg1
= (wxImage
*) 0 ;
9089 unsigned char arg2
;
9090 unsigned char arg3
;
9091 unsigned char arg4
;
9092 PyObject
* obj0
= 0 ;
9093 PyObject
* obj1
= 0 ;
9094 PyObject
* obj2
= 0 ;
9095 PyObject
* obj3
= 0 ;
9097 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9102 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9104 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9106 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
9112 wxPyEndAllowThreads(__tstate
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9115 Py_INCREF(Py_None
); resultobj
= Py_None
;
9122 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
;
9124 wxImage
*arg1
= (wxImage
*) 0 ;
9125 unsigned char result
;
9126 PyObject
* obj0
= 0 ;
9128 (char *) "self", NULL
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
9132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 result
= (unsigned char)(arg1
)->GetMaskRed();
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9140 resultobj
= PyInt_FromLong((long)result
);
9147 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9149 wxImage
*arg1
= (wxImage
*) 0 ;
9150 unsigned char result
;
9151 PyObject
* obj0
= 0 ;
9153 (char *) "self", NULL
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
9157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 result
= (unsigned char)(arg1
)->GetMaskGreen();
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 resultobj
= PyInt_FromLong((long)result
);
9172 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9174 wxImage
*arg1
= (wxImage
*) 0 ;
9175 unsigned char result
;
9176 PyObject
* obj0
= 0 ;
9178 (char *) "self", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
9182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 result
= (unsigned char)(arg1
)->GetMaskBlue();
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9190 resultobj
= PyInt_FromLong((long)result
);
9197 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
;
9199 wxImage
*arg1
= (wxImage
*) 0 ;
9200 bool arg2
= (bool) TRUE
;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9204 (char *) "self",(char *) "mask", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9210 arg2
= PyInt_AsLong(obj1
) ? true : false;
9211 if (PyErr_Occurred()) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 (arg1
)->SetMask(arg2
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9220 Py_INCREF(Py_None
); resultobj
= Py_None
;
9227 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
*resultobj
;
9229 wxImage
*arg1
= (wxImage
*) 0 ;
9231 PyObject
* obj0
= 0 ;
9233 (char *) "self", NULL
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
9237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 result
= (bool)(arg1
)->HasMask();
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= PyInt_FromLong((long)result
);
9252 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
;
9254 wxImage
*arg1
= (wxImage
*) 0 ;
9257 bool arg4
= (bool) TRUE
;
9258 wxPoint
*arg5
= (wxPoint
*) NULL
;
9259 SwigValueWrapper
< wxImage
> result
;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj2
= 0 ;
9263 PyObject
* obj3
= 0 ;
9264 PyObject
* obj4
= 0 ;
9266 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO|OO:Image_Rotate",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9273 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9276 arg4
= PyInt_AsLong(obj3
) ? true : false;
9277 if (PyErr_Occurred()) SWIG_fail
;
9280 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9290 wxImage
* resultptr
;
9291 resultptr
= new wxImage((wxImage
&) result
);
9292 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9300 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
;
9302 wxImage
*arg1
= (wxImage
*) 0 ;
9303 bool arg2
= (bool) TRUE
;
9304 SwigValueWrapper
< wxImage
> result
;
9305 PyObject
* obj0
= 0 ;
9306 PyObject
* obj1
= 0 ;
9308 (char *) "self",(char *) "clockwise", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
9312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9314 arg2
= PyInt_AsLong(obj1
) ? true : false;
9315 if (PyErr_Occurred()) SWIG_fail
;
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 result
= (arg1
)->Rotate90(arg2
);
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9325 wxImage
* resultptr
;
9326 resultptr
= new wxImage((wxImage
&) result
);
9327 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9335 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
;
9337 wxImage
*arg1
= (wxImage
*) 0 ;
9338 bool arg2
= (bool) TRUE
;
9339 SwigValueWrapper
< wxImage
> result
;
9340 PyObject
* obj0
= 0 ;
9341 PyObject
* obj1
= 0 ;
9343 (char *) "self",(char *) "horizontally", NULL
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
9347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9349 arg2
= PyInt_AsLong(obj1
) ? true : false;
9350 if (PyErr_Occurred()) SWIG_fail
;
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 result
= (arg1
)->Mirror(arg2
);
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9360 wxImage
* resultptr
;
9361 resultptr
= new wxImage((wxImage
&) result
);
9362 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9370 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
*resultobj
;
9372 wxImage
*arg1
= (wxImage
*) 0 ;
9373 unsigned char arg2
;
9374 unsigned char arg3
;
9375 unsigned char arg4
;
9376 unsigned char arg5
;
9377 unsigned char arg6
;
9378 unsigned char arg7
;
9379 PyObject
* obj0
= 0 ;
9380 PyObject
* obj1
= 0 ;
9381 PyObject
* obj2
= 0 ;
9382 PyObject
* obj3
= 0 ;
9383 PyObject
* obj4
= 0 ;
9384 PyObject
* obj5
= 0 ;
9385 PyObject
* obj6
= 0 ;
9387 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9392 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9394 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9396 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9398 arg5
= (unsigned char) PyInt_AsLong(obj4
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9400 arg6
= (unsigned char) PyInt_AsLong(obj5
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9402 arg7
= (unsigned char) PyInt_AsLong(obj6
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 Py_INCREF(Py_None
); resultobj
= Py_None
;
9418 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
;
9420 wxImage
*arg1
= (wxImage
*) 0 ;
9421 unsigned char arg2
;
9422 unsigned char arg3
;
9423 unsigned char arg4
;
9424 SwigValueWrapper
< wxImage
> result
;
9425 PyObject
* obj0
= 0 ;
9426 PyObject
* obj1
= 0 ;
9427 PyObject
* obj2
= 0 ;
9428 PyObject
* obj3
= 0 ;
9430 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9435 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9437 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9439 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9449 wxImage
* resultptr
;
9450 resultptr
= new wxImage((wxImage
&) result
);
9451 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9459 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
;
9461 wxImage
*arg1
= (wxImage
*) 0 ;
9462 wxString
*arg2
= 0 ;
9463 wxString
*arg3
= 0 ;
9464 bool temp2
= false ;
9465 bool temp3
= false ;
9466 PyObject
* obj0
= 0 ;
9467 PyObject
* obj1
= 0 ;
9468 PyObject
* obj2
= 0 ;
9470 (char *) "self",(char *) "name",(char *) "value", NULL
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9476 arg2
= wxString_in_helper(obj1
);
9477 if (arg2
== NULL
) SWIG_fail
;
9481 arg3
= wxString_in_helper(obj2
);
9482 if (arg3
== NULL
) SWIG_fail
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 Py_INCREF(Py_None
); resultobj
= Py_None
;
9515 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
*resultobj
;
9517 wxImage
*arg1
= (wxImage
*) 0 ;
9518 wxString
*arg2
= 0 ;
9520 bool temp2
= false ;
9521 PyObject
* obj0
= 0 ;
9522 PyObject
* obj1
= 0 ;
9524 (char *) "self",(char *) "name",(char *) "value", NULL
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9530 arg2
= wxString_in_helper(obj1
);
9531 if (arg2
== NULL
) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 Py_INCREF(Py_None
); resultobj
= Py_None
;
9556 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 wxImage
*arg1
= (wxImage
*) 0 ;
9559 wxString
*arg2
= 0 ;
9561 bool temp2
= false ;
9562 PyObject
* obj0
= 0 ;
9563 PyObject
* obj1
= 0 ;
9565 (char *) "self",(char *) "name", NULL
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9571 arg2
= wxString_in_helper(obj1
);
9572 if (arg2
== NULL
) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9603 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
;
9605 wxImage
*arg1
= (wxImage
*) 0 ;
9606 wxString
*arg2
= 0 ;
9608 bool temp2
= false ;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9612 (char *) "self",(char *) "name", NULL
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9618 arg2
= wxString_in_helper(obj1
);
9619 if (arg2
== NULL
) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= PyInt_FromLong((long)result
);
9644 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxImage
*arg1
= (wxImage
*) 0 ;
9647 wxString
*arg2
= 0 ;
9649 bool temp2
= false ;
9650 PyObject
* obj0
= 0 ;
9651 PyObject
* obj1
= 0 ;
9653 (char *) "self",(char *) "name", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9659 arg2
= wxString_in_helper(obj1
);
9660 if (arg2
== NULL
) SWIG_fail
;
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9670 resultobj
= PyInt_FromLong((long)result
);
9685 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9687 wxImage
*arg1
= (wxImage
*) 0 ;
9688 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
9689 unsigned long result
;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9693 (char *) "self",(char *) "stopafter", NULL
9696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
9697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9699 arg2
= (unsigned long) PyInt_AsLong(obj1
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 result
= (unsigned long)(arg1
)->CountColours(arg2
);
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9709 resultobj
= PyInt_FromLong((long)result
);
9716 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
;
9718 wxImage
*arg1
= (wxImage
*) 0 ;
9719 wxImageHistogram
*arg2
= 0 ;
9720 unsigned long result
;
9721 PyObject
* obj0
= 0 ;
9722 PyObject
* obj1
= 0 ;
9724 (char *) "self",(char *) "h", NULL
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
9728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9729 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9731 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= PyInt_FromLong((long)result
);
9747 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
;
9749 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9750 PyObject
* obj0
= 0 ;
9752 (char *) "handler", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 wxImage::AddHandler(arg1
);
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 Py_INCREF(Py_None
); resultobj
= Py_None
;
9771 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9776 (char *) "handler", NULL
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
9780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 wxImage::InsertHandler(arg1
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 Py_INCREF(Py_None
); resultobj
= Py_None
;
9795 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
;
9797 wxString
*arg1
= 0 ;
9799 bool temp1
= false ;
9800 PyObject
* obj0
= 0 ;
9802 (char *) "name", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
9807 arg1
= wxString_in_helper(obj0
);
9808 if (arg1
== NULL
) SWIG_fail
;
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= PyInt_FromLong((long)result
);
9833 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 result
= wxImage::GetImageExtWildcard();
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9861 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
;
9863 wxImage
*arg1
= (wxImage
*) 0 ;
9865 PyObject
* obj0
= 0 ;
9867 (char *) "self", NULL
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
9871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= wxImage_ConvertToBitmap(arg1
);
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9880 wxBitmap
* resultptr
;
9881 resultptr
= new wxBitmap((wxBitmap
&) result
);
9882 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9890 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxImage
*arg1
= (wxImage
*) 0 ;
9893 unsigned char arg2
;
9894 unsigned char arg3
;
9895 unsigned char arg4
;
9897 PyObject
* obj0
= 0 ;
9898 PyObject
* obj1
= 0 ;
9899 PyObject
* obj2
= 0 ;
9900 PyObject
* obj3
= 0 ;
9902 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9907 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9909 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9911 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9921 wxBitmap
* resultptr
;
9922 resultptr
= new wxBitmap((wxBitmap
&) result
);
9923 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9931 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
9933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9934 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
9936 return Py_BuildValue((char *)"");
9938 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
;
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 wxInitAllImageHandlers();
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 Py_INCREF(Py_None
); resultobj
= Py_None
;
9959 static int _wrap_NullImage_set(PyObject
*_val
) {
9960 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
9965 static PyObject
*_wrap_NullImage_get() {
9968 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
9973 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
9974 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9979 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9984 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9986 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9993 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
9994 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
9999 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
10004 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10006 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10013 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
10014 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
10019 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
10024 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10026 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10033 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
10034 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
10039 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
10044 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10046 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10053 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
10054 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
10059 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
10064 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10066 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10073 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 wxBMPHandler
*result
;
10076 char *kwnames
[] = {
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (wxBMPHandler
*)new wxBMPHandler();
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
10095 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10098 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
10100 return Py_BuildValue((char *)"");
10102 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
*resultobj
;
10104 wxICOHandler
*result
;
10105 char *kwnames
[] = {
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (wxICOHandler
*)new wxICOHandler();
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10117 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
10124 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10127 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
10129 return Py_BuildValue((char *)"");
10131 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
*resultobj
;
10133 wxCURHandler
*result
;
10134 char *kwnames
[] = {
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (wxCURHandler
*)new wxCURHandler();
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
10153 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10156 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
10158 return Py_BuildValue((char *)"");
10160 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
;
10162 wxANIHandler
*result
;
10163 char *kwnames
[] = {
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (wxANIHandler
*)new wxANIHandler();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
10182 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10185 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
10187 return Py_BuildValue((char *)"");
10189 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
;
10191 wxPNGHandler
*result
;
10192 char *kwnames
[] = {
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (wxPNGHandler
*)new wxPNGHandler();
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
10211 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10214 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
10216 return Py_BuildValue((char *)"");
10218 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxGIFHandler
*result
;
10221 char *kwnames
[] = {
10225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 result
= (wxGIFHandler
*)new wxGIFHandler();
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
10240 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10243 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
10245 return Py_BuildValue((char *)"");
10247 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
;
10249 wxPCXHandler
*result
;
10250 char *kwnames
[] = {
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= (wxPCXHandler
*)new wxPCXHandler();
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
10269 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10272 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
10274 return Py_BuildValue((char *)"");
10276 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxJPEGHandler
*result
;
10279 char *kwnames
[] = {
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 result
= (wxJPEGHandler
*)new wxJPEGHandler();
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
10298 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10301 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
10303 return Py_BuildValue((char *)"");
10305 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
*resultobj
;
10307 wxPNMHandler
*result
;
10308 char *kwnames
[] = {
10312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 result
= (wxPNMHandler
*)new wxPNMHandler();
10317 wxPyEndAllowThreads(__tstate
);
10318 if (PyErr_Occurred()) SWIG_fail
;
10320 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
10327 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10330 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
10332 return Py_BuildValue((char *)"");
10334 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxXPMHandler
*result
;
10337 char *kwnames
[] = {
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 result
= (wxXPMHandler
*)new wxXPMHandler();
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
10356 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10359 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
10361 return Py_BuildValue((char *)"");
10363 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
;
10365 wxTIFFHandler
*result
;
10366 char *kwnames
[] = {
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (wxTIFFHandler
*)new wxTIFFHandler();
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
10385 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10388 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
10390 return Py_BuildValue((char *)"");
10392 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxEvtHandler
*result
;
10395 char *kwnames
[] = {
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 result
= (wxEvtHandler
*)new wxEvtHandler();
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10408 resultobj
= wxPyMake_wxObject(result
);
10416 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10418 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10419 wxEvtHandler
*result
;
10420 PyObject
* obj0
= 0 ;
10421 char *kwnames
[] = {
10422 (char *) "self", NULL
10425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
10426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
10431 wxPyEndAllowThreads(__tstate
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10435 resultobj
= wxPyMake_wxObject(result
);
10443 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10446 wxEvtHandler
*result
;
10447 PyObject
* obj0
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "self", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
10453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10462 resultobj
= wxPyMake_wxObject(result
);
10470 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10473 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10474 PyObject
* obj0
= 0 ;
10475 PyObject
* obj1
= 0 ;
10476 char *kwnames
[] = {
10477 (char *) "self",(char *) "handler", NULL
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10482 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 (arg1
)->SetNextHandler(arg2
);
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10490 Py_INCREF(Py_None
); resultobj
= Py_None
;
10497 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10500 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10501 PyObject
* obj0
= 0 ;
10502 PyObject
* obj1
= 0 ;
10503 char *kwnames
[] = {
10504 (char *) "self",(char *) "handler", NULL
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 (arg1
)->SetPreviousHandler(arg2
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 Py_INCREF(Py_None
); resultobj
= Py_None
;
10524 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
;
10526 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10528 PyObject
* obj0
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= PyInt_FromLong((long)result
);
10549 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
;
10551 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10553 PyObject
* obj0
= 0 ;
10554 PyObject
* obj1
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self",(char *) "enabled", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
10560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10561 arg2
= PyInt_AsLong(obj1
) ? true : false;
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 (arg1
)->SetEvtHandlerEnabled(arg2
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 Py_INCREF(Py_None
); resultobj
= Py_None
;
10577 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
;
10579 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10580 wxEvent
*arg2
= 0 ;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 char *kwnames
[] = {
10585 (char *) "self",(char *) "event", NULL
10588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10591 if (arg2
== NULL
) {
10592 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 resultobj
= PyInt_FromLong((long)result
);
10608 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10611 wxEvent
*arg2
= 0 ;
10612 PyObject
* obj0
= 0 ;
10613 PyObject
* obj1
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "self",(char *) "event", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10621 if (arg2
== NULL
) {
10622 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 (arg1
)->AddPendingEvent(*arg2
);
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10631 Py_INCREF(Py_None
); resultobj
= Py_None
;
10638 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
;
10640 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10641 PyObject
* obj0
= 0 ;
10642 char *kwnames
[] = {
10643 (char *) "self", NULL
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
10647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 (arg1
)->ProcessPendingEvents();
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 Py_INCREF(Py_None
); resultobj
= Py_None
;
10662 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10668 PyObject
*arg5
= (PyObject
*) 0 ;
10669 PyObject
* obj0
= 0 ;
10670 PyObject
* obj4
= 0 ;
10671 char *kwnames
[] = {
10672 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:EvtHandler_Connect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
10676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
10682 wxPyEndAllowThreads(__tstate
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10685 Py_INCREF(Py_None
); resultobj
= Py_None
;
10692 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
*resultobj
;
10694 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10696 int arg3
= (int) -1 ;
10697 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
10699 PyObject
* obj0
= 0 ;
10700 char *kwnames
[] = {
10701 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= PyInt_FromLong((long)result
);
10720 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10722 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10723 PyObject
*arg2
= (PyObject
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "self",(char *) "_self", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 wxEvtHandler__setOORInfo(arg1
,arg2
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10740 Py_INCREF(Py_None
); resultobj
= Py_None
;
10747 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10750 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
10752 return Py_BuildValue((char *)"");
10754 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
;
10756 wxEventType result
;
10757 char *kwnames
[] = {
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 result
= (wxEventType
)wxNewEventType();
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10769 resultobj
= PyInt_FromLong((long)result
);
10776 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10777 PyObject
*resultobj
;
10778 wxEvent
*arg1
= (wxEvent
*) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "self", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
10785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 Py_INCREF(Py_None
); resultobj
= Py_None
;
10800 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxEvent
*arg1
= (wxEvent
*) 0 ;
10804 PyObject
* obj0
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "typ", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetEventType",kwnames
,&obj0
,&arg2
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 (arg1
)->SetEventType(arg2
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 Py_INCREF(Py_None
); resultobj
= Py_None
;
10825 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxEvent
*arg1
= (wxEvent
*) 0 ;
10828 wxEventType result
;
10829 PyObject
* obj0
= 0 ;
10830 char *kwnames
[] = {
10831 (char *) "self", NULL
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
10835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 resultobj
= PyInt_FromLong((long)result
);
10850 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxEvent
*arg1
= (wxEvent
*) 0 ;
10854 PyObject
* obj0
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= wxPyMake_wxObject(result
);
10877 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
;
10879 wxEvent
*arg1
= (wxEvent
*) 0 ;
10880 wxObject
*arg2
= (wxObject
*) 0 ;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self",(char *) "obj", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
10888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10889 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 (arg1
)->SetEventObject(arg2
);
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10897 Py_INCREF(Py_None
); resultobj
= Py_None
;
10904 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10905 PyObject
*resultobj
;
10906 wxEvent
*arg1
= (wxEvent
*) 0 ;
10908 PyObject
* obj0
= 0 ;
10909 char *kwnames
[] = {
10910 (char *) "self", NULL
10913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
10914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 resultobj
= PyInt_FromLong((long)result
);
10929 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxEvent
*arg1
= (wxEvent
*) 0 ;
10932 long arg2
= (long) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self",(char *) "ts", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Event_SetTimestamp",kwnames
,&obj0
,&arg2
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 (arg1
)->SetTimestamp(arg2
);
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 Py_INCREF(Py_None
); resultobj
= Py_None
;
10954 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10956 wxEvent
*arg1
= (wxEvent
*) 0 ;
10958 PyObject
* obj0
= 0 ;
10959 char *kwnames
[] = {
10960 (char *) "self", NULL
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
10964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 result
= (int)((wxEvent
const *)arg1
)->GetId();
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10972 resultobj
= PyInt_FromLong((long)result
);
10979 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
;
10981 wxEvent
*arg1
= (wxEvent
*) 0 ;
10983 PyObject
* obj0
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "self",(char *) "Id", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
10989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 (arg1
)->SetId(arg2
);
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10997 Py_INCREF(Py_None
); resultobj
= Py_None
;
11004 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxEvent
*arg1
= (wxEvent
*) 0 ;
11008 PyObject
* obj0
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "self", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
11014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 resultobj
= PyInt_FromLong((long)result
);
11029 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
;
11031 wxEvent
*arg1
= (wxEvent
*) 0 ;
11032 bool arg2
= (bool) TRUE
;
11033 PyObject
* obj0
= 0 ;
11034 PyObject
* obj1
= 0 ;
11035 char *kwnames
[] = {
11036 (char *) "self",(char *) "skip", NULL
11039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
11040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11042 arg2
= PyInt_AsLong(obj1
) ? true : false;
11043 if (PyErr_Occurred()) SWIG_fail
;
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 (arg1
)->Skip(arg2
);
11049 wxPyEndAllowThreads(__tstate
);
11050 if (PyErr_Occurred()) SWIG_fail
;
11052 Py_INCREF(Py_None
); resultobj
= Py_None
;
11059 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
;
11061 wxEvent
*arg1
= (wxEvent
*) 0 ;
11063 PyObject
* obj0
= 0 ;
11064 char *kwnames
[] = {
11065 (char *) "self", NULL
11068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
11069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11077 resultobj
= PyInt_FromLong((long)result
);
11084 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
*resultobj
;
11086 wxEvent
*arg1
= (wxEvent
*) 0 ;
11088 PyObject
* obj0
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "self", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
11094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11102 resultobj
= PyInt_FromLong((long)result
);
11109 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11110 PyObject
*resultobj
;
11111 wxEvent
*arg1
= (wxEvent
*) 0 ;
11113 PyObject
* obj0
= 0 ;
11114 char *kwnames
[] = {
11115 (char *) "self", NULL
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
11119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 result
= (int)(arg1
)->StopPropagation();
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= PyInt_FromLong((long)result
);
11134 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11135 PyObject
*resultobj
;
11136 wxEvent
*arg1
= (wxEvent
*) 0 ;
11138 PyObject
* obj0
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "self",(char *) "propagationLevel", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_ResumePropagation",kwnames
,&obj0
,&arg2
)) goto fail
;
11144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 (arg1
)->ResumePropagation(arg2
);
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11152 Py_INCREF(Py_None
); resultobj
= Py_None
;
11159 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
;
11161 wxEvent
*arg1
= (wxEvent
*) 0 ;
11163 PyObject
* obj0
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
11169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (wxEvent
*)(arg1
)->Clone();
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11184 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
11186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11187 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
11189 return Py_BuildValue((char *)"");
11191 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxEvent
*arg1
= 0 ;
11194 wxPropagationDisabler
*result
;
11195 PyObject
* obj0
= 0 ;
11196 char *kwnames
[] = {
11197 (char *) "event", NULL
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11202 if (arg1
== NULL
) {
11203 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
11219 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
11222 PyObject
* obj0
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 wxPyEndAllowThreads(__tstate
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11236 Py_INCREF(Py_None
); resultobj
= Py_None
;
11243 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
11245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11246 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
11248 return Py_BuildValue((char *)"");
11250 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
;
11252 wxEvent
*arg1
= 0 ;
11253 wxPropagateOnce
*result
;
11254 PyObject
* obj0
= 0 ;
11255 char *kwnames
[] = {
11256 (char *) "event", NULL
11259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11261 if (arg1
== NULL
) {
11262 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
11278 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
11281 PyObject
* obj0
= 0 ;
11282 char *kwnames
[] = {
11283 (char *) "self", NULL
11286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11295 Py_INCREF(Py_None
); resultobj
= Py_None
;
11302 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
11304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11305 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
11307 return Py_BuildValue((char *)"");
11309 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11312 int arg2
= (int) 0 ;
11313 wxCommandEvent
*result
;
11314 char *kwnames
[] = {
11315 (char *) "commandType",(char *) "winid", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
11333 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11337 PyObject
* obj0
= 0 ;
11338 char *kwnames
[] = {
11339 (char *) "self", NULL
11342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 resultobj
= PyInt_FromLong((long)result
);
11358 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
;
11360 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11361 wxString
*arg2
= 0 ;
11362 bool temp2
= false ;
11363 PyObject
* obj0
= 0 ;
11364 PyObject
* obj1
= 0 ;
11365 char *kwnames
[] = {
11366 (char *) "self",(char *) "s", NULL
11369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11372 arg2
= wxString_in_helper(obj1
);
11373 if (arg2
== NULL
) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 (arg1
)->SetString((wxString
const &)*arg2
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 Py_INCREF(Py_None
); resultobj
= Py_None
;
11398 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
;
11400 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11402 PyObject
* obj0
= 0 ;
11403 char *kwnames
[] = {
11404 (char *) "self", NULL
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
11408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= ((wxCommandEvent
const *)arg1
)->GetString();
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11429 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
;
11431 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11433 PyObject
* obj0
= 0 ;
11434 char *kwnames
[] = {
11435 (char *) "self", NULL
11438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
11439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= PyInt_FromLong((long)result
);
11454 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11458 PyObject
* obj0
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
11464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= PyInt_FromLong((long)result
);
11479 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11483 PyObject
* obj0
= 0 ;
11484 char *kwnames
[] = {
11485 (char *) "self",(char *) "extraLong", NULL
11488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:CommandEvent_SetExtraLong",kwnames
,&obj0
,&arg2
)) goto fail
;
11489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 (arg1
)->SetExtraLong(arg2
);
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 Py_INCREF(Py_None
); resultobj
= Py_None
;
11504 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
;
11506 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11508 PyObject
* obj0
= 0 ;
11509 char *kwnames
[] = {
11510 (char *) "self", NULL
11513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
11514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= PyInt_FromLong((long)result
);
11529 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
;
11531 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11533 PyObject
* obj0
= 0 ;
11534 char *kwnames
[] = {
11535 (char *) "self",(char *) "i", NULL
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CommandEvent_SetInt",kwnames
,&obj0
,&arg2
)) goto fail
;
11539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 (arg1
)->SetInt(arg2
);
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 Py_INCREF(Py_None
); resultobj
= Py_None
;
11554 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
;
11556 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11558 PyObject
* obj0
= 0 ;
11559 char *kwnames
[] = {
11560 (char *) "self", NULL
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
11564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 resultobj
= PyInt_FromLong((long)result
);
11579 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
;
11581 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11583 PyObject
* obj0
= 0 ;
11584 char *kwnames
[] = {
11585 (char *) "self", NULL
11588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
11589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11597 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11604 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11607 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
11609 return Py_BuildValue((char *)"");
11611 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11614 int arg2
= (int) 0 ;
11615 wxNotifyEvent
*result
;
11616 char *kwnames
[] = {
11617 (char *) "commandType",(char *) "winid", NULL
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_NotifyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11623 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
11635 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11636 PyObject
*resultobj
;
11637 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11638 PyObject
* obj0
= 0 ;
11639 char *kwnames
[] = {
11640 (char *) "self", NULL
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
11644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 Py_INCREF(Py_None
); resultobj
= Py_None
;
11659 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
;
11661 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11662 PyObject
* obj0
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "self", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
11668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 Py_INCREF(Py_None
); resultobj
= Py_None
;
11683 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11687 PyObject
* obj0
= 0 ;
11688 char *kwnames
[] = {
11689 (char *) "self", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
11693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (bool)(arg1
)->IsAllowed();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= PyInt_FromLong((long)result
);
11708 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11711 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
11713 return Py_BuildValue((char *)"");
11715 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11716 PyObject
*resultobj
;
11717 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11718 int arg2
= (int) 0 ;
11719 int arg3
= (int) 0 ;
11720 int arg4
= (int) 0 ;
11721 wxScrollEvent
*result
;
11722 char *kwnames
[] = {
11723 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ScrollEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11734 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
11741 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
;
11743 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11745 PyObject
* obj0
= 0 ;
11746 char *kwnames
[] = {
11747 (char *) "self", NULL
11750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 resultobj
= PyInt_FromLong((long)result
);
11766 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11767 PyObject
*resultobj
;
11768 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11770 PyObject
* obj0
= 0 ;
11771 char *kwnames
[] = {
11772 (char *) "self", NULL
11775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= PyInt_FromLong((long)result
);
11791 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11795 PyObject
* obj0
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "self",(char *) "orient", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 (arg1
)->SetOrientation(arg2
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 Py_INCREF(Py_None
); resultobj
= Py_None
;
11816 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
*resultobj
;
11818 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11820 PyObject
* obj0
= 0 ;
11821 char *kwnames
[] = {
11822 (char *) "self",(char *) "pos", NULL
11825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 (arg1
)->SetPosition(arg2
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 Py_INCREF(Py_None
); resultobj
= Py_None
;
11841 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11844 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
11846 return Py_BuildValue((char *)"");
11848 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11851 int arg2
= (int) 0 ;
11852 int arg3
= (int) 0 ;
11853 wxScrollWinEvent
*result
;
11854 char *kwnames
[] = {
11855 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ScrollWinEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
11873 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
*resultobj
;
11875 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11877 PyObject
* obj0
= 0 ;
11878 char *kwnames
[] = {
11879 (char *) "self", NULL
11882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11891 resultobj
= PyInt_FromLong((long)result
);
11898 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
;
11900 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11902 PyObject
* obj0
= 0 ;
11903 char *kwnames
[] = {
11904 (char *) "self", NULL
11907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11916 resultobj
= PyInt_FromLong((long)result
);
11923 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
;
11925 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11927 PyObject
* obj0
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "self",(char *) "orient", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 (arg1
)->SetOrientation(arg2
);
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11941 Py_INCREF(Py_None
); resultobj
= Py_None
;
11948 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11949 PyObject
*resultobj
;
11950 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11952 PyObject
* obj0
= 0 ;
11953 char *kwnames
[] = {
11954 (char *) "self",(char *) "pos", NULL
11957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 (arg1
)->SetPosition(arg2
);
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 Py_INCREF(Py_None
); resultobj
= Py_None
;
11973 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11976 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
11978 return Py_BuildValue((char *)"");
11980 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
;
11982 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11983 wxMouseEvent
*result
;
11984 char *kwnames
[] = {
11985 (char *) "mouseType", NULL
11988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MouseEvent",kwnames
,&arg1
)) goto fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= wxPyMake_wxObject(result
);
12005 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
;
12007 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12009 PyObject
* obj0
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
12015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= PyInt_FromLong((long)result
);
12030 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12033 int arg2
= (int) wxMOUSE_BTN_ANY
;
12035 PyObject
* obj0
= 0 ;
12036 char *kwnames
[] = {
12037 (char *) "self",(char *) "but", NULL
12040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
12041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= PyInt_FromLong((long)result
);
12056 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
;
12058 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12059 int arg2
= (int) wxMOUSE_BTN_ANY
;
12061 PyObject
* obj0
= 0 ;
12062 char *kwnames
[] = {
12063 (char *) "self",(char *) "but", NULL
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDClick",kwnames
,&obj0
,&arg2
)) goto fail
;
12067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 resultobj
= PyInt_FromLong((long)result
);
12082 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12085 int arg2
= (int) wxMOUSE_BTN_ANY
;
12087 PyObject
* obj0
= 0 ;
12088 char *kwnames
[] = {
12089 (char *) "self",(char *) "but", NULL
12092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
12093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= PyInt_FromLong((long)result
);
12108 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "self",(char *) "but", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_Button",kwnames
,&obj0
,&arg2
)) goto fail
;
12119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= PyInt_FromLong((long)result
);
12134 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
;
12136 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12139 PyObject
* obj0
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self",(char *) "but", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
12145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= PyInt_FromLong((long)result
);
12160 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12161 PyObject
*resultobj
;
12162 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12164 PyObject
* obj0
= 0 ;
12165 char *kwnames
[] = {
12166 (char *) "self", NULL
12169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
12170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= PyInt_FromLong((long)result
);
12185 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12186 PyObject
*resultobj
;
12187 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12189 PyObject
* obj0
= 0 ;
12190 char *kwnames
[] = {
12191 (char *) "self", NULL
12194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
12195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12203 resultobj
= PyInt_FromLong((long)result
);
12210 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
;
12212 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 char *kwnames
[] = {
12216 (char *) "self", NULL
12219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
12220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= PyInt_FromLong((long)result
);
12235 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12236 PyObject
*resultobj
;
12237 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12239 PyObject
* obj0
= 0 ;
12240 char *kwnames
[] = {
12241 (char *) "self", NULL
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
12245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= PyInt_FromLong((long)result
);
12260 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
;
12262 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12264 PyObject
* obj0
= 0 ;
12265 char *kwnames
[] = {
12266 (char *) "self", NULL
12269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
12270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= PyInt_FromLong((long)result
);
12285 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12286 PyObject
*resultobj
;
12287 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12289 PyObject
* obj0
= 0 ;
12290 char *kwnames
[] = {
12291 (char *) "self", NULL
12294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
12295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= PyInt_FromLong((long)result
);
12310 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12314 PyObject
* obj0
= 0 ;
12315 char *kwnames
[] = {
12316 (char *) "self", NULL
12319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
12320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= PyInt_FromLong((long)result
);
12335 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
;
12337 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 char *kwnames
[] = {
12341 (char *) "self", NULL
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
12345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12353 resultobj
= PyInt_FromLong((long)result
);
12360 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12364 PyObject
* obj0
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
12370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= PyInt_FromLong((long)result
);
12385 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
;
12387 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12389 PyObject
* obj0
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self", NULL
12394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
12395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= PyInt_FromLong((long)result
);
12410 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
*resultobj
;
12412 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12414 PyObject
* obj0
= 0 ;
12415 char *kwnames
[] = {
12416 (char *) "self", NULL
12419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
12420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= PyInt_FromLong((long)result
);
12435 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12439 PyObject
* obj0
= 0 ;
12440 char *kwnames
[] = {
12441 (char *) "self", NULL
12444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
12445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 resultobj
= PyInt_FromLong((long)result
);
12460 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12464 PyObject
* obj0
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "self", NULL
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
12470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= PyInt_FromLong((long)result
);
12485 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12489 PyObject
* obj0
= 0 ;
12490 char *kwnames
[] = {
12491 (char *) "self", NULL
12494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
12495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= PyInt_FromLong((long)result
);
12510 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 result
= (bool)(arg1
)->LeftIsDown();
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= PyInt_FromLong((long)result
);
12535 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12539 PyObject
* obj0
= 0 ;
12540 char *kwnames
[] = {
12541 (char *) "self", NULL
12544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
12545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 result
= (bool)(arg1
)->MiddleIsDown();
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 resultobj
= PyInt_FromLong((long)result
);
12560 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 char *kwnames
[] = {
12566 (char *) "self", NULL
12569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
12570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 result
= (bool)(arg1
)->RightIsDown();
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= PyInt_FromLong((long)result
);
12585 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12589 PyObject
* obj0
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
12595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= PyInt_FromLong((long)result
);
12610 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12614 PyObject
* obj0
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "self", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
12620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= PyInt_FromLong((long)result
);
12635 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12639 PyObject
* obj0
= 0 ;
12640 char *kwnames
[] = {
12641 (char *) "self", NULL
12644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
12645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= PyInt_FromLong((long)result
);
12660 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
*resultobj
;
12662 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12664 PyObject
* obj0
= 0 ;
12665 char *kwnames
[] = {
12666 (char *) "self", NULL
12669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
12670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= PyInt_FromLong((long)result
);
12685 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (arg1
)->GetPosition();
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12704 wxPoint
* resultptr
;
12705 resultptr
= new wxPoint((wxPoint
&) result
);
12706 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12714 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
;
12716 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12717 long *arg2
= (long *) 0 ;
12718 long *arg3
= (long *) 0 ;
12721 PyObject
* obj0
= 0 ;
12722 char *kwnames
[] = {
12723 (char *) "self", NULL
12728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
12729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 (arg1
)->GetPosition(arg2
,arg3
);
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12737 Py_INCREF(Py_None
); resultobj
= Py_None
;
12739 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12740 resultobj
= t_output_helper(resultobj
,o
);
12743 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12744 resultobj
= t_output_helper(resultobj
,o
);
12752 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12753 PyObject
*resultobj
;
12754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "self",(char *) "dc", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12765 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12766 if (arg2
== NULL
) {
12767 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12777 wxPoint
* resultptr
;
12778 resultptr
= new wxPoint((wxPoint
&) result
);
12779 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12787 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12791 PyObject
* obj0
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
12797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 result
= (wxCoord
)((wxMouseEvent
const *)arg1
)->GetX();
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= PyInt_FromLong((long)result
);
12812 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
12822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 result
= (wxCoord
)((wxMouseEvent
const *)arg1
)->GetY();
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= PyInt_FromLong((long)result
);
12837 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12841 PyObject
* obj0
= 0 ;
12842 char *kwnames
[] = {
12843 (char *) "self", NULL
12846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
12847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12855 resultobj
= PyInt_FromLong((long)result
);
12862 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12866 PyObject
* obj0
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "self", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
12872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= PyInt_FromLong((long)result
);
12887 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
;
12889 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12891 PyObject
* obj0
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
12897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= PyInt_FromLong((long)result
);
12912 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12916 PyObject
* obj0
= 0 ;
12917 char *kwnames
[] = {
12918 (char *) "self", NULL
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
12922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= PyInt_FromLong((long)result
);
12937 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
;
12939 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12941 PyObject
* obj0
= 0 ;
12942 char *kwnames
[] = {
12943 (char *) "self",(char *) "m_x", NULL
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12948 if (arg1
) (arg1
)->m_x
= arg2
;
12950 Py_INCREF(Py_None
); resultobj
= Py_None
;
12957 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12961 PyObject
* obj0
= 0 ;
12962 char *kwnames
[] = {
12963 (char *) "self", NULL
12966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
12967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12968 result
= (wxCoord
) ((arg1
)->m_x
);
12970 resultobj
= PyInt_FromLong((long)result
);
12977 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12978 PyObject
*resultobj
;
12979 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12981 PyObject
* obj0
= 0 ;
12982 char *kwnames
[] = {
12983 (char *) "self",(char *) "m_y", NULL
12986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12988 if (arg1
) (arg1
)->m_y
= arg2
;
12990 Py_INCREF(Py_None
); resultobj
= Py_None
;
12997 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13008 result
= (wxCoord
) ((arg1
)->m_y
);
13010 resultobj
= PyInt_FromLong((long)result
);
13017 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13021 PyObject
* obj0
= 0 ;
13022 PyObject
* obj1
= 0 ;
13023 char *kwnames
[] = {
13024 (char *) "self",(char *) "m_leftDown", NULL
13027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13029 arg2
= PyInt_AsLong(obj1
) ? true : false;
13030 if (PyErr_Occurred()) SWIG_fail
;
13031 if (arg1
) (arg1
)->m_leftDown
= arg2
;
13033 Py_INCREF(Py_None
); resultobj
= Py_None
;
13040 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13044 PyObject
* obj0
= 0 ;
13045 char *kwnames
[] = {
13046 (char *) "self", NULL
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
13050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13051 result
= (bool) ((arg1
)->m_leftDown
);
13053 resultobj
= PyInt_FromLong((long)result
);
13060 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self",(char *) "m_middleDown", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13072 arg2
= PyInt_AsLong(obj1
) ? true : false;
13073 if (PyErr_Occurred()) SWIG_fail
;
13074 if (arg1
) (arg1
)->m_middleDown
= arg2
;
13076 Py_INCREF(Py_None
); resultobj
= Py_None
;
13083 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
13093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13094 result
= (bool) ((arg1
)->m_middleDown
);
13096 resultobj
= PyInt_FromLong((long)result
);
13103 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 char *kwnames
[] = {
13110 (char *) "self",(char *) "m_rightDown", NULL
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13115 arg2
= PyInt_AsLong(obj1
) ? true : false;
13116 if (PyErr_Occurred()) SWIG_fail
;
13117 if (arg1
) (arg1
)->m_rightDown
= arg2
;
13119 Py_INCREF(Py_None
); resultobj
= Py_None
;
13126 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
13136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13137 result
= (bool) ((arg1
)->m_rightDown
);
13139 resultobj
= PyInt_FromLong((long)result
);
13146 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13147 PyObject
*resultobj
;
13148 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13150 PyObject
* obj0
= 0 ;
13151 PyObject
* obj1
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self",(char *) "m_controlDown", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13158 arg2
= PyInt_AsLong(obj1
) ? true : false;
13159 if (PyErr_Occurred()) SWIG_fail
;
13160 if (arg1
) (arg1
)->m_controlDown
= arg2
;
13162 Py_INCREF(Py_None
); resultobj
= Py_None
;
13169 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13170 PyObject
*resultobj
;
13171 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13173 PyObject
* obj0
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
13179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13180 result
= (bool) ((arg1
)->m_controlDown
);
13182 resultobj
= PyInt_FromLong((long)result
);
13189 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
;
13191 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 char *kwnames
[] = {
13196 (char *) "self",(char *) "m_shiftDown", NULL
13199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13201 arg2
= PyInt_AsLong(obj1
) ? true : false;
13202 if (PyErr_Occurred()) SWIG_fail
;
13203 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
13205 Py_INCREF(Py_None
); resultobj
= Py_None
;
13212 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13213 PyObject
*resultobj
;
13214 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13216 PyObject
* obj0
= 0 ;
13217 char *kwnames
[] = {
13218 (char *) "self", NULL
13221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
13222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13223 result
= (bool) ((arg1
)->m_shiftDown
);
13225 resultobj
= PyInt_FromLong((long)result
);
13232 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
;
13234 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13236 PyObject
* obj0
= 0 ;
13237 PyObject
* obj1
= 0 ;
13238 char *kwnames
[] = {
13239 (char *) "self",(char *) "m_altDown", NULL
13242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13244 arg2
= PyInt_AsLong(obj1
) ? true : false;
13245 if (PyErr_Occurred()) SWIG_fail
;
13246 if (arg1
) (arg1
)->m_altDown
= arg2
;
13248 Py_INCREF(Py_None
); resultobj
= Py_None
;
13255 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13259 PyObject
* obj0
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
13265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13266 result
= (bool) ((arg1
)->m_altDown
);
13268 resultobj
= PyInt_FromLong((long)result
);
13275 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
;
13277 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13279 PyObject
* obj0
= 0 ;
13280 PyObject
* obj1
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "self",(char *) "m_metaDown", NULL
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13287 arg2
= PyInt_AsLong(obj1
) ? true : false;
13288 if (PyErr_Occurred()) SWIG_fail
;
13289 if (arg1
) (arg1
)->m_metaDown
= arg2
;
13291 Py_INCREF(Py_None
); resultobj
= Py_None
;
13298 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13302 PyObject
* obj0
= 0 ;
13303 char *kwnames
[] = {
13304 (char *) "self", NULL
13307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
13308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13309 result
= (bool) ((arg1
)->m_metaDown
);
13311 resultobj
= PyInt_FromLong((long)result
);
13318 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13322 PyObject
* obj0
= 0 ;
13323 char *kwnames
[] = {
13324 (char *) "self",(char *) "m_wheelRotation", NULL
13327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13329 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
13331 Py_INCREF(Py_None
); resultobj
= Py_None
;
13338 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13342 PyObject
* obj0
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
13348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13349 result
= (int) ((arg1
)->m_wheelRotation
);
13351 resultobj
= PyInt_FromLong((long)result
);
13358 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13362 PyObject
* obj0
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self",(char *) "m_wheelDelta", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13369 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
13371 Py_INCREF(Py_None
); resultobj
= Py_None
;
13378 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13379 PyObject
*resultobj
;
13380 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13382 PyObject
* obj0
= 0 ;
13383 char *kwnames
[] = {
13384 (char *) "self", NULL
13387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
13388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13389 result
= (int) ((arg1
)->m_wheelDelta
);
13391 resultobj
= PyInt_FromLong((long)result
);
13398 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
;
13400 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13402 PyObject
* obj0
= 0 ;
13403 char *kwnames
[] = {
13404 (char *) "self",(char *) "m_linesPerAction", NULL
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13409 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
13411 Py_INCREF(Py_None
); resultobj
= Py_None
;
13418 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13422 PyObject
* obj0
= 0 ;
13423 char *kwnames
[] = {
13424 (char *) "self", NULL
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
13428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13429 result
= (int) ((arg1
)->m_linesPerAction
);
13431 resultobj
= PyInt_FromLong((long)result
);
13438 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13441 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
13443 return Py_BuildValue((char *)"");
13445 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxCoord arg1
= (wxCoord
) 0 ;
13448 wxCoord arg2
= (wxCoord
) 0 ;
13449 wxSetCursorEvent
*result
;
13450 char *kwnames
[] = {
13451 (char *) "x",(char *) "y", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SetCursorEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13462 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
13469 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13470 PyObject
*resultobj
;
13471 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13473 PyObject
* obj0
= 0 ;
13474 char *kwnames
[] = {
13475 (char *) "self", NULL
13478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
13479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 result
= (wxCoord
)((wxSetCursorEvent
const *)arg1
)->GetX();
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= PyInt_FromLong((long)result
);
13494 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
;
13496 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13498 PyObject
* obj0
= 0 ;
13499 char *kwnames
[] = {
13500 (char *) "self", NULL
13503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
13504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 result
= (wxCoord
)((wxSetCursorEvent
const *)arg1
)->GetY();
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= PyInt_FromLong((long)result
);
13519 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13520 PyObject
*resultobj
;
13521 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13522 wxCursor
*arg2
= 0 ;
13523 PyObject
* obj0
= 0 ;
13524 PyObject
* obj1
= 0 ;
13525 char *kwnames
[] = {
13526 (char *) "self",(char *) "cursor", NULL
13529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
13530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13531 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13532 if (arg2
== NULL
) {
13533 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13542 Py_INCREF(Py_None
); resultobj
= Py_None
;
13549 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
;
13551 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13553 PyObject
* obj0
= 0 ;
13554 char *kwnames
[] = {
13555 (char *) "self", NULL
13558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
13559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
13564 result
= (wxCursor
*) &_result_ref
;
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13570 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
13577 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
;
13579 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13581 PyObject
* obj0
= 0 ;
13582 char *kwnames
[] = {
13583 (char *) "self", NULL
13586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
13587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13590 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
13592 wxPyEndAllowThreads(__tstate
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13595 resultobj
= PyInt_FromLong((long)result
);
13602 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13605 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
13607 return Py_BuildValue((char *)"");
13609 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
;
13611 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13612 wxKeyEvent
*result
;
13613 char *kwnames
[] = {
13614 (char *) "keyType", NULL
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_KeyEvent",kwnames
,&arg1
)) goto fail
;
13619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13620 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
13622 wxPyEndAllowThreads(__tstate
);
13623 if (PyErr_Occurred()) SWIG_fail
;
13625 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
13632 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
*resultobj
;
13634 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "self", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13645 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
13647 wxPyEndAllowThreads(__tstate
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13650 resultobj
= PyInt_FromLong((long)result
);
13657 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13658 PyObject
*resultobj
;
13659 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13661 PyObject
* obj0
= 0 ;
13662 char *kwnames
[] = {
13663 (char *) "self", NULL
13666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= PyInt_FromLong((long)result
);
13682 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13686 PyObject
* obj0
= 0 ;
13687 char *kwnames
[] = {
13688 (char *) "self", NULL
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13700 resultobj
= PyInt_FromLong((long)result
);
13707 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
;
13709 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13711 PyObject
* obj0
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
13722 wxPyEndAllowThreads(__tstate
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 resultobj
= PyInt_FromLong((long)result
);
13732 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13736 PyObject
* obj0
= 0 ;
13737 char *kwnames
[] = {
13738 (char *) "self", NULL
13741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
13742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= PyInt_FromLong((long)result
);
13757 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13761 PyObject
* obj0
= 0 ;
13762 char *kwnames
[] = {
13763 (char *) "self", NULL
13766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
13767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= PyInt_FromLong((long)result
);
13782 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
;
13784 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13786 PyObject
* obj0
= 0 ;
13787 char *kwnames
[] = {
13788 (char *) "self", NULL
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
13792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13795 result
= (int)wxKeyEvent_GetUniChar(arg1
);
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13800 resultobj
= PyInt_FromLong((long)result
);
13807 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13808 PyObject
*resultobj
;
13809 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13811 PyObject
* obj0
= 0 ;
13812 char *kwnames
[] = {
13813 (char *) "self", NULL
13816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
13817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 result
= (wxUint32
)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 resultobj
= PyInt_FromLong((long)result
);
13832 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
;
13834 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13836 PyObject
* obj0
= 0 ;
13837 char *kwnames
[] = {
13838 (char *) "self", NULL
13841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
13842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= (wxUint32
)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
13847 wxPyEndAllowThreads(__tstate
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13850 resultobj
= PyInt_FromLong((long)result
);
13857 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
;
13859 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13861 PyObject
* obj0
= 0 ;
13862 char *kwnames
[] = {
13863 (char *) "self", NULL
13866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 result
= (arg1
)->GetPosition();
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13876 wxPoint
* resultptr
;
13877 resultptr
= new wxPoint((wxPoint
&) result
);
13878 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13886 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13889 long *arg2
= (long *) 0 ;
13890 long *arg3
= (long *) 0 ;
13893 PyObject
* obj0
= 0 ;
13894 char *kwnames
[] = {
13895 (char *) "self", NULL
13900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
13901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 (arg1
)->GetPosition(arg2
,arg3
);
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 Py_INCREF(Py_None
); resultobj
= Py_None
;
13911 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13912 resultobj
= t_output_helper(resultobj
,o
);
13915 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13916 resultobj
= t_output_helper(resultobj
,o
);
13924 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
;
13926 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13928 PyObject
* obj0
= 0 ;
13929 char *kwnames
[] = {
13930 (char *) "self", NULL
13933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
13934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13937 result
= (wxCoord
)((wxKeyEvent
const *)arg1
)->GetX();
13939 wxPyEndAllowThreads(__tstate
);
13940 if (PyErr_Occurred()) SWIG_fail
;
13942 resultobj
= PyInt_FromLong((long)result
);
13949 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13950 PyObject
*resultobj
;
13951 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13953 PyObject
* obj0
= 0 ;
13954 char *kwnames
[] = {
13955 (char *) "self", NULL
13958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
13959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 result
= (wxCoord
)((wxKeyEvent
const *)arg1
)->GetY();
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 resultobj
= PyInt_FromLong((long)result
);
13974 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13978 PyObject
* obj0
= 0 ;
13979 char *kwnames
[] = {
13980 (char *) "self",(char *) "m_x", NULL
13983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13985 if (arg1
) (arg1
)->m_x
= arg2
;
13987 Py_INCREF(Py_None
); resultobj
= Py_None
;
13994 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
;
13996 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13998 PyObject
* obj0
= 0 ;
13999 char *kwnames
[] = {
14000 (char *) "self", NULL
14003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14005 result
= (wxCoord
) ((arg1
)->m_x
);
14007 resultobj
= PyInt_FromLong((long)result
);
14014 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
;
14016 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14018 PyObject
* obj0
= 0 ;
14019 char *kwnames
[] = {
14020 (char *) "self",(char *) "m_y", NULL
14023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
14024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14025 if (arg1
) (arg1
)->m_y
= arg2
;
14027 Py_INCREF(Py_None
); resultobj
= Py_None
;
14034 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14038 PyObject
* obj0
= 0 ;
14039 char *kwnames
[] = {
14040 (char *) "self", NULL
14043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14045 result
= (wxCoord
) ((arg1
)->m_y
);
14047 resultobj
= PyInt_FromLong((long)result
);
14054 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
;
14056 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14058 PyObject
* obj0
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self",(char *) "m_keyCode", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14065 if (arg1
) (arg1
)->m_keyCode
= arg2
;
14067 Py_INCREF(Py_None
); resultobj
= Py_None
;
14074 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14078 PyObject
* obj0
= 0 ;
14079 char *kwnames
[] = {
14080 (char *) "self", NULL
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
14084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14085 result
= (long) ((arg1
)->m_keyCode
);
14087 resultobj
= PyInt_FromLong((long)result
);
14094 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self",(char *) "m_controlDown", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14106 arg2
= PyInt_AsLong(obj1
) ? true : false;
14107 if (PyErr_Occurred()) SWIG_fail
;
14108 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14110 Py_INCREF(Py_None
); resultobj
= Py_None
;
14117 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14118 PyObject
*resultobj
;
14119 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14121 PyObject
* obj0
= 0 ;
14122 char *kwnames
[] = {
14123 (char *) "self", NULL
14126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14128 result
= (bool) ((arg1
)->m_controlDown
);
14130 resultobj
= PyInt_FromLong((long)result
);
14137 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14141 PyObject
* obj0
= 0 ;
14142 PyObject
* obj1
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self",(char *) "m_shiftDown", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14149 arg2
= PyInt_AsLong(obj1
) ? true : false;
14150 if (PyErr_Occurred()) SWIG_fail
;
14151 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14153 Py_INCREF(Py_None
); resultobj
= Py_None
;
14160 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14171 result
= (bool) ((arg1
)->m_shiftDown
);
14173 resultobj
= PyInt_FromLong((long)result
);
14180 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14184 PyObject
* obj0
= 0 ;
14185 PyObject
* obj1
= 0 ;
14186 char *kwnames
[] = {
14187 (char *) "self",(char *) "m_altDown", NULL
14190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14192 arg2
= PyInt_AsLong(obj1
) ? true : false;
14193 if (PyErr_Occurred()) SWIG_fail
;
14194 if (arg1
) (arg1
)->m_altDown
= arg2
;
14196 Py_INCREF(Py_None
); resultobj
= Py_None
;
14203 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
;
14205 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14207 PyObject
* obj0
= 0 ;
14208 char *kwnames
[] = {
14209 (char *) "self", NULL
14212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14214 result
= (bool) ((arg1
)->m_altDown
);
14216 resultobj
= PyInt_FromLong((long)result
);
14223 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self",(char *) "m_metaDown", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14235 arg2
= PyInt_AsLong(obj1
) ? true : false;
14236 if (PyErr_Occurred()) SWIG_fail
;
14237 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14239 Py_INCREF(Py_None
); resultobj
= Py_None
;
14246 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14250 PyObject
* obj0
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14257 result
= (bool) ((arg1
)->m_metaDown
);
14259 resultobj
= PyInt_FromLong((long)result
);
14266 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14267 PyObject
*resultobj
;
14268 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14270 PyObject
* obj0
= 0 ;
14271 PyObject
* obj1
= 0 ;
14272 char *kwnames
[] = {
14273 (char *) "self",(char *) "m_scanCode", NULL
14276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14278 arg2
= PyInt_AsLong(obj1
) ? true : false;
14279 if (PyErr_Occurred()) SWIG_fail
;
14280 if (arg1
) (arg1
)->m_scanCode
= arg2
;
14282 Py_INCREF(Py_None
); resultobj
= Py_None
;
14289 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
;
14291 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14293 PyObject
* obj0
= 0 ;
14294 char *kwnames
[] = {
14295 (char *) "self", NULL
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
14299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14300 result
= (bool) ((arg1
)->m_scanCode
);
14302 resultobj
= PyInt_FromLong((long)result
);
14309 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
;
14311 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14313 PyObject
* obj0
= 0 ;
14314 PyObject
* obj1
= 0 ;
14315 char *kwnames
[] = {
14316 (char *) "self",(char *) "m_rawCode", NULL
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14321 arg2
= (wxUint32
) PyInt_AsLong(obj1
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14323 if (arg1
) (arg1
)->m_rawCode
= arg2
;
14325 Py_INCREF(Py_None
); resultobj
= Py_None
;
14332 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
;
14334 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14336 PyObject
* obj0
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
14342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14343 result
= (wxUint32
) ((arg1
)->m_rawCode
);
14345 resultobj
= PyInt_FromLong((long)result
);
14352 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14356 PyObject
* obj0
= 0 ;
14357 PyObject
* obj1
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self",(char *) "m_rawFlags", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14364 arg2
= (wxUint32
) PyInt_AsLong(obj1
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14366 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
14368 Py_INCREF(Py_None
); resultobj
= Py_None
;
14375 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14379 PyObject
* obj0
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "self", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
14385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14386 result
= (wxUint32
) ((arg1
)->m_rawFlags
);
14388 resultobj
= PyInt_FromLong((long)result
);
14395 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14398 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
14400 return Py_BuildValue((char *)"");
14402 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14403 PyObject
*resultobj
;
14404 wxSize
const &arg1_defvalue
= wxDefaultSize
;
14405 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
14406 int arg2
= (int) 0 ;
14407 wxSizeEvent
*result
;
14409 PyObject
* obj0
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "sz",(char *) "winid", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_SizeEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14418 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14423 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14428 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
14435 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
;
14437 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14439 PyObject
* obj0
= 0 ;
14440 char *kwnames
[] = {
14441 (char *) "self", NULL
14444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
14445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14454 wxSize
* resultptr
;
14455 resultptr
= new wxSize((wxSize
&) result
);
14456 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14464 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14465 PyObject
*resultobj
;
14466 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14468 PyObject
* obj0
= 0 ;
14469 char *kwnames
[] = {
14470 (char *) "self", NULL
14473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14483 wxRect
* resultptr
;
14484 resultptr
= new wxRect((wxRect
&) result
);
14485 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14493 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 PyObject
* obj1
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "self",(char *) "rect", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14506 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 (arg1
)->SetRect(arg2
);
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 Py_INCREF(Py_None
); resultobj
= Py_None
;
14522 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14527 PyObject
* obj0
= 0 ;
14528 PyObject
* obj1
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self",(char *) "size", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14535 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 wxSizeEvent_SetSize(arg1
,arg2
);
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14544 Py_INCREF(Py_None
); resultobj
= Py_None
;
14551 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14552 PyObject
*resultobj
;
14553 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14554 wxSize
*arg2
= (wxSize
*) 0 ;
14555 PyObject
* obj0
= 0 ;
14556 PyObject
* obj1
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self",(char *) "m_size", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14564 if (arg1
) (arg1
)->m_size
= *arg2
;
14566 Py_INCREF(Py_None
); resultobj
= Py_None
;
14573 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14584 result
= (wxSize
*)& ((arg1
)->m_size
);
14586 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
14593 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
;
14595 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14596 wxRect
*arg2
= (wxRect
*) 0 ;
14597 PyObject
* obj0
= 0 ;
14598 PyObject
* obj1
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "self",(char *) "m_rect", NULL
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14605 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14606 if (arg1
) (arg1
)->m_rect
= *arg2
;
14608 Py_INCREF(Py_None
); resultobj
= Py_None
;
14615 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14616 PyObject
*resultobj
;
14617 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14619 PyObject
* obj0
= 0 ;
14620 char *kwnames
[] = {
14621 (char *) "self", NULL
14624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14626 result
= (wxRect
*)& ((arg1
)->m_rect
);
14628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14635 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14638 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
14640 return Py_BuildValue((char *)"");
14642 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14643 PyObject
*resultobj
;
14644 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
14645 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
14646 int arg2
= (int) 0 ;
14647 wxMoveEvent
*result
;
14649 PyObject
* obj0
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "pos",(char *) "winid", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_MoveEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14658 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
14675 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
;
14677 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14679 PyObject
* obj0
= 0 ;
14680 char *kwnames
[] = {
14681 (char *) "self", NULL
14684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14694 wxPoint
* resultptr
;
14695 resultptr
= new wxPoint((wxPoint
&) result
);
14696 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14704 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14708 PyObject
* obj0
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14723 wxRect
* resultptr
;
14724 resultptr
= new wxRect((wxRect
&) result
);
14725 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14733 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14738 PyObject
* obj0
= 0 ;
14739 PyObject
* obj1
= 0 ;
14740 char *kwnames
[] = {
14741 (char *) "self",(char *) "rect", NULL
14744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14746 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14750 (arg1
)->SetRect(arg2
);
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14755 Py_INCREF(Py_None
); resultobj
= Py_None
;
14762 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
;
14764 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14767 PyObject
* obj0
= 0 ;
14768 PyObject
* obj1
= 0 ;
14769 char *kwnames
[] = {
14770 (char *) "self",(char *) "pos", NULL
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14775 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 wxMoveEvent_SetPosition(arg1
,arg2
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 Py_INCREF(Py_None
); resultobj
= Py_None
;
14791 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14794 wxPoint
*arg2
= (wxPoint
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self",(char *) "m_pos", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14803 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14804 if (arg1
) (arg1
)->m_pos
= *arg2
;
14806 Py_INCREF(Py_None
); resultobj
= Py_None
;
14813 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14817 PyObject
* obj0
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "self", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
14823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14824 result
= (wxPoint
*)& ((arg1
)->m_pos
);
14826 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
14833 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
;
14835 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14836 wxRect
*arg2
= (wxRect
*) 0 ;
14837 PyObject
* obj0
= 0 ;
14838 PyObject
* obj1
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self",(char *) "m_rect", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14845 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14846 if (arg1
) (arg1
)->m_rect
= *arg2
;
14848 Py_INCREF(Py_None
); resultobj
= Py_None
;
14855 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14856 PyObject
*resultobj
;
14857 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14859 PyObject
* obj0
= 0 ;
14860 char *kwnames
[] = {
14861 (char *) "self", NULL
14864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14866 result
= (wxRect
*)& ((arg1
)->m_rect
);
14868 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14875 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14878 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
14880 return Py_BuildValue((char *)"");
14882 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
;
14884 int arg1
= (int) 0 ;
14885 wxPaintEvent
*result
;
14886 char *kwnames
[] = {
14887 (char *) "Id", NULL
14890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaintEvent",kwnames
,&arg1
)) goto fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
14905 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14908 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
14910 return Py_BuildValue((char *)"");
14912 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
;
14914 int arg1
= (int) 0 ;
14915 wxNcPaintEvent
*result
;
14916 char *kwnames
[] = {
14917 (char *) "winid", NULL
14920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_NcPaintEvent",kwnames
,&arg1
)) goto fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
14935 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14938 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
14940 return Py_BuildValue((char *)"");
14942 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
;
14944 int arg1
= (int) 0 ;
14945 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
14946 wxEraseEvent
*result
;
14947 PyObject
* obj1
= 0 ;
14948 char *kwnames
[] = {
14949 (char *) "Id",(char *) "dc", NULL
14952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_EraseEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
14954 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
14970 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
;
14972 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 char *kwnames
[] = {
14976 (char *) "self", NULL
14979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
14980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= wxPyMake_wxObject(result
);
14997 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15000 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
15002 return Py_BuildValue((char *)"");
15004 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15007 int arg2
= (int) 0 ;
15008 wxFocusEvent
*result
;
15009 char *kwnames
[] = {
15010 (char *) "type",(char *) "winid", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FocusEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
15028 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
;
15030 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
15032 PyObject
* obj0
= 0 ;
15033 char *kwnames
[] = {
15034 (char *) "self", NULL
15037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
15038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= wxPyMake_wxObject(result
);
15055 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
15058 wxWindow
*arg2
= (wxWindow
*) 0 ;
15059 PyObject
* obj0
= 0 ;
15060 PyObject
* obj1
= 0 ;
15061 char *kwnames
[] = {
15062 (char *) "self",(char *) "win", NULL
15065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15067 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 (arg1
)->SetWindow(arg2
);
15072 wxPyEndAllowThreads(__tstate
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15075 Py_INCREF(Py_None
); resultobj
= Py_None
;
15082 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15085 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
15087 return Py_BuildValue((char *)"");
15089 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
;
15091 wxWindow
*arg1
= (wxWindow
*) NULL
;
15092 wxChildFocusEvent
*result
;
15093 PyObject
* obj0
= 0 ;
15094 char *kwnames
[] = {
15095 (char *) "win", NULL
15098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
15100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
15116 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
;
15118 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
15120 PyObject
* obj0
= 0 ;
15121 char *kwnames
[] = {
15122 (char *) "self", NULL
15125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
15126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= wxPyMake_wxObject(result
);
15143 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15146 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
15148 return Py_BuildValue((char *)"");
15150 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15153 bool arg2
= (bool) TRUE
;
15154 int arg3
= (int) 0 ;
15155 wxActivateEvent
*result
;
15156 PyObject
* obj1
= 0 ;
15157 char *kwnames
[] = {
15158 (char *) "type",(char *) "active",(char *) "Id", NULL
15161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iOi:new_ActivateEvent",kwnames
,&arg1
,&obj1
,&arg3
)) goto fail
;
15163 arg2
= PyInt_AsLong(obj1
) ? true : false;
15164 if (PyErr_Occurred()) SWIG_fail
;
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
15180 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
;
15182 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
15184 PyObject
* obj0
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self", NULL
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
15190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15198 resultobj
= PyInt_FromLong((long)result
);
15205 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15208 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
15210 return Py_BuildValue((char *)"");
15212 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15213 PyObject
*resultobj
;
15214 int arg1
= (int) 0 ;
15215 wxInitDialogEvent
*result
;
15216 char *kwnames
[] = {
15217 (char *) "Id", NULL
15220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_InitDialogEvent",kwnames
,&arg1
)) goto fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
15235 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15238 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
15240 return Py_BuildValue((char *)"");
15242 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15245 int arg2
= (int) 0 ;
15246 wxMenu
*arg3
= (wxMenu
*) NULL
;
15247 wxMenuEvent
*result
;
15248 PyObject
* obj2
= 0 ;
15249 char *kwnames
[] = {
15250 (char *) "type",(char *) "winid",(char *) "menu", NULL
15253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_MenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
15255 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
15271 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15272 PyObject
*resultobj
;
15273 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15275 PyObject
* obj0
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
15281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= PyInt_FromLong((long)result
);
15296 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
;
15298 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15300 PyObject
* obj0
= 0 ;
15301 char *kwnames
[] = {
15302 (char *) "self", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
15306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 resultobj
= PyInt_FromLong((long)result
);
15321 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
15331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= wxPyMake_wxObject(result
);
15348 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15351 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
15353 return Py_BuildValue((char *)"");
15355 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
;
15357 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15358 int arg2
= (int) 0 ;
15359 wxCloseEvent
*result
;
15360 char *kwnames
[] = {
15361 (char *) "type",(char *) "winid", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CloseEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
15369 wxPyEndAllowThreads(__tstate
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
15379 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15380 PyObject
*resultobj
;
15381 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15383 PyObject
* obj0
= 0 ;
15384 PyObject
* obj1
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "self",(char *) "logOff", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
15390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15391 arg2
= PyInt_AsLong(obj1
) ? true : false;
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 (arg1
)->SetLoggingOff(arg2
);
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 Py_INCREF(Py_None
); resultobj
= Py_None
;
15407 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
;
15409 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15411 PyObject
* obj0
= 0 ;
15412 char *kwnames
[] = {
15413 (char *) "self", NULL
15416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
15417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= PyInt_FromLong((long)result
);
15432 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15435 bool arg2
= (bool) TRUE
;
15436 PyObject
* obj0
= 0 ;
15437 PyObject
* obj1
= 0 ;
15438 char *kwnames
[] = {
15439 (char *) "self",(char *) "veto", NULL
15442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
15443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15445 arg2
= PyInt_AsLong(obj1
) ? true : false;
15446 if (PyErr_Occurred()) SWIG_fail
;
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 (arg1
)->Veto(arg2
);
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15455 Py_INCREF(Py_None
); resultobj
= Py_None
;
15462 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15466 PyObject
* obj0
= 0 ;
15467 PyObject
* obj1
= 0 ;
15468 char *kwnames
[] = {
15469 (char *) "self",(char *) "canVeto", NULL
15472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
15473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15474 arg2
= PyInt_AsLong(obj1
) ? true : false;
15475 if (PyErr_Occurred()) SWIG_fail
;
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15478 (arg1
)->SetCanVeto(arg2
);
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15483 Py_INCREF(Py_None
); resultobj
= Py_None
;
15490 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15494 PyObject
* obj0
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
15500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15503 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= PyInt_FromLong((long)result
);
15515 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15516 PyObject
*resultobj
;
15517 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15519 PyObject
* obj0
= 0 ;
15520 char *kwnames
[] = {
15521 (char *) "self", NULL
15524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
15525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
15530 wxPyEndAllowThreads(__tstate
);
15531 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= PyInt_FromLong((long)result
);
15540 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15543 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
15545 return Py_BuildValue((char *)"");
15547 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 int arg1
= (int) 0 ;
15550 bool arg2
= (bool) FALSE
;
15551 wxShowEvent
*result
;
15552 PyObject
* obj1
= 0 ;
15553 char *kwnames
[] = {
15554 (char *) "winid",(char *) "show", NULL
15557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_ShowEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15559 arg2
= PyInt_AsLong(obj1
) ? true : false;
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
15576 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15580 PyObject
* obj0
= 0 ;
15581 PyObject
* obj1
= 0 ;
15582 char *kwnames
[] = {
15583 (char *) "self",(char *) "show", NULL
15586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
15587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15588 arg2
= PyInt_AsLong(obj1
) ? true : false;
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 (arg1
)->SetShow(arg2
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 Py_INCREF(Py_None
); resultobj
= Py_None
;
15604 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15606 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15608 PyObject
* obj0
= 0 ;
15609 char *kwnames
[] = {
15610 (char *) "self", NULL
15613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
15614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= PyInt_FromLong((long)result
);
15629 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15632 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
15634 return Py_BuildValue((char *)"");
15636 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
;
15638 int arg1
= (int) 0 ;
15639 bool arg2
= (bool) TRUE
;
15640 wxIconizeEvent
*result
;
15641 PyObject
* obj1
= 0 ;
15642 char *kwnames
[] = {
15643 (char *) "id",(char *) "iconized", NULL
15646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_IconizeEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15648 arg2
= PyInt_AsLong(obj1
) ? true : false;
15649 if (PyErr_Occurred()) SWIG_fail
;
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
15665 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
15669 PyObject
* obj0
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "self", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
15675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15678 result
= (bool)(arg1
)->Iconized();
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15683 resultobj
= PyInt_FromLong((long)result
);
15690 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15693 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
15695 return Py_BuildValue((char *)"");
15697 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
;
15699 int arg1
= (int) 0 ;
15700 wxMaximizeEvent
*result
;
15701 char *kwnames
[] = {
15702 (char *) "id", NULL
15705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MaximizeEvent",kwnames
,&arg1
)) goto fail
;
15707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15708 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
15710 wxPyEndAllowThreads(__tstate
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15713 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
15720 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15723 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
15725 return Py_BuildValue((char *)"");
15727 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15728 PyObject
*resultobj
;
15729 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15731 PyObject
* obj0
= 0 ;
15732 char *kwnames
[] = {
15733 (char *) "self", NULL
15736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 result
= (arg1
)->GetPosition();
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15746 wxPoint
* resultptr
;
15747 resultptr
= new wxPoint((wxPoint
&) result
);
15748 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15756 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15760 PyObject
* obj0
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "self", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
15766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 result
= (int)(arg1
)->GetNumberOfFiles();
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15774 resultobj
= PyInt_FromLong((long)result
);
15781 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
;
15783 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15785 PyObject
* obj0
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "self", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
15791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15799 resultobj
= result
;
15806 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15809 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
15811 return Py_BuildValue((char *)"");
15813 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
;
15815 wxWindowID arg1
= (wxWindowID
) 0 ;
15816 wxUpdateUIEvent
*result
;
15817 char *kwnames
[] = {
15818 (char *) "commandId", NULL
15821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_UpdateUIEvent",kwnames
,&arg1
)) goto fail
;
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
15836 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15840 PyObject
* obj0
= 0 ;
15841 char *kwnames
[] = {
15842 (char *) "self", NULL
15845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
15846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= PyInt_FromLong((long)result
);
15861 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15862 PyObject
*resultobj
;
15863 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15865 PyObject
* obj0
= 0 ;
15866 char *kwnames
[] = {
15867 (char *) "self", NULL
15870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
15871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
15876 wxPyEndAllowThreads(__tstate
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15879 resultobj
= PyInt_FromLong((long)result
);
15886 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15887 PyObject
*resultobj
;
15888 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15890 PyObject
* obj0
= 0 ;
15891 char *kwnames
[] = {
15892 (char *) "self", NULL
15895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
15896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15917 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
;
15919 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15921 PyObject
* obj0
= 0 ;
15922 char *kwnames
[] = {
15923 (char *) "self", NULL
15926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
15927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
15932 wxPyEndAllowThreads(__tstate
);
15933 if (PyErr_Occurred()) SWIG_fail
;
15935 resultobj
= PyInt_FromLong((long)result
);
15942 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15943 PyObject
*resultobj
;
15944 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15946 PyObject
* obj0
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "self", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
15952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15960 resultobj
= PyInt_FromLong((long)result
);
15967 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
;
15969 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15971 PyObject
* obj0
= 0 ;
15972 char *kwnames
[] = {
15973 (char *) "self", NULL
15976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
15977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15985 resultobj
= PyInt_FromLong((long)result
);
15992 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15993 PyObject
*resultobj
;
15994 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15996 PyObject
* obj0
= 0 ;
15997 PyObject
* obj1
= 0 ;
15998 char *kwnames
[] = {
15999 (char *) "self",(char *) "check", NULL
16002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
16003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16004 arg2
= PyInt_AsLong(obj1
) ? true : false;
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 (arg1
)->Check(arg2
);
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16013 Py_INCREF(Py_None
); resultobj
= Py_None
;
16020 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
;
16022 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16024 PyObject
* obj0
= 0 ;
16025 PyObject
* obj1
= 0 ;
16026 char *kwnames
[] = {
16027 (char *) "self",(char *) "enable", NULL
16030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16032 arg2
= PyInt_AsLong(obj1
) ? true : false;
16033 if (PyErr_Occurred()) SWIG_fail
;
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 (arg1
)->Enable(arg2
);
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16041 Py_INCREF(Py_None
); resultobj
= Py_None
;
16048 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16051 wxString
*arg2
= 0 ;
16052 bool temp2
= false ;
16053 PyObject
* obj0
= 0 ;
16054 PyObject
* obj1
= 0 ;
16055 char *kwnames
[] = {
16056 (char *) "self",(char *) "text", NULL
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
16060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16062 arg2
= wxString_in_helper(obj1
);
16063 if (arg2
== NULL
) SWIG_fail
;
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 (arg1
)->SetText((wxString
const &)*arg2
);
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16073 Py_INCREF(Py_None
); resultobj
= Py_None
;
16088 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16091 char *kwnames
[] = {
16092 (char *) "updateInterval", NULL
16095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames
,&arg1
)) goto fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 wxUpdateUIEvent::SetUpdateInterval(arg1
);
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16103 Py_INCREF(Py_None
); resultobj
= Py_None
;
16110 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16111 PyObject
*resultobj
;
16113 char *kwnames
[] = {
16117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
16119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= PyInt_FromLong((long)result
);
16132 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16133 PyObject
*resultobj
;
16134 wxWindow
*arg1
= (wxWindow
*) 0 ;
16136 PyObject
* obj0
= 0 ;
16137 char *kwnames
[] = {
16138 (char *) "win", NULL
16141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
16142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16150 resultobj
= PyInt_FromLong((long)result
);
16157 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 char *kwnames
[] = {
16163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 wxUpdateUIEvent::ResetUpdateTime();
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16171 Py_INCREF(Py_None
); resultobj
= Py_None
;
16178 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16181 char *kwnames
[] = {
16182 (char *) "mode", NULL
16185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:UpdateUIEvent_SetMode",kwnames
,&arg1
)) goto fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16193 Py_INCREF(Py_None
); resultobj
= Py_None
;
16200 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16203 char *kwnames
[] = {
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (int)wxUpdateUIEvent::GetMode();
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= PyInt_FromLong((long)result
);
16222 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16225 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
16227 return Py_BuildValue((char *)"");
16229 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxSysColourChangedEvent
*result
;
16232 char *kwnames
[] = {
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
16251 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16254 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
16256 return Py_BuildValue((char *)"");
16258 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16259 PyObject
*resultobj
;
16260 wxWindowID arg1
= (wxWindowID
) 0 ;
16261 wxWindow
*arg2
= (wxWindow
*) NULL
;
16262 wxMouseCaptureChangedEvent
*result
;
16263 PyObject
* obj1
= 0 ;
16264 char *kwnames
[] = {
16265 (char *) "winid",(char *) "gainedCapture", NULL
16268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
16270 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
16286 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
;
16288 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
16290 PyObject
* obj0
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
16296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= wxPyMake_wxObject(result
);
16313 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16316 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
16318 return Py_BuildValue((char *)"");
16320 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
;
16322 wxDisplayChangedEvent
*result
;
16323 char *kwnames
[] = {
16327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
16342 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16345 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
16347 return Py_BuildValue((char *)"");
16349 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxWindowID arg1
= (wxWindowID
) 0 ;
16352 wxPaletteChangedEvent
*result
;
16353 char *kwnames
[] = {
16354 (char *) "id", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaletteChangedEvent",kwnames
,&arg1
)) goto fail
;
16359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16360 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16365 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
16372 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16373 PyObject
*resultobj
;
16374 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16375 wxWindow
*arg2
= (wxWindow
*) 0 ;
16376 PyObject
* obj0
= 0 ;
16377 PyObject
* obj1
= 0 ;
16378 char *kwnames
[] = {
16379 (char *) "self",(char *) "win", NULL
16382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16384 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16387 (arg1
)->SetChangedWindow(arg2
);
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16392 Py_INCREF(Py_None
); resultobj
= Py_None
;
16399 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
;
16401 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16403 PyObject
* obj0
= 0 ;
16404 char *kwnames
[] = {
16405 (char *) "self", NULL
16408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
16409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16412 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= wxPyMake_wxObject(result
);
16426 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16429 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
16431 return Py_BuildValue((char *)"");
16433 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxWindowID arg1
= (wxWindowID
) 0 ;
16436 wxQueryNewPaletteEvent
*result
;
16437 char *kwnames
[] = {
16438 (char *) "winid", NULL
16441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryNewPaletteEvent",kwnames
,&arg1
)) goto fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
16456 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
;
16458 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16460 PyObject
* obj0
= 0 ;
16461 PyObject
* obj1
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self",(char *) "realized", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
16467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16468 arg2
= PyInt_AsLong(obj1
) ? true : false;
16469 if (PyErr_Occurred()) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 (arg1
)->SetPaletteRealized(arg2
);
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 Py_INCREF(Py_None
); resultobj
= Py_None
;
16484 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
;
16486 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16488 PyObject
* obj0
= 0 ;
16489 char *kwnames
[] = {
16490 (char *) "self", NULL
16493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
16494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16502 resultobj
= PyInt_FromLong((long)result
);
16509 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16512 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
16514 return Py_BuildValue((char *)"");
16516 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
;
16518 wxNavigationKeyEvent
*result
;
16519 char *kwnames
[] = {
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
16538 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16539 PyObject
*resultobj
;
16540 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16542 PyObject
* obj0
= 0 ;
16543 char *kwnames
[] = {
16544 (char *) "self", NULL
16547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
16548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
16553 wxPyEndAllowThreads(__tstate
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= PyInt_FromLong((long)result
);
16563 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
;
16565 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16567 PyObject
* obj0
= 0 ;
16568 PyObject
* obj1
= 0 ;
16569 char *kwnames
[] = {
16570 (char *) "self",(char *) "bForward", NULL
16573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
16574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16575 arg2
= PyInt_AsLong(obj1
) ? true : false;
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16579 (arg1
)->SetDirection(arg2
);
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 Py_INCREF(Py_None
); resultobj
= Py_None
;
16591 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
;
16593 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16595 PyObject
* obj0
= 0 ;
16596 char *kwnames
[] = {
16597 (char *) "self", NULL
16600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
16601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 resultobj
= PyInt_FromLong((long)result
);
16616 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16620 PyObject
* obj0
= 0 ;
16621 PyObject
* obj1
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "self",(char *) "bIs", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
16627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16628 arg2
= PyInt_AsLong(obj1
) ? true : false;
16629 if (PyErr_Occurred()) SWIG_fail
;
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 (arg1
)->SetWindowChange(arg2
);
16634 wxPyEndAllowThreads(__tstate
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16637 Py_INCREF(Py_None
); resultobj
= Py_None
;
16644 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16648 PyObject
* obj0
= 0 ;
16649 char *kwnames
[] = {
16650 (char *) "self", NULL
16653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
16654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16663 resultobj
= wxPyMake_wxObject(result
);
16671 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16674 wxWindow
*arg2
= (wxWindow
*) 0 ;
16675 PyObject
* obj0
= 0 ;
16676 PyObject
* obj1
= 0 ;
16677 char *kwnames
[] = {
16678 (char *) "self",(char *) "win", NULL
16681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
16682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16683 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 (arg1
)->SetCurrentFocus(arg2
);
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16691 Py_INCREF(Py_None
); resultobj
= Py_None
;
16698 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16701 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
16703 return Py_BuildValue((char *)"");
16705 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
;
16707 wxWindow
*arg1
= (wxWindow
*) NULL
;
16708 wxWindowCreateEvent
*result
;
16709 PyObject
* obj0
= 0 ;
16710 char *kwnames
[] = {
16711 (char *) "win", NULL
16714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
16716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
16732 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
16736 PyObject
* obj0
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "self", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16751 resultobj
= wxPyMake_wxObject(result
);
16759 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16762 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
16764 return Py_BuildValue((char *)"");
16766 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
;
16768 wxWindow
*arg1
= (wxWindow
*) NULL
;
16769 wxWindowDestroyEvent
*result
;
16770 PyObject
* obj0
= 0 ;
16771 char *kwnames
[] = {
16772 (char *) "win", NULL
16775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
16777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
16793 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16794 PyObject
*resultobj
;
16795 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
16797 PyObject
* obj0
= 0 ;
16798 char *kwnames
[] = {
16799 (char *) "self", NULL
16802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= wxPyMake_wxObject(result
);
16820 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16823 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
16825 return Py_BuildValue((char *)"");
16827 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
;
16829 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16830 wxWindowID arg2
= (wxWindowID
) 0 ;
16831 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16832 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16833 wxContextMenuEvent
*result
;
16835 PyObject
* obj2
= 0 ;
16836 char *kwnames
[] = {
16837 (char *) "type",(char *) "winid",(char *) "pt", NULL
16840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_ContextMenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
16844 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
16861 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16865 PyObject
* obj0
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "self", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
16876 result
= (wxPoint
*) &_result_ref
;
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16882 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16889 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
;
16891 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16892 wxPoint
*arg2
= 0 ;
16894 PyObject
* obj0
= 0 ;
16895 PyObject
* obj1
= 0 ;
16896 char *kwnames
[] = {
16897 (char *) "self",(char *) "pos", NULL
16900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16904 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 Py_INCREF(Py_None
); resultobj
= Py_None
;
16920 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16923 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
16925 return Py_BuildValue((char *)"");
16927 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
;
16929 wxIdleEvent
*result
;
16930 char *kwnames
[] = {
16934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 result
= (wxIdleEvent
*)new wxIdleEvent();
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
16949 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16950 PyObject
*resultobj
;
16951 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16952 bool arg2
= (bool) TRUE
;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "self",(char *) "needMore", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
16960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16962 arg2
= PyInt_AsLong(obj1
) ? true : false;
16963 if (PyErr_Occurred()) SWIG_fail
;
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 (arg1
)->RequestMore(arg2
);
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16972 Py_INCREF(Py_None
); resultobj
= Py_None
;
16979 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16983 PyObject
* obj0
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "self", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
16989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16997 resultobj
= PyInt_FromLong((long)result
);
17004 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17007 char *kwnames
[] = {
17008 (char *) "mode", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IdleEvent_SetMode",kwnames
,&arg1
)) goto fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 Py_INCREF(Py_None
); resultobj
= Py_None
;
17026 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17029 char *kwnames
[] = {
17033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 result
= (int)wxIdleEvent::GetMode();
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17041 resultobj
= PyInt_FromLong((long)result
);
17048 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
;
17050 wxWindow
*arg1
= (wxWindow
*) 0 ;
17052 PyObject
* obj0
= 0 ;
17053 char *kwnames
[] = {
17054 (char *) "win", NULL
17057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
17058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17061 result
= (bool)wxIdleEvent::CanSend(arg1
);
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= PyInt_FromLong((long)result
);
17073 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17076 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
17078 return Py_BuildValue((char *)"");
17080 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17082 int arg1
= (int) 0 ;
17083 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
17085 char *kwnames
[] = {
17086 (char *) "winid",(char *) "commandType", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
17104 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17107 PyObject
* obj0
= 0 ;
17108 char *kwnames
[] = {
17109 (char *) "self", NULL
17112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
17113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17121 Py_INCREF(Py_None
); resultobj
= Py_None
;
17128 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17131 PyObject
*arg2
= (PyObject
*) 0 ;
17132 PyObject
* obj0
= 0 ;
17133 PyObject
* obj1
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "self",(char *) "self", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 (arg1
)->SetSelf(arg2
);
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 Py_INCREF(Py_None
); resultobj
= Py_None
;
17155 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
;
17157 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17159 PyObject
* obj0
= 0 ;
17160 char *kwnames
[] = {
17161 (char *) "self", NULL
17164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 result
= (PyObject
*)(arg1
)->GetSelf();
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= result
;
17180 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17183 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
17185 return Py_BuildValue((char *)"");
17187 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17190 int arg2
= (int) 0 ;
17191 wxPyCommandEvent
*result
;
17192 char *kwnames
[] = {
17193 (char *) "commandType",(char *) "id", NULL
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyCommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17199 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17204 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
17211 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17213 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17214 PyObject
* obj0
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "self", NULL
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
17220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 Py_INCREF(Py_None
); resultobj
= Py_None
;
17235 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17238 PyObject
*arg2
= (PyObject
*) 0 ;
17239 PyObject
* obj0
= 0 ;
17240 PyObject
* obj1
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "self",(char *) "self", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17250 (arg1
)->SetSelf(arg2
);
17252 wxPyEndAllowThreads(__tstate
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 Py_INCREF(Py_None
); resultobj
= Py_None
;
17262 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17263 PyObject
*resultobj
;
17264 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17266 PyObject
* obj0
= 0 ;
17267 char *kwnames
[] = {
17268 (char *) "self", NULL
17271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= (PyObject
*)(arg1
)->GetSelf();
17277 wxPyEndAllowThreads(__tstate
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17280 resultobj
= result
;
17287 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17290 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
17292 return Py_BuildValue((char *)"");
17294 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17297 char *kwnames
[] = {
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 result
= (wxPyApp
*)new_wxPyApp();
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= wxPyMake_wxObject(result
);
17318 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
;
17320 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17321 PyObject
* obj0
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "self", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
17327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17335 Py_INCREF(Py_None
); resultobj
= Py_None
;
17342 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17345 PyObject
*arg2
= (PyObject
*) 0 ;
17346 PyObject
*arg3
= (PyObject
*) 0 ;
17347 PyObject
* obj0
= 0 ;
17348 PyObject
* obj1
= 0 ;
17349 PyObject
* obj2
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self",(char *) "self",(char *) "_class", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 Py_INCREF(Py_None
); resultobj
= Py_None
;
17372 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17376 PyObject
* obj0
= 0 ;
17377 char *kwnames
[] = {
17378 (char *) "self", NULL
17381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
17382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= ((wxPyApp
const *)arg1
)->GetAppName();
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17403 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
;
17405 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17406 wxString
*arg2
= 0 ;
17407 bool temp2
= false ;
17408 PyObject
* obj0
= 0 ;
17409 PyObject
* obj1
= 0 ;
17410 char *kwnames
[] = {
17411 (char *) "self",(char *) "name", NULL
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
17415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17417 arg2
= wxString_in_helper(obj1
);
17418 if (arg2
== NULL
) SWIG_fail
;
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 (arg1
)->SetAppName((wxString
const &)*arg2
);
17425 wxPyEndAllowThreads(__tstate
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17428 Py_INCREF(Py_None
); resultobj
= Py_None
;
17443 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17444 PyObject
*resultobj
;
17445 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17447 PyObject
* obj0
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "self", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
17453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 result
= ((wxPyApp
const *)arg1
)->GetClassName();
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17474 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17475 PyObject
*resultobj
;
17476 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17477 wxString
*arg2
= 0 ;
17478 bool temp2
= false ;
17479 PyObject
* obj0
= 0 ;
17480 PyObject
* obj1
= 0 ;
17481 char *kwnames
[] = {
17482 (char *) "self",(char *) "name", NULL
17485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
17486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17488 arg2
= wxString_in_helper(obj1
);
17489 if (arg2
== NULL
) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 (arg1
)->SetClassName((wxString
const &)*arg2
);
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17499 Py_INCREF(Py_None
); resultobj
= Py_None
;
17514 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17518 PyObject
* obj0
= 0 ;
17519 char *kwnames
[] = {
17520 (char *) "self", NULL
17523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
17524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
17529 result
= (wxString
*) &_result_ref
;
17532 wxPyEndAllowThreads(__tstate
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
17542 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17543 PyObject
*resultobj
;
17544 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17545 wxString
*arg2
= 0 ;
17546 bool temp2
= false ;
17547 PyObject
* obj0
= 0 ;
17548 PyObject
* obj1
= 0 ;
17549 char *kwnames
[] = {
17550 (char *) "self",(char *) "name", NULL
17553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
17554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17556 arg2
= wxString_in_helper(obj1
);
17557 if (arg2
== NULL
) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 (arg1
)->SetVendorName((wxString
const &)*arg2
);
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 Py_INCREF(Py_None
); resultobj
= Py_None
;
17582 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17583 PyObject
*resultobj
;
17584 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17585 wxAppTraits
*result
;
17586 PyObject
* obj0
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "self", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
17592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 result
= (wxAppTraits
*)(arg1
)->GetTraits();
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17600 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
17607 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
;
17609 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17610 PyObject
* obj0
= 0 ;
17611 char *kwnames
[] = {
17612 (char *) "self", NULL
17615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
17616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 (arg1
)->ProcessPendingEvents();
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17624 Py_INCREF(Py_None
); resultobj
= Py_None
;
17631 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
;
17633 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17634 bool arg2
= (bool) false ;
17636 PyObject
* obj0
= 0 ;
17637 PyObject
* obj1
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self",(char *) "onlyIfNeeded", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
17643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17645 arg2
= PyInt_AsLong(obj1
) ? true : false;
17646 if (PyErr_Occurred()) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (bool)(arg1
)->Yield(arg2
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= PyInt_FromLong((long)result
);
17662 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17665 PyObject
* obj0
= 0 ;
17666 char *kwnames
[] = {
17667 (char *) "self", NULL
17670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
17671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 (arg1
)->WakeUpIdle();
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17679 Py_INCREF(Py_None
); resultobj
= Py_None
;
17686 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
;
17688 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17690 PyObject
* obj0
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "self", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
17696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17699 result
= (int)(arg1
)->MainLoop();
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= PyInt_FromLong((long)result
);
17711 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17712 PyObject
*resultobj
;
17713 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17714 PyObject
* obj0
= 0 ;
17715 char *kwnames
[] = {
17716 (char *) "self", NULL
17719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
17720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 Py_INCREF(Py_None
); resultobj
= Py_None
;
17735 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17737 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17738 PyObject
* obj0
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
17744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 (arg1
)->ExitMainLoop();
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 Py_INCREF(Py_None
); resultobj
= Py_None
;
17759 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= (bool)(arg1
)->Pending();
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= PyInt_FromLong((long)result
);
17784 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17788 PyObject
* obj0
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
17794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 result
= (bool)(arg1
)->Dispatch();
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= PyInt_FromLong((long)result
);
17809 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17810 PyObject
*resultobj
;
17811 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17813 PyObject
* obj0
= 0 ;
17814 char *kwnames
[] = {
17815 (char *) "self", NULL
17818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
17819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 result
= (bool)(arg1
)->ProcessIdle();
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 resultobj
= PyInt_FromLong((long)result
);
17834 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17837 wxWindow
*arg2
= (wxWindow
*) 0 ;
17838 wxIdleEvent
*arg3
= 0 ;
17840 PyObject
* obj0
= 0 ;
17841 PyObject
* obj1
= 0 ;
17842 PyObject
* obj2
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self",(char *) "win",(char *) "event", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17849 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17850 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17851 if (arg3
== NULL
) {
17852 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 resultobj
= PyInt_FromLong((long)result
);
17868 static PyObject
*_wrap_PyApp_OnIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17871 wxIdleEvent
*arg2
= 0 ;
17872 PyObject
* obj0
= 0 ;
17873 PyObject
* obj1
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "self",(char *) "event", NULL
17878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_OnIdle",kwnames
,&obj0
,&obj1
)) goto fail
;
17879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17880 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17881 if (arg2
== NULL
) {
17882 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 (arg1
)->OnIdle(*arg2
);
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 Py_INCREF(Py_None
); resultobj
= Py_None
;
17898 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17899 PyObject
*resultobj
;
17900 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17902 PyObject
* obj0
= 0 ;
17903 char *kwnames
[] = {
17904 (char *) "self", NULL
17907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
17908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= PyInt_FromLong((long)result
);
17923 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
;
17925 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17926 wxWindow
*arg2
= (wxWindow
*) 0 ;
17927 PyObject
* obj0
= 0 ;
17928 PyObject
* obj1
= 0 ;
17929 char *kwnames
[] = {
17930 (char *) "self",(char *) "win", NULL
17933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17935 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 (arg1
)->SetTopWindow(arg2
);
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 Py_INCREF(Py_None
); resultobj
= Py_None
;
17950 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
;
17952 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17954 PyObject
* obj0
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "self", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
17960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= wxPyMake_wxObject(result
);
17977 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17981 PyObject
* obj0
= 0 ;
17982 PyObject
* obj1
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self",(char *) "flag", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
17988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17989 arg2
= PyInt_AsLong(obj1
) ? true : false;
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 (arg1
)->SetExitOnFrameDelete(arg2
);
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 Py_INCREF(Py_None
); resultobj
= Py_None
;
18005 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= PyInt_FromLong((long)result
);
18030 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 PyObject
* obj1
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self",(char *) "flag", NULL
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18042 arg2
= PyInt_AsLong(obj1
) ? true : false;
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 (arg1
)->SetUseBestVisual(arg2
);
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 Py_INCREF(Py_None
); resultobj
= Py_None
;
18058 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18060 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18062 PyObject
* obj0
= 0 ;
18063 char *kwnames
[] = {
18064 (char *) "self", NULL
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
18068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= PyInt_FromLong((long)result
);
18083 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
;
18085 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18087 PyObject
* obj0
= 0 ;
18088 char *kwnames
[] = {
18089 (char *) "self",(char *) "mode", NULL
18092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
18093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 (arg1
)->SetPrintMode(arg2
);
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18101 Py_INCREF(Py_None
); resultobj
= Py_None
;
18108 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18112 PyObject
* obj0
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= PyInt_FromLong((long)result
);
18133 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18137 PyObject
* obj0
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
18143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 result
= (int)(arg1
)->GetAssertMode();
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 resultobj
= PyInt_FromLong((long)result
);
18158 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18162 PyObject
* obj0
= 0 ;
18163 char *kwnames
[] = {
18164 (char *) "self",(char *) "mode", NULL
18167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetAssertMode",kwnames
,&obj0
,&arg2
)) goto fail
;
18168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 (arg1
)->SetAssertMode(arg2
);
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 Py_INCREF(Py_None
); resultobj
= Py_None
;
18183 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18186 char *kwnames
[] = {
18190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 resultobj
= PyInt_FromLong((long)result
);
18205 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
;
18208 char *kwnames
[] = {
18212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 result
= (long)wxPyApp::GetMacAboutMenuItemId();
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18220 resultobj
= PyInt_FromLong((long)result
);
18227 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
;
18230 char *kwnames
[] = {
18234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= PyInt_FromLong((long)result
);
18249 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18252 char *kwnames
[] = {
18256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 result
= (long)wxPyApp::GetMacExitMenuItemId();
18261 wxPyEndAllowThreads(__tstate
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18264 resultobj
= PyInt_FromLong((long)result
);
18271 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18272 PyObject
*resultobj
;
18274 char *kwnames
[] = {
18278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 result
= wxPyApp::GetMacHelpMenuTitleName();
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18299 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18300 PyObject
*resultobj
;
18302 PyObject
* obj0
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "val", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
18308 arg1
= PyInt_AsLong(obj0
) ? true : false;
18309 if (PyErr_Occurred()) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 Py_INCREF(Py_None
); resultobj
= Py_None
;
18324 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18327 char *kwnames
[] = {
18328 (char *) "val", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames
,&arg1
)) goto fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 wxPyApp::SetMacAboutMenuItemId(arg1
);
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 Py_INCREF(Py_None
); resultobj
= Py_None
;
18346 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18349 char *kwnames
[] = {
18350 (char *) "val", NULL
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames
,&arg1
)) goto fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 Py_INCREF(Py_None
); resultobj
= Py_None
;
18368 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18371 char *kwnames
[] = {
18372 (char *) "val", NULL
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames
,&arg1
)) goto fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 wxPyApp::SetMacExitMenuItemId(arg1
);
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 Py_INCREF(Py_None
); resultobj
= Py_None
;
18390 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
;
18392 wxString
*arg1
= 0 ;
18393 bool temp1
= false ;
18394 PyObject
* obj0
= 0 ;
18395 char *kwnames
[] = {
18396 (char *) "val", NULL
18399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
18401 arg1
= wxString_in_helper(obj0
);
18402 if (arg1
== NULL
) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 Py_INCREF(Py_None
); resultobj
= Py_None
;
18427 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18430 PyObject
* obj0
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "self", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
18436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 (arg1
)->_BootstrapApp();
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 Py_INCREF(Py_None
); resultobj
= Py_None
;
18451 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18454 char *kwnames
[] = {
18458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 result
= (int)wxPyApp::GetComCtl32Version();
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= PyInt_FromLong((long)result
);
18473 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
18475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18476 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
18478 return Py_BuildValue((char *)"");
18480 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18482 char *kwnames
[] = {
18486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 Py_INCREF(Py_None
); resultobj
= Py_None
;
18501 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18504 char *kwnames
[] = {
18508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 result
= (bool)wxYield();
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= PyInt_FromLong((long)result
);
18523 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
;
18526 char *kwnames
[] = {
18530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 result
= (bool)wxYieldIfNeeded();
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= PyInt_FromLong((long)result
);
18545 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxWindow
*arg1
= (wxWindow
*) NULL
;
18548 bool arg2
= (bool) FALSE
;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "win",(char *) "onlyIfNeeded", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
18558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18561 arg2
= PyInt_AsLong(obj1
) ? true : false;
18562 if (PyErr_Occurred()) SWIG_fail
;
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 result
= (bool)wxSafeYield(arg1
,arg2
);
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= PyInt_FromLong((long)result
);
18578 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
;
18580 char *kwnames
[] = {
18584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18592 Py_INCREF(Py_None
); resultobj
= Py_None
;
18599 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18602 wxEvent
*arg2
= 0 ;
18603 PyObject
* obj0
= 0 ;
18604 PyObject
* obj1
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "dest",(char *) "event", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18611 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18612 if (arg2
== NULL
) {
18613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 wxPostEvent(arg1
,*arg2
);
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 Py_INCREF(Py_None
); resultobj
= Py_None
;
18629 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 char *kwnames
[] = {
18635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 Py_INCREF(Py_None
); resultobj
= Py_None
;
18650 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
;
18653 char *kwnames
[] = {
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 result
= (wxPyApp
*)wxGetApp();
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= wxPyMake_wxObject(result
);
18674 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxWindow
*arg1
= (wxWindow
*) 0 ;
18678 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18679 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18680 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18681 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18682 long arg5
= (long) 0 ;
18683 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18684 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18688 bool temp6
= false ;
18689 PyObject
* obj0
= 0 ;
18690 PyObject
* obj2
= 0 ;
18691 PyObject
* obj3
= 0 ;
18692 PyObject
* obj5
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Window",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
18698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18702 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18708 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18713 arg6
= wxString_in_helper(obj5
);
18714 if (arg6
== NULL
) SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= wxPyMake_wxObject(result
);
18742 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18743 PyObject
*resultobj
;
18745 char *kwnames
[] = {
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 result
= (wxWindow
*)new wxWindow();
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= wxPyMake_wxObject(result
);
18766 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
;
18768 wxWindow
*arg1
= (wxWindow
*) 0 ;
18769 wxWindow
*arg2
= (wxWindow
*) 0 ;
18771 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18772 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18773 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18774 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18775 long arg6
= (long) 0 ;
18776 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
18777 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18781 bool temp7
= false ;
18782 PyObject
* obj0
= 0 ;
18783 PyObject
* obj1
= 0 ;
18784 PyObject
* obj3
= 0 ;
18785 PyObject
* obj4
= 0 ;
18786 PyObject
* obj6
= 0 ;
18787 char *kwnames
[] = {
18788 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Window_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
18792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18793 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18797 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18803 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18808 arg7
= wxString_in_helper(obj6
);
18809 if (arg7
== NULL
) SWIG_fail
;
18814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18815 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18820 resultobj
= PyInt_FromLong((long)result
);
18835 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxWindow
*arg1
= (wxWindow
*) 0 ;
18838 bool arg2
= (bool) FALSE
;
18840 PyObject
* obj0
= 0 ;
18841 PyObject
* obj1
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "self",(char *) "force", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
18847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18849 arg2
= PyInt_AsLong(obj1
) ? true : false;
18850 if (PyErr_Occurred()) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 result
= (bool)(arg1
)->Close(arg2
);
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18859 resultobj
= PyInt_FromLong((long)result
);
18866 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18867 PyObject
*resultobj
;
18868 wxWindow
*arg1
= (wxWindow
*) 0 ;
18870 PyObject
* obj0
= 0 ;
18871 char *kwnames
[] = {
18872 (char *) "self", NULL
18875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
18876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 result
= (bool)(arg1
)->Destroy();
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= PyInt_FromLong((long)result
);
18891 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18892 PyObject
*resultobj
;
18893 wxWindow
*arg1
= (wxWindow
*) 0 ;
18895 PyObject
* obj0
= 0 ;
18896 char *kwnames
[] = {
18897 (char *) "self", NULL
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
18901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18904 result
= (bool)(arg1
)->DestroyChildren();
18906 wxPyEndAllowThreads(__tstate
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18909 resultobj
= PyInt_FromLong((long)result
);
18916 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
;
18918 wxWindow
*arg1
= (wxWindow
*) 0 ;
18920 PyObject
* obj0
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
18926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18929 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
18931 wxPyEndAllowThreads(__tstate
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18934 resultobj
= PyInt_FromLong((long)result
);
18941 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18942 PyObject
*resultobj
;
18943 wxWindow
*arg1
= (wxWindow
*) 0 ;
18944 wxString
*arg2
= 0 ;
18945 bool temp2
= false ;
18946 PyObject
* obj0
= 0 ;
18947 PyObject
* obj1
= 0 ;
18948 char *kwnames
[] = {
18949 (char *) "self",(char *) "title", NULL
18952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
18953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18955 arg2
= wxString_in_helper(obj1
);
18956 if (arg2
== NULL
) SWIG_fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 (arg1
)->SetTitle((wxString
const &)*arg2
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 Py_INCREF(Py_None
); resultobj
= Py_None
;
18981 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
;
18983 wxWindow
*arg1
= (wxWindow
*) 0 ;
18985 PyObject
* obj0
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "self", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
18991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 result
= ((wxWindow
const *)arg1
)->GetTitle();
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19012 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxWindow
*arg1
= (wxWindow
*) 0 ;
19015 wxString
*arg2
= 0 ;
19016 bool temp2
= false ;
19017 PyObject
* obj0
= 0 ;
19018 PyObject
* obj1
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "self",(char *) "label", NULL
19023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19026 arg2
= wxString_in_helper(obj1
);
19027 if (arg2
== NULL
) SWIG_fail
;
19031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19032 (arg1
)->SetLabel((wxString
const &)*arg2
);
19034 wxPyEndAllowThreads(__tstate
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19037 Py_INCREF(Py_None
); resultobj
= Py_None
;
19052 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
;
19054 wxWindow
*arg1
= (wxWindow
*) 0 ;
19056 PyObject
* obj0
= 0 ;
19057 char *kwnames
[] = {
19058 (char *) "self", NULL
19061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
19062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 result
= ((wxWindow
const *)arg1
)->GetLabel();
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19083 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19084 PyObject
*resultobj
;
19085 wxWindow
*arg1
= (wxWindow
*) 0 ;
19086 wxString
*arg2
= 0 ;
19087 bool temp2
= false ;
19088 PyObject
* obj0
= 0 ;
19089 PyObject
* obj1
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "self",(char *) "name", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
19095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19097 arg2
= wxString_in_helper(obj1
);
19098 if (arg2
== NULL
) SWIG_fail
;
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 (arg1
)->SetName((wxString
const &)*arg2
);
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19108 Py_INCREF(Py_None
); resultobj
= Py_None
;
19123 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19124 PyObject
*resultobj
;
19125 wxWindow
*arg1
= (wxWindow
*) 0 ;
19127 PyObject
* obj0
= 0 ;
19128 char *kwnames
[] = {
19129 (char *) "self", NULL
19132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
19133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 result
= ((wxWindow
const *)arg1
)->GetName();
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19154 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19155 PyObject
*resultobj
;
19156 wxWindow
*arg1
= (wxWindow
*) 0 ;
19158 PyObject
* obj0
= 0 ;
19159 char *kwnames
[] = {
19160 (char *) "self",(char *) "winid", NULL
19163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
19164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 (arg1
)->SetId(arg2
);
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 Py_INCREF(Py_None
); resultobj
= Py_None
;
19179 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxWindow
*arg1
= (wxWindow
*) 0 ;
19183 PyObject
* obj0
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "self", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
19189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 result
= (wxWindowID
)((wxWindow
const *)arg1
)->GetId();
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19197 resultobj
= PyInt_FromLong((long)result
);
19204 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19205 PyObject
*resultobj
;
19207 char *kwnames
[] = {
19211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 result
= (int)wxWindow::NewControlId();
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= PyInt_FromLong((long)result
);
19226 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19227 PyObject
*resultobj
;
19230 char *kwnames
[] = {
19231 (char *) "winid", NULL
19234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_NextControlId",kwnames
,&arg1
)) goto fail
;
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 result
= (int)wxWindow::NextControlId(arg1
);
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19242 resultobj
= PyInt_FromLong((long)result
);
19249 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19253 char *kwnames
[] = {
19254 (char *) "winid", NULL
19257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_PrevControlId",kwnames
,&arg1
)) goto fail
;
19259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19260 result
= (int)wxWindow::PrevControlId(arg1
);
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19265 resultobj
= PyInt_FromLong((long)result
);
19272 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
;
19274 wxWindow
*arg1
= (wxWindow
*) 0 ;
19277 PyObject
* obj0
= 0 ;
19278 PyObject
* obj1
= 0 ;
19279 char *kwnames
[] = {
19280 (char *) "self",(char *) "size", NULL
19283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19287 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19291 (arg1
)->SetSize((wxSize
const &)*arg2
);
19293 wxPyEndAllowThreads(__tstate
);
19294 if (PyErr_Occurred()) SWIG_fail
;
19296 Py_INCREF(Py_None
); resultobj
= Py_None
;
19303 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19304 PyObject
*resultobj
;
19305 wxWindow
*arg1
= (wxWindow
*) 0 ;
19310 int arg6
= (int) wxSIZE_AUTO
;
19311 PyObject
* obj0
= 0 ;
19312 char *kwnames
[] = {
19313 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:Window_SetDimensions",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19322 wxPyEndAllowThreads(__tstate
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19325 Py_INCREF(Py_None
); resultobj
= Py_None
;
19332 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
;
19334 wxWindow
*arg1
= (wxWindow
*) 0 ;
19336 int arg3
= (int) wxSIZE_AUTO
;
19338 PyObject
* obj0
= 0 ;
19339 PyObject
* obj1
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_SetRect",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19348 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19357 Py_INCREF(Py_None
); resultobj
= Py_None
;
19364 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxWindow
*arg1
= (wxWindow
*) 0 ;
19369 PyObject
* obj0
= 0 ;
19370 char *kwnames
[] = {
19371 (char *) "self",(char *) "width",(char *) "height", NULL
19374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 (arg1
)->SetSize(arg2
,arg3
);
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 Py_INCREF(Py_None
); resultobj
= Py_None
;
19390 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxWindow
*arg1
= (wxWindow
*) 0 ;
19393 wxPoint
*arg2
= 0 ;
19394 int arg3
= (int) wxSIZE_USE_EXISTING
;
19396 PyObject
* obj0
= 0 ;
19397 PyObject
* obj1
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "self",(char *) "pt",(char *) "flags", NULL
19402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_Move",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19406 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19415 Py_INCREF(Py_None
); resultobj
= Py_None
;
19422 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19423 PyObject
*resultobj
;
19424 wxWindow
*arg1
= (wxWindow
*) 0 ;
19427 int arg4
= (int) wxSIZE_USE_EXISTING
;
19428 PyObject
* obj0
= 0 ;
19429 char *kwnames
[] = {
19430 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:Window_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
19434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19437 (arg1
)->Move(arg2
,arg3
,arg4
);
19439 wxPyEndAllowThreads(__tstate
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19442 Py_INCREF(Py_None
); resultobj
= Py_None
;
19449 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19450 PyObject
*resultobj
;
19451 wxWindow
*arg1
= (wxWindow
*) 0 ;
19452 PyObject
* obj0
= 0 ;
19453 char *kwnames
[] = {
19454 (char *) "self", NULL
19457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
19458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 Py_INCREF(Py_None
); resultobj
= Py_None
;
19473 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxWindow
*arg1
= (wxWindow
*) 0 ;
19476 PyObject
* obj0
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 Py_INCREF(Py_None
); resultobj
= Py_None
;
19497 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxWindow
*arg1
= (wxWindow
*) 0 ;
19502 PyObject
* obj0
= 0 ;
19503 PyObject
* obj1
= 0 ;
19504 char *kwnames
[] = {
19505 (char *) "self",(char *) "size", NULL
19508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19512 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
19518 wxPyEndAllowThreads(__tstate
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19521 Py_INCREF(Py_None
); resultobj
= Py_None
;
19528 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
;
19530 wxWindow
*arg1
= (wxWindow
*) 0 ;
19533 PyObject
* obj0
= 0 ;
19534 char *kwnames
[] = {
19535 (char *) "self",(char *) "width",(char *) "height", NULL
19538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetClientSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 (arg1
)->SetClientSize(arg2
,arg3
);
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19547 Py_INCREF(Py_None
); resultobj
= Py_None
;
19554 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
;
19556 wxWindow
*arg1
= (wxWindow
*) 0 ;
19559 PyObject
* obj0
= 0 ;
19560 PyObject
* obj1
= 0 ;
19561 char *kwnames
[] = {
19562 (char *) "self",(char *) "rect", NULL
19565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19569 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 Py_INCREF(Py_None
); resultobj
= Py_None
;
19585 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxWindow
*arg1
= (wxWindow
*) 0 ;
19589 PyObject
* obj0
= 0 ;
19590 char *kwnames
[] = {
19591 (char *) "self", NULL
19594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
19595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19598 result
= ((wxWindow
const *)arg1
)->GetPosition();
19600 wxPyEndAllowThreads(__tstate
);
19601 if (PyErr_Occurred()) SWIG_fail
;
19604 wxPoint
* resultptr
;
19605 resultptr
= new wxPoint((wxPoint
&) result
);
19606 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19614 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 wxWindow
*arg1
= (wxWindow
*) 0 ;
19617 int *arg2
= (int *) 0 ;
19618 int *arg3
= (int *) 0 ;
19621 PyObject
* obj0
= 0 ;
19622 char *kwnames
[] = {
19623 (char *) "self", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
19629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 ((wxWindow
const *)arg1
)->GetPosition(arg2
,arg3
);
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 Py_INCREF(Py_None
); resultobj
= Py_None
;
19639 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19640 resultobj
= t_output_helper(resultobj
,o
);
19643 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19644 resultobj
= t_output_helper(resultobj
,o
);
19652 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
;
19654 wxWindow
*arg1
= (wxWindow
*) 0 ;
19656 PyObject
* obj0
= 0 ;
19657 char *kwnames
[] = {
19658 (char *) "self", NULL
19661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
19662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 result
= ((wxWindow
const *)arg1
)->GetSize();
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19671 wxSize
* resultptr
;
19672 resultptr
= new wxSize((wxSize
&) result
);
19673 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19681 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
;
19683 wxWindow
*arg1
= (wxWindow
*) 0 ;
19684 int *arg2
= (int *) 0 ;
19685 int *arg3
= (int *) 0 ;
19688 PyObject
* obj0
= 0 ;
19689 char *kwnames
[] = {
19690 (char *) "self", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
19696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 Py_INCREF(Py_None
); resultobj
= Py_None
;
19706 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19707 resultobj
= t_output_helper(resultobj
,o
);
19710 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19711 resultobj
= t_output_helper(resultobj
,o
);
19719 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19720 PyObject
*resultobj
;
19721 wxWindow
*arg1
= (wxWindow
*) 0 ;
19723 PyObject
* obj0
= 0 ;
19724 char *kwnames
[] = {
19725 (char *) "self", NULL
19728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
19729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 result
= ((wxWindow
const *)arg1
)->GetRect();
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19738 wxRect
* resultptr
;
19739 resultptr
= new wxRect((wxRect
&) result
);
19740 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
19748 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
;
19750 wxWindow
*arg1
= (wxWindow
*) 0 ;
19752 PyObject
* obj0
= 0 ;
19753 char *kwnames
[] = {
19754 (char *) "self", NULL
19757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
19758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 result
= ((wxWindow
const *)arg1
)->GetClientSize();
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19767 wxSize
* resultptr
;
19768 resultptr
= new wxSize((wxSize
&) result
);
19769 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19777 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxWindow
*arg1
= (wxWindow
*) 0 ;
19780 int *arg2
= (int *) 0 ;
19781 int *arg3
= (int *) 0 ;
19784 PyObject
* obj0
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
19792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19800 Py_INCREF(Py_None
); resultobj
= Py_None
;
19802 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19803 resultobj
= t_output_helper(resultobj
,o
);
19806 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19807 resultobj
= t_output_helper(resultobj
,o
);
19815 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19816 PyObject
*resultobj
;
19817 wxWindow
*arg1
= (wxWindow
*) 0 ;
19819 PyObject
* obj0
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
19825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19828 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
19830 wxPyEndAllowThreads(__tstate
);
19831 if (PyErr_Occurred()) SWIG_fail
;
19834 wxPoint
* resultptr
;
19835 resultptr
= new wxPoint((wxPoint
&) result
);
19836 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19844 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
;
19846 wxWindow
*arg1
= (wxWindow
*) 0 ;
19848 PyObject
* obj0
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "self", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
19854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 result
= ((wxWindow
const *)arg1
)->GetClientRect();
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19863 wxRect
* resultptr
;
19864 resultptr
= new wxRect((wxRect
&) result
);
19865 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
19873 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
;
19875 wxWindow
*arg1
= (wxWindow
*) 0 ;
19877 PyObject
* obj0
= 0 ;
19878 char *kwnames
[] = {
19879 (char *) "self", NULL
19882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
19883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 result
= ((wxWindow
const *)arg1
)->GetBestSize();
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19892 wxSize
* resultptr
;
19893 resultptr
= new wxSize((wxSize
&) result
);
19894 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19902 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxWindow
*arg1
= (wxWindow
*) 0 ;
19905 int *arg2
= (int *) 0 ;
19906 int *arg3
= (int *) 0 ;
19909 PyObject
* obj0
= 0 ;
19910 char *kwnames
[] = {
19911 (char *) "self", NULL
19916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
19917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19925 Py_INCREF(Py_None
); resultobj
= Py_None
;
19927 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19928 resultobj
= t_output_helper(resultobj
,o
);
19931 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19932 resultobj
= t_output_helper(resultobj
,o
);
19940 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19941 PyObject
*resultobj
;
19942 wxWindow
*arg1
= (wxWindow
*) 0 ;
19944 PyObject
* obj0
= 0 ;
19945 char *kwnames
[] = {
19946 (char *) "self", NULL
19949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
19950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19953 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 wxSize
* resultptr
;
19960 resultptr
= new wxSize((wxSize
&) result
);
19961 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19969 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19970 PyObject
*resultobj
;
19971 wxWindow
*arg1
= (wxWindow
*) 0 ;
19972 int arg2
= (int) wxBOTH
;
19973 PyObject
* obj0
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self",(char *) "direction", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_Center",kwnames
,&obj0
,&arg2
)) goto fail
;
19979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 (arg1
)->Center(arg2
);
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 Py_INCREF(Py_None
); resultobj
= Py_None
;
19994 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19995 PyObject
*resultobj
;
19996 wxWindow
*arg1
= (wxWindow
*) 0 ;
19997 int arg2
= (int) wxBOTH
;
19998 PyObject
* obj0
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "self",(char *) "dir", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnScreen",kwnames
,&obj0
,&arg2
)) goto fail
;
20004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 (arg1
)->CenterOnScreen(arg2
);
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20012 Py_INCREF(Py_None
); resultobj
= Py_None
;
20019 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20020 PyObject
*resultobj
;
20021 wxWindow
*arg1
= (wxWindow
*) 0 ;
20022 int arg2
= (int) wxBOTH
;
20023 PyObject
* obj0
= 0 ;
20024 char *kwnames
[] = {
20025 (char *) "self",(char *) "dir", NULL
20028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnParent",kwnames
,&obj0
,&arg2
)) goto fail
;
20029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 (arg1
)->CenterOnParent(arg2
);
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20037 Py_INCREF(Py_None
); resultobj
= Py_None
;
20044 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20045 PyObject
*resultobj
;
20046 wxWindow
*arg1
= (wxWindow
*) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 char *kwnames
[] = {
20049 (char *) "self", NULL
20052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
20053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 Py_INCREF(Py_None
); resultobj
= Py_None
;
20068 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
;
20070 wxWindow
*arg1
= (wxWindow
*) 0 ;
20071 PyObject
* obj0
= 0 ;
20072 char *kwnames
[] = {
20073 (char *) "self", NULL
20076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
20077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 (arg1
)->FitInside();
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20085 Py_INCREF(Py_None
); resultobj
= Py_None
;
20092 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxWindow
*arg1
= (wxWindow
*) 0 ;
20097 int arg4
= (int) -1 ;
20098 int arg5
= (int) -1 ;
20099 int arg6
= (int) -1 ;
20100 int arg7
= (int) -1 ;
20101 PyObject
* obj0
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiii:Window_SetSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
20107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 Py_INCREF(Py_None
); resultobj
= Py_None
;
20122 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20123 PyObject
*resultobj
;
20124 wxWindow
*arg1
= (wxWindow
*) 0 ;
20127 int arg4
= (int) -1 ;
20128 int arg5
= (int) -1 ;
20129 PyObject
* obj0
= 0 ;
20130 char *kwnames
[] = {
20131 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
20135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20143 Py_INCREF(Py_None
); resultobj
= Py_None
;
20150 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
;
20152 wxWindow
*arg1
= (wxWindow
*) 0 ;
20154 PyObject
* obj0
= 0 ;
20155 char *kwnames
[] = {
20156 (char *) "self", NULL
20159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
20160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
20165 wxPyEndAllowThreads(__tstate
);
20166 if (PyErr_Occurred()) SWIG_fail
;
20168 resultobj
= PyInt_FromLong((long)result
);
20175 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
;
20177 wxWindow
*arg1
= (wxWindow
*) 0 ;
20179 PyObject
* obj0
= 0 ;
20180 char *kwnames
[] = {
20181 (char *) "self", NULL
20184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
20185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
20190 wxPyEndAllowThreads(__tstate
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20193 resultobj
= PyInt_FromLong((long)result
);
20200 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20201 PyObject
*resultobj
;
20202 wxWindow
*arg1
= (wxWindow
*) 0 ;
20204 PyObject
* obj0
= 0 ;
20205 char *kwnames
[] = {
20206 (char *) "self", NULL
20209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
20210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20213 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 resultobj
= PyInt_FromLong((long)result
);
20225 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
;
20227 wxWindow
*arg1
= (wxWindow
*) 0 ;
20229 PyObject
* obj0
= 0 ;
20230 char *kwnames
[] = {
20231 (char *) "self", NULL
20234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
20235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= PyInt_FromLong((long)result
);
20250 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
;
20252 wxWindow
*arg1
= (wxWindow
*) 0 ;
20254 PyObject
* obj0
= 0 ;
20255 char *kwnames
[] = {
20256 (char *) "self", NULL
20259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20269 wxSize
* resultptr
;
20270 resultptr
= new wxSize((wxSize
&) result
);
20271 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20279 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxWindow
*arg1
= (wxWindow
*) 0 ;
20284 PyObject
* obj0
= 0 ;
20285 PyObject
* obj1
= 0 ;
20286 char *kwnames
[] = {
20287 (char *) "self",(char *) "size", NULL
20290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20294 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 Py_INCREF(Py_None
); resultobj
= Py_None
;
20310 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
;
20312 wxWindow
*arg1
= (wxWindow
*) 0 ;
20315 PyObject
* obj0
= 0 ;
20316 char *kwnames
[] = {
20317 (char *) "self",(char *) "w",(char *) "h", NULL
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetVirtualSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 (arg1
)->SetVirtualSize(arg2
,arg3
);
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 Py_INCREF(Py_None
); resultobj
= Py_None
;
20336 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
;
20338 wxWindow
*arg1
= (wxWindow
*) 0 ;
20340 PyObject
* obj0
= 0 ;
20341 char *kwnames
[] = {
20342 (char *) "self", NULL
20345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
20346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
20351 wxPyEndAllowThreads(__tstate
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20355 wxSize
* resultptr
;
20356 resultptr
= new wxSize((wxSize
&) result
);
20357 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20365 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxWindow
*arg1
= (wxWindow
*) 0 ;
20368 int *arg2
= (int *) 0 ;
20369 int *arg3
= (int *) 0 ;
20372 PyObject
* obj0
= 0 ;
20373 char *kwnames
[] = {
20374 (char *) "self", NULL
20379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
20380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20383 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
20385 wxPyEndAllowThreads(__tstate
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20388 Py_INCREF(Py_None
); resultobj
= Py_None
;
20390 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20391 resultobj
= t_output_helper(resultobj
,o
);
20394 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20395 resultobj
= t_output_helper(resultobj
,o
);
20403 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20404 PyObject
*resultobj
;
20405 wxWindow
*arg1
= (wxWindow
*) 0 ;
20407 PyObject
* obj0
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "self", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
20413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20422 wxSize
* resultptr
;
20423 resultptr
= new wxSize((wxSize
&) result
);
20424 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20432 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
;
20434 wxWindow
*arg1
= (wxWindow
*) 0 ;
20435 bool arg2
= (bool) TRUE
;
20437 PyObject
* obj0
= 0 ;
20438 PyObject
* obj1
= 0 ;
20439 char *kwnames
[] = {
20440 (char *) "self",(char *) "show", NULL
20443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
20444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20446 arg2
= PyInt_AsLong(obj1
) ? true : false;
20447 if (PyErr_Occurred()) SWIG_fail
;
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 result
= (bool)(arg1
)->Show(arg2
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= PyInt_FromLong((long)result
);
20463 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxWindow
*arg1
= (wxWindow
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 char *kwnames
[] = {
20469 (char *) "self", NULL
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
20473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 result
= (bool)(arg1
)->Hide();
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 resultobj
= PyInt_FromLong((long)result
);
20488 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxWindow
*arg1
= (wxWindow
*) 0 ;
20491 bool arg2
= (bool) TRUE
;
20493 PyObject
* obj0
= 0 ;
20494 PyObject
* obj1
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "self",(char *) "enable", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20502 arg2
= PyInt_AsLong(obj1
) ? true : false;
20503 if (PyErr_Occurred()) SWIG_fail
;
20506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20507 result
= (bool)(arg1
)->Enable(arg2
);
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20512 resultobj
= PyInt_FromLong((long)result
);
20519 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
;
20521 wxWindow
*arg1
= (wxWindow
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
20529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 result
= (bool)(arg1
)->Disable();
20534 wxPyEndAllowThreads(__tstate
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20537 resultobj
= PyInt_FromLong((long)result
);
20544 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20545 PyObject
*resultobj
;
20546 wxWindow
*arg1
= (wxWindow
*) 0 ;
20548 PyObject
* obj0
= 0 ;
20549 char *kwnames
[] = {
20550 (char *) "self", NULL
20553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
20554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= PyInt_FromLong((long)result
);
20569 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20570 PyObject
*resultobj
;
20571 wxWindow
*arg1
= (wxWindow
*) 0 ;
20573 PyObject
* obj0
= 0 ;
20574 char *kwnames
[] = {
20575 (char *) "self", NULL
20578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
20579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
20584 wxPyEndAllowThreads(__tstate
);
20585 if (PyErr_Occurred()) SWIG_fail
;
20587 resultobj
= PyInt_FromLong((long)result
);
20594 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
;
20596 wxWindow
*arg1
= (wxWindow
*) 0 ;
20598 PyObject
* obj0
= 0 ;
20599 char *kwnames
[] = {
20600 (char *) "self",(char *) "style", NULL
20603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
20604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 (arg1
)->SetWindowStyleFlag(arg2
);
20609 wxPyEndAllowThreads(__tstate
);
20610 if (PyErr_Occurred()) SWIG_fail
;
20612 Py_INCREF(Py_None
); resultobj
= Py_None
;
20619 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
;
20621 wxWindow
*arg1
= (wxWindow
*) 0 ;
20623 PyObject
* obj0
= 0 ;
20624 char *kwnames
[] = {
20625 (char *) "self", NULL
20628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
20629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20637 resultobj
= PyInt_FromLong((long)result
);
20644 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
;
20646 wxWindow
*arg1
= (wxWindow
*) 0 ;
20648 PyObject
* obj0
= 0 ;
20649 char *kwnames
[] = {
20650 (char *) "self",(char *) "style", NULL
20653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
20654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 (arg1
)->SetWindowStyle(arg2
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20662 Py_INCREF(Py_None
); resultobj
= Py_None
;
20669 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20671 wxWindow
*arg1
= (wxWindow
*) 0 ;
20673 PyObject
* obj0
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
20679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= PyInt_FromLong((long)result
);
20694 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
;
20696 wxWindow
*arg1
= (wxWindow
*) 0 ;
20699 PyObject
* obj0
= 0 ;
20700 char *kwnames
[] = {
20701 (char *) "self",(char *) "flag", NULL
20704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
20705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20708 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= PyInt_FromLong((long)result
);
20720 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
;
20722 wxWindow
*arg1
= (wxWindow
*) 0 ;
20724 PyObject
* obj0
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "self", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
20730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 resultobj
= PyInt_FromLong((long)result
);
20745 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
;
20747 wxWindow
*arg1
= (wxWindow
*) 0 ;
20749 PyObject
* obj0
= 0 ;
20750 char *kwnames
[] = {
20751 (char *) "self",(char *) "exStyle", NULL
20754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetExtraStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
20755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 (arg1
)->SetExtraStyle(arg2
);
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 Py_INCREF(Py_None
); resultobj
= Py_None
;
20770 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20771 PyObject
*resultobj
;
20772 wxWindow
*arg1
= (wxWindow
*) 0 ;
20774 PyObject
* obj0
= 0 ;
20775 char *kwnames
[] = {
20776 (char *) "self", NULL
20779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
20780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20783 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
20785 wxPyEndAllowThreads(__tstate
);
20786 if (PyErr_Occurred()) SWIG_fail
;
20788 resultobj
= PyInt_FromLong((long)result
);
20795 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20796 PyObject
*resultobj
;
20797 wxWindow
*arg1
= (wxWindow
*) 0 ;
20798 bool arg2
= (bool) TRUE
;
20799 PyObject
* obj0
= 0 ;
20800 PyObject
* obj1
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "self",(char *) "modal", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
20806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20808 arg2
= PyInt_AsLong(obj1
) ? true : false;
20809 if (PyErr_Occurred()) SWIG_fail
;
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20813 (arg1
)->MakeModal(arg2
);
20815 wxPyEndAllowThreads(__tstate
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20818 Py_INCREF(Py_None
); resultobj
= Py_None
;
20825 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
;
20827 wxWindow
*arg1
= (wxWindow
*) 0 ;
20829 PyObject
* obj0
= 0 ;
20830 PyObject
* obj1
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "self",(char *) "enableTheme", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20837 arg2
= PyInt_AsLong(obj1
) ? true : false;
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 (arg1
)->SetThemeEnabled(arg2
);
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 Py_INCREF(Py_None
); resultobj
= Py_None
;
20853 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
;
20855 wxWindow
*arg1
= (wxWindow
*) 0 ;
20857 PyObject
* obj0
= 0 ;
20858 char *kwnames
[] = {
20859 (char *) "self", NULL
20862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
20863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
20868 wxPyEndAllowThreads(__tstate
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20871 resultobj
= PyInt_FromLong((long)result
);
20878 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
;
20880 wxWindow
*arg1
= (wxWindow
*) 0 ;
20882 PyObject
* obj0
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= PyInt_FromLong((long)result
);
20903 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
;
20905 wxWindow
*arg1
= (wxWindow
*) 0 ;
20906 PyObject
* obj0
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
20912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 (arg1
)->SetFocus();
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 Py_INCREF(Py_None
); resultobj
= Py_None
;
20927 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
;
20929 wxWindow
*arg1
= (wxWindow
*) 0 ;
20930 PyObject
* obj0
= 0 ;
20931 char *kwnames
[] = {
20932 (char *) "self", NULL
20935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
20936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 (arg1
)->SetFocusFromKbd();
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 Py_INCREF(Py_None
); resultobj
= Py_None
;
20951 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20952 PyObject
*resultobj
;
20954 char *kwnames
[] = {
20958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 result
= (wxWindow
*)wxWindow::FindFocus();
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= wxPyMake_wxObject(result
);
20975 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
;
20977 wxWindow
*arg1
= (wxWindow
*) 0 ;
20979 PyObject
* obj0
= 0 ;
20980 char *kwnames
[] = {
20981 (char *) "self", NULL
20984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= PyInt_FromLong((long)result
);
21000 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxWindow
*arg1
= (wxWindow
*) 0 ;
21004 PyObject
* obj0
= 0 ;
21005 char *kwnames
[] = {
21006 (char *) "self", NULL
21009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
21010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 resultobj
= PyInt_FromLong((long)result
);
21025 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21026 PyObject
*resultobj
;
21027 wxWindow
*arg1
= (wxWindow
*) 0 ;
21029 PyObject
* obj0
= 0 ;
21030 char *kwnames
[] = {
21031 (char *) "self", NULL
21034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
21035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21044 resultobj
= wxPyMake_wxObject(result
);
21052 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
;
21054 wxWindow
*arg1
= (wxWindow
*) 0 ;
21055 wxWindow
*arg2
= (wxWindow
*) 0 ;
21057 PyObject
* obj0
= 0 ;
21058 PyObject
* obj1
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self",(char *) "child", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21065 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= wxPyMake_wxObject(result
);
21082 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21084 wxWindow
*arg1
= (wxWindow
*) 0 ;
21085 wxWindow
*arg2
= (wxWindow
*) 0 ;
21086 PyObject
* obj0
= 0 ;
21087 PyObject
* obj1
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "self",(char *) "win", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21094 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 (arg1
)->SetTmpDefaultItem(arg2
);
21099 wxPyEndAllowThreads(__tstate
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21102 Py_INCREF(Py_None
); resultobj
= Py_None
;
21109 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
;
21111 wxWindow
*arg1
= (wxWindow
*) 0 ;
21113 PyObject
* obj0
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "self", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
21119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= result
;
21134 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxWindow
*arg1
= (wxWindow
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
21144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21147 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= wxPyMake_wxObject(result
);
21161 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21162 PyObject
*resultobj
;
21163 wxWindow
*arg1
= (wxWindow
*) 0 ;
21165 PyObject
* obj0
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "self", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
21171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21180 resultobj
= wxPyMake_wxObject(result
);
21188 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21189 PyObject
*resultobj
;
21190 wxWindow
*arg1
= (wxWindow
*) 0 ;
21192 PyObject
* obj0
= 0 ;
21193 char *kwnames
[] = {
21194 (char *) "self", NULL
21197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
21198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= PyInt_FromLong((long)result
);
21213 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21214 PyObject
*resultobj
;
21215 wxWindow
*arg1
= (wxWindow
*) 0 ;
21216 wxWindow
*arg2
= (wxWindow
*) 0 ;
21218 PyObject
* obj0
= 0 ;
21219 PyObject
* obj1
= 0 ;
21220 char *kwnames
[] = {
21221 (char *) "self",(char *) "newParent", NULL
21224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
21225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21226 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 result
= (bool)(arg1
)->Reparent(arg2
);
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21234 resultobj
= PyInt_FromLong((long)result
);
21241 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21242 PyObject
*resultobj
;
21243 wxWindow
*arg1
= (wxWindow
*) 0 ;
21244 wxWindow
*arg2
= (wxWindow
*) 0 ;
21245 PyObject
* obj0
= 0 ;
21246 PyObject
* obj1
= 0 ;
21247 char *kwnames
[] = {
21248 (char *) "self",(char *) "child", NULL
21251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21253 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 (arg1
)->AddChild(arg2
);
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21261 Py_INCREF(Py_None
); resultobj
= Py_None
;
21268 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21270 wxWindow
*arg1
= (wxWindow
*) 0 ;
21271 wxWindow
*arg2
= (wxWindow
*) 0 ;
21272 PyObject
* obj0
= 0 ;
21273 PyObject
* obj1
= 0 ;
21274 char *kwnames
[] = {
21275 (char *) "self",(char *) "child", NULL
21278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21283 (arg1
)->RemoveChild(arg2
);
21285 wxPyEndAllowThreads(__tstate
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21288 Py_INCREF(Py_None
); resultobj
= Py_None
;
21295 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21297 wxWindow
*arg1
= (wxWindow
*) 0 ;
21300 PyObject
* obj0
= 0 ;
21301 char *kwnames
[] = {
21302 (char *) "self",(char *) "winid", NULL
21305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_FindWindowById",kwnames
,&obj0
,&arg2
)) goto fail
;
21306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21315 resultobj
= wxPyMake_wxObject(result
);
21323 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21324 PyObject
*resultobj
;
21325 wxWindow
*arg1
= (wxWindow
*) 0 ;
21326 wxString
*arg2
= 0 ;
21328 bool temp2
= false ;
21329 PyObject
* obj0
= 0 ;
21330 PyObject
* obj1
= 0 ;
21331 char *kwnames
[] = {
21332 (char *) "self",(char *) "name", NULL
21335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
21336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21338 arg2
= wxString_in_helper(obj1
);
21339 if (arg2
== NULL
) SWIG_fail
;
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21350 resultobj
= wxPyMake_wxObject(result
);
21366 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxWindow
*arg1
= (wxWindow
*) 0 ;
21369 wxEvtHandler
*result
;
21370 PyObject
* obj0
= 0 ;
21371 char *kwnames
[] = {
21372 (char *) "self", NULL
21375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
21376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21385 resultobj
= wxPyMake_wxObject(result
);
21393 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
;
21395 wxWindow
*arg1
= (wxWindow
*) 0 ;
21396 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21397 PyObject
* obj0
= 0 ;
21398 PyObject
* obj1
= 0 ;
21399 char *kwnames
[] = {
21400 (char *) "self",(char *) "handler", NULL
21403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21405 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 (arg1
)->SetEventHandler(arg2
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21413 Py_INCREF(Py_None
); resultobj
= Py_None
;
21420 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21422 wxWindow
*arg1
= (wxWindow
*) 0 ;
21423 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21424 PyObject
* obj0
= 0 ;
21425 PyObject
* obj1
= 0 ;
21426 char *kwnames
[] = {
21427 (char *) "self",(char *) "handler", NULL
21430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21432 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 (arg1
)->PushEventHandler(arg2
);
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 Py_INCREF(Py_None
); resultobj
= Py_None
;
21447 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxWindow
*arg1
= (wxWindow
*) 0 ;
21450 bool arg2
= (bool) FALSE
;
21451 wxEvtHandler
*result
;
21452 PyObject
* obj0
= 0 ;
21453 PyObject
* obj1
= 0 ;
21454 char *kwnames
[] = {
21455 (char *) "self",(char *) "deleteHandler", NULL
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21461 arg2
= PyInt_AsLong(obj1
) ? true : false;
21462 if (PyErr_Occurred()) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= wxPyMake_wxObject(result
);
21480 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
;
21482 wxWindow
*arg1
= (wxWindow
*) 0 ;
21483 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21485 PyObject
* obj0
= 0 ;
21486 PyObject
* obj1
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "self",(char *) "handler", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21493 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= PyInt_FromLong((long)result
);
21508 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21509 PyObject
*resultobj
;
21510 wxWindow
*arg1
= (wxWindow
*) 0 ;
21511 wxValidator
*arg2
= 0 ;
21512 PyObject
* obj0
= 0 ;
21513 PyObject
* obj1
= 0 ;
21514 char *kwnames
[] = {
21515 (char *) "self",(char *) "validator", NULL
21518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
21519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21520 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21521 if (arg2
== NULL
) {
21522 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 Py_INCREF(Py_None
); resultobj
= Py_None
;
21538 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21540 wxWindow
*arg1
= (wxWindow
*) 0 ;
21541 wxValidator
*result
;
21542 PyObject
* obj0
= 0 ;
21543 char *kwnames
[] = {
21544 (char *) "self", NULL
21547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
21548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (wxValidator
*)(arg1
)->GetValidator();
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21557 resultobj
= wxPyMake_wxObject(result
);
21565 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
;
21567 wxWindow
*arg1
= (wxWindow
*) 0 ;
21568 wxAcceleratorTable
*arg2
= 0 ;
21569 PyObject
* obj0
= 0 ;
21570 PyObject
* obj1
= 0 ;
21571 char *kwnames
[] = {
21572 (char *) "self",(char *) "accel", NULL
21575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
21576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21577 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21578 if (arg2
== NULL
) {
21579 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 Py_INCREF(Py_None
); resultobj
= Py_None
;
21595 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
;
21597 wxWindow
*arg1
= (wxWindow
*) 0 ;
21598 wxAcceleratorTable
*result
;
21599 PyObject
* obj0
= 0 ;
21600 char *kwnames
[] = {
21601 (char *) "self", NULL
21604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
21605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21613 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
21620 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
;
21622 wxWindow
*arg1
= (wxWindow
*) 0 ;
21627 PyObject
* obj0
= 0 ;
21628 char *kwnames
[] = {
21629 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:Window_RegisterHotKey",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
21633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21636 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
21638 wxPyEndAllowThreads(__tstate
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21641 resultobj
= PyInt_FromLong((long)result
);
21648 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
;
21650 wxWindow
*arg1
= (wxWindow
*) 0 ;
21653 PyObject
* obj0
= 0 ;
21654 char *kwnames
[] = {
21655 (char *) "self",(char *) "hotkeyId", NULL
21658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_UnregisterHotKey",kwnames
,&obj0
,&arg2
)) goto fail
;
21659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 resultobj
= PyInt_FromLong((long)result
);
21674 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21675 PyObject
*resultobj
;
21676 wxWindow
*arg1
= (wxWindow
*) 0 ;
21677 wxPoint
*arg2
= 0 ;
21680 PyObject
* obj0
= 0 ;
21681 PyObject
* obj1
= 0 ;
21682 char *kwnames
[] = {
21683 (char *) "self",(char *) "pt", NULL
21686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
21687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21690 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21700 wxPoint
* resultptr
;
21701 resultptr
= new wxPoint((wxPoint
&) result
);
21702 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21710 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21711 PyObject
*resultobj
;
21712 wxWindow
*arg1
= (wxWindow
*) 0 ;
21716 PyObject
* obj0
= 0 ;
21717 PyObject
* obj1
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "self",(char *) "sz", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
21723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21726 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21736 wxSize
* resultptr
;
21737 resultptr
= new wxSize((wxSize
&) result
);
21738 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21746 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxWindow
*arg1
= (wxWindow
*) 0 ;
21749 wxPoint
*arg2
= 0 ;
21752 PyObject
* obj0
= 0 ;
21753 PyObject
* obj1
= 0 ;
21754 char *kwnames
[] = {
21755 (char *) "self",(char *) "pt", NULL
21758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
21759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21762 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21772 wxPoint
* resultptr
;
21773 resultptr
= new wxPoint((wxPoint
&) result
);
21774 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21782 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21783 PyObject
*resultobj
;
21784 wxWindow
*arg1
= (wxWindow
*) 0 ;
21788 PyObject
* obj0
= 0 ;
21789 PyObject
* obj1
= 0 ;
21790 char *kwnames
[] = {
21791 (char *) "self",(char *) "sz", NULL
21794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
21795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21798 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21808 wxSize
* resultptr
;
21809 resultptr
= new wxSize((wxSize
&) result
);
21810 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21818 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
;
21820 wxWindow
*arg1
= (wxWindow
*) 0 ;
21821 wxPoint
*arg2
= 0 ;
21824 PyObject
* obj0
= 0 ;
21825 PyObject
* obj1
= 0 ;
21826 char *kwnames
[] = {
21827 (char *) "self",(char *) "pt", NULL
21830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21834 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21838 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
21840 wxPyEndAllowThreads(__tstate
);
21841 if (PyErr_Occurred()) SWIG_fail
;
21844 wxPoint
* resultptr
;
21845 resultptr
= new wxPoint((wxPoint
&) result
);
21846 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21854 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
;
21856 wxWindow
*arg1
= (wxWindow
*) 0 ;
21860 PyObject
* obj0
= 0 ;
21861 PyObject
* obj1
= 0 ;
21862 char *kwnames
[] = {
21863 (char *) "self",(char *) "sz", NULL
21866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21870 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21874 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
21876 wxPyEndAllowThreads(__tstate
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21880 wxSize
* resultptr
;
21881 resultptr
= new wxSize((wxSize
&) result
);
21882 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21890 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21891 PyObject
*resultobj
;
21892 wxWindow
*arg1
= (wxWindow
*) 0 ;
21895 PyObject
* obj0
= 0 ;
21896 char *kwnames
[] = {
21897 (char *) "self",(char *) "x",(char *) "y", NULL
21900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_WarpPointer",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
21901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 (arg1
)->WarpPointer(arg2
,arg3
);
21906 wxPyEndAllowThreads(__tstate
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21909 Py_INCREF(Py_None
); resultobj
= Py_None
;
21916 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21918 wxWindow
*arg1
= (wxWindow
*) 0 ;
21919 PyObject
* obj0
= 0 ;
21920 char *kwnames
[] = {
21921 (char *) "self", NULL
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
21925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 (arg1
)->CaptureMouse();
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 Py_INCREF(Py_None
); resultobj
= Py_None
;
21940 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21941 PyObject
*resultobj
;
21942 wxWindow
*arg1
= (wxWindow
*) 0 ;
21943 PyObject
* obj0
= 0 ;
21944 char *kwnames
[] = {
21945 (char *) "self", NULL
21948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
21949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 (arg1
)->ReleaseMouse();
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 Py_INCREF(Py_None
); resultobj
= Py_None
;
21964 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
;
21967 char *kwnames
[] = {
21971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (wxWindow
*)wxWindow::GetCapture();
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= wxPyMake_wxObject(result
);
21988 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
;
21990 wxWindow
*arg1
= (wxWindow
*) 0 ;
21992 PyObject
* obj0
= 0 ;
21993 char *kwnames
[] = {
21994 (char *) "self", NULL
21997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
21998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= PyInt_FromLong((long)result
);
22013 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22014 PyObject
*resultobj
;
22015 wxWindow
*arg1
= (wxWindow
*) 0 ;
22016 bool arg2
= (bool) TRUE
;
22017 wxRect
*arg3
= (wxRect
*) NULL
;
22018 PyObject
* obj0
= 0 ;
22019 PyObject
* obj1
= 0 ;
22020 PyObject
* obj2
= 0 ;
22021 char *kwnames
[] = {
22022 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22028 arg2
= PyInt_AsLong(obj1
) ? true : false;
22029 if (PyErr_Occurred()) SWIG_fail
;
22032 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 Py_INCREF(Py_None
); resultobj
= Py_None
;
22048 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxWindow
*arg1
= (wxWindow
*) 0 ;
22053 PyObject
* obj0
= 0 ;
22054 PyObject
* obj1
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self",(char *) "rect", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22063 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 Py_INCREF(Py_None
); resultobj
= Py_None
;
22079 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
;
22081 wxWindow
*arg1
= (wxWindow
*) 0 ;
22082 PyObject
* obj0
= 0 ;
22083 char *kwnames
[] = {
22084 (char *) "self", NULL
22087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
22088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22096 Py_INCREF(Py_None
); resultobj
= Py_None
;
22103 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
;
22105 wxWindow
*arg1
= (wxWindow
*) 0 ;
22106 PyObject
* obj0
= 0 ;
22107 char *kwnames
[] = {
22108 (char *) "self", NULL
22111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
22112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 (arg1
)->ClearBackground();
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 Py_INCREF(Py_None
); resultobj
= Py_None
;
22127 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
;
22129 wxWindow
*arg1
= (wxWindow
*) 0 ;
22130 PyObject
* obj0
= 0 ;
22131 char *kwnames
[] = {
22132 (char *) "self", NULL
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
22136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 wxPyEndAllowThreads(__tstate
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22144 Py_INCREF(Py_None
); resultobj
= Py_None
;
22151 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22152 PyObject
*resultobj
;
22153 wxWindow
*arg1
= (wxWindow
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 char *kwnames
[] = {
22156 (char *) "self", NULL
22159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
22160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22168 Py_INCREF(Py_None
); resultobj
= Py_None
;
22175 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
;
22177 wxWindow
*arg1
= (wxWindow
*) 0 ;
22179 PyObject
* obj0
= 0 ;
22180 PyObject
* obj1
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "self",(char *) "dc", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22187 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22188 if (arg2
== NULL
) {
22189 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 (arg1
)->PrepareDC(*arg2
);
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22198 Py_INCREF(Py_None
); resultobj
= Py_None
;
22205 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22206 PyObject
*resultobj
;
22207 wxWindow
*arg1
= (wxWindow
*) 0 ;
22209 PyObject
* obj0
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
22215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
22220 result
= (wxRegion
*) &_result_ref
;
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22226 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
22233 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22235 wxWindow
*arg1
= (wxWindow
*) 0 ;
22237 PyObject
* obj0
= 0 ;
22238 char *kwnames
[] = {
22239 (char *) "self", NULL
22242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
22243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22252 wxRect
* resultptr
;
22253 resultptr
= new wxRect((wxRect
&) result
);
22254 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
22262 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxWindow
*arg1
= (wxWindow
*) 0 ;
22267 int arg4
= (int) 1 ;
22268 int arg5
= (int) 1 ;
22270 PyObject
* obj0
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_IsExposed",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22284 resultobj
= PyInt_FromLong((long)result
);
22291 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
;
22293 wxWindow
*arg1
= (wxWindow
*) 0 ;
22294 wxPoint
*arg2
= 0 ;
22297 PyObject
* obj0
= 0 ;
22298 PyObject
* obj1
= 0 ;
22299 char *kwnames
[] = {
22300 (char *) "self",(char *) "pt", NULL
22303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
22304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22307 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22311 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22316 resultobj
= PyInt_FromLong((long)result
);
22323 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
;
22325 wxWindow
*arg1
= (wxWindow
*) 0 ;
22329 PyObject
* obj0
= 0 ;
22330 PyObject
* obj1
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "self",(char *) "rect", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22339 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22348 resultobj
= PyInt_FromLong((long)result
);
22355 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
;
22357 wxWindow
*arg1
= (wxWindow
*) 0 ;
22358 wxColour
*arg2
= 0 ;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 char *kwnames
[] = {
22364 (char *) "self",(char *) "colour", NULL
22367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22371 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 resultobj
= PyInt_FromLong((long)result
);
22387 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
;
22389 wxWindow
*arg1
= (wxWindow
*) 0 ;
22390 wxColour
*arg2
= 0 ;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self",(char *) "colour", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22403 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 resultobj
= PyInt_FromLong((long)result
);
22419 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
;
22421 wxWindow
*arg1
= (wxWindow
*) 0 ;
22423 PyObject
* obj0
= 0 ;
22424 char *kwnames
[] = {
22425 (char *) "self", NULL
22428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
22434 wxPyEndAllowThreads(__tstate
);
22435 if (PyErr_Occurred()) SWIG_fail
;
22438 wxColour
* resultptr
;
22439 resultptr
= new wxColour((wxColour
&) result
);
22440 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22448 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22449 PyObject
*resultobj
;
22450 wxWindow
*arg1
= (wxWindow
*) 0 ;
22452 PyObject
* obj0
= 0 ;
22453 char *kwnames
[] = {
22454 (char *) "self", NULL
22457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
22458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22467 wxColour
* resultptr
;
22468 resultptr
= new wxColour((wxColour
&) result
);
22469 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22477 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22478 PyObject
*resultobj
;
22479 wxWindow
*arg1
= (wxWindow
*) 0 ;
22480 wxCursor
*arg2
= 0 ;
22482 PyObject
* obj0
= 0 ;
22483 PyObject
* obj1
= 0 ;
22484 char *kwnames
[] = {
22485 (char *) "self",(char *) "cursor", NULL
22488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
22489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22491 if (arg2
== NULL
) {
22492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 resultobj
= PyInt_FromLong((long)result
);
22508 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
;
22510 wxWindow
*arg1
= (wxWindow
*) 0 ;
22512 PyObject
* obj0
= 0 ;
22513 char *kwnames
[] = {
22514 (char *) "self", NULL
22517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
22518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 wxCursor
&_result_ref
= (arg1
)->GetCursor();
22523 result
= (wxCursor
*) &_result_ref
;
22526 wxPyEndAllowThreads(__tstate
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22529 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
22536 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22537 PyObject
*resultobj
;
22538 wxWindow
*arg1
= (wxWindow
*) 0 ;
22541 PyObject
* obj0
= 0 ;
22542 PyObject
* obj1
= 0 ;
22543 char *kwnames
[] = {
22544 (char *) "self",(char *) "font", NULL
22547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22549 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22550 if (arg2
== NULL
) {
22551 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 resultobj
= PyInt_FromLong((long)result
);
22567 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
;
22569 wxWindow
*arg1
= (wxWindow
*) 0 ;
22571 PyObject
* obj0
= 0 ;
22572 char *kwnames
[] = {
22573 (char *) "self", NULL
22576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
22577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22581 wxFont
&_result_ref
= (arg1
)->GetFont();
22582 result
= (wxFont
*) &_result_ref
;
22585 wxPyEndAllowThreads(__tstate
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22588 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
22595 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22596 PyObject
*resultobj
;
22597 wxWindow
*arg1
= (wxWindow
*) 0 ;
22598 wxCaret
*arg2
= (wxCaret
*) 0 ;
22599 PyObject
* obj0
= 0 ;
22600 PyObject
* obj1
= 0 ;
22601 char *kwnames
[] = {
22602 (char *) "self",(char *) "caret", NULL
22605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
22606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22610 (arg1
)->SetCaret(arg2
);
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22615 Py_INCREF(Py_None
); resultobj
= Py_None
;
22622 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22623 PyObject
*resultobj
;
22624 wxWindow
*arg1
= (wxWindow
*) 0 ;
22626 PyObject
* obj0
= 0 ;
22627 char *kwnames
[] = {
22628 (char *) "self", NULL
22631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
22632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
22637 wxPyEndAllowThreads(__tstate
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22640 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
22647 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22648 PyObject
*resultobj
;
22649 wxWindow
*arg1
= (wxWindow
*) 0 ;
22651 PyObject
* obj0
= 0 ;
22652 char *kwnames
[] = {
22653 (char *) "self", NULL
22656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
22657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 resultobj
= PyInt_FromLong((long)result
);
22672 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22673 PyObject
*resultobj
;
22674 wxWindow
*arg1
= (wxWindow
*) 0 ;
22676 PyObject
* obj0
= 0 ;
22677 char *kwnames
[] = {
22678 (char *) "self", NULL
22681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
22682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 resultobj
= PyInt_FromLong((long)result
);
22697 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
;
22699 wxWindow
*arg1
= (wxWindow
*) 0 ;
22700 wxString
*arg2
= 0 ;
22701 int *arg3
= (int *) 0 ;
22702 int *arg4
= (int *) 0 ;
22703 bool temp2
= false ;
22706 PyObject
* obj0
= 0 ;
22707 PyObject
* obj1
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "self",(char *) "string", NULL
22714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
22715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22717 arg2
= wxString_in_helper(obj1
);
22718 if (arg2
== NULL
) SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22728 Py_INCREF(Py_None
); resultobj
= Py_None
;
22730 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22731 resultobj
= t_output_helper(resultobj
,o
);
22734 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22735 resultobj
= t_output_helper(resultobj
,o
);
22751 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22753 wxWindow
*arg1
= (wxWindow
*) 0 ;
22754 wxString
*arg2
= 0 ;
22755 int *arg3
= (int *) 0 ;
22756 int *arg4
= (int *) 0 ;
22757 int *arg5
= (int *) 0 ;
22758 int *arg6
= (int *) 0 ;
22759 wxFont
*arg7
= (wxFont
*) NULL
;
22760 bool temp2
= false ;
22765 PyObject
* obj0
= 0 ;
22766 PyObject
* obj1
= 0 ;
22767 PyObject
* obj2
= 0 ;
22768 char *kwnames
[] = {
22769 (char *) "self",(char *) "string",(char *) "font", NULL
22776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22779 arg2
= wxString_in_helper(obj1
);
22780 if (arg2
== NULL
) SWIG_fail
;
22784 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22788 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 Py_INCREF(Py_None
); resultobj
= Py_None
;
22795 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22796 resultobj
= t_output_helper(resultobj
,o
);
22799 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22800 resultobj
= t_output_helper(resultobj
,o
);
22803 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22804 resultobj
= t_output_helper(resultobj
,o
);
22807 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
22808 resultobj
= t_output_helper(resultobj
,o
);
22824 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22825 PyObject
*resultobj
;
22826 wxWindow
*arg1
= (wxWindow
*) 0 ;
22827 int *arg2
= (int *) 0 ;
22828 int *arg3
= (int *) 0 ;
22831 PyObject
* obj0
= 0 ;
22832 PyObject
* obj1
= 0 ;
22833 PyObject
* obj2
= 0 ;
22834 char *kwnames
[] = {
22835 (char *) "self",(char *) "x",(char *) "y", NULL
22838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22841 temp2
= PyInt_AsLong(obj1
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22846 temp3
= PyInt_AsLong(obj2
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 Py_INCREF(Py_None
); resultobj
= Py_None
;
22859 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22860 resultobj
= t_output_helper(resultobj
,o
);
22863 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22864 resultobj
= t_output_helper(resultobj
,o
);
22872 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22873 PyObject
*resultobj
;
22874 wxWindow
*arg1
= (wxWindow
*) 0 ;
22875 int *arg2
= (int *) 0 ;
22876 int *arg3
= (int *) 0 ;
22879 PyObject
* obj0
= 0 ;
22880 PyObject
* obj1
= 0 ;
22881 PyObject
* obj2
= 0 ;
22882 char *kwnames
[] = {
22883 (char *) "self",(char *) "x",(char *) "y", NULL
22886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22889 temp2
= PyInt_AsLong(obj1
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22894 temp3
= PyInt_AsLong(obj2
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 Py_INCREF(Py_None
); resultobj
= Py_None
;
22907 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22908 resultobj
= t_output_helper(resultobj
,o
);
22911 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22912 resultobj
= t_output_helper(resultobj
,o
);
22920 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
;
22922 wxWindow
*arg1
= (wxWindow
*) 0 ;
22923 wxPoint
*arg2
= 0 ;
22926 PyObject
* obj0
= 0 ;
22927 PyObject
* obj1
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "self",(char *) "pt", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22936 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
22942 wxPyEndAllowThreads(__tstate
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22946 wxPoint
* resultptr
;
22947 resultptr
= new wxPoint((wxPoint
&) result
);
22948 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22956 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22957 PyObject
*resultobj
;
22958 wxWindow
*arg1
= (wxWindow
*) 0 ;
22959 wxPoint
*arg2
= 0 ;
22962 PyObject
* obj0
= 0 ;
22963 PyObject
* obj1
= 0 ;
22964 char *kwnames
[] = {
22965 (char *) "self",(char *) "pt", NULL
22968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
22969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22972 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22982 wxPoint
* resultptr
;
22983 resultptr
= new wxPoint((wxPoint
&) result
);
22984 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22992 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22993 PyObject
*resultobj
;
22994 wxWindow
*arg1
= (wxWindow
*) 0 ;
22998 PyObject
* obj0
= 0 ;
22999 char *kwnames
[] = {
23000 (char *) "self",(char *) "x",(char *) "y", NULL
23003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= PyInt_FromLong((long)result
);
23019 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
;
23021 wxWindow
*arg1
= (wxWindow
*) 0 ;
23022 wxPoint
*arg2
= 0 ;
23025 PyObject
* obj0
= 0 ;
23026 PyObject
* obj1
= 0 ;
23027 char *kwnames
[] = {
23028 (char *) "self",(char *) "pt", NULL
23031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23035 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
23041 wxPyEndAllowThreads(__tstate
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23044 resultobj
= PyInt_FromLong((long)result
);
23051 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 wxWindow
*arg1
= (wxWindow
*) 0 ;
23056 PyObject
* obj0
= 0 ;
23057 char *kwnames
[] = {
23058 (char *) "self",(char *) "flags", NULL
23061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_GetBorderFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
23062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23065 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23070 resultobj
= PyInt_FromLong((long)result
);
23077 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23078 PyObject
*resultobj
;
23079 wxWindow
*arg1
= (wxWindow
*) 0 ;
23081 PyObject
* obj0
= 0 ;
23082 char *kwnames
[] = {
23083 (char *) "self", NULL
23086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
23087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23090 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 resultobj
= PyInt_FromLong((long)result
);
23102 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
;
23104 wxWindow
*arg1
= (wxWindow
*) 0 ;
23105 long arg2
= (long) wxUPDATE_UI_NONE
;
23106 PyObject
* obj0
= 0 ;
23107 char *kwnames
[] = {
23108 (char *) "self",(char *) "flags", NULL
23111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Window_UpdateWindowUI",kwnames
,&obj0
,&arg2
)) goto fail
;
23112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 (arg1
)->UpdateWindowUI(arg2
);
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 Py_INCREF(Py_None
); resultobj
= Py_None
;
23127 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
;
23129 wxWindow
*arg1
= (wxWindow
*) 0 ;
23130 wxMenu
*arg2
= (wxMenu
*) 0 ;
23134 PyObject
* obj0
= 0 ;
23135 PyObject
* obj1
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
23141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= PyInt_FromLong((long)result
);
23157 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
;
23159 wxWindow
*arg1
= (wxWindow
*) 0 ;
23160 wxMenu
*arg2
= (wxMenu
*) 0 ;
23161 wxPoint
*arg3
= 0 ;
23164 PyObject
* obj0
= 0 ;
23165 PyObject
* obj1
= 0 ;
23166 PyObject
* obj2
= 0 ;
23167 char *kwnames
[] = {
23168 (char *) "self",(char *) "menu",(char *) "pos", NULL
23171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23173 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23176 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= PyInt_FromLong((long)result
);
23192 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
;
23194 wxWindow
*arg1
= (wxWindow
*) 0 ;
23196 PyObject
* obj0
= 0 ;
23197 char *kwnames
[] = {
23198 (char *) "self", NULL
23201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
23202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 result
= (long)wxWindow_GetHandle(arg1
);
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 resultobj
= PyInt_FromLong((long)result
);
23217 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxWindow
*arg1
= (wxWindow
*) 0 ;
23220 wxPaintEvent
*arg2
= 0 ;
23221 PyObject
* obj0
= 0 ;
23222 PyObject
* obj1
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "self",(char *) "event", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
23228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23229 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPaintEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23230 if (arg2
== NULL
) {
23231 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 (arg1
)->OnPaint(*arg2
);
23237 wxPyEndAllowThreads(__tstate
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23240 Py_INCREF(Py_None
); resultobj
= Py_None
;
23247 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23248 PyObject
*resultobj
;
23249 wxWindow
*arg1
= (wxWindow
*) 0 ;
23252 PyObject
* obj0
= 0 ;
23253 char *kwnames
[] = {
23254 (char *) "self",(char *) "orient", NULL
23257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasScrollbar",kwnames
,&obj0
,&arg2
)) goto fail
;
23258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23261 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= PyInt_FromLong((long)result
);
23273 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23274 PyObject
*resultobj
;
23275 wxWindow
*arg1
= (wxWindow
*) 0 ;
23280 bool arg6
= (bool) TRUE
;
23281 PyObject
* obj0
= 0 ;
23282 PyObject
* obj5
= 0 ;
23283 char *kwnames
[] = {
23284 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:Window_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
23288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23290 arg6
= PyInt_AsLong(obj5
) ? true : false;
23291 if (PyErr_Occurred()) SWIG_fail
;
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 Py_INCREF(Py_None
); resultobj
= Py_None
;
23307 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
;
23309 wxWindow
*arg1
= (wxWindow
*) 0 ;
23312 bool arg4
= (bool) TRUE
;
23313 PyObject
* obj0
= 0 ;
23314 PyObject
* obj3
= 0 ;
23315 char *kwnames
[] = {
23316 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_SetScrollPos",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23322 arg4
= PyInt_AsLong(obj3
) ? true : false;
23323 if (PyErr_Occurred()) SWIG_fail
;
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23332 Py_INCREF(Py_None
); resultobj
= Py_None
;
23339 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
;
23341 wxWindow
*arg1
= (wxWindow
*) 0 ;
23344 PyObject
* obj0
= 0 ;
23345 char *kwnames
[] = {
23346 (char *) "self",(char *) "orient", NULL
23349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollPos",kwnames
,&obj0
,&arg2
)) goto fail
;
23350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
23355 wxPyEndAllowThreads(__tstate
);
23356 if (PyErr_Occurred()) SWIG_fail
;
23358 resultobj
= PyInt_FromLong((long)result
);
23365 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23366 PyObject
*resultobj
;
23367 wxWindow
*arg1
= (wxWindow
*) 0 ;
23370 PyObject
* obj0
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self",(char *) "orient", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollThumb",kwnames
,&obj0
,&arg2
)) goto fail
;
23376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 resultobj
= PyInt_FromLong((long)result
);
23391 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxWindow
*arg1
= (wxWindow
*) 0 ;
23396 PyObject
* obj0
= 0 ;
23397 char *kwnames
[] = {
23398 (char *) "self",(char *) "orient", NULL
23401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollRange",kwnames
,&obj0
,&arg2
)) goto fail
;
23402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= PyInt_FromLong((long)result
);
23417 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
;
23419 wxWindow
*arg1
= (wxWindow
*) 0 ;
23422 wxRect
*arg4
= (wxRect
*) NULL
;
23423 PyObject
* obj0
= 0 ;
23424 PyObject
* obj3
= 0 ;
23425 char *kwnames
[] = {
23426 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_ScrollWindow",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23432 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 Py_INCREF(Py_None
); resultobj
= Py_None
;
23448 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxWindow
*arg1
= (wxWindow
*) 0 ;
23453 PyObject
* obj0
= 0 ;
23454 char *kwnames
[] = {
23455 (char *) "self",(char *) "lines", NULL
23458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
23459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 result
= (bool)(arg1
)->ScrollLines(arg2
);
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 resultobj
= PyInt_FromLong((long)result
);
23474 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23475 PyObject
*resultobj
;
23476 wxWindow
*arg1
= (wxWindow
*) 0 ;
23479 PyObject
* obj0
= 0 ;
23480 char *kwnames
[] = {
23481 (char *) "self",(char *) "pages", NULL
23484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
23485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 result
= (bool)(arg1
)->ScrollPages(arg2
);
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23493 resultobj
= PyInt_FromLong((long)result
);
23500 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23502 wxWindow
*arg1
= (wxWindow
*) 0 ;
23504 PyObject
* obj0
= 0 ;
23505 char *kwnames
[] = {
23506 (char *) "self", NULL
23509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
23510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 result
= (bool)(arg1
)->LineUp();
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 resultobj
= PyInt_FromLong((long)result
);
23525 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23526 PyObject
*resultobj
;
23527 wxWindow
*arg1
= (wxWindow
*) 0 ;
23529 PyObject
* obj0
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "self", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
23535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 result
= (bool)(arg1
)->LineDown();
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23543 resultobj
= PyInt_FromLong((long)result
);
23550 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
;
23552 wxWindow
*arg1
= (wxWindow
*) 0 ;
23554 PyObject
* obj0
= 0 ;
23555 char *kwnames
[] = {
23556 (char *) "self", NULL
23559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
23560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= (bool)(arg1
)->PageUp();
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23568 resultobj
= PyInt_FromLong((long)result
);
23575 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 wxWindow
*arg1
= (wxWindow
*) 0 ;
23579 PyObject
* obj0
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self", NULL
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
23585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 result
= (bool)(arg1
)->PageDown();
23590 wxPyEndAllowThreads(__tstate
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23593 resultobj
= PyInt_FromLong((long)result
);
23600 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23601 PyObject
*resultobj
;
23602 wxWindow
*arg1
= (wxWindow
*) 0 ;
23603 wxString
*arg2
= 0 ;
23604 bool temp2
= false ;
23605 PyObject
* obj0
= 0 ;
23606 PyObject
* obj1
= 0 ;
23607 char *kwnames
[] = {
23608 (char *) "self",(char *) "text", NULL
23611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
23612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23614 arg2
= wxString_in_helper(obj1
);
23615 if (arg2
== NULL
) SWIG_fail
;
23619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23620 (arg1
)->SetHelpText((wxString
const &)*arg2
);
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 Py_INCREF(Py_None
); resultobj
= Py_None
;
23640 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
;
23642 wxWindow
*arg1
= (wxWindow
*) 0 ;
23643 wxString
*arg2
= 0 ;
23644 bool temp2
= false ;
23645 PyObject
* obj0
= 0 ;
23646 PyObject
* obj1
= 0 ;
23647 char *kwnames
[] = {
23648 (char *) "self",(char *) "text", NULL
23651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
23652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23654 arg2
= wxString_in_helper(obj1
);
23655 if (arg2
== NULL
) SWIG_fail
;
23659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23660 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23665 Py_INCREF(Py_None
); resultobj
= Py_None
;
23680 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23682 wxWindow
*arg1
= (wxWindow
*) 0 ;
23684 PyObject
* obj0
= 0 ;
23685 char *kwnames
[] = {
23686 (char *) "self", NULL
23689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
23690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 result
= ((wxWindow
const *)arg1
)->GetHelpText();
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23711 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
;
23713 wxWindow
*arg1
= (wxWindow
*) 0 ;
23714 wxString
*arg2
= 0 ;
23715 bool temp2
= false ;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 char *kwnames
[] = {
23719 (char *) "self",(char *) "tip", NULL
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
23723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23725 arg2
= wxString_in_helper(obj1
);
23726 if (arg2
== NULL
) SWIG_fail
;
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 Py_INCREF(Py_None
); resultobj
= Py_None
;
23751 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxWindow
*arg1
= (wxWindow
*) 0 ;
23754 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
23755 PyObject
* obj0
= 0 ;
23756 PyObject
* obj1
= 0 ;
23757 char *kwnames
[] = {
23758 (char *) "self",(char *) "tip", NULL
23761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23763 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 (arg1
)->SetToolTip(arg2
);
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 Py_INCREF(Py_None
); resultobj
= Py_None
;
23778 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23779 PyObject
*resultobj
;
23780 wxWindow
*arg1
= (wxWindow
*) 0 ;
23782 PyObject
* obj0
= 0 ;
23783 char *kwnames
[] = {
23784 (char *) "self", NULL
23787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
23788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23797 resultobj
= wxPyMake_wxObject(result
);
23805 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23806 PyObject
*resultobj
;
23807 wxWindow
*arg1
= (wxWindow
*) 0 ;
23808 wxDropTarget
*arg2
= (wxDropTarget
*) 0 ;
23809 PyObject
* obj0
= 0 ;
23810 PyObject
* obj1
= 0 ;
23811 char *kwnames
[] = {
23812 (char *) "self",(char *) "dropTarget", NULL
23815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
23816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23820 (arg1
)->SetDropTarget(arg2
);
23822 wxPyEndAllowThreads(__tstate
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23825 Py_INCREF(Py_None
); resultobj
= Py_None
;
23832 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23833 PyObject
*resultobj
;
23834 wxWindow
*arg1
= (wxWindow
*) 0 ;
23835 wxDropTarget
*result
;
23836 PyObject
* obj0
= 0 ;
23837 char *kwnames
[] = {
23838 (char *) "self", NULL
23841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
23842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 result
= (wxDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDropTarget
, 0);
23857 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
;
23859 wxWindow
*arg1
= (wxWindow
*) 0 ;
23861 PyObject
* obj0
= 0 ;
23862 PyObject
* obj1
= 0 ;
23863 char *kwnames
[] = {
23864 (char *) "self",(char *) "accept", NULL
23867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
23868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23869 arg2
= PyInt_AsLong(obj1
) ? true : false;
23870 if (PyErr_Occurred()) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 (arg1
)->DragAcceptFiles(arg2
);
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 Py_INCREF(Py_None
); resultobj
= Py_None
;
23885 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
;
23887 wxWindow
*arg1
= (wxWindow
*) 0 ;
23888 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
23889 PyObject
* obj0
= 0 ;
23890 PyObject
* obj1
= 0 ;
23891 char *kwnames
[] = {
23892 (char *) "self",(char *) "constraints", NULL
23895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
23896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23897 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 (arg1
)->SetConstraints(arg2
);
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23905 Py_INCREF(Py_None
); resultobj
= Py_None
;
23912 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23913 PyObject
*resultobj
;
23914 wxWindow
*arg1
= (wxWindow
*) 0 ;
23915 wxLayoutConstraints
*result
;
23916 PyObject
* obj0
= 0 ;
23917 char *kwnames
[] = {
23918 (char *) "self", NULL
23921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
23922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23930 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
23937 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
;
23939 wxWindow
*arg1
= (wxWindow
*) 0 ;
23941 PyObject
* obj0
= 0 ;
23942 PyObject
* obj1
= 0 ;
23943 char *kwnames
[] = {
23944 (char *) "self",(char *) "autoLayout", NULL
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
23948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23949 arg2
= PyInt_AsLong(obj1
) ? true : false;
23950 if (PyErr_Occurred()) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 (arg1
)->SetAutoLayout(arg2
);
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23958 Py_INCREF(Py_None
); resultobj
= Py_None
;
23965 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxWindow
*arg1
= (wxWindow
*) 0 ;
23969 PyObject
* obj0
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "self", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
23975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 resultobj
= PyInt_FromLong((long)result
);
23990 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
;
23992 wxWindow
*arg1
= (wxWindow
*) 0 ;
23994 PyObject
* obj0
= 0 ;
23995 char *kwnames
[] = {
23996 (char *) "self", NULL
23999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
24000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 result
= (bool)(arg1
)->Layout();
24005 wxPyEndAllowThreads(__tstate
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24008 resultobj
= PyInt_FromLong((long)result
);
24015 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24016 PyObject
*resultobj
;
24017 wxWindow
*arg1
= (wxWindow
*) 0 ;
24018 wxSizer
*arg2
= (wxSizer
*) 0 ;
24019 bool arg3
= (bool) TRUE
;
24020 PyObject
* obj0
= 0 ;
24021 PyObject
* obj1
= 0 ;
24022 PyObject
* obj2
= 0 ;
24023 char *kwnames
[] = {
24024 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24029 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24031 arg3
= PyInt_AsLong(obj2
) ? true : false;
24032 if (PyErr_Occurred()) SWIG_fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 (arg1
)->SetSizer(arg2
,arg3
);
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 Py_INCREF(Py_None
); resultobj
= Py_None
;
24048 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxWindow
*arg1
= (wxWindow
*) 0 ;
24051 wxSizer
*arg2
= (wxSizer
*) 0 ;
24052 bool arg3
= (bool) TRUE
;
24053 PyObject
* obj0
= 0 ;
24054 PyObject
* obj1
= 0 ;
24055 PyObject
* obj2
= 0 ;
24056 char *kwnames
[] = {
24057 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24062 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24064 arg3
= PyInt_AsLong(obj2
) ? true : false;
24065 if (PyErr_Occurred()) SWIG_fail
;
24068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 (arg1
)->SetSizerAndFit(arg2
,arg3
);
24071 wxPyEndAllowThreads(__tstate
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24074 Py_INCREF(Py_None
); resultobj
= Py_None
;
24081 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24082 PyObject
*resultobj
;
24083 wxWindow
*arg1
= (wxWindow
*) 0 ;
24085 PyObject
* obj0
= 0 ;
24086 char *kwnames
[] = {
24087 (char *) "self", NULL
24090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
24091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24100 resultobj
= wxPyMake_wxSizer(result
);
24108 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24109 PyObject
*resultobj
;
24110 wxWindow
*arg1
= (wxWindow
*) 0 ;
24111 wxSizer
*arg2
= (wxSizer
*) 0 ;
24112 PyObject
* obj0
= 0 ;
24113 PyObject
* obj1
= 0 ;
24114 char *kwnames
[] = {
24115 (char *) "self",(char *) "sizer", NULL
24118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
24119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24120 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 (arg1
)->SetContainingSizer(arg2
);
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24128 Py_INCREF(Py_None
); resultobj
= Py_None
;
24135 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24136 PyObject
*resultobj
;
24137 wxWindow
*arg1
= (wxWindow
*) 0 ;
24139 PyObject
* obj0
= 0 ;
24140 char *kwnames
[] = {
24141 (char *) "self", NULL
24144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
24145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24154 resultobj
= wxPyMake_wxSizer(result
);
24162 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
24164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24165 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
24167 return Py_BuildValue((char *)"");
24169 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
;
24172 wxWindow
*arg2
= (wxWindow
*) NULL
;
24174 PyObject
* obj1
= 0 ;
24175 char *kwnames
[] = {
24176 (char *) "id",(char *) "parent", NULL
24179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l|O:FindWindowById",kwnames
,&arg1
,&obj1
)) goto fail
;
24181 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24185 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
24187 wxPyEndAllowThreads(__tstate
);
24188 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= wxPyMake_wxObject(result
);
24199 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24200 PyObject
*resultobj
;
24201 wxString
*arg1
= 0 ;
24202 wxWindow
*arg2
= (wxWindow
*) NULL
;
24204 bool temp1
= false ;
24205 PyObject
* obj0
= 0 ;
24206 PyObject
* obj1
= 0 ;
24207 char *kwnames
[] = {
24208 (char *) "name",(char *) "parent", NULL
24211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24213 arg1
= wxString_in_helper(obj0
);
24214 if (arg1
== NULL
) SWIG_fail
;
24218 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= wxPyMake_wxObject(result
);
24244 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxString
*arg1
= 0 ;
24247 wxWindow
*arg2
= (wxWindow
*) NULL
;
24249 bool temp1
= false ;
24250 PyObject
* obj0
= 0 ;
24251 PyObject
* obj1
= 0 ;
24252 char *kwnames
[] = {
24253 (char *) "label",(char *) "parent", NULL
24256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24258 arg1
= wxString_in_helper(obj0
);
24259 if (arg1
== NULL
) SWIG_fail
;
24263 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24273 resultobj
= wxPyMake_wxObject(result
);
24289 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 unsigned long arg1
;
24293 PyObject
* obj0
= 0 ;
24294 char *kwnames
[] = {
24295 (char *) "hWnd", NULL
24298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
24299 arg1
= (unsigned long) PyInt_AsLong(obj0
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= wxPyMake_wxObject(result
);
24317 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24318 PyObject
*resultobj
;
24319 wxValidator
*result
;
24320 char *kwnames
[] = {
24324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 result
= (wxValidator
*)new wxValidator();
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24333 resultobj
= wxPyMake_wxObject(result
);
24341 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
;
24343 wxValidator
*arg1
= (wxValidator
*) 0 ;
24344 wxValidator
*result
;
24345 PyObject
* obj0
= 0 ;
24346 char *kwnames
[] = {
24347 (char *) "self", NULL
24350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
24351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 result
= (wxValidator
*)(arg1
)->Clone();
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24360 resultobj
= wxPyMake_wxObject(result
);
24368 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24369 PyObject
*resultobj
;
24370 wxValidator
*arg1
= (wxValidator
*) 0 ;
24371 wxWindow
*arg2
= (wxWindow
*) 0 ;
24373 PyObject
* obj0
= 0 ;
24374 PyObject
* obj1
= 0 ;
24375 char *kwnames
[] = {
24376 (char *) "self",(char *) "parent", NULL
24379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
24380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24381 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 result
= (bool)(arg1
)->Validate(arg2
);
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= PyInt_FromLong((long)result
);
24396 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24397 PyObject
*resultobj
;
24398 wxValidator
*arg1
= (wxValidator
*) 0 ;
24400 PyObject
* obj0
= 0 ;
24401 char *kwnames
[] = {
24402 (char *) "self", NULL
24405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
24406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 result
= (bool)(arg1
)->TransferToWindow();
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= PyInt_FromLong((long)result
);
24421 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
;
24423 wxValidator
*arg1
= (wxValidator
*) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 char *kwnames
[] = {
24427 (char *) "self", NULL
24430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
24431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24434 result
= (bool)(arg1
)->TransferFromWindow();
24436 wxPyEndAllowThreads(__tstate
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24439 resultobj
= PyInt_FromLong((long)result
);
24446 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24447 PyObject
*resultobj
;
24448 wxValidator
*arg1
= (wxValidator
*) 0 ;
24450 PyObject
* obj0
= 0 ;
24451 char *kwnames
[] = {
24452 (char *) "self", NULL
24455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
24456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 result
= (wxWindow
*)(arg1
)->GetWindow();
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= wxPyMake_wxObject(result
);
24473 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24474 PyObject
*resultobj
;
24475 wxValidator
*arg1
= (wxValidator
*) 0 ;
24476 wxWindow
*arg2
= (wxWindow
*) 0 ;
24477 PyObject
* obj0
= 0 ;
24478 PyObject
* obj1
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "self",(char *) "window", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
24484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24485 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 (arg1
)->SetWindow(arg2
);
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24493 Py_INCREF(Py_None
); resultobj
= Py_None
;
24500 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24501 PyObject
*resultobj
;
24503 char *kwnames
[] = {
24507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
24509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24510 result
= (bool)wxValidator::IsSilent();
24512 wxPyEndAllowThreads(__tstate
);
24513 if (PyErr_Occurred()) SWIG_fail
;
24515 resultobj
= PyInt_FromLong((long)result
);
24522 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24523 PyObject
*resultobj
;
24524 int arg1
= (int) TRUE
;
24525 char *kwnames
[] = {
24526 (char *) "doIt", NULL
24529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:Validator_SetBellOnError",kwnames
,&arg1
)) goto fail
;
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 wxValidator::SetBellOnError(arg1
);
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24537 Py_INCREF(Py_None
); resultobj
= Py_None
;
24544 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
24546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24547 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
24549 return Py_BuildValue((char *)"");
24551 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24552 PyObject
*resultobj
;
24553 wxPyValidator
*result
;
24554 char *kwnames
[] = {
24558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (wxPyValidator
*)new wxPyValidator();
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
24573 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
24576 PyObject
*arg2
= (PyObject
*) 0 ;
24577 PyObject
*arg3
= (PyObject
*) 0 ;
24578 int arg4
= (int) TRUE
;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 PyObject
* obj2
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
24587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24597 Py_INCREF(Py_None
); resultobj
= Py_None
;
24604 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
24606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24607 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
24609 return Py_BuildValue((char *)"");
24611 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
24612 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
24617 static PyObject
*_wrap_DefaultValidator_get() {
24620 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
24625 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24626 PyObject
*resultobj
;
24627 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24628 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24629 long arg2
= (long) 0 ;
24631 bool temp1
= false ;
24632 PyObject
* obj0
= 0 ;
24633 char *kwnames
[] = {
24634 (char *) "title",(char *) "style", NULL
24637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Ol:new_Menu",kwnames
,&obj0
,&arg2
)) goto fail
;
24640 arg1
= wxString_in_helper(obj0
);
24641 if (arg1
== NULL
) SWIG_fail
;
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24653 resultobj
= wxPyMake_wxObject(result
);
24669 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
;
24671 wxMenu
*arg1
= (wxMenu
*) 0 ;
24673 wxString
*arg3
= 0 ;
24674 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24675 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24676 int arg5
= (int) wxITEM_NORMAL
;
24677 bool temp3
= false ;
24678 bool temp4
= false ;
24679 PyObject
* obj0
= 0 ;
24680 PyObject
* obj2
= 0 ;
24681 PyObject
* obj3
= 0 ;
24682 char *kwnames
[] = {
24683 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Append",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24689 arg3
= wxString_in_helper(obj2
);
24690 if (arg3
== NULL
) SWIG_fail
;
24695 arg4
= wxString_in_helper(obj3
);
24696 if (arg4
== NULL
) SWIG_fail
;
24701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24707 Py_INCREF(Py_None
); resultobj
= Py_None
;
24730 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24731 PyObject
*resultobj
;
24732 wxMenu
*arg1
= (wxMenu
*) 0 ;
24733 PyObject
* obj0
= 0 ;
24734 char *kwnames
[] = {
24735 (char *) "self", NULL
24738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
24739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24742 (arg1
)->AppendSeparator();
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24747 Py_INCREF(Py_None
); resultobj
= Py_None
;
24754 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24755 PyObject
*resultobj
;
24756 wxMenu
*arg1
= (wxMenu
*) 0 ;
24758 wxString
*arg3
= 0 ;
24759 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24760 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24761 bool temp3
= false ;
24762 bool temp4
= false ;
24763 PyObject
* obj0
= 0 ;
24764 PyObject
* obj2
= 0 ;
24765 PyObject
* obj3
= 0 ;
24766 char *kwnames
[] = {
24767 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
24771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24773 arg3
= wxString_in_helper(obj2
);
24774 if (arg3
== NULL
) SWIG_fail
;
24779 arg4
= wxString_in_helper(obj3
);
24780 if (arg4
== NULL
) SWIG_fail
;
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 (arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
24788 wxPyEndAllowThreads(__tstate
);
24789 if (PyErr_Occurred()) SWIG_fail
;
24791 Py_INCREF(Py_None
); resultobj
= Py_None
;
24814 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
;
24816 wxMenu
*arg1
= (wxMenu
*) 0 ;
24818 wxString
*arg3
= 0 ;
24819 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24820 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24821 bool temp3
= false ;
24822 bool temp4
= false ;
24823 PyObject
* obj0
= 0 ;
24824 PyObject
* obj2
= 0 ;
24825 PyObject
* obj3
= 0 ;
24826 char *kwnames
[] = {
24827 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
24831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24833 arg3
= wxString_in_helper(obj2
);
24834 if (arg3
== NULL
) SWIG_fail
;
24839 arg4
= wxString_in_helper(obj3
);
24840 if (arg4
== NULL
) SWIG_fail
;
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 (arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24851 Py_INCREF(Py_None
); resultobj
= Py_None
;
24874 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
;
24876 wxMenu
*arg1
= (wxMenu
*) 0 ;
24878 wxString
*arg3
= 0 ;
24879 wxMenu
*arg4
= (wxMenu
*) 0 ;
24880 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24881 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24882 bool temp3
= false ;
24883 bool temp5
= false ;
24884 PyObject
* obj0
= 0 ;
24885 PyObject
* obj2
= 0 ;
24886 PyObject
* obj3
= 0 ;
24887 PyObject
* obj4
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_AppendMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
24893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24895 arg3
= wxString_in_helper(obj2
);
24896 if (arg3
== NULL
) SWIG_fail
;
24899 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24902 arg5
= wxString_in_helper(obj4
);
24903 if (arg5
== NULL
) SWIG_fail
;
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24914 Py_INCREF(Py_None
); resultobj
= Py_None
;
24937 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24938 PyObject
*resultobj
;
24939 wxMenu
*arg1
= (wxMenu
*) 0 ;
24940 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
24941 PyObject
* obj0
= 0 ;
24942 PyObject
* obj1
= 0 ;
24943 char *kwnames
[] = {
24944 (char *) "self",(char *) "item", NULL
24947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24949 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 (arg1
)->Append(arg2
);
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24957 Py_INCREF(Py_None
); resultobj
= Py_None
;
24964 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
;
24966 wxMenu
*arg1
= (wxMenu
*) 0 ;
24967 PyObject
* obj0
= 0 ;
24968 char *kwnames
[] = {
24969 (char *) "self", NULL
24972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
24973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24981 Py_INCREF(Py_None
); resultobj
= Py_None
;
24988 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24989 PyObject
*resultobj
;
24990 wxMenu
*arg1
= (wxMenu
*) 0 ;
24992 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
24994 PyObject
* obj0
= 0 ;
24995 PyObject
* obj1
= 0 ;
24996 PyObject
* obj2
= 0 ;
24997 char *kwnames
[] = {
24998 (char *) "self",(char *) "pos",(char *) "item", NULL
25001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25003 arg2
= (size_t) PyInt_AsLong(obj1
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25005 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25008 result
= (bool)(arg1
)->Insert(arg2
,arg3
);
25010 wxPyEndAllowThreads(__tstate
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25013 resultobj
= PyInt_FromLong((long)result
);
25020 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25021 PyObject
*resultobj
;
25022 wxMenu
*arg1
= (wxMenu
*) 0 ;
25025 wxString
*arg4
= 0 ;
25026 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25027 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25028 int arg6
= (int) wxITEM_NORMAL
;
25029 bool temp4
= false ;
25030 bool temp5
= false ;
25031 PyObject
* obj0
= 0 ;
25032 PyObject
* obj1
= 0 ;
25033 PyObject
* obj3
= 0 ;
25034 PyObject
* obj4
= 0 ;
25035 char *kwnames
[] = {
25036 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|Oi:Menu_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
25040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25041 arg2
= (size_t) PyInt_AsLong(obj1
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25044 arg4
= wxString_in_helper(obj3
);
25045 if (arg4
== NULL
) SWIG_fail
;
25050 arg5
= wxString_in_helper(obj4
);
25051 if (arg5
== NULL
) SWIG_fail
;
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 Py_INCREF(Py_None
); resultobj
= Py_None
;
25085 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxMenu
*arg1
= (wxMenu
*) 0 ;
25089 PyObject
* obj0
= 0 ;
25090 PyObject
* obj1
= 0 ;
25091 char *kwnames
[] = {
25092 (char *) "self",(char *) "pos", NULL
25095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
25096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25097 arg2
= (size_t) PyInt_AsLong(obj1
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 (arg1
)->InsertSeparator(arg2
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 Py_INCREF(Py_None
); resultobj
= Py_None
;
25113 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25114 PyObject
*resultobj
;
25115 wxMenu
*arg1
= (wxMenu
*) 0 ;
25118 wxString
*arg4
= 0 ;
25119 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25120 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25121 bool temp4
= false ;
25122 bool temp5
= false ;
25123 PyObject
* obj0
= 0 ;
25124 PyObject
* obj1
= 0 ;
25125 PyObject
* obj3
= 0 ;
25126 PyObject
* obj4
= 0 ;
25127 char *kwnames
[] = {
25128 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25133 arg2
= (size_t) PyInt_AsLong(obj1
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25136 arg4
= wxString_in_helper(obj3
);
25137 if (arg4
== NULL
) SWIG_fail
;
25142 arg5
= wxString_in_helper(obj4
);
25143 if (arg5
== NULL
) SWIG_fail
;
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 (arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25154 Py_INCREF(Py_None
); resultobj
= Py_None
;
25177 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25178 PyObject
*resultobj
;
25179 wxMenu
*arg1
= (wxMenu
*) 0 ;
25182 wxString
*arg4
= 0 ;
25183 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25184 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25185 bool temp4
= false ;
25186 bool temp5
= false ;
25187 PyObject
* obj0
= 0 ;
25188 PyObject
* obj1
= 0 ;
25189 PyObject
* obj3
= 0 ;
25190 PyObject
* obj4
= 0 ;
25191 char *kwnames
[] = {
25192 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25197 arg2
= (size_t) PyInt_AsLong(obj1
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25200 arg4
= wxString_in_helper(obj3
);
25201 if (arg4
== NULL
) SWIG_fail
;
25206 arg5
= wxString_in_helper(obj4
);
25207 if (arg5
== NULL
) SWIG_fail
;
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 (arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 Py_INCREF(Py_None
); resultobj
= Py_None
;
25241 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
;
25243 wxMenu
*arg1
= (wxMenu
*) 0 ;
25246 wxString
*arg4
= 0 ;
25247 wxMenu
*arg5
= (wxMenu
*) 0 ;
25248 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25249 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25250 bool temp4
= false ;
25251 bool temp6
= false ;
25252 PyObject
* obj0
= 0 ;
25253 PyObject
* obj1
= 0 ;
25254 PyObject
* obj3
= 0 ;
25255 PyObject
* obj4
= 0 ;
25256 PyObject
* obj5
= 0 ;
25257 char *kwnames
[] = {
25258 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
25262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25263 arg2
= (size_t) PyInt_AsLong(obj1
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 arg4
= wxString_in_helper(obj3
);
25267 if (arg4
== NULL
) SWIG_fail
;
25270 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25273 arg6
= wxString_in_helper(obj5
);
25274 if (arg6
== NULL
) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 Py_INCREF(Py_None
); resultobj
= Py_None
;
25308 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25310 wxMenu
*arg1
= (wxMenu
*) 0 ;
25311 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25312 PyObject
* obj0
= 0 ;
25313 PyObject
* obj1
= 0 ;
25314 char *kwnames
[] = {
25315 (char *) "self",(char *) "item", NULL
25318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25323 (arg1
)->Prepend(arg2
);
25325 wxPyEndAllowThreads(__tstate
);
25326 if (PyErr_Occurred()) SWIG_fail
;
25328 Py_INCREF(Py_None
); resultobj
= Py_None
;
25335 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25336 PyObject
*resultobj
;
25337 wxMenu
*arg1
= (wxMenu
*) 0 ;
25339 wxString
*arg3
= 0 ;
25340 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25341 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25342 int arg5
= (int) wxITEM_NORMAL
;
25343 bool temp3
= false ;
25344 bool temp4
= false ;
25345 PyObject
* obj0
= 0 ;
25346 PyObject
* obj2
= 0 ;
25347 PyObject
* obj3
= 0 ;
25348 char *kwnames
[] = {
25349 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Prepend",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25355 arg3
= wxString_in_helper(obj2
);
25356 if (arg3
== NULL
) SWIG_fail
;
25361 arg4
= wxString_in_helper(obj3
);
25362 if (arg4
== NULL
) SWIG_fail
;
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
25370 wxPyEndAllowThreads(__tstate
);
25371 if (PyErr_Occurred()) SWIG_fail
;
25373 Py_INCREF(Py_None
); resultobj
= Py_None
;
25396 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25397 PyObject
*resultobj
;
25398 wxMenu
*arg1
= (wxMenu
*) 0 ;
25399 PyObject
* obj0
= 0 ;
25400 char *kwnames
[] = {
25401 (char *) "self", NULL
25404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
25405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 (arg1
)->PrependSeparator();
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25413 Py_INCREF(Py_None
); resultobj
= Py_None
;
25420 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
;
25422 wxMenu
*arg1
= (wxMenu
*) 0 ;
25424 wxString
*arg3
= 0 ;
25425 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25426 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25427 bool temp3
= false ;
25428 bool temp4
= false ;
25429 PyObject
* obj0
= 0 ;
25430 PyObject
* obj2
= 0 ;
25431 PyObject
* obj3
= 0 ;
25432 char *kwnames
[] = {
25433 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25439 arg3
= wxString_in_helper(obj2
);
25440 if (arg3
== NULL
) SWIG_fail
;
25445 arg4
= wxString_in_helper(obj3
);
25446 if (arg4
== NULL
) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 (arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 Py_INCREF(Py_None
); resultobj
= Py_None
;
25480 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25481 PyObject
*resultobj
;
25482 wxMenu
*arg1
= (wxMenu
*) 0 ;
25484 wxString
*arg3
= 0 ;
25485 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25486 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25487 bool temp3
= false ;
25488 bool temp4
= false ;
25489 PyObject
* obj0
= 0 ;
25490 PyObject
* obj2
= 0 ;
25491 PyObject
* obj3
= 0 ;
25492 char *kwnames
[] = {
25493 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25499 arg3
= wxString_in_helper(obj2
);
25500 if (arg3
== NULL
) SWIG_fail
;
25505 arg4
= wxString_in_helper(obj3
);
25506 if (arg4
== NULL
) SWIG_fail
;
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 (arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25514 wxPyEndAllowThreads(__tstate
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25517 Py_INCREF(Py_None
); resultobj
= Py_None
;
25540 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxMenu
*arg1
= (wxMenu
*) 0 ;
25544 wxString
*arg3
= 0 ;
25545 wxMenu
*arg4
= (wxMenu
*) 0 ;
25546 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25547 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25548 bool temp3
= false ;
25549 bool temp5
= false ;
25550 PyObject
* obj0
= 0 ;
25551 PyObject
* obj2
= 0 ;
25552 PyObject
* obj3
= 0 ;
25553 PyObject
* obj4
= 0 ;
25554 char *kwnames
[] = {
25555 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_PrependMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
25559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25561 arg3
= wxString_in_helper(obj2
);
25562 if (arg3
== NULL
) SWIG_fail
;
25565 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25568 arg5
= wxString_in_helper(obj4
);
25569 if (arg5
== NULL
) SWIG_fail
;
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25575 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 Py_INCREF(Py_None
); resultobj
= Py_None
;
25603 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
;
25605 wxMenu
*arg1
= (wxMenu
*) 0 ;
25607 wxMenuItem
*result
;
25608 PyObject
* obj0
= 0 ;
25609 char *kwnames
[] = {
25610 (char *) "self",(char *) "itemid", NULL
25613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Remove",kwnames
,&obj0
,&arg2
)) goto fail
;
25614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25617 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25619 wxPyEndAllowThreads(__tstate
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25623 resultobj
= wxPyMake_wxObject(result
);
25631 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25632 PyObject
*resultobj
;
25633 wxMenu
*arg1
= (wxMenu
*) 0 ;
25634 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25635 wxMenuItem
*result
;
25636 PyObject
* obj0
= 0 ;
25637 PyObject
* obj1
= 0 ;
25638 char *kwnames
[] = {
25639 (char *) "self",(char *) "item", NULL
25642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25653 resultobj
= wxPyMake_wxObject(result
);
25661 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
;
25663 wxMenu
*arg1
= (wxMenu
*) 0 ;
25666 PyObject
* obj0
= 0 ;
25667 char *kwnames
[] = {
25668 (char *) "self",(char *) "itemid", NULL
25671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
25672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 result
= (bool)(arg1
)->Delete(arg2
);
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 resultobj
= PyInt_FromLong((long)result
);
25687 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxMenu
*arg1
= (wxMenu
*) 0 ;
25690 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 char *kwnames
[] = {
25695 (char *) "self",(char *) "item", NULL
25698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25703 result
= (bool)(arg1
)->Delete(arg2
);
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25708 resultobj
= PyInt_FromLong((long)result
);
25715 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25716 PyObject
*resultobj
;
25717 wxMenu
*arg1
= (wxMenu
*) 0 ;
25718 PyObject
* obj0
= 0 ;
25719 char *kwnames
[] = {
25720 (char *) "self", NULL
25723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
25724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 wxMenu_Destroy(arg1
);
25729 wxPyEndAllowThreads(__tstate
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25732 Py_INCREF(Py_None
); resultobj
= Py_None
;
25739 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
;
25741 wxMenu
*arg1
= (wxMenu
*) 0 ;
25744 PyObject
* obj0
= 0 ;
25745 char *kwnames
[] = {
25746 (char *) "self",(char *) "itemid", NULL
25749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_DestroyId",kwnames
,&obj0
,&arg2
)) goto fail
;
25750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 result
= (bool)(arg1
)->Destroy(arg2
);
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 resultobj
= PyInt_FromLong((long)result
);
25765 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxMenu
*arg1
= (wxMenu
*) 0 ;
25768 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25770 PyObject
* obj0
= 0 ;
25771 PyObject
* obj1
= 0 ;
25772 char *kwnames
[] = {
25773 (char *) "self",(char *) "item", NULL
25776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25778 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25781 result
= (bool)(arg1
)->Destroy(arg2
);
25783 wxPyEndAllowThreads(__tstate
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25786 resultobj
= PyInt_FromLong((long)result
);
25793 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25794 PyObject
*resultobj
;
25795 wxMenu
*arg1
= (wxMenu
*) 0 ;
25797 PyObject
* obj0
= 0 ;
25798 char *kwnames
[] = {
25799 (char *) "self", NULL
25802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
25803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25806 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
25808 wxPyEndAllowThreads(__tstate
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25811 resultobj
= PyInt_FromLong((long)result
);
25818 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25819 PyObject
*resultobj
;
25820 wxMenu
*arg1
= (wxMenu
*) 0 ;
25822 PyObject
* obj0
= 0 ;
25823 char *kwnames
[] = {
25824 (char *) "self", NULL
25827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
25828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25831 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25836 resultobj
= result
;
25843 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25844 PyObject
*resultobj
;
25845 wxMenu
*arg1
= (wxMenu
*) 0 ;
25846 wxString
*arg2
= 0 ;
25848 bool temp2
= false ;
25849 PyObject
* obj0
= 0 ;
25850 PyObject
* obj1
= 0 ;
25851 char *kwnames
[] = {
25852 (char *) "self",(char *) "item", NULL
25855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25858 arg2
= wxString_in_helper(obj1
);
25859 if (arg2
== NULL
) SWIG_fail
;
25863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25864 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25869 resultobj
= PyInt_FromLong((long)result
);
25884 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
;
25886 wxMenu
*arg1
= (wxMenu
*) 0 ;
25888 wxMenuItem
*result
;
25889 PyObject
* obj0
= 0 ;
25890 char *kwnames
[] = {
25891 (char *) "self",(char *) "itemid", NULL
25894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
25895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25904 resultobj
= wxPyMake_wxObject(result
);
25912 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25913 PyObject
*resultobj
;
25914 wxMenu
*arg1
= (wxMenu
*) 0 ;
25916 wxMenuItem
*result
;
25917 PyObject
* obj0
= 0 ;
25918 PyObject
* obj1
= 0 ;
25919 char *kwnames
[] = {
25920 (char *) "self",(char *) "position", NULL
25923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25925 arg2
= (size_t) PyInt_AsLong(obj1
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
25931 wxPyEndAllowThreads(__tstate
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= wxPyMake_wxObject(result
);
25943 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
;
25945 wxMenu
*arg1
= (wxMenu
*) 0 ;
25948 PyObject
* obj0
= 0 ;
25949 PyObject
* obj2
= 0 ;
25950 char *kwnames
[] = {
25951 (char *) "self",(char *) "itemid",(char *) "enable", NULL
25954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25956 arg3
= PyInt_AsLong(obj2
) ? true : false;
25957 if (PyErr_Occurred()) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 (arg1
)->Enable(arg2
,arg3
);
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25965 Py_INCREF(Py_None
); resultobj
= Py_None
;
25972 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
;
25974 wxMenu
*arg1
= (wxMenu
*) 0 ;
25977 PyObject
* obj0
= 0 ;
25978 char *kwnames
[] = {
25979 (char *) "self",(char *) "itemid", NULL
25982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
25983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25986 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 resultobj
= PyInt_FromLong((long)result
);
25998 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
;
26000 wxMenu
*arg1
= (wxMenu
*) 0 ;
26003 PyObject
* obj0
= 0 ;
26004 PyObject
* obj2
= 0 ;
26005 char *kwnames
[] = {
26006 (char *) "self",(char *) "itemid",(char *) "check", NULL
26009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26011 arg3
= PyInt_AsLong(obj2
) ? true : false;
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26015 (arg1
)->Check(arg2
,arg3
);
26017 wxPyEndAllowThreads(__tstate
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26020 Py_INCREF(Py_None
); resultobj
= Py_None
;
26027 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26028 PyObject
*resultobj
;
26029 wxMenu
*arg1
= (wxMenu
*) 0 ;
26032 PyObject
* obj0
= 0 ;
26033 char *kwnames
[] = {
26034 (char *) "self",(char *) "itemid", NULL
26037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
26038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26041 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
26043 wxPyEndAllowThreads(__tstate
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26046 resultobj
= PyInt_FromLong((long)result
);
26053 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26054 PyObject
*resultobj
;
26055 wxMenu
*arg1
= (wxMenu
*) 0 ;
26057 wxString
*arg3
= 0 ;
26058 bool temp3
= false ;
26059 PyObject
* obj0
= 0 ;
26060 PyObject
* obj2
= 0 ;
26061 char *kwnames
[] = {
26062 (char *) "self",(char *) "itemid",(char *) "label", NULL
26065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26068 arg3
= wxString_in_helper(obj2
);
26069 if (arg3
== NULL
) SWIG_fail
;
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26074 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26079 Py_INCREF(Py_None
); resultobj
= Py_None
;
26094 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26095 PyObject
*resultobj
;
26096 wxMenu
*arg1
= (wxMenu
*) 0 ;
26099 PyObject
* obj0
= 0 ;
26100 char *kwnames
[] = {
26101 (char *) "self",(char *) "itemid", NULL
26104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
26105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26108 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26126 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26127 PyObject
*resultobj
;
26128 wxMenu
*arg1
= (wxMenu
*) 0 ;
26130 wxString
*arg3
= 0 ;
26131 bool temp3
= false ;
26132 PyObject
* obj0
= 0 ;
26133 PyObject
* obj2
= 0 ;
26134 char *kwnames
[] = {
26135 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
26138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26141 arg3
= wxString_in_helper(obj2
);
26142 if (arg3
== NULL
) SWIG_fail
;
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
26149 wxPyEndAllowThreads(__tstate
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26152 Py_INCREF(Py_None
); resultobj
= Py_None
;
26167 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxMenu
*arg1
= (wxMenu
*) 0 ;
26172 PyObject
* obj0
= 0 ;
26173 char *kwnames
[] = {
26174 (char *) "self",(char *) "itemid", NULL
26177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
26178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26199 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26200 PyObject
*resultobj
;
26201 wxMenu
*arg1
= (wxMenu
*) 0 ;
26202 wxString
*arg2
= 0 ;
26203 bool temp2
= false ;
26204 PyObject
* obj0
= 0 ;
26205 PyObject
* obj1
= 0 ;
26206 char *kwnames
[] = {
26207 (char *) "self",(char *) "title", NULL
26210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
26211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26213 arg2
= wxString_in_helper(obj1
);
26214 if (arg2
== NULL
) SWIG_fail
;
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 (arg1
)->SetTitle((wxString
const &)*arg2
);
26221 wxPyEndAllowThreads(__tstate
);
26222 if (PyErr_Occurred()) SWIG_fail
;
26224 Py_INCREF(Py_None
); resultobj
= Py_None
;
26239 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26240 PyObject
*resultobj
;
26241 wxMenu
*arg1
= (wxMenu
*) 0 ;
26243 PyObject
* obj0
= 0 ;
26244 char *kwnames
[] = {
26245 (char *) "self", NULL
26248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
26249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 result
= ((wxMenu
const *)arg1
)->GetTitle();
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26270 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
;
26272 wxMenu
*arg1
= (wxMenu
*) 0 ;
26273 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
26274 PyObject
* obj0
= 0 ;
26275 PyObject
* obj1
= 0 ;
26276 char *kwnames
[] = {
26277 (char *) "self",(char *) "handler", NULL
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
26281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26282 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 (arg1
)->SetEventHandler(arg2
);
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 Py_INCREF(Py_None
); resultobj
= Py_None
;
26297 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26298 PyObject
*resultobj
;
26299 wxMenu
*arg1
= (wxMenu
*) 0 ;
26300 wxEvtHandler
*result
;
26301 PyObject
* obj0
= 0 ;
26302 char *kwnames
[] = {
26303 (char *) "self", NULL
26306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
26307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26310 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
26312 wxPyEndAllowThreads(__tstate
);
26313 if (PyErr_Occurred()) SWIG_fail
;
26316 resultobj
= wxPyMake_wxObject(result
);
26324 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26325 PyObject
*resultobj
;
26326 wxMenu
*arg1
= (wxMenu
*) 0 ;
26327 wxWindow
*arg2
= (wxWindow
*) 0 ;
26328 PyObject
* obj0
= 0 ;
26329 PyObject
* obj1
= 0 ;
26330 char *kwnames
[] = {
26331 (char *) "self",(char *) "win", NULL
26334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
26335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 (arg1
)->SetInvokingWindow(arg2
);
26341 wxPyEndAllowThreads(__tstate
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26344 Py_INCREF(Py_None
); resultobj
= Py_None
;
26351 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26352 PyObject
*resultobj
;
26353 wxMenu
*arg1
= (wxMenu
*) 0 ;
26355 PyObject
* obj0
= 0 ;
26356 char *kwnames
[] = {
26357 (char *) "self", NULL
26360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
26361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26364 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= wxPyMake_wxObject(result
);
26378 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
;
26380 wxMenu
*arg1
= (wxMenu
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 char *kwnames
[] = {
26384 (char *) "self", NULL
26387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
26388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26391 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 resultobj
= PyInt_FromLong((long)result
);
26403 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26404 PyObject
*resultobj
;
26405 wxMenu
*arg1
= (wxMenu
*) 0 ;
26406 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
26407 PyObject
* obj0
= 0 ;
26408 PyObject
* obj1
= 0 ;
26409 char *kwnames
[] = {
26410 (char *) "self",(char *) "source", NULL
26413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26416 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26420 (arg1
)->UpdateUI(arg2
);
26422 wxPyEndAllowThreads(__tstate
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26425 Py_INCREF(Py_None
); resultobj
= Py_None
;
26432 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26433 PyObject
*resultobj
;
26434 wxMenu
*arg1
= (wxMenu
*) 0 ;
26436 PyObject
* obj0
= 0 ;
26437 char *kwnames
[] = {
26438 (char *) "self", NULL
26441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
26442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26451 resultobj
= wxPyMake_wxObject(result
);
26459 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26460 PyObject
*resultobj
;
26461 wxMenu
*arg1
= (wxMenu
*) 0 ;
26462 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
26463 PyObject
* obj0
= 0 ;
26464 PyObject
* obj1
= 0 ;
26465 char *kwnames
[] = {
26466 (char *) "self",(char *) "menubar", NULL
26469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
26470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 (arg1
)->Attach(arg2
);
26476 wxPyEndAllowThreads(__tstate
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26479 Py_INCREF(Py_None
); resultobj
= Py_None
;
26486 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26487 PyObject
*resultobj
;
26488 wxMenu
*arg1
= (wxMenu
*) 0 ;
26489 PyObject
* obj0
= 0 ;
26490 char *kwnames
[] = {
26491 (char *) "self", NULL
26494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
26495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 wxPyEndAllowThreads(__tstate
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26503 Py_INCREF(Py_None
); resultobj
= Py_None
;
26510 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
;
26512 wxMenu
*arg1
= (wxMenu
*) 0 ;
26514 PyObject
* obj0
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
26525 wxPyEndAllowThreads(__tstate
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 resultobj
= PyInt_FromLong((long)result
);
26535 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26536 PyObject
*resultobj
;
26537 wxMenu
*arg1
= (wxMenu
*) 0 ;
26538 wxMenu
*arg2
= (wxMenu
*) 0 ;
26539 PyObject
* obj0
= 0 ;
26540 PyObject
* obj1
= 0 ;
26541 char *kwnames
[] = {
26542 (char *) "self",(char *) "parent", NULL
26545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26547 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26550 (arg1
)->SetParent(arg2
);
26552 wxPyEndAllowThreads(__tstate
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26555 Py_INCREF(Py_None
); resultobj
= Py_None
;
26562 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26563 PyObject
*resultobj
;
26564 wxMenu
*arg1
= (wxMenu
*) 0 ;
26566 PyObject
* obj0
= 0 ;
26567 char *kwnames
[] = {
26568 (char *) "self", NULL
26571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
26572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26575 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
26577 wxPyEndAllowThreads(__tstate
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26581 resultobj
= wxPyMake_wxObject(result
);
26589 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
26591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26592 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
26594 return Py_BuildValue((char *)"");
26596 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
;
26598 long arg1
= (long) 0 ;
26600 char *kwnames
[] = {
26601 (char *) "style", NULL
26604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|l:new_MenuBar",kwnames
,&arg1
)) goto fail
;
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26613 resultobj
= wxPyMake_wxObject(result
);
26621 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
;
26623 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26624 wxMenu
*arg2
= (wxMenu
*) 0 ;
26625 wxString
*arg3
= 0 ;
26627 bool temp3
= false ;
26628 PyObject
* obj0
= 0 ;
26629 PyObject
* obj1
= 0 ;
26630 PyObject
* obj2
= 0 ;
26631 char *kwnames
[] = {
26632 (char *) "self",(char *) "menu",(char *) "title", NULL
26635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26637 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26639 arg3
= wxString_in_helper(obj2
);
26640 if (arg3
== NULL
) SWIG_fail
;
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26650 resultobj
= PyInt_FromLong((long)result
);
26665 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26666 PyObject
*resultobj
;
26667 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26669 wxMenu
*arg3
= (wxMenu
*) 0 ;
26670 wxString
*arg4
= 0 ;
26672 bool temp4
= false ;
26673 PyObject
* obj0
= 0 ;
26674 PyObject
* obj1
= 0 ;
26675 PyObject
* obj2
= 0 ;
26676 PyObject
* obj3
= 0 ;
26677 char *kwnames
[] = {
26678 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26683 arg2
= (size_t) PyInt_AsLong(obj1
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26685 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26687 arg4
= wxString_in_helper(obj3
);
26688 if (arg4
== NULL
) SWIG_fail
;
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 resultobj
= PyInt_FromLong((long)result
);
26713 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
;
26715 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26717 PyObject
* obj0
= 0 ;
26718 char *kwnames
[] = {
26719 (char *) "self", NULL
26722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
26723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
26728 wxPyEndAllowThreads(__tstate
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26731 resultobj
= PyInt_FromLong((long)result
);
26738 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
;
26740 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26743 PyObject
* obj0
= 0 ;
26744 PyObject
* obj1
= 0 ;
26745 char *kwnames
[] = {
26746 (char *) "self",(char *) "pos", NULL
26749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
26750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26751 arg2
= (size_t) PyInt_AsLong(obj1
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26755 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
26757 wxPyEndAllowThreads(__tstate
);
26758 if (PyErr_Occurred()) SWIG_fail
;
26761 resultobj
= wxPyMake_wxObject(result
);
26769 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
;
26771 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26773 wxMenu
*arg3
= (wxMenu
*) 0 ;
26774 wxString
*arg4
= 0 ;
26776 bool temp4
= false ;
26777 PyObject
* obj0
= 0 ;
26778 PyObject
* obj1
= 0 ;
26779 PyObject
* obj2
= 0 ;
26780 PyObject
* obj3
= 0 ;
26781 char *kwnames
[] = {
26782 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26787 arg2
= (size_t) PyInt_AsLong(obj1
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26789 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26791 arg4
= wxString_in_helper(obj3
);
26792 if (arg4
== NULL
) SWIG_fail
;
26796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26797 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
26799 wxPyEndAllowThreads(__tstate
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= wxPyMake_wxObject(result
);
26819 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26820 PyObject
*resultobj
;
26821 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26824 PyObject
* obj0
= 0 ;
26825 PyObject
* obj1
= 0 ;
26826 char *kwnames
[] = {
26827 (char *) "self",(char *) "pos", NULL
26830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
26831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26832 arg2
= (size_t) PyInt_AsLong(obj1
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
26838 wxPyEndAllowThreads(__tstate
);
26839 if (PyErr_Occurred()) SWIG_fail
;
26842 resultobj
= wxPyMake_wxObject(result
);
26850 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26851 PyObject
*resultobj
;
26852 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26855 PyObject
* obj0
= 0 ;
26856 PyObject
* obj1
= 0 ;
26857 PyObject
* obj2
= 0 ;
26858 char *kwnames
[] = {
26859 (char *) "self",(char *) "pos",(char *) "enable", NULL
26862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26864 arg2
= (size_t) PyInt_AsLong(obj1
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26866 arg3
= PyInt_AsLong(obj2
) ? true : false;
26867 if (PyErr_Occurred()) SWIG_fail
;
26869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 (arg1
)->EnableTop(arg2
,arg3
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26875 Py_INCREF(Py_None
); resultobj
= Py_None
;
26882 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26883 PyObject
*resultobj
;
26884 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26887 PyObject
* obj0
= 0 ;
26888 PyObject
* obj1
= 0 ;
26889 char *kwnames
[] = {
26890 (char *) "self",(char *) "pos", NULL
26893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
26894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26895 arg2
= (size_t) PyInt_AsLong(obj1
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26904 resultobj
= PyInt_FromLong((long)result
);
26911 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26912 PyObject
*resultobj
;
26913 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26915 wxString
*arg3
= 0 ;
26916 bool temp3
= false ;
26917 PyObject
* obj0
= 0 ;
26918 PyObject
* obj1
= 0 ;
26919 PyObject
* obj2
= 0 ;
26920 char *kwnames
[] = {
26921 (char *) "self",(char *) "pos",(char *) "label", NULL
26924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26926 arg2
= (size_t) PyInt_AsLong(obj1
);
26927 if (PyErr_Occurred()) SWIG_fail
;
26929 arg3
= wxString_in_helper(obj2
);
26930 if (arg3
== NULL
) SWIG_fail
;
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26940 Py_INCREF(Py_None
); resultobj
= Py_None
;
26955 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26956 PyObject
*resultobj
;
26957 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26960 PyObject
* obj0
= 0 ;
26961 PyObject
* obj1
= 0 ;
26962 char *kwnames
[] = {
26963 (char *) "self",(char *) "pos", NULL
26966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
26967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26968 arg2
= (size_t) PyInt_AsLong(obj1
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26972 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
26974 wxPyEndAllowThreads(__tstate
);
26975 if (PyErr_Occurred()) SWIG_fail
;
26979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26990 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26991 PyObject
*resultobj
;
26992 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26993 wxString
*arg2
= 0 ;
26994 wxString
*arg3
= 0 ;
26996 bool temp2
= false ;
26997 bool temp3
= false ;
26998 PyObject
* obj0
= 0 ;
26999 PyObject
* obj1
= 0 ;
27000 PyObject
* obj2
= 0 ;
27001 char *kwnames
[] = {
27002 (char *) "self",(char *) "menu",(char *) "item", NULL
27005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27008 arg2
= wxString_in_helper(obj1
);
27009 if (arg2
== NULL
) SWIG_fail
;
27013 arg3
= wxString_in_helper(obj2
);
27014 if (arg3
== NULL
) SWIG_fail
;
27018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27019 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27024 resultobj
= PyInt_FromLong((long)result
);
27047 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27048 PyObject
*resultobj
;
27049 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27051 wxMenuItem
*result
;
27052 PyObject
* obj0
= 0 ;
27053 char *kwnames
[] = {
27054 (char *) "self",(char *) "itemid", NULL
27057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
27058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27061 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
27063 wxPyEndAllowThreads(__tstate
);
27064 if (PyErr_Occurred()) SWIG_fail
;
27067 resultobj
= wxPyMake_wxObject(result
);
27075 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27076 PyObject
*resultobj
;
27077 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27078 wxString
*arg2
= 0 ;
27080 bool temp2
= false ;
27081 PyObject
* obj0
= 0 ;
27082 PyObject
* obj1
= 0 ;
27083 char *kwnames
[] = {
27084 (char *) "self",(char *) "title", NULL
27087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27090 arg2
= wxString_in_helper(obj1
);
27091 if (arg2
== NULL
) SWIG_fail
;
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27096 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
27098 wxPyEndAllowThreads(__tstate
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27101 resultobj
= PyInt_FromLong((long)result
);
27116 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27117 PyObject
*resultobj
;
27118 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27121 PyObject
* obj0
= 0 ;
27122 PyObject
* obj2
= 0 ;
27123 char *kwnames
[] = {
27124 (char *) "self",(char *) "itemid",(char *) "enable", NULL
27127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27129 arg3
= PyInt_AsLong(obj2
) ? true : false;
27130 if (PyErr_Occurred()) SWIG_fail
;
27132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27133 (arg1
)->Enable(arg2
,arg3
);
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27138 Py_INCREF(Py_None
); resultobj
= Py_None
;
27145 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
;
27147 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27150 PyObject
* obj0
= 0 ;
27151 PyObject
* obj2
= 0 ;
27152 char *kwnames
[] = {
27153 (char *) "self",(char *) "itemid",(char *) "check", NULL
27156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27158 arg3
= PyInt_AsLong(obj2
) ? true : false;
27159 if (PyErr_Occurred()) SWIG_fail
;
27161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27162 (arg1
)->Check(arg2
,arg3
);
27164 wxPyEndAllowThreads(__tstate
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27167 Py_INCREF(Py_None
); resultobj
= Py_None
;
27174 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27175 PyObject
*resultobj
;
27176 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27179 PyObject
* obj0
= 0 ;
27180 char *kwnames
[] = {
27181 (char *) "self",(char *) "itemid", NULL
27184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
27185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27193 resultobj
= PyInt_FromLong((long)result
);
27200 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27205 PyObject
* obj0
= 0 ;
27206 char *kwnames
[] = {
27207 (char *) "self",(char *) "itemid", NULL
27210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
27211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27219 resultobj
= PyInt_FromLong((long)result
);
27226 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27227 PyObject
*resultobj
;
27228 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27230 wxString
*arg3
= 0 ;
27231 bool temp3
= false ;
27232 PyObject
* obj0
= 0 ;
27233 PyObject
* obj2
= 0 ;
27234 char *kwnames
[] = {
27235 (char *) "self",(char *) "itemid",(char *) "label", NULL
27238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27241 arg3
= wxString_in_helper(obj2
);
27242 if (arg3
== NULL
) SWIG_fail
;
27246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27252 Py_INCREF(Py_None
); resultobj
= Py_None
;
27267 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27268 PyObject
*resultobj
;
27269 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27272 PyObject
* obj0
= 0 ;
27273 char *kwnames
[] = {
27274 (char *) "self",(char *) "itemid", NULL
27277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
27278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27281 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
27283 wxPyEndAllowThreads(__tstate
);
27284 if (PyErr_Occurred()) SWIG_fail
;
27288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27299 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27300 PyObject
*resultobj
;
27301 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27303 wxString
*arg3
= 0 ;
27304 bool temp3
= false ;
27305 PyObject
* obj0
= 0 ;
27306 PyObject
* obj2
= 0 ;
27307 char *kwnames
[] = {
27308 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
27311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27314 arg3
= wxString_in_helper(obj2
);
27315 if (arg3
== NULL
) SWIG_fail
;
27319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27320 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
27322 wxPyEndAllowThreads(__tstate
);
27323 if (PyErr_Occurred()) SWIG_fail
;
27325 Py_INCREF(Py_None
); resultobj
= Py_None
;
27340 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27341 PyObject
*resultobj
;
27342 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27345 PyObject
* obj0
= 0 ;
27346 char *kwnames
[] = {
27347 (char *) "self",(char *) "itemid", NULL
27350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
27351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27372 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27373 PyObject
*resultobj
;
27374 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27376 PyObject
* obj0
= 0 ;
27377 char *kwnames
[] = {
27378 (char *) "self", NULL
27381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
27382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27385 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
27387 wxPyEndAllowThreads(__tstate
);
27388 if (PyErr_Occurred()) SWIG_fail
;
27391 resultobj
= wxPyMake_wxObject(result
);
27399 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27400 PyObject
*resultobj
;
27401 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27403 PyObject
* obj0
= 0 ;
27404 char *kwnames
[] = {
27405 (char *) "self", NULL
27408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
27409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27412 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27417 resultobj
= PyInt_FromLong((long)result
);
27424 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
;
27426 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27427 wxFrame
*arg2
= (wxFrame
*) 0 ;
27428 PyObject
* obj0
= 0 ;
27429 PyObject
* obj1
= 0 ;
27430 char *kwnames
[] = {
27431 (char *) "self",(char *) "frame", NULL
27434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
27435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27436 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27439 (arg1
)->Attach(arg2
);
27441 wxPyEndAllowThreads(__tstate
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27444 Py_INCREF(Py_None
); resultobj
= Py_None
;
27451 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27452 PyObject
*resultobj
;
27453 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27454 PyObject
* obj0
= 0 ;
27455 char *kwnames
[] = {
27456 (char *) "self", NULL
27459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
27460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27465 wxPyEndAllowThreads(__tstate
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27468 Py_INCREF(Py_None
); resultobj
= Py_None
;
27475 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
27477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27478 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
27480 return Py_BuildValue((char *)"");
27482 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 wxMenu
*arg1
= (wxMenu
*) NULL
;
27485 int arg2
= (int) wxID_SEPARATOR
;
27486 wxString
const &arg3_defvalue
= wxPyEmptyString
;
27487 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27488 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27489 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27490 int arg5
= (int) wxITEM_NORMAL
;
27491 wxMenu
*arg6
= (wxMenu
*) NULL
;
27492 wxMenuItem
*result
;
27493 bool temp3
= false ;
27494 bool temp4
= false ;
27495 PyObject
* obj0
= 0 ;
27496 PyObject
* obj2
= 0 ;
27497 PyObject
* obj3
= 0 ;
27498 PyObject
* obj5
= 0 ;
27499 char *kwnames
[] = {
27500 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOiO:new_MenuItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
27505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27509 arg3
= wxString_in_helper(obj2
);
27510 if (arg3
== NULL
) SWIG_fail
;
27516 arg4
= wxString_in_helper(obj3
);
27517 if (arg4
== NULL
) SWIG_fail
;
27522 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
27528 wxPyEndAllowThreads(__tstate
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27532 resultobj
= wxPyMake_wxObject(result
);
27556 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27557 PyObject
*resultobj
;
27558 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27560 PyObject
* obj0
= 0 ;
27561 char *kwnames
[] = {
27562 (char *) "self", NULL
27565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
27566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27569 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
27571 wxPyEndAllowThreads(__tstate
);
27572 if (PyErr_Occurred()) SWIG_fail
;
27575 resultobj
= wxPyMake_wxObject(result
);
27583 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27584 PyObject
*resultobj
;
27585 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27586 wxMenu
*arg2
= (wxMenu
*) 0 ;
27587 PyObject
* obj0
= 0 ;
27588 PyObject
* obj1
= 0 ;
27589 char *kwnames
[] = {
27590 (char *) "self",(char *) "menu", NULL
27593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 (arg1
)->SetMenu(arg2
);
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27603 Py_INCREF(Py_None
); resultobj
= Py_None
;
27610 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27611 PyObject
*resultobj
;
27612 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27614 PyObject
* obj0
= 0 ;
27615 char *kwnames
[] = {
27616 (char *) "self",(char *) "itemid", NULL
27619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
27620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27623 (arg1
)->SetId(arg2
);
27625 wxPyEndAllowThreads(__tstate
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27628 Py_INCREF(Py_None
); resultobj
= Py_None
;
27635 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27636 PyObject
*resultobj
;
27637 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27639 PyObject
* obj0
= 0 ;
27640 char *kwnames
[] = {
27641 (char *) "self", NULL
27644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
27645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27648 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
27650 wxPyEndAllowThreads(__tstate
);
27651 if (PyErr_Occurred()) SWIG_fail
;
27653 resultobj
= PyInt_FromLong((long)result
);
27660 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27661 PyObject
*resultobj
;
27662 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27664 PyObject
* obj0
= 0 ;
27665 char *kwnames
[] = {
27666 (char *) "self", NULL
27669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
27670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27673 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
27675 wxPyEndAllowThreads(__tstate
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27678 resultobj
= PyInt_FromLong((long)result
);
27685 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27686 PyObject
*resultobj
;
27687 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27688 wxString
*arg2
= 0 ;
27689 bool temp2
= false ;
27690 PyObject
* obj0
= 0 ;
27691 PyObject
* obj1
= 0 ;
27692 char *kwnames
[] = {
27693 (char *) "self",(char *) "str", NULL
27696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27699 arg2
= wxString_in_helper(obj1
);
27700 if (arg2
== NULL
) SWIG_fail
;
27704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27705 (arg1
)->SetText((wxString
const &)*arg2
);
27707 wxPyEndAllowThreads(__tstate
);
27708 if (PyErr_Occurred()) SWIG_fail
;
27710 Py_INCREF(Py_None
); resultobj
= Py_None
;
27725 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27729 PyObject
* obj0
= 0 ;
27730 char *kwnames
[] = {
27731 (char *) "self", NULL
27734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
27735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27738 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
27740 wxPyEndAllowThreads(__tstate
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27756 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27757 PyObject
*resultobj
;
27758 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27760 PyObject
* obj0
= 0 ;
27761 char *kwnames
[] = {
27762 (char *) "self", NULL
27765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
27766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
27771 result
= (wxString
*) &_result_ref
;
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27777 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
27784 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
;
27786 wxString
*arg1
= 0 ;
27788 bool temp1
= false ;
27789 PyObject
* obj0
= 0 ;
27790 char *kwnames
[] = {
27791 (char *) "text", NULL
27794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
27796 arg1
= wxString_in_helper(obj0
);
27797 if (arg1
== NULL
) SWIG_fail
;
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
27804 wxPyEndAllowThreads(__tstate
);
27805 if (PyErr_Occurred()) SWIG_fail
;
27809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27828 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27829 PyObject
*resultobj
;
27830 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27832 PyObject
* obj0
= 0 ;
27833 char *kwnames
[] = {
27834 (char *) "self", NULL
27837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
27838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27841 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
27843 wxPyEndAllowThreads(__tstate
);
27844 if (PyErr_Occurred()) SWIG_fail
;
27846 resultobj
= PyInt_FromLong((long)result
);
27853 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27854 PyObject
*resultobj
;
27855 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27857 PyObject
* obj0
= 0 ;
27858 PyObject
* obj1
= 0 ;
27859 char *kwnames
[] = {
27860 (char *) "self",(char *) "checkable", NULL
27863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
27864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27865 arg2
= PyInt_AsLong(obj1
) ? true : false;
27866 if (PyErr_Occurred()) SWIG_fail
;
27868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27869 (arg1
)->SetCheckable(arg2
);
27871 wxPyEndAllowThreads(__tstate
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27874 Py_INCREF(Py_None
); resultobj
= Py_None
;
27881 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27882 PyObject
*resultobj
;
27883 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27885 PyObject
* obj0
= 0 ;
27886 char *kwnames
[] = {
27887 (char *) "self", NULL
27890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
27891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27894 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
27896 wxPyEndAllowThreads(__tstate
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27899 resultobj
= PyInt_FromLong((long)result
);
27906 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27907 PyObject
*resultobj
;
27908 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27910 PyObject
* obj0
= 0 ;
27911 char *kwnames
[] = {
27912 (char *) "self", NULL
27915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
27916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
27921 wxPyEndAllowThreads(__tstate
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27924 resultobj
= PyInt_FromLong((long)result
);
27931 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27932 PyObject
*resultobj
;
27933 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27934 wxMenu
*arg2
= (wxMenu
*) 0 ;
27935 PyObject
* obj0
= 0 ;
27936 PyObject
* obj1
= 0 ;
27937 char *kwnames
[] = {
27938 (char *) "self",(char *) "menu", NULL
27941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27943 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 (arg1
)->SetSubMenu(arg2
);
27948 wxPyEndAllowThreads(__tstate
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27951 Py_INCREF(Py_None
); resultobj
= Py_None
;
27958 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27959 PyObject
*resultobj
;
27960 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27962 PyObject
* obj0
= 0 ;
27963 char *kwnames
[] = {
27964 (char *) "self", NULL
27967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
27968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27971 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
27973 wxPyEndAllowThreads(__tstate
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27977 resultobj
= wxPyMake_wxObject(result
);
27985 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27986 PyObject
*resultobj
;
27987 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27988 bool arg2
= (bool) TRUE
;
27989 PyObject
* obj0
= 0 ;
27990 PyObject
* obj1
= 0 ;
27991 char *kwnames
[] = {
27992 (char *) "self",(char *) "enable", NULL
27995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27998 arg2
= PyInt_AsLong(obj1
) ? true : false;
27999 if (PyErr_Occurred()) SWIG_fail
;
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 (arg1
)->Enable(arg2
);
28005 wxPyEndAllowThreads(__tstate
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28008 Py_INCREF(Py_None
); resultobj
= Py_None
;
28015 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28016 PyObject
*resultobj
;
28017 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28019 PyObject
* obj0
= 0 ;
28020 char *kwnames
[] = {
28021 (char *) "self", NULL
28024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
28025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28028 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
28030 wxPyEndAllowThreads(__tstate
);
28031 if (PyErr_Occurred()) SWIG_fail
;
28033 resultobj
= PyInt_FromLong((long)result
);
28040 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28041 PyObject
*resultobj
;
28042 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28043 bool arg2
= (bool) TRUE
;
28044 PyObject
* obj0
= 0 ;
28045 PyObject
* obj1
= 0 ;
28046 char *kwnames
[] = {
28047 (char *) "self",(char *) "check", NULL
28050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
28051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28053 arg2
= PyInt_AsLong(obj1
) ? true : false;
28054 if (PyErr_Occurred()) SWIG_fail
;
28057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28058 (arg1
)->Check(arg2
);
28060 wxPyEndAllowThreads(__tstate
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28063 Py_INCREF(Py_None
); resultobj
= Py_None
;
28070 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
;
28072 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28074 PyObject
* obj0
= 0 ;
28075 char *kwnames
[] = {
28076 (char *) "self", NULL
28079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
28080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28083 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
28085 wxPyEndAllowThreads(__tstate
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28088 resultobj
= PyInt_FromLong((long)result
);
28095 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28096 PyObject
*resultobj
;
28097 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28098 PyObject
* obj0
= 0 ;
28099 char *kwnames
[] = {
28100 (char *) "self", NULL
28103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
28104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 wxPyEndAllowThreads(__tstate
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28112 Py_INCREF(Py_None
); resultobj
= Py_None
;
28119 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28122 wxString
*arg2
= 0 ;
28123 bool temp2
= false ;
28124 PyObject
* obj0
= 0 ;
28125 PyObject
* obj1
= 0 ;
28126 char *kwnames
[] = {
28127 (char *) "self",(char *) "str", NULL
28130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28133 arg2
= wxString_in_helper(obj1
);
28134 if (arg2
== NULL
) SWIG_fail
;
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28139 (arg1
)->SetHelp((wxString
const &)*arg2
);
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28144 Py_INCREF(Py_None
); resultobj
= Py_None
;
28159 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28160 PyObject
*resultobj
;
28161 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28163 PyObject
* obj0
= 0 ;
28164 char *kwnames
[] = {
28165 (char *) "self", NULL
28168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
28169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28173 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
28174 result
= (wxString
*) &_result_ref
;
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
28187 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28188 PyObject
*resultobj
;
28189 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28190 wxAcceleratorEntry
*result
;
28191 PyObject
* obj0
= 0 ;
28192 char *kwnames
[] = {
28193 (char *) "self", NULL
28196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
28197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28200 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
28202 wxPyEndAllowThreads(__tstate
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
28212 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28213 PyObject
*resultobj
;
28214 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28215 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
28216 PyObject
* obj0
= 0 ;
28217 PyObject
* obj1
= 0 ;
28218 char *kwnames
[] = {
28219 (char *) "self",(char *) "accel", NULL
28222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
28223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28224 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28227 (arg1
)->SetAccel(arg2
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28232 Py_INCREF(Py_None
); resultobj
= Py_None
;
28239 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
;
28241 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28243 PyObject
* obj0
= 0 ;
28244 PyObject
* obj1
= 0 ;
28245 char *kwnames
[] = {
28246 (char *) "self",(char *) "font", NULL
28249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28251 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28252 if (arg2
== NULL
) {
28253 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28257 (arg1
)->SetFont((wxFont
const &)*arg2
);
28259 wxPyEndAllowThreads(__tstate
);
28260 if (PyErr_Occurred()) SWIG_fail
;
28262 Py_INCREF(Py_None
); resultobj
= Py_None
;
28269 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28270 PyObject
*resultobj
;
28271 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28273 PyObject
* obj0
= 0 ;
28274 char *kwnames
[] = {
28275 (char *) "self", NULL
28278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
28279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28282 result
= (arg1
)->GetFont();
28284 wxPyEndAllowThreads(__tstate
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28288 wxFont
* resultptr
;
28289 resultptr
= new wxFont((wxFont
&) result
);
28290 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
28298 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
;
28300 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28301 wxColour
*arg2
= 0 ;
28303 PyObject
* obj0
= 0 ;
28304 PyObject
* obj1
= 0 ;
28305 char *kwnames
[] = {
28306 (char *) "self",(char *) "colText", NULL
28309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28313 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28317 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
28319 wxPyEndAllowThreads(__tstate
);
28320 if (PyErr_Occurred()) SWIG_fail
;
28322 Py_INCREF(Py_None
); resultobj
= Py_None
;
28329 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28330 PyObject
*resultobj
;
28331 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28333 PyObject
* obj0
= 0 ;
28334 char *kwnames
[] = {
28335 (char *) "self", NULL
28338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
28339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28342 result
= (arg1
)->GetTextColour();
28344 wxPyEndAllowThreads(__tstate
);
28345 if (PyErr_Occurred()) SWIG_fail
;
28348 wxColour
* resultptr
;
28349 resultptr
= new wxColour((wxColour
&) result
);
28350 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
28358 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28359 PyObject
*resultobj
;
28360 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28361 wxColour
*arg2
= 0 ;
28363 PyObject
* obj0
= 0 ;
28364 PyObject
* obj1
= 0 ;
28365 char *kwnames
[] = {
28366 (char *) "self",(char *) "colBack", NULL
28369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28373 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28377 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
28379 wxPyEndAllowThreads(__tstate
);
28380 if (PyErr_Occurred()) SWIG_fail
;
28382 Py_INCREF(Py_None
); resultobj
= Py_None
;
28389 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28390 PyObject
*resultobj
;
28391 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28393 PyObject
* obj0
= 0 ;
28394 char *kwnames
[] = {
28395 (char *) "self", NULL
28398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
28399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 result
= (arg1
)->GetBackgroundColour();
28404 wxPyEndAllowThreads(__tstate
);
28405 if (PyErr_Occurred()) SWIG_fail
;
28408 wxColour
* resultptr
;
28409 resultptr
= new wxColour((wxColour
&) result
);
28410 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
28418 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28419 PyObject
*resultobj
;
28420 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28421 wxBitmap
*arg2
= 0 ;
28422 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
28423 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
28424 PyObject
* obj0
= 0 ;
28425 PyObject
* obj1
= 0 ;
28426 PyObject
* obj2
= 0 ;
28427 char *kwnames
[] = {
28428 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
28431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28433 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28434 if (arg2
== NULL
) {
28435 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28438 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28439 if (arg3
== NULL
) {
28440 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
28447 wxPyEndAllowThreads(__tstate
);
28448 if (PyErr_Occurred()) SWIG_fail
;
28450 Py_INCREF(Py_None
); resultobj
= Py_None
;
28457 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28458 PyObject
*resultobj
;
28459 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28460 wxBitmap
*arg2
= 0 ;
28461 PyObject
* obj0
= 0 ;
28462 PyObject
* obj1
= 0 ;
28463 char *kwnames
[] = {
28464 (char *) "self",(char *) "bmpDisabled", NULL
28467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28470 if (arg2
== NULL
) {
28471 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
28477 wxPyEndAllowThreads(__tstate
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28480 Py_INCREF(Py_None
); resultobj
= Py_None
;
28487 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28488 PyObject
*resultobj
;
28489 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28491 PyObject
* obj0
= 0 ;
28492 char *kwnames
[] = {
28493 (char *) "self", NULL
28496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
28497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28501 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
28502 result
= (wxBitmap
*) &_result_ref
;
28505 wxPyEndAllowThreads(__tstate
);
28506 if (PyErr_Occurred()) SWIG_fail
;
28508 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
28515 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
;
28517 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28519 PyObject
* obj0
= 0 ;
28520 char *kwnames
[] = {
28521 (char *) "self",(char *) "nWidth", NULL
28524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuItem_SetMarginWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
28525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28528 (arg1
)->SetMarginWidth(arg2
);
28530 wxPyEndAllowThreads(__tstate
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28533 Py_INCREF(Py_None
); resultobj
= Py_None
;
28540 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28544 PyObject
* obj0
= 0 ;
28545 char *kwnames
[] = {
28546 (char *) "self", NULL
28549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
28550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 result
= (int)(arg1
)->GetMarginWidth();
28555 wxPyEndAllowThreads(__tstate
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28558 resultobj
= PyInt_FromLong((long)result
);
28565 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28566 PyObject
*resultobj
;
28568 char *kwnames
[] = {
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 result
= (int)wxMenuItem::GetDefaultMarginWidth();
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28580 resultobj
= PyInt_FromLong((long)result
);
28587 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28588 PyObject
*resultobj
;
28589 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28591 PyObject
* obj0
= 0 ;
28592 char *kwnames
[] = {
28593 (char *) "self", NULL
28596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
28597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28600 result
= (bool)(arg1
)->IsOwnerDrawn();
28602 wxPyEndAllowThreads(__tstate
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28605 resultobj
= PyInt_FromLong((long)result
);
28612 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28613 PyObject
*resultobj
;
28614 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28615 bool arg2
= (bool) TRUE
;
28616 PyObject
* obj0
= 0 ;
28617 PyObject
* obj1
= 0 ;
28618 char *kwnames
[] = {
28619 (char *) "self",(char *) "ownerDrawn", NULL
28622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
28623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28625 arg2
= PyInt_AsLong(obj1
) ? true : false;
28626 if (PyErr_Occurred()) SWIG_fail
;
28629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28630 (arg1
)->SetOwnerDrawn(arg2
);
28632 wxPyEndAllowThreads(__tstate
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28635 Py_INCREF(Py_None
); resultobj
= Py_None
;
28642 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28643 PyObject
*resultobj
;
28644 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28645 PyObject
* obj0
= 0 ;
28646 char *kwnames
[] = {
28647 (char *) "self", NULL
28650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
28651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28654 (arg1
)->ResetOwnerDrawn();
28656 wxPyEndAllowThreads(__tstate
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28659 Py_INCREF(Py_None
); resultobj
= Py_None
;
28666 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28667 PyObject
*resultobj
;
28668 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28669 wxBitmap
*arg2
= 0 ;
28670 PyObject
* obj0
= 0 ;
28671 PyObject
* obj1
= 0 ;
28672 char *kwnames
[] = {
28673 (char *) "self",(char *) "bitmap", NULL
28676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28678 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28679 if (arg2
== NULL
) {
28680 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28689 Py_INCREF(Py_None
); resultobj
= Py_None
;
28696 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28697 PyObject
*resultobj
;
28698 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28700 PyObject
* obj0
= 0 ;
28701 char *kwnames
[] = {
28702 (char *) "self", NULL
28705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
28706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28710 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
28711 result
= (wxBitmap
*) &_result_ref
;
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28717 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
28724 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
28726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28727 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
28729 return Py_BuildValue((char *)"");
28731 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28732 PyObject
*resultobj
;
28733 wxWindow
*arg1
= (wxWindow
*) 0 ;
28735 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28736 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28737 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28738 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28739 long arg5
= (long) 0 ;
28740 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28741 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28742 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28743 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28747 bool temp7
= false ;
28748 PyObject
* obj0
= 0 ;
28749 PyObject
* obj2
= 0 ;
28750 PyObject
* obj3
= 0 ;
28751 PyObject
* obj5
= 0 ;
28752 PyObject
* obj6
= 0 ;
28753 char *kwnames
[] = {
28754 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_Control",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
28758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28762 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28768 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28772 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28773 if (arg6
== NULL
) {
28774 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28779 arg7
= wxString_in_helper(obj6
);
28780 if (arg7
== NULL
) SWIG_fail
;
28785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28786 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28792 resultobj
= wxPyMake_wxObject(result
);
28808 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28809 PyObject
*resultobj
;
28811 char *kwnames
[] = {
28815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
28817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28818 result
= (wxControl
*)new wxControl();
28820 wxPyEndAllowThreads(__tstate
);
28821 if (PyErr_Occurred()) SWIG_fail
;
28824 resultobj
= wxPyMake_wxObject(result
);
28832 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28833 PyObject
*resultobj
;
28834 wxControl
*arg1
= (wxControl
*) 0 ;
28835 wxWindow
*arg2
= (wxWindow
*) 0 ;
28837 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28838 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28839 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28840 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28841 long arg6
= (long) 0 ;
28842 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28843 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28844 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
28845 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28849 bool temp8
= false ;
28850 PyObject
* obj0
= 0 ;
28851 PyObject
* obj1
= 0 ;
28852 PyObject
* obj3
= 0 ;
28853 PyObject
* obj4
= 0 ;
28854 PyObject
* obj6
= 0 ;
28855 PyObject
* obj7
= 0 ;
28856 char *kwnames
[] = {
28857 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlOO:Control_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
28861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28862 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28866 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28872 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28876 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28877 if (arg7
== NULL
) {
28878 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28883 arg8
= wxString_in_helper(obj7
);
28884 if (arg8
== NULL
) SWIG_fail
;
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28892 wxPyEndAllowThreads(__tstate
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28895 resultobj
= PyInt_FromLong((long)result
);
28910 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
;
28912 wxControl
*arg1
= (wxControl
*) 0 ;
28913 wxCommandEvent
*arg2
= 0 ;
28914 PyObject
* obj0
= 0 ;
28915 PyObject
* obj1
= 0 ;
28916 char *kwnames
[] = {
28917 (char *) "self",(char *) "event", NULL
28920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
28921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28922 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28923 if (arg2
== NULL
) {
28924 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28928 (arg1
)->Command(*arg2
);
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28933 Py_INCREF(Py_None
); resultobj
= Py_None
;
28940 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28941 PyObject
*resultobj
;
28942 wxControl
*arg1
= (wxControl
*) 0 ;
28944 PyObject
* obj0
= 0 ;
28945 char *kwnames
[] = {
28946 (char *) "self", NULL
28949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
28950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28953 result
= (arg1
)->GetLabel();
28955 wxPyEndAllowThreads(__tstate
);
28956 if (PyErr_Occurred()) SWIG_fail
;
28960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28971 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28972 PyObject
*resultobj
;
28973 wxControl
*arg1
= (wxControl
*) 0 ;
28974 wxString
*arg2
= 0 ;
28975 bool temp2
= false ;
28976 PyObject
* obj0
= 0 ;
28977 PyObject
* obj1
= 0 ;
28978 char *kwnames
[] = {
28979 (char *) "self",(char *) "label", NULL
28982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28985 arg2
= wxString_in_helper(obj1
);
28986 if (arg2
== NULL
) SWIG_fail
;
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 (arg1
)->SetLabel((wxString
const &)*arg2
);
28993 wxPyEndAllowThreads(__tstate
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28996 Py_INCREF(Py_None
); resultobj
= Py_None
;
29011 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
29013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29014 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
29016 return Py_BuildValue((char *)"");
29018 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29019 PyObject
*resultobj
;
29020 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29021 wxString
*arg2
= 0 ;
29022 PyObject
*arg3
= (PyObject
*) NULL
;
29024 bool temp2
= false ;
29025 PyObject
* obj0
= 0 ;
29026 PyObject
* obj1
= 0 ;
29027 PyObject
* obj2
= 0 ;
29028 char *kwnames
[] = {
29029 (char *) "self",(char *) "item",(char *) "clientData", NULL
29032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29035 arg2
= wxString_in_helper(obj1
);
29036 if (arg2
== NULL
) SWIG_fail
;
29043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29044 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
29046 wxPyEndAllowThreads(__tstate
);
29047 if (PyErr_Occurred()) SWIG_fail
;
29049 resultobj
= PyInt_FromLong((long)result
);
29064 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
;
29066 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29067 wxArrayString
*arg2
= 0 ;
29068 PyObject
* obj0
= 0 ;
29069 PyObject
* obj1
= 0 ;
29070 char *kwnames
[] = {
29071 (char *) "self",(char *) "strings", NULL
29074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
29075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29077 if (! PySequence_Check(obj1
)) {
29078 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
29081 arg2
= new wxArrayString
;
29082 int i
, len
=PySequence_Length(obj1
);
29083 for (i
=0; i
<len
; i
++) {
29084 PyObject
* item
= PySequence_GetItem(obj1
, i
);
29086 PyObject
* str
= PyObject_Unicode(item
);
29088 PyObject
* str
= PyObject_Str(item
);
29090 arg2
->Add(Py2wxString(str
));
29096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29097 (arg1
)->Append((wxArrayString
const &)*arg2
);
29099 wxPyEndAllowThreads(__tstate
);
29100 if (PyErr_Occurred()) SWIG_fail
;
29102 Py_INCREF(Py_None
); resultobj
= Py_None
;
29104 if (arg2
) delete arg2
;
29109 if (arg2
) delete arg2
;
29115 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29116 PyObject
*resultobj
;
29117 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29118 wxString
*arg2
= 0 ;
29120 PyObject
*arg4
= (PyObject
*) NULL
;
29122 bool temp2
= false ;
29123 PyObject
* obj0
= 0 ;
29124 PyObject
* obj1
= 0 ;
29125 PyObject
* obj3
= 0 ;
29126 char *kwnames
[] = {
29127 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
29130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
29131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29133 arg2
= wxString_in_helper(obj1
);
29134 if (arg2
== NULL
) SWIG_fail
;
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 resultobj
= PyInt_FromLong((long)result
);
29162 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29163 PyObject
*resultobj
;
29164 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29165 PyObject
* obj0
= 0 ;
29166 char *kwnames
[] = {
29167 (char *) "self", NULL
29170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
29171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 wxPyEndAllowThreads(__tstate
);
29177 if (PyErr_Occurred()) SWIG_fail
;
29179 Py_INCREF(Py_None
); resultobj
= Py_None
;
29186 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29187 PyObject
*resultobj
;
29188 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29190 PyObject
* obj0
= 0 ;
29191 char *kwnames
[] = {
29192 (char *) "self",(char *) "n", NULL
29195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
29196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29199 (arg1
)->Delete(arg2
);
29201 wxPyEndAllowThreads(__tstate
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29204 Py_INCREF(Py_None
); resultobj
= Py_None
;
29211 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29212 PyObject
*resultobj
;
29213 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29215 PyObject
* obj0
= 0 ;
29216 char *kwnames
[] = {
29217 (char *) "self", NULL
29220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
29221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29224 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
29226 wxPyEndAllowThreads(__tstate
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29229 resultobj
= PyInt_FromLong((long)result
);
29236 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29237 PyObject
*resultobj
;
29238 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29240 PyObject
* obj0
= 0 ;
29241 char *kwnames
[] = {
29242 (char *) "self", NULL
29245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
29246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29249 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
29251 wxPyEndAllowThreads(__tstate
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29254 resultobj
= PyInt_FromLong((long)result
);
29261 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29262 PyObject
*resultobj
;
29263 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29266 PyObject
* obj0
= 0 ;
29267 char *kwnames
[] = {
29268 (char *) "self",(char *) "n", NULL
29271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
29272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29275 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
29277 wxPyEndAllowThreads(__tstate
);
29278 if (PyErr_Occurred()) SWIG_fail
;
29282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29293 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29294 PyObject
*resultobj
;
29295 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29296 wxArrayString result
;
29297 PyObject
* obj0
= 0 ;
29298 char *kwnames
[] = {
29299 (char *) "self", NULL
29302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
29303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29306 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
29308 wxPyEndAllowThreads(__tstate
);
29309 if (PyErr_Occurred()) SWIG_fail
;
29312 resultobj
= wxArrayString2PyList_helper(result
);
29320 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29321 PyObject
*resultobj
;
29322 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29324 wxString
*arg3
= 0 ;
29325 bool temp3
= false ;
29326 PyObject
* obj0
= 0 ;
29327 PyObject
* obj2
= 0 ;
29328 char *kwnames
[] = {
29329 (char *) "self",(char *) "n",(char *) "s", NULL
29332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29335 arg3
= wxString_in_helper(obj2
);
29336 if (arg3
== NULL
) SWIG_fail
;
29340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29341 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
29343 wxPyEndAllowThreads(__tstate
);
29344 if (PyErr_Occurred()) SWIG_fail
;
29346 Py_INCREF(Py_None
); resultobj
= Py_None
;
29361 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29362 PyObject
*resultobj
;
29363 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29364 wxString
*arg2
= 0 ;
29366 bool temp2
= false ;
29367 PyObject
* obj0
= 0 ;
29368 PyObject
* obj1
= 0 ;
29369 char *kwnames
[] = {
29370 (char *) "self",(char *) "s", NULL
29373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
29374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29376 arg2
= wxString_in_helper(obj1
);
29377 if (arg2
== NULL
) SWIG_fail
;
29381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29382 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
29384 wxPyEndAllowThreads(__tstate
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29387 resultobj
= PyInt_FromLong((long)result
);
29402 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
;
29404 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29406 PyObject
* obj0
= 0 ;
29407 char *kwnames
[] = {
29408 (char *) "self",(char *) "n", NULL
29411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
29412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29415 (arg1
)->Select(arg2
);
29417 wxPyEndAllowThreads(__tstate
);
29418 if (PyErr_Occurred()) SWIG_fail
;
29420 Py_INCREF(Py_None
); resultobj
= Py_None
;
29427 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29428 PyObject
*resultobj
;
29429 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29431 PyObject
* obj0
= 0 ;
29432 char *kwnames
[] = {
29433 (char *) "self", NULL
29436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
29437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29440 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
29442 wxPyEndAllowThreads(__tstate
);
29443 if (PyErr_Occurred()) SWIG_fail
;
29445 resultobj
= PyInt_FromLong((long)result
);
29452 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29453 PyObject
*resultobj
;
29454 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29456 PyObject
* obj0
= 0 ;
29457 char *kwnames
[] = {
29458 (char *) "self", NULL
29461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
29462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29465 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
29467 wxPyEndAllowThreads(__tstate
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29483 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29484 PyObject
*resultobj
;
29485 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29488 PyObject
* obj0
= 0 ;
29489 char *kwnames
[] = {
29490 (char *) "self",(char *) "n", NULL
29493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
29494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29497 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
29499 wxPyEndAllowThreads(__tstate
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= result
;
29509 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29510 PyObject
*resultobj
;
29511 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29513 PyObject
*arg3
= (PyObject
*) 0 ;
29514 PyObject
* obj0
= 0 ;
29515 PyObject
* obj2
= 0 ;
29516 char *kwnames
[] = {
29517 (char *) "self",(char *) "n",(char *) "clientData", NULL
29520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29525 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
29527 wxPyEndAllowThreads(__tstate
);
29528 if (PyErr_Occurred()) SWIG_fail
;
29530 Py_INCREF(Py_None
); resultobj
= Py_None
;
29537 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
29539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29540 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
29542 return Py_BuildValue((char *)"");
29544 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
29546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29547 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
29549 return Py_BuildValue((char *)"");
29551 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29552 PyObject
*resultobj
;
29553 wxSizerItem
*result
;
29554 char *kwnames
[] = {
29558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 result
= (wxSizerItem
*)new wxSizerItem();
29563 wxPyEndAllowThreads(__tstate
);
29564 if (PyErr_Occurred()) SWIG_fail
;
29566 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29573 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29574 PyObject
*resultobj
;
29580 wxObject
*arg6
= (wxObject
*) 0 ;
29581 wxSizerItem
*result
;
29582 PyObject
* obj5
= 0 ;
29583 char *kwnames
[] = {
29584 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiiiiO:new_SizerItemSpacer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
29588 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29591 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29596 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29603 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29604 PyObject
*resultobj
;
29605 wxWindow
*arg1
= (wxWindow
*) 0 ;
29609 wxObject
*arg5
= (wxObject
*) 0 ;
29610 wxSizerItem
*result
;
29611 PyObject
* obj0
= 0 ;
29612 PyObject
* obj4
= 0 ;
29613 char *kwnames
[] = {
29614 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29619 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29622 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29624 wxPyEndAllowThreads(__tstate
);
29625 if (PyErr_Occurred()) SWIG_fail
;
29627 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29634 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29635 PyObject
*resultobj
;
29636 wxSizer
*arg1
= (wxSizer
*) 0 ;
29640 wxObject
*arg5
= (wxObject
*) 0 ;
29641 wxSizerItem
*result
;
29642 PyObject
* obj0
= 0 ;
29643 PyObject
* obj4
= 0 ;
29644 char *kwnames
[] = {
29645 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemSizer",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29650 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29653 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29658 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29665 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29666 PyObject
*resultobj
;
29667 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29668 PyObject
* obj0
= 0 ;
29669 char *kwnames
[] = {
29670 (char *) "self", NULL
29673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
29674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29677 (arg1
)->DeleteWindows();
29679 wxPyEndAllowThreads(__tstate
);
29680 if (PyErr_Occurred()) SWIG_fail
;
29682 Py_INCREF(Py_None
); resultobj
= Py_None
;
29689 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29690 PyObject
*resultobj
;
29691 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29692 PyObject
* obj0
= 0 ;
29693 char *kwnames
[] = {
29694 (char *) "self", NULL
29697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
29698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29701 (arg1
)->DetachSizer();
29703 wxPyEndAllowThreads(__tstate
);
29704 if (PyErr_Occurred()) SWIG_fail
;
29706 Py_INCREF(Py_None
); resultobj
= Py_None
;
29713 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29714 PyObject
*resultobj
;
29715 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29717 PyObject
* obj0
= 0 ;
29718 char *kwnames
[] = {
29719 (char *) "self", NULL
29722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
29723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29726 result
= (arg1
)->GetSize();
29728 wxPyEndAllowThreads(__tstate
);
29729 if (PyErr_Occurred()) SWIG_fail
;
29732 wxSize
* resultptr
;
29733 resultptr
= new wxSize((wxSize
&) result
);
29734 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29742 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29743 PyObject
*resultobj
;
29744 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29746 PyObject
* obj0
= 0 ;
29747 char *kwnames
[] = {
29748 (char *) "self", NULL
29751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
29752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29755 result
= (arg1
)->CalcMin();
29757 wxPyEndAllowThreads(__tstate
);
29758 if (PyErr_Occurred()) SWIG_fail
;
29761 wxSize
* resultptr
;
29762 resultptr
= new wxSize((wxSize
&) result
);
29763 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29771 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29772 PyObject
*resultobj
;
29773 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29778 PyObject
* obj0
= 0 ;
29779 PyObject
* obj1
= 0 ;
29780 PyObject
* obj2
= 0 ;
29781 char *kwnames
[] = {
29782 (char *) "self",(char *) "pos",(char *) "size", NULL
29785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29787 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29789 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29793 (arg1
)->SetDimension(arg2
,arg3
);
29795 wxPyEndAllowThreads(__tstate
);
29796 if (PyErr_Occurred()) SWIG_fail
;
29798 Py_INCREF(Py_None
); resultobj
= Py_None
;
29805 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29806 PyObject
*resultobj
;
29807 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29809 PyObject
* obj0
= 0 ;
29810 char *kwnames
[] = {
29811 (char *) "self", NULL
29814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
29815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29818 result
= (arg1
)->GetMinSize();
29820 wxPyEndAllowThreads(__tstate
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29824 wxSize
* resultptr
;
29825 resultptr
= new wxSize((wxSize
&) result
);
29826 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29834 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29835 PyObject
*resultobj
;
29836 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29839 PyObject
* obj0
= 0 ;
29840 char *kwnames
[] = {
29841 (char *) "self",(char *) "x",(char *) "y", NULL
29844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetInitSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
29845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 (arg1
)->SetInitSize(arg2
,arg3
);
29850 wxPyEndAllowThreads(__tstate
);
29851 if (PyErr_Occurred()) SWIG_fail
;
29853 Py_INCREF(Py_None
); resultobj
= Py_None
;
29860 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29861 PyObject
*resultobj
;
29862 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29865 PyObject
* obj0
= 0 ;
29866 char *kwnames
[] = {
29867 (char *) "self",(char *) "width",(char *) "height", NULL
29870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetRatioWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
29871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29874 (arg1
)->SetRatio(arg2
,arg3
);
29876 wxPyEndAllowThreads(__tstate
);
29877 if (PyErr_Occurred()) SWIG_fail
;
29879 Py_INCREF(Py_None
); resultobj
= Py_None
;
29886 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29887 PyObject
*resultobj
;
29888 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29891 PyObject
* obj0
= 0 ;
29892 PyObject
* obj1
= 0 ;
29893 char *kwnames
[] = {
29894 (char *) "self",(char *) "size", NULL
29897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29899 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29903 (arg1
)->SetRatio(arg2
);
29905 wxPyEndAllowThreads(__tstate
);
29906 if (PyErr_Occurred()) SWIG_fail
;
29908 Py_INCREF(Py_None
); resultobj
= Py_None
;
29915 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29916 PyObject
*resultobj
;
29917 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29919 PyObject
* obj0
= 0 ;
29920 char *kwnames
[] = {
29921 (char *) "self",(char *) "ratio", NULL
29924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Of:SizerItem_SetRatio",kwnames
,&obj0
,&arg2
)) goto fail
;
29925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29928 (arg1
)->SetRatio(arg2
);
29930 wxPyEndAllowThreads(__tstate
);
29931 if (PyErr_Occurred()) SWIG_fail
;
29933 Py_INCREF(Py_None
); resultobj
= Py_None
;
29940 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29941 PyObject
*resultobj
;
29942 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29944 PyObject
* obj0
= 0 ;
29945 char *kwnames
[] = {
29946 (char *) "self", NULL
29949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
29950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 result
= (float)(arg1
)->GetRatio();
29955 wxPyEndAllowThreads(__tstate
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29958 resultobj
= PyFloat_FromDouble(result
);
29965 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29966 PyObject
*resultobj
;
29967 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29969 PyObject
* obj0
= 0 ;
29970 char *kwnames
[] = {
29971 (char *) "self", NULL
29974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
29975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29978 result
= (bool)(arg1
)->IsWindow();
29980 wxPyEndAllowThreads(__tstate
);
29981 if (PyErr_Occurred()) SWIG_fail
;
29983 resultobj
= PyInt_FromLong((long)result
);
29990 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29991 PyObject
*resultobj
;
29992 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29994 PyObject
* obj0
= 0 ;
29995 char *kwnames
[] = {
29996 (char *) "self", NULL
29999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
30000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30003 result
= (bool)(arg1
)->IsSizer();
30005 wxPyEndAllowThreads(__tstate
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30008 resultobj
= PyInt_FromLong((long)result
);
30015 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30016 PyObject
*resultobj
;
30017 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30019 PyObject
* obj0
= 0 ;
30020 char *kwnames
[] = {
30021 (char *) "self", NULL
30024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
30025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30028 result
= (bool)(arg1
)->IsSpacer();
30030 wxPyEndAllowThreads(__tstate
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30033 resultobj
= PyInt_FromLong((long)result
);
30040 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30041 PyObject
*resultobj
;
30042 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30044 PyObject
* obj0
= 0 ;
30045 char *kwnames
[] = {
30046 (char *) "self",(char *) "proportion", NULL
30049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetProportion",kwnames
,&obj0
,&arg2
)) goto fail
;
30050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30053 (arg1
)->SetProportion(arg2
);
30055 wxPyEndAllowThreads(__tstate
);
30056 if (PyErr_Occurred()) SWIG_fail
;
30058 Py_INCREF(Py_None
); resultobj
= Py_None
;
30065 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30066 PyObject
*resultobj
;
30067 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30069 PyObject
* obj0
= 0 ;
30070 char *kwnames
[] = {
30071 (char *) "self", NULL
30074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
30075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30078 result
= (int)(arg1
)->GetProportion();
30080 wxPyEndAllowThreads(__tstate
);
30081 if (PyErr_Occurred()) SWIG_fail
;
30083 resultobj
= PyInt_FromLong((long)result
);
30090 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30091 PyObject
*resultobj
;
30092 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30094 PyObject
* obj0
= 0 ;
30095 char *kwnames
[] = {
30096 (char *) "self",(char *) "flag", NULL
30099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
30100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30103 (arg1
)->SetFlag(arg2
);
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30108 Py_INCREF(Py_None
); resultobj
= Py_None
;
30115 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30116 PyObject
*resultobj
;
30117 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30119 PyObject
* obj0
= 0 ;
30120 char *kwnames
[] = {
30121 (char *) "self", NULL
30124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
30125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 result
= (int)(arg1
)->GetFlag();
30130 wxPyEndAllowThreads(__tstate
);
30131 if (PyErr_Occurred()) SWIG_fail
;
30133 resultobj
= PyInt_FromLong((long)result
);
30140 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30141 PyObject
*resultobj
;
30142 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30144 PyObject
* obj0
= 0 ;
30145 char *kwnames
[] = {
30146 (char *) "self",(char *) "border", NULL
30149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
30150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 (arg1
)->SetBorder(arg2
);
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30158 Py_INCREF(Py_None
); resultobj
= Py_None
;
30165 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30166 PyObject
*resultobj
;
30167 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30169 PyObject
* obj0
= 0 ;
30170 char *kwnames
[] = {
30171 (char *) "self", NULL
30174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
30175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30178 result
= (int)(arg1
)->GetBorder();
30180 wxPyEndAllowThreads(__tstate
);
30181 if (PyErr_Occurred()) SWIG_fail
;
30183 resultobj
= PyInt_FromLong((long)result
);
30190 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30191 PyObject
*resultobj
;
30192 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30194 PyObject
* obj0
= 0 ;
30195 char *kwnames
[] = {
30196 (char *) "self", NULL
30199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
30200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30203 result
= (wxWindow
*)(arg1
)->GetWindow();
30205 wxPyEndAllowThreads(__tstate
);
30206 if (PyErr_Occurred()) SWIG_fail
;
30209 resultobj
= wxPyMake_wxObject(result
);
30217 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30218 PyObject
*resultobj
;
30219 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30220 wxWindow
*arg2
= (wxWindow
*) 0 ;
30221 PyObject
* obj0
= 0 ;
30222 PyObject
* obj1
= 0 ;
30223 char *kwnames
[] = {
30224 (char *) "self",(char *) "window", NULL
30227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30229 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30232 (arg1
)->SetWindow(arg2
);
30234 wxPyEndAllowThreads(__tstate
);
30235 if (PyErr_Occurred()) SWIG_fail
;
30237 Py_INCREF(Py_None
); resultobj
= Py_None
;
30244 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30245 PyObject
*resultobj
;
30246 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30248 PyObject
* obj0
= 0 ;
30249 char *kwnames
[] = {
30250 (char *) "self", NULL
30253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
30254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30257 result
= (wxSizer
*)(arg1
)->GetSizer();
30259 wxPyEndAllowThreads(__tstate
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30263 resultobj
= wxPyMake_wxSizer(result
);
30271 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30272 PyObject
*resultobj
;
30273 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30274 wxSizer
*arg2
= (wxSizer
*) 0 ;
30275 PyObject
* obj0
= 0 ;
30276 PyObject
* obj1
= 0 ;
30277 char *kwnames
[] = {
30278 (char *) "self",(char *) "sizer", NULL
30281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
30282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30286 (arg1
)->SetSizer(arg2
);
30288 wxPyEndAllowThreads(__tstate
);
30289 if (PyErr_Occurred()) SWIG_fail
;
30291 Py_INCREF(Py_None
); resultobj
= Py_None
;
30298 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30299 PyObject
*resultobj
;
30300 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30302 PyObject
* obj0
= 0 ;
30303 char *kwnames
[] = {
30304 (char *) "self", NULL
30307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
30308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
30313 result
= (wxSize
*) &_result_ref
;
30316 wxPyEndAllowThreads(__tstate
);
30317 if (PyErr_Occurred()) SWIG_fail
;
30319 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
30326 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30327 PyObject
*resultobj
;
30328 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30331 PyObject
* obj0
= 0 ;
30332 PyObject
* obj1
= 0 ;
30333 char *kwnames
[] = {
30334 (char *) "self",(char *) "size", NULL
30337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
30338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30341 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30345 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
30347 wxPyEndAllowThreads(__tstate
);
30348 if (PyErr_Occurred()) SWIG_fail
;
30350 Py_INCREF(Py_None
); resultobj
= Py_None
;
30357 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30358 PyObject
*resultobj
;
30359 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30361 PyObject
* obj0
= 0 ;
30362 PyObject
* obj1
= 0 ;
30363 char *kwnames
[] = {
30364 (char *) "self",(char *) "show", NULL
30367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
30368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30369 arg2
= PyInt_AsLong(obj1
) ? true : false;
30370 if (PyErr_Occurred()) SWIG_fail
;
30372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30373 (arg1
)->Show(arg2
);
30375 wxPyEndAllowThreads(__tstate
);
30376 if (PyErr_Occurred()) SWIG_fail
;
30378 Py_INCREF(Py_None
); resultobj
= Py_None
;
30385 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30386 PyObject
*resultobj
;
30387 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30389 PyObject
* obj0
= 0 ;
30390 char *kwnames
[] = {
30391 (char *) "self", NULL
30394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
30395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30398 result
= (bool)(arg1
)->IsShown();
30400 wxPyEndAllowThreads(__tstate
);
30401 if (PyErr_Occurred()) SWIG_fail
;
30403 resultobj
= PyInt_FromLong((long)result
);
30410 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30411 PyObject
*resultobj
;
30412 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30414 PyObject
* obj0
= 0 ;
30415 char *kwnames
[] = {
30416 (char *) "self", NULL
30419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
30420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30423 result
= (arg1
)->GetPosition();
30425 wxPyEndAllowThreads(__tstate
);
30426 if (PyErr_Occurred()) SWIG_fail
;
30429 wxPoint
* resultptr
;
30430 resultptr
= new wxPoint((wxPoint
&) result
);
30431 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
30439 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30440 PyObject
*resultobj
;
30441 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30443 PyObject
* obj0
= 0 ;
30444 char *kwnames
[] = {
30445 (char *) "self", NULL
30448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
30449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30452 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
30454 wxPyEndAllowThreads(__tstate
);
30455 if (PyErr_Occurred()) SWIG_fail
;
30457 resultobj
= result
;
30464 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
30466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30467 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
30469 return Py_BuildValue((char *)"");
30471 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30472 PyObject
*resultobj
;
30473 wxSizer
*arg1
= (wxSizer
*) 0 ;
30474 PyObject
*arg2
= (PyObject
*) 0 ;
30475 PyObject
* obj0
= 0 ;
30476 PyObject
* obj1
= 0 ;
30477 char *kwnames
[] = {
30478 (char *) "self",(char *) "_self", NULL
30481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
30482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30486 wxSizer__setOORInfo(arg1
,arg2
);
30488 wxPyEndAllowThreads(__tstate
);
30489 if (PyErr_Occurred()) SWIG_fail
;
30491 Py_INCREF(Py_None
); resultobj
= Py_None
;
30498 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30499 PyObject
*resultobj
;
30500 wxSizer
*arg1
= (wxSizer
*) 0 ;
30501 PyObject
*arg2
= (PyObject
*) 0 ;
30502 int arg3
= (int) 0 ;
30503 int arg4
= (int) 0 ;
30504 int arg5
= (int) 0 ;
30505 PyObject
*arg6
= (PyObject
*) NULL
;
30506 PyObject
* obj0
= 0 ;
30507 PyObject
* obj1
= 0 ;
30508 PyObject
* obj5
= 0 ;
30509 char *kwnames
[] = {
30510 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Add",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30521 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30523 wxPyEndAllowThreads(__tstate
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30526 Py_INCREF(Py_None
); resultobj
= Py_None
;
30533 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30534 PyObject
*resultobj
;
30535 wxSizer
*arg1
= (wxSizer
*) 0 ;
30537 PyObject
*arg3
= (PyObject
*) 0 ;
30538 int arg4
= (int) 0 ;
30539 int arg5
= (int) 0 ;
30540 int arg6
= (int) 0 ;
30541 PyObject
*arg7
= (PyObject
*) NULL
;
30542 PyObject
* obj0
= 0 ;
30543 PyObject
* obj2
= 0 ;
30544 PyObject
* obj6
= 0 ;
30545 char *kwnames
[] = {
30546 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|iiiO:Sizer_Insert",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
30550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30557 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30559 wxPyEndAllowThreads(__tstate
);
30560 if (PyErr_Occurred()) SWIG_fail
;
30562 Py_INCREF(Py_None
); resultobj
= Py_None
;
30569 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30570 PyObject
*resultobj
;
30571 wxSizer
*arg1
= (wxSizer
*) 0 ;
30572 PyObject
*arg2
= (PyObject
*) 0 ;
30573 int arg3
= (int) 0 ;
30574 int arg4
= (int) 0 ;
30575 int arg5
= (int) 0 ;
30576 PyObject
*arg6
= (PyObject
*) NULL
;
30577 PyObject
* obj0
= 0 ;
30578 PyObject
* obj1
= 0 ;
30579 PyObject
* obj5
= 0 ;
30580 char *kwnames
[] = {
30581 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30592 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30594 wxPyEndAllowThreads(__tstate
);
30595 if (PyErr_Occurred()) SWIG_fail
;
30597 Py_INCREF(Py_None
); resultobj
= Py_None
;
30604 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30605 PyObject
*resultobj
;
30606 wxSizer
*arg1
= (wxSizer
*) 0 ;
30607 PyObject
*arg2
= (PyObject
*) 0 ;
30609 PyObject
* obj0
= 0 ;
30610 PyObject
* obj1
= 0 ;
30611 char *kwnames
[] = {
30612 (char *) "self",(char *) "item", NULL
30615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 result
= (bool)wxSizer_Remove(arg1
,arg2
);
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30625 resultobj
= PyInt_FromLong((long)result
);
30632 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30633 PyObject
*resultobj
;
30634 wxSizer
*arg1
= (wxSizer
*) 0 ;
30635 PyObject
*arg2
= (PyObject
*) 0 ;
30638 PyObject
* obj0
= 0 ;
30639 PyObject
* obj1
= 0 ;
30640 PyObject
* obj2
= 0 ;
30641 char *kwnames
[] = {
30642 (char *) "self",(char *) "item",(char *) "size", NULL
30645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30648 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 wxSizer__SetItemMinSize(arg1
,arg2
,arg3
);
30654 wxPyEndAllowThreads(__tstate
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30657 Py_INCREF(Py_None
); resultobj
= Py_None
;
30664 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30665 PyObject
*resultobj
;
30666 wxSizer
*arg1
= (wxSizer
*) 0 ;
30667 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30668 PyObject
* obj0
= 0 ;
30669 PyObject
* obj1
= 0 ;
30670 char *kwnames
[] = {
30671 (char *) "self",(char *) "item", NULL
30674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30676 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30681 wxPyEndAllowThreads(__tstate
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30684 Py_INCREF(Py_None
); resultobj
= Py_None
;
30691 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
;
30693 wxSizer
*arg1
= (wxSizer
*) 0 ;
30695 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
30696 PyObject
* obj0
= 0 ;
30697 PyObject
* obj1
= 0 ;
30698 PyObject
* obj2
= 0 ;
30699 char *kwnames
[] = {
30700 (char *) "self",(char *) "index",(char *) "item", NULL
30703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30705 arg2
= (size_t) PyInt_AsLong(obj1
);
30706 if (PyErr_Occurred()) SWIG_fail
;
30707 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 (arg1
)->Insert(arg2
,arg3
);
30712 wxPyEndAllowThreads(__tstate
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30715 Py_INCREF(Py_None
); resultobj
= Py_None
;
30722 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30723 PyObject
*resultobj
;
30724 wxSizer
*arg1
= (wxSizer
*) 0 ;
30725 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30726 PyObject
* obj0
= 0 ;
30727 PyObject
* obj1
= 0 ;
30728 char *kwnames
[] = {
30729 (char *) "self",(char *) "item", NULL
30732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30734 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30737 (arg1
)->Prepend(arg2
);
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 Py_INCREF(Py_None
); resultobj
= Py_None
;
30749 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30750 PyObject
*resultobj
;
30751 wxSizer
*arg1
= (wxSizer
*) 0 ;
30756 PyObject
* obj0
= 0 ;
30757 char *kwnames
[] = {
30758 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Sizer_SetDimension",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
30762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
30767 wxPyEndAllowThreads(__tstate
);
30768 if (PyErr_Occurred()) SWIG_fail
;
30770 Py_INCREF(Py_None
); resultobj
= Py_None
;
30777 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30778 PyObject
*resultobj
;
30779 wxSizer
*arg1
= (wxSizer
*) 0 ;
30782 PyObject
* obj0
= 0 ;
30783 PyObject
* obj1
= 0 ;
30784 char *kwnames
[] = {
30785 (char *) "self",(char *) "size", NULL
30788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
30789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30790 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
30793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30794 (arg1
)->SetMinSize(arg2
);
30796 wxPyEndAllowThreads(__tstate
);
30797 if (PyErr_Occurred()) SWIG_fail
;
30799 Py_INCREF(Py_None
); resultobj
= Py_None
;
30806 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30807 PyObject
*resultobj
;
30808 wxSizer
*arg1
= (wxSizer
*) 0 ;
30810 PyObject
* obj0
= 0 ;
30811 char *kwnames
[] = {
30812 (char *) "self", NULL
30815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
30816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30819 result
= (arg1
)->GetSize();
30821 wxPyEndAllowThreads(__tstate
);
30822 if (PyErr_Occurred()) SWIG_fail
;
30825 wxSize
* resultptr
;
30826 resultptr
= new wxSize((wxSize
&) result
);
30827 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30835 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30836 PyObject
*resultobj
;
30837 wxSizer
*arg1
= (wxSizer
*) 0 ;
30839 PyObject
* obj0
= 0 ;
30840 char *kwnames
[] = {
30841 (char *) "self", NULL
30844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
30845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30848 result
= (arg1
)->GetPosition();
30850 wxPyEndAllowThreads(__tstate
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30854 wxPoint
* resultptr
;
30855 resultptr
= new wxPoint((wxPoint
&) result
);
30856 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
30864 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30865 PyObject
*resultobj
;
30866 wxSizer
*arg1
= (wxSizer
*) 0 ;
30868 PyObject
* obj0
= 0 ;
30869 char *kwnames
[] = {
30870 (char *) "self", NULL
30873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
30874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30877 result
= (arg1
)->GetMinSize();
30879 wxPyEndAllowThreads(__tstate
);
30880 if (PyErr_Occurred()) SWIG_fail
;
30883 wxSize
* resultptr
;
30884 resultptr
= new wxSize((wxSize
&) result
);
30885 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30893 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30894 PyObject
*resultobj
;
30895 wxSizer
*arg1
= (wxSizer
*) 0 ;
30896 PyObject
* obj0
= 0 ;
30897 char *kwnames
[] = {
30898 (char *) "self", NULL
30901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
30902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30905 (arg1
)->RecalcSizes();
30907 wxPyEndAllowThreads(__tstate
);
30908 if (PyErr_Occurred()) SWIG_fail
;
30910 Py_INCREF(Py_None
); resultobj
= Py_None
;
30917 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30918 PyObject
*resultobj
;
30919 wxSizer
*arg1
= (wxSizer
*) 0 ;
30921 PyObject
* obj0
= 0 ;
30922 char *kwnames
[] = {
30923 (char *) "self", NULL
30926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
30927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30930 result
= (arg1
)->CalcMin();
30932 wxPyEndAllowThreads(__tstate
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30936 wxSize
* resultptr
;
30937 resultptr
= new wxSize((wxSize
&) result
);
30938 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30946 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30947 PyObject
*resultobj
;
30948 wxSizer
*arg1
= (wxSizer
*) 0 ;
30949 PyObject
* obj0
= 0 ;
30950 char *kwnames
[] = {
30951 (char *) "self", NULL
30954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
30955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30960 wxPyEndAllowThreads(__tstate
);
30961 if (PyErr_Occurred()) SWIG_fail
;
30963 Py_INCREF(Py_None
); resultobj
= Py_None
;
30970 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30971 PyObject
*resultobj
;
30972 wxSizer
*arg1
= (wxSizer
*) 0 ;
30973 wxWindow
*arg2
= (wxWindow
*) 0 ;
30975 PyObject
* obj0
= 0 ;
30976 PyObject
* obj1
= 0 ;
30977 char *kwnames
[] = {
30978 (char *) "self",(char *) "window", NULL
30981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
30982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 result
= (arg1
)->Fit(arg2
);
30988 wxPyEndAllowThreads(__tstate
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30992 wxSize
* resultptr
;
30993 resultptr
= new wxSize((wxSize
&) result
);
30994 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31002 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31003 PyObject
*resultobj
;
31004 wxSizer
*arg1
= (wxSizer
*) 0 ;
31005 wxWindow
*arg2
= (wxWindow
*) 0 ;
31006 PyObject
* obj0
= 0 ;
31007 PyObject
* obj1
= 0 ;
31008 char *kwnames
[] = {
31009 (char *) "self",(char *) "window", NULL
31012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
31013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31017 (arg1
)->FitInside(arg2
);
31019 wxPyEndAllowThreads(__tstate
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31022 Py_INCREF(Py_None
); resultobj
= Py_None
;
31029 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31030 PyObject
*resultobj
;
31031 wxSizer
*arg1
= (wxSizer
*) 0 ;
31032 wxWindow
*arg2
= (wxWindow
*) 0 ;
31033 PyObject
* obj0
= 0 ;
31034 PyObject
* obj1
= 0 ;
31035 char *kwnames
[] = {
31036 (char *) "self",(char *) "window", NULL
31039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
31040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31041 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31044 (arg1
)->SetSizeHints(arg2
);
31046 wxPyEndAllowThreads(__tstate
);
31047 if (PyErr_Occurred()) SWIG_fail
;
31049 Py_INCREF(Py_None
); resultobj
= Py_None
;
31056 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31057 PyObject
*resultobj
;
31058 wxSizer
*arg1
= (wxSizer
*) 0 ;
31059 wxWindow
*arg2
= (wxWindow
*) 0 ;
31060 PyObject
* obj0
= 0 ;
31061 PyObject
* obj1
= 0 ;
31062 char *kwnames
[] = {
31063 (char *) "self",(char *) "window", NULL
31066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
31067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31068 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31071 (arg1
)->SetVirtualSizeHints(arg2
);
31073 wxPyEndAllowThreads(__tstate
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31076 Py_INCREF(Py_None
); resultobj
= Py_None
;
31083 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31084 PyObject
*resultobj
;
31085 wxSizer
*arg1
= (wxSizer
*) 0 ;
31086 bool arg2
= (bool) FALSE
;
31087 PyObject
* obj0
= 0 ;
31088 PyObject
* obj1
= 0 ;
31089 char *kwnames
[] = {
31090 (char *) "self",(char *) "delete_windows", NULL
31093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
31094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31096 arg2
= PyInt_AsLong(obj1
) ? true : false;
31097 if (PyErr_Occurred()) SWIG_fail
;
31100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31101 (arg1
)->Clear(arg2
);
31103 wxPyEndAllowThreads(__tstate
);
31104 if (PyErr_Occurred()) SWIG_fail
;
31106 Py_INCREF(Py_None
); resultobj
= Py_None
;
31113 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31114 PyObject
*resultobj
;
31115 wxSizer
*arg1
= (wxSizer
*) 0 ;
31116 PyObject
* obj0
= 0 ;
31117 char *kwnames
[] = {
31118 (char *) "self", NULL
31121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
31122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31125 (arg1
)->DeleteWindows();
31127 wxPyEndAllowThreads(__tstate
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31130 Py_INCREF(Py_None
); resultobj
= Py_None
;
31137 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31138 PyObject
*resultobj
;
31139 wxSizer
*arg1
= (wxSizer
*) 0 ;
31141 PyObject
* obj0
= 0 ;
31142 char *kwnames
[] = {
31143 (char *) "self", NULL
31146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
31147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31150 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
31152 wxPyEndAllowThreads(__tstate
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31155 resultobj
= result
;
31162 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31163 PyObject
*resultobj
;
31164 wxSizer
*arg1
= (wxSizer
*) 0 ;
31165 PyObject
*arg2
= (PyObject
*) 0 ;
31166 bool arg3
= (bool) TRUE
;
31167 PyObject
* obj0
= 0 ;
31168 PyObject
* obj1
= 0 ;
31169 PyObject
* obj2
= 0 ;
31170 char *kwnames
[] = {
31171 (char *) "self",(char *) "item",(char *) "show", NULL
31174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31178 arg3
= PyInt_AsLong(obj2
) ? true : false;
31179 if (PyErr_Occurred()) SWIG_fail
;
31182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31183 wxSizer_Show(arg1
,arg2
,arg3
);
31185 wxPyEndAllowThreads(__tstate
);
31186 if (PyErr_Occurred()) SWIG_fail
;
31188 Py_INCREF(Py_None
); resultobj
= Py_None
;
31195 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31196 PyObject
*resultobj
;
31197 wxSizer
*arg1
= (wxSizer
*) 0 ;
31198 PyObject
*arg2
= (PyObject
*) 0 ;
31199 PyObject
* obj0
= 0 ;
31200 PyObject
* obj1
= 0 ;
31201 char *kwnames
[] = {
31202 (char *) "self",(char *) "item", NULL
31205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
31206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31210 wxSizer_Hide(arg1
,arg2
);
31212 wxPyEndAllowThreads(__tstate
);
31213 if (PyErr_Occurred()) SWIG_fail
;
31215 Py_INCREF(Py_None
); resultobj
= Py_None
;
31222 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31223 PyObject
*resultobj
;
31224 wxSizer
*arg1
= (wxSizer
*) 0 ;
31225 PyObject
*arg2
= (PyObject
*) 0 ;
31227 PyObject
* obj0
= 0 ;
31228 PyObject
* obj1
= 0 ;
31229 char *kwnames
[] = {
31230 (char *) "self",(char *) "item", NULL
31233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
31234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31238 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
31240 wxPyEndAllowThreads(__tstate
);
31241 if (PyErr_Occurred()) SWIG_fail
;
31243 resultobj
= PyInt_FromLong((long)result
);
31250 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31251 PyObject
*resultobj
;
31252 wxSizer
*arg1
= (wxSizer
*) 0 ;
31254 PyObject
* obj0
= 0 ;
31255 PyObject
* obj1
= 0 ;
31256 char *kwnames
[] = {
31257 (char *) "self",(char *) "show", NULL
31260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31262 arg2
= PyInt_AsLong(obj1
) ? true : false;
31263 if (PyErr_Occurred()) SWIG_fail
;
31265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31266 (arg1
)->ShowItems(arg2
);
31268 wxPyEndAllowThreads(__tstate
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31271 Py_INCREF(Py_None
); resultobj
= Py_None
;
31278 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
31280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31281 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
31283 return Py_BuildValue((char *)"");
31285 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31286 PyObject
*resultobj
;
31288 char *kwnames
[] = {
31292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
31294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31295 result
= (wxPySizer
*)new wxPySizer();
31297 wxPyEndAllowThreads(__tstate
);
31298 if (PyErr_Occurred()) SWIG_fail
;
31300 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
31307 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31308 PyObject
*resultobj
;
31309 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
31310 PyObject
*arg2
= (PyObject
*) 0 ;
31311 PyObject
*arg3
= (PyObject
*) 0 ;
31312 PyObject
* obj0
= 0 ;
31313 PyObject
* obj1
= 0 ;
31314 PyObject
* obj2
= 0 ;
31315 char *kwnames
[] = {
31316 (char *) "self",(char *) "self",(char *) "_class", NULL
31319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31325 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31330 Py_INCREF(Py_None
); resultobj
= Py_None
;
31337 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
31339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31340 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
31342 return Py_BuildValue((char *)"");
31344 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31345 PyObject
*resultobj
;
31346 int arg1
= (int) wxHORIZONTAL
;
31347 wxBoxSizer
*result
;
31348 char *kwnames
[] = {
31349 (char *) "orient", NULL
31352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_BoxSizer",kwnames
,&arg1
)) goto fail
;
31354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31355 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
31357 wxPyEndAllowThreads(__tstate
);
31358 if (PyErr_Occurred()) SWIG_fail
;
31360 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
31367 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31368 PyObject
*resultobj
;
31369 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31371 PyObject
* obj0
= 0 ;
31372 char *kwnames
[] = {
31373 (char *) "self", NULL
31376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
31377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31380 result
= (int)(arg1
)->GetOrientation();
31382 wxPyEndAllowThreads(__tstate
);
31383 if (PyErr_Occurred()) SWIG_fail
;
31385 resultobj
= PyInt_FromLong((long)result
);
31392 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31393 PyObject
*resultobj
;
31394 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31396 PyObject
* obj0
= 0 ;
31397 char *kwnames
[] = {
31398 (char *) "self",(char *) "orient", NULL
31401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BoxSizer_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
31402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31405 (arg1
)->SetOrientation(arg2
);
31407 wxPyEndAllowThreads(__tstate
);
31408 if (PyErr_Occurred()) SWIG_fail
;
31410 Py_INCREF(Py_None
); resultobj
= Py_None
;
31417 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31418 PyObject
*resultobj
;
31419 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31420 PyObject
* obj0
= 0 ;
31421 char *kwnames
[] = {
31422 (char *) "self", NULL
31425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31429 (arg1
)->RecalcSizes();
31431 wxPyEndAllowThreads(__tstate
);
31432 if (PyErr_Occurred()) SWIG_fail
;
31434 Py_INCREF(Py_None
); resultobj
= Py_None
;
31441 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31442 PyObject
*resultobj
;
31443 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31445 PyObject
* obj0
= 0 ;
31446 char *kwnames
[] = {
31447 (char *) "self", NULL
31450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31454 result
= (arg1
)->CalcMin();
31456 wxPyEndAllowThreads(__tstate
);
31457 if (PyErr_Occurred()) SWIG_fail
;
31460 wxSize
* resultptr
;
31461 resultptr
= new wxSize((wxSize
&) result
);
31462 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31470 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31473 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
31475 return Py_BuildValue((char *)"");
31477 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31478 PyObject
*resultobj
;
31479 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
31480 int arg2
= (int) wxHORIZONTAL
;
31481 wxStaticBoxSizer
*result
;
31482 PyObject
* obj0
= 0 ;
31483 char *kwnames
[] = {
31484 (char *) "box",(char *) "orient", NULL
31487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_StaticBoxSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
31488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31491 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
31493 wxPyEndAllowThreads(__tstate
);
31494 if (PyErr_Occurred()) SWIG_fail
;
31496 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
31503 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31504 PyObject
*resultobj
;
31505 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31506 wxStaticBox
*result
;
31507 PyObject
* obj0
= 0 ;
31508 char *kwnames
[] = {
31509 (char *) "self", NULL
31512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
31513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
31518 wxPyEndAllowThreads(__tstate
);
31519 if (PyErr_Occurred()) SWIG_fail
;
31522 resultobj
= wxPyMake_wxObject(result
);
31530 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31531 PyObject
*resultobj
;
31532 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31533 PyObject
* obj0
= 0 ;
31534 char *kwnames
[] = {
31535 (char *) "self", NULL
31538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31542 (arg1
)->RecalcSizes();
31544 wxPyEndAllowThreads(__tstate
);
31545 if (PyErr_Occurred()) SWIG_fail
;
31547 Py_INCREF(Py_None
); resultobj
= Py_None
;
31554 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31555 PyObject
*resultobj
;
31556 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31558 PyObject
* obj0
= 0 ;
31559 char *kwnames
[] = {
31560 (char *) "self", NULL
31563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31567 result
= (arg1
)->CalcMin();
31569 wxPyEndAllowThreads(__tstate
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31573 wxSize
* resultptr
;
31574 resultptr
= new wxSize((wxSize
&) result
);
31575 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31583 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31586 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
31588 return Py_BuildValue((char *)"");
31590 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31591 PyObject
*resultobj
;
31592 int arg1
= (int) 1 ;
31593 int arg2
= (int) 0 ;
31594 int arg3
= (int) 0 ;
31595 int arg4
= (int) 0 ;
31596 wxGridSizer
*result
;
31597 char *kwnames
[] = {
31598 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_GridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
31606 wxPyEndAllowThreads(__tstate
);
31607 if (PyErr_Occurred()) SWIG_fail
;
31609 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
31616 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31617 PyObject
*resultobj
;
31618 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31619 PyObject
* obj0
= 0 ;
31620 char *kwnames
[] = {
31621 (char *) "self", NULL
31624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31628 (arg1
)->RecalcSizes();
31630 wxPyEndAllowThreads(__tstate
);
31631 if (PyErr_Occurred()) SWIG_fail
;
31633 Py_INCREF(Py_None
); resultobj
= Py_None
;
31640 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31641 PyObject
*resultobj
;
31642 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31644 PyObject
* obj0
= 0 ;
31645 char *kwnames
[] = {
31646 (char *) "self", NULL
31649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31653 result
= (arg1
)->CalcMin();
31655 wxPyEndAllowThreads(__tstate
);
31656 if (PyErr_Occurred()) SWIG_fail
;
31659 wxSize
* resultptr
;
31660 resultptr
= new wxSize((wxSize
&) result
);
31661 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31669 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31670 PyObject
*resultobj
;
31671 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31673 PyObject
* obj0
= 0 ;
31674 char *kwnames
[] = {
31675 (char *) "self",(char *) "cols", NULL
31678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetCols",kwnames
,&obj0
,&arg2
)) goto fail
;
31679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31682 (arg1
)->SetCols(arg2
);
31684 wxPyEndAllowThreads(__tstate
);
31685 if (PyErr_Occurred()) SWIG_fail
;
31687 Py_INCREF(Py_None
); resultobj
= Py_None
;
31694 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31695 PyObject
*resultobj
;
31696 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31698 PyObject
* obj0
= 0 ;
31699 char *kwnames
[] = {
31700 (char *) "self",(char *) "rows", NULL
31703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
31704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31707 (arg1
)->SetRows(arg2
);
31709 wxPyEndAllowThreads(__tstate
);
31710 if (PyErr_Occurred()) SWIG_fail
;
31712 Py_INCREF(Py_None
); resultobj
= Py_None
;
31719 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31720 PyObject
*resultobj
;
31721 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31723 PyObject
* obj0
= 0 ;
31724 char *kwnames
[] = {
31725 (char *) "self",(char *) "gap", NULL
31728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetVGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31732 (arg1
)->SetVGap(arg2
);
31734 wxPyEndAllowThreads(__tstate
);
31735 if (PyErr_Occurred()) SWIG_fail
;
31737 Py_INCREF(Py_None
); resultobj
= Py_None
;
31744 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31745 PyObject
*resultobj
;
31746 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31748 PyObject
* obj0
= 0 ;
31749 char *kwnames
[] = {
31750 (char *) "self",(char *) "gap", NULL
31753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetHGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31757 (arg1
)->SetHGap(arg2
);
31759 wxPyEndAllowThreads(__tstate
);
31760 if (PyErr_Occurred()) SWIG_fail
;
31762 Py_INCREF(Py_None
); resultobj
= Py_None
;
31769 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31770 PyObject
*resultobj
;
31771 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31773 PyObject
* obj0
= 0 ;
31774 char *kwnames
[] = {
31775 (char *) "self", NULL
31778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
31779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31782 result
= (int)(arg1
)->GetCols();
31784 wxPyEndAllowThreads(__tstate
);
31785 if (PyErr_Occurred()) SWIG_fail
;
31787 resultobj
= PyInt_FromLong((long)result
);
31794 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
;
31796 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31798 PyObject
* obj0
= 0 ;
31799 char *kwnames
[] = {
31800 (char *) "self", NULL
31803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
31804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31807 result
= (int)(arg1
)->GetRows();
31809 wxPyEndAllowThreads(__tstate
);
31810 if (PyErr_Occurred()) SWIG_fail
;
31812 resultobj
= PyInt_FromLong((long)result
);
31819 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31820 PyObject
*resultobj
;
31821 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31823 PyObject
* obj0
= 0 ;
31824 char *kwnames
[] = {
31825 (char *) "self", NULL
31828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
31829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31832 result
= (int)(arg1
)->GetVGap();
31834 wxPyEndAllowThreads(__tstate
);
31835 if (PyErr_Occurred()) SWIG_fail
;
31837 resultobj
= PyInt_FromLong((long)result
);
31844 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31845 PyObject
*resultobj
;
31846 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31848 PyObject
* obj0
= 0 ;
31849 char *kwnames
[] = {
31850 (char *) "self", NULL
31853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
31854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31857 result
= (int)(arg1
)->GetHGap();
31859 wxPyEndAllowThreads(__tstate
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31862 resultobj
= PyInt_FromLong((long)result
);
31869 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31872 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
31874 return Py_BuildValue((char *)"");
31876 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31877 PyObject
*resultobj
;
31878 int arg1
= (int) 1 ;
31879 int arg2
= (int) 0 ;
31880 int arg3
= (int) 0 ;
31881 int arg4
= (int) 0 ;
31882 wxFlexGridSizer
*result
;
31883 char *kwnames
[] = {
31884 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_FlexGridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31890 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
31892 wxPyEndAllowThreads(__tstate
);
31893 if (PyErr_Occurred()) SWIG_fail
;
31895 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
31902 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31903 PyObject
*resultobj
;
31904 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31905 PyObject
* obj0
= 0 ;
31906 char *kwnames
[] = {
31907 (char *) "self", NULL
31910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31914 (arg1
)->RecalcSizes();
31916 wxPyEndAllowThreads(__tstate
);
31917 if (PyErr_Occurred()) SWIG_fail
;
31919 Py_INCREF(Py_None
); resultobj
= Py_None
;
31926 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31927 PyObject
*resultobj
;
31928 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31930 PyObject
* obj0
= 0 ;
31931 char *kwnames
[] = {
31932 (char *) "self", NULL
31935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31939 result
= (arg1
)->CalcMin();
31941 wxPyEndAllowThreads(__tstate
);
31942 if (PyErr_Occurred()) SWIG_fail
;
31945 wxSize
* resultptr
;
31946 resultptr
= new wxSize((wxSize
&) result
);
31947 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31955 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31956 PyObject
*resultobj
;
31957 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31959 int arg3
= (int) 0 ;
31960 PyObject
* obj0
= 0 ;
31961 PyObject
* obj1
= 0 ;
31962 char *kwnames
[] = {
31963 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
31967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31968 arg2
= (size_t) PyInt_AsLong(obj1
);
31969 if (PyErr_Occurred()) SWIG_fail
;
31971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31972 (arg1
)->AddGrowableRow(arg2
,arg3
);
31974 wxPyEndAllowThreads(__tstate
);
31975 if (PyErr_Occurred()) SWIG_fail
;
31977 Py_INCREF(Py_None
); resultobj
= Py_None
;
31984 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31985 PyObject
*resultobj
;
31986 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31988 PyObject
* obj0
= 0 ;
31989 PyObject
* obj1
= 0 ;
31990 char *kwnames
[] = {
31991 (char *) "self",(char *) "idx", NULL
31994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
31995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31996 arg2
= (size_t) PyInt_AsLong(obj1
);
31997 if (PyErr_Occurred()) SWIG_fail
;
31999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32000 (arg1
)->RemoveGrowableRow(arg2
);
32002 wxPyEndAllowThreads(__tstate
);
32003 if (PyErr_Occurred()) SWIG_fail
;
32005 Py_INCREF(Py_None
); resultobj
= Py_None
;
32012 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32013 PyObject
*resultobj
;
32014 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32016 int arg3
= (int) 0 ;
32017 PyObject
* obj0
= 0 ;
32018 PyObject
* obj1
= 0 ;
32019 char *kwnames
[] = {
32020 (char *) "self",(char *) "idx",(char *) "proportion", NULL
32023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
32024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32025 arg2
= (size_t) PyInt_AsLong(obj1
);
32026 if (PyErr_Occurred()) SWIG_fail
;
32028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32029 (arg1
)->AddGrowableCol(arg2
,arg3
);
32031 wxPyEndAllowThreads(__tstate
);
32032 if (PyErr_Occurred()) SWIG_fail
;
32034 Py_INCREF(Py_None
); resultobj
= Py_None
;
32041 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32042 PyObject
*resultobj
;
32043 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32045 PyObject
* obj0
= 0 ;
32046 PyObject
* obj1
= 0 ;
32047 char *kwnames
[] = {
32048 (char *) "self",(char *) "idx", NULL
32051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
32052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32053 arg2
= (size_t) PyInt_AsLong(obj1
);
32054 if (PyErr_Occurred()) SWIG_fail
;
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32057 (arg1
)->RemoveGrowableCol(arg2
);
32059 wxPyEndAllowThreads(__tstate
);
32060 if (PyErr_Occurred()) SWIG_fail
;
32062 Py_INCREF(Py_None
); resultobj
= Py_None
;
32069 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32070 PyObject
*resultobj
;
32071 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32073 PyObject
* obj0
= 0 ;
32074 char *kwnames
[] = {
32075 (char *) "self",(char *) "direction", NULL
32078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&arg2
)) goto fail
;
32079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32082 (arg1
)->SetFlexibleDirection(arg2
);
32084 wxPyEndAllowThreads(__tstate
);
32085 if (PyErr_Occurred()) SWIG_fail
;
32087 Py_INCREF(Py_None
); resultobj
= Py_None
;
32094 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32095 PyObject
*resultobj
;
32096 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32098 PyObject
* obj0
= 0 ;
32099 char *kwnames
[] = {
32100 (char *) "self", NULL
32103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
32104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32107 result
= (int)(arg1
)->GetFlexibleDirection();
32109 wxPyEndAllowThreads(__tstate
);
32110 if (PyErr_Occurred()) SWIG_fail
;
32112 resultobj
= PyInt_FromLong((long)result
);
32119 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32120 PyObject
*resultobj
;
32121 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32123 PyObject
* obj0
= 0 ;
32124 char *kwnames
[] = {
32125 (char *) "self",(char *) "mode", NULL
32128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&arg2
)) goto fail
;
32129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32132 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32137 Py_INCREF(Py_None
); resultobj
= Py_None
;
32144 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32145 PyObject
*resultobj
;
32146 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32148 PyObject
* obj0
= 0 ;
32149 char *kwnames
[] = {
32150 (char *) "self", NULL
32153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
32154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32157 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
32159 wxPyEndAllowThreads(__tstate
);
32160 if (PyErr_Occurred()) SWIG_fail
;
32162 resultobj
= PyInt_FromLong((long)result
);
32169 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
32171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32172 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
32174 return Py_BuildValue((char *)"");
32176 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32177 PyObject
*resultobj
;
32178 int arg1
= (int) 0 ;
32179 int arg2
= (int) 0 ;
32180 wxGBPosition
*result
;
32181 char *kwnames
[] = {
32182 (char *) "row",(char *) "col", NULL
32185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBPosition",kwnames
,&arg1
,&arg2
)) goto fail
;
32187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32188 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
32190 wxPyEndAllowThreads(__tstate
);
32191 if (PyErr_Occurred()) SWIG_fail
;
32193 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
32200 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32201 PyObject
*resultobj
;
32202 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32204 PyObject
* obj0
= 0 ;
32205 char *kwnames
[] = {
32206 (char *) "self", NULL
32209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
32210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32213 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
32215 wxPyEndAllowThreads(__tstate
);
32216 if (PyErr_Occurred()) SWIG_fail
;
32218 resultobj
= PyInt_FromLong((long)result
);
32225 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32226 PyObject
*resultobj
;
32227 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32229 PyObject
* obj0
= 0 ;
32230 char *kwnames
[] = {
32231 (char *) "self", NULL
32234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
32235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32238 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
32240 wxPyEndAllowThreads(__tstate
);
32241 if (PyErr_Occurred()) SWIG_fail
;
32243 resultobj
= PyInt_FromLong((long)result
);
32250 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32251 PyObject
*resultobj
;
32252 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32254 PyObject
* obj0
= 0 ;
32255 char *kwnames
[] = {
32256 (char *) "self",(char *) "row", NULL
32259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
32260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32263 (arg1
)->SetRow(arg2
);
32265 wxPyEndAllowThreads(__tstate
);
32266 if (PyErr_Occurred()) SWIG_fail
;
32268 Py_INCREF(Py_None
); resultobj
= Py_None
;
32275 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32276 PyObject
*resultobj
;
32277 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32279 PyObject
* obj0
= 0 ;
32280 char *kwnames
[] = {
32281 (char *) "self",(char *) "col", NULL
32284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
32285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 (arg1
)->SetCol(arg2
);
32290 wxPyEndAllowThreads(__tstate
);
32291 if (PyErr_Occurred()) SWIG_fail
;
32293 Py_INCREF(Py_None
); resultobj
= Py_None
;
32300 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32301 PyObject
*resultobj
;
32302 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32303 wxGBPosition
*arg2
= 0 ;
32305 wxGBPosition temp2
;
32306 PyObject
* obj0
= 0 ;
32307 PyObject
* obj1
= 0 ;
32308 char *kwnames
[] = {
32309 (char *) "self",(char *) "p", NULL
32312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32316 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32320 result
= (bool)((wxGBPosition
const *)arg1
)->operator ==((wxGBPosition
const &)*arg2
);
32322 wxPyEndAllowThreads(__tstate
);
32323 if (PyErr_Occurred()) SWIG_fail
;
32325 resultobj
= PyInt_FromLong((long)result
);
32332 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32333 PyObject
*resultobj
;
32334 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32335 wxGBPosition
*arg2
= 0 ;
32337 wxGBPosition temp2
;
32338 PyObject
* obj0
= 0 ;
32339 PyObject
* obj1
= 0 ;
32340 char *kwnames
[] = {
32341 (char *) "self",(char *) "p", NULL
32344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32348 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32352 result
= (bool)((wxGBPosition
const *)arg1
)->operator !=((wxGBPosition
const &)*arg2
);
32354 wxPyEndAllowThreads(__tstate
);
32355 if (PyErr_Occurred()) SWIG_fail
;
32357 resultobj
= PyInt_FromLong((long)result
);
32364 static PyObject
*_wrap_GBPosition_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32365 PyObject
*resultobj
;
32366 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32368 PyObject
* obj0
= 0 ;
32369 char *kwnames
[] = {
32370 (char *) "self", NULL
32373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_asTuple",kwnames
,&obj0
)) goto fail
;
32374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32377 result
= (PyObject
*)wxGBPosition_asTuple(arg1
);
32379 wxPyEndAllowThreads(__tstate
);
32380 if (PyErr_Occurred()) SWIG_fail
;
32382 resultobj
= result
;
32389 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
32391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32392 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
32394 return Py_BuildValue((char *)"");
32396 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32397 PyObject
*resultobj
;
32398 int arg1
= (int) 1 ;
32399 int arg2
= (int) 1 ;
32401 char *kwnames
[] = {
32402 (char *) "rowspan",(char *) "colspan", NULL
32405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBSpan",kwnames
,&arg1
,&arg2
)) goto fail
;
32407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32408 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
32410 wxPyEndAllowThreads(__tstate
);
32411 if (PyErr_Occurred()) SWIG_fail
;
32413 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
32420 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32421 PyObject
*resultobj
;
32422 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32424 PyObject
* obj0
= 0 ;
32425 char *kwnames
[] = {
32426 (char *) "self", NULL
32429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
32430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32433 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
32435 wxPyEndAllowThreads(__tstate
);
32436 if (PyErr_Occurred()) SWIG_fail
;
32438 resultobj
= PyInt_FromLong((long)result
);
32445 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32446 PyObject
*resultobj
;
32447 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32449 PyObject
* obj0
= 0 ;
32450 char *kwnames
[] = {
32451 (char *) "self", NULL
32454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
32455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32458 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
32460 wxPyEndAllowThreads(__tstate
);
32461 if (PyErr_Occurred()) SWIG_fail
;
32463 resultobj
= PyInt_FromLong((long)result
);
32470 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32471 PyObject
*resultobj
;
32472 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32474 PyObject
* obj0
= 0 ;
32475 char *kwnames
[] = {
32476 (char *) "self",(char *) "rowspan", NULL
32479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetRowspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32483 (arg1
)->SetRowspan(arg2
);
32485 wxPyEndAllowThreads(__tstate
);
32486 if (PyErr_Occurred()) SWIG_fail
;
32488 Py_INCREF(Py_None
); resultobj
= Py_None
;
32495 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32496 PyObject
*resultobj
;
32497 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32499 PyObject
* obj0
= 0 ;
32500 char *kwnames
[] = {
32501 (char *) "self",(char *) "colspan", NULL
32504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetColspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32508 (arg1
)->SetColspan(arg2
);
32510 wxPyEndAllowThreads(__tstate
);
32511 if (PyErr_Occurred()) SWIG_fail
;
32513 Py_INCREF(Py_None
); resultobj
= Py_None
;
32520 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32521 PyObject
*resultobj
;
32522 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32523 wxGBSpan
*arg2
= 0 ;
32526 PyObject
* obj0
= 0 ;
32527 PyObject
* obj1
= 0 ;
32528 char *kwnames
[] = {
32529 (char *) "self",(char *) "o", NULL
32532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32536 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32540 result
= (bool)((wxGBSpan
const *)arg1
)->operator ==((wxGBSpan
const &)*arg2
);
32542 wxPyEndAllowThreads(__tstate
);
32543 if (PyErr_Occurred()) SWIG_fail
;
32545 resultobj
= PyInt_FromLong((long)result
);
32552 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32553 PyObject
*resultobj
;
32554 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32555 wxGBSpan
*arg2
= 0 ;
32558 PyObject
* obj0
= 0 ;
32559 PyObject
* obj1
= 0 ;
32560 char *kwnames
[] = {
32561 (char *) "self",(char *) "o", NULL
32564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32568 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32572 result
= (bool)((wxGBSpan
const *)arg1
)->operator !=((wxGBSpan
const &)*arg2
);
32574 wxPyEndAllowThreads(__tstate
);
32575 if (PyErr_Occurred()) SWIG_fail
;
32577 resultobj
= PyInt_FromLong((long)result
);
32584 static PyObject
*_wrap_GBSpan_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32585 PyObject
*resultobj
;
32586 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32588 PyObject
* obj0
= 0 ;
32589 char *kwnames
[] = {
32590 (char *) "self", NULL
32593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_asTuple",kwnames
,&obj0
)) goto fail
;
32594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32597 result
= (PyObject
*)wxGBSpan_asTuple(arg1
);
32599 wxPyEndAllowThreads(__tstate
);
32600 if (PyErr_Occurred()) SWIG_fail
;
32602 resultobj
= result
;
32609 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
32611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32612 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
32614 return Py_BuildValue((char *)"");
32616 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
32617 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
32622 static PyObject
*_wrap_DefaultSpan_get() {
32625 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
32630 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32631 PyObject
*resultobj
;
32632 wxGBSizerItem
*result
;
32633 char *kwnames
[] = {
32637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
32639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32640 result
= (wxGBSizerItem
*)new wxGBSizerItem();
32642 wxPyEndAllowThreads(__tstate
);
32643 if (PyErr_Occurred()) SWIG_fail
;
32645 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32652 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32653 PyObject
*resultobj
;
32654 wxWindow
*arg1
= (wxWindow
*) 0 ;
32655 wxGBPosition
*arg2
= 0 ;
32656 wxGBSpan
*arg3
= 0 ;
32659 wxObject
*arg6
= (wxObject
*) 0 ;
32660 wxGBSizerItem
*result
;
32661 wxGBPosition temp2
;
32663 PyObject
* obj0
= 0 ;
32664 PyObject
* obj1
= 0 ;
32665 PyObject
* obj2
= 0 ;
32666 PyObject
* obj5
= 0 ;
32667 char *kwnames
[] = {
32668 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
32672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32675 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32679 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32681 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32684 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
32686 wxPyEndAllowThreads(__tstate
);
32687 if (PyErr_Occurred()) SWIG_fail
;
32689 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32696 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32697 PyObject
*resultobj
;
32698 wxSizer
*arg1
= (wxSizer
*) 0 ;
32699 wxGBPosition
*arg2
= 0 ;
32700 wxGBSpan
*arg3
= 0 ;
32703 wxObject
*arg6
= (wxObject
*) 0 ;
32704 wxGBSizerItem
*result
;
32705 wxGBPosition temp2
;
32707 PyObject
* obj0
= 0 ;
32708 PyObject
* obj1
= 0 ;
32709 PyObject
* obj2
= 0 ;
32710 PyObject
* obj5
= 0 ;
32711 char *kwnames
[] = {
32712 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
32716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32719 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32723 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32725 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32728 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
32730 wxPyEndAllowThreads(__tstate
);
32731 if (PyErr_Occurred()) SWIG_fail
;
32733 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32740 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32741 PyObject
*resultobj
;
32744 wxGBPosition
*arg3
= 0 ;
32745 wxGBSpan
*arg4
= 0 ;
32748 wxObject
*arg7
= (wxObject
*) 0 ;
32749 wxGBSizerItem
*result
;
32750 wxGBPosition temp3
;
32752 PyObject
* obj2
= 0 ;
32753 PyObject
* obj3
= 0 ;
32754 PyObject
* obj6
= 0 ;
32755 char *kwnames
[] = {
32756 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames
,&arg1
,&arg2
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
32762 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
32766 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
32768 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32771 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32776 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32783 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32784 PyObject
*resultobj
;
32785 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32786 wxGBPosition result
;
32787 PyObject
* obj0
= 0 ;
32788 char *kwnames
[] = {
32789 (char *) "self", NULL
32792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
32793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32796 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
32798 wxPyEndAllowThreads(__tstate
);
32799 if (PyErr_Occurred()) SWIG_fail
;
32802 wxGBPosition
* resultptr
;
32803 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
32804 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
32812 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32813 PyObject
*resultobj
;
32814 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32816 PyObject
* obj0
= 0 ;
32817 char *kwnames
[] = {
32818 (char *) "self", NULL
32821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
32822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32825 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
32827 wxPyEndAllowThreads(__tstate
);
32828 if (PyErr_Occurred()) SWIG_fail
;
32831 wxGBSpan
* resultptr
;
32832 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
32833 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
32841 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32842 PyObject
*resultobj
;
32843 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32844 wxGBPosition
*arg2
= 0 ;
32846 wxGBPosition temp2
;
32847 PyObject
* obj0
= 0 ;
32848 PyObject
* obj1
= 0 ;
32849 char *kwnames
[] = {
32850 (char *) "self",(char *) "pos", NULL
32853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
32854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32857 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32861 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
32863 wxPyEndAllowThreads(__tstate
);
32864 if (PyErr_Occurred()) SWIG_fail
;
32866 resultobj
= PyInt_FromLong((long)result
);
32873 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32874 PyObject
*resultobj
;
32875 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32876 wxGBSpan
*arg2
= 0 ;
32879 PyObject
* obj0
= 0 ;
32880 PyObject
* obj1
= 0 ;
32881 char *kwnames
[] = {
32882 (char *) "self",(char *) "span", NULL
32885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
32886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32889 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32893 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
32895 wxPyEndAllowThreads(__tstate
);
32896 if (PyErr_Occurred()) SWIG_fail
;
32898 resultobj
= PyInt_FromLong((long)result
);
32905 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
32906 PyObject
*resultobj
;
32907 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32908 wxGBSizerItem
*arg2
= 0 ;
32910 PyObject
* obj0
= 0 ;
32911 PyObject
* obj1
= 0 ;
32913 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
32914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32915 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32916 if (arg2
== NULL
) {
32917 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32921 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
32923 wxPyEndAllowThreads(__tstate
);
32924 if (PyErr_Occurred()) SWIG_fail
;
32926 resultobj
= PyInt_FromLong((long)result
);
32933 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
32934 PyObject
*resultobj
;
32935 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32936 wxGBPosition
*arg2
= 0 ;
32937 wxGBSpan
*arg3
= 0 ;
32939 wxGBPosition temp2
;
32941 PyObject
* obj0
= 0 ;
32942 PyObject
* obj1
= 0 ;
32943 PyObject
* obj2
= 0 ;
32945 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
32946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32949 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32953 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32957 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
32959 wxPyEndAllowThreads(__tstate
);
32960 if (PyErr_Occurred()) SWIG_fail
;
32962 resultobj
= PyInt_FromLong((long)result
);
32969 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
32974 argc
= PyObject_Length(args
);
32975 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
32976 argv
[ii
] = PyTuple_GetItem(args
,ii
);
32982 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
32992 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33000 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
33008 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33017 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
33021 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33024 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
33030 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
33035 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33036 PyObject
*resultobj
;
33037 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33040 PyObject
* obj0
= 0 ;
33041 PyObject
* obj1
= 0 ;
33042 PyObject
* obj2
= 0 ;
33043 char *kwnames
[] = {
33044 (char *) "self",(char *) "row",(char *) "col", NULL
33047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33049 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33050 if (arg2
== NULL
) {
33051 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33053 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33054 if (arg3
== NULL
) {
33055 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33059 (arg1
)->GetEndPos(*arg2
,*arg3
);
33061 wxPyEndAllowThreads(__tstate
);
33062 if (PyErr_Occurred()) SWIG_fail
;
33064 Py_INCREF(Py_None
); resultobj
= Py_None
;
33071 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33072 PyObject
*resultobj
;
33073 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33074 wxGridBagSizer
*result
;
33075 PyObject
* obj0
= 0 ;
33076 char *kwnames
[] = {
33077 (char *) "self", NULL
33080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
33081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33084 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
33086 wxPyEndAllowThreads(__tstate
);
33087 if (PyErr_Occurred()) SWIG_fail
;
33089 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
33096 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33097 PyObject
*resultobj
;
33098 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33099 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
33100 PyObject
* obj0
= 0 ;
33101 PyObject
* obj1
= 0 ;
33102 char *kwnames
[] = {
33103 (char *) "self",(char *) "sizer", NULL
33106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33108 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33111 (arg1
)->SetGBSizer(arg2
);
33113 wxPyEndAllowThreads(__tstate
);
33114 if (PyErr_Occurred()) SWIG_fail
;
33116 Py_INCREF(Py_None
); resultobj
= Py_None
;
33123 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
33125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33126 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
33128 return Py_BuildValue((char *)"");
33130 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33131 PyObject
*resultobj
;
33132 int arg1
= (int) 0 ;
33133 int arg2
= (int) 0 ;
33134 wxGridBagSizer
*result
;
33135 char *kwnames
[] = {
33136 (char *) "vgap",(char *) "hgap", NULL
33139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridBagSizer",kwnames
,&arg1
,&arg2
)) goto fail
;
33141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33142 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
33144 wxPyEndAllowThreads(__tstate
);
33145 if (PyErr_Occurred()) SWIG_fail
;
33147 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
33154 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33155 PyObject
*resultobj
;
33156 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33157 PyObject
*arg2
= (PyObject
*) 0 ;
33158 wxGBPosition
*arg3
= 0 ;
33159 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
33160 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
33161 int arg5
= (int) 0 ;
33162 int arg6
= (int) 0 ;
33163 PyObject
*arg7
= (PyObject
*) NULL
;
33165 wxGBPosition temp3
;
33167 PyObject
* obj0
= 0 ;
33168 PyObject
* obj1
= 0 ;
33169 PyObject
* obj2
= 0 ;
33170 PyObject
* obj3
= 0 ;
33171 PyObject
* obj6
= 0 ;
33172 char *kwnames
[] = {
33173 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
33177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33181 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33186 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
33193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33194 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
33196 wxPyEndAllowThreads(__tstate
);
33197 if (PyErr_Occurred()) SWIG_fail
;
33199 resultobj
= PyInt_FromLong((long)result
);
33206 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33207 PyObject
*resultobj
;
33208 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33209 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
33211 PyObject
* obj0
= 0 ;
33212 PyObject
* obj1
= 0 ;
33213 char *kwnames
[] = {
33214 (char *) "self",(char *) "item", NULL
33217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33219 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33222 result
= (bool)(arg1
)->Add(arg2
);
33224 wxPyEndAllowThreads(__tstate
);
33225 if (PyErr_Occurred()) SWIG_fail
;
33227 resultobj
= PyInt_FromLong((long)result
);
33234 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33235 PyObject
*resultobj
;
33236 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33238 PyObject
* obj0
= 0 ;
33239 char *kwnames
[] = {
33240 (char *) "self", NULL
33243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
33244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33247 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
33249 wxPyEndAllowThreads(__tstate
);
33250 if (PyErr_Occurred()) SWIG_fail
;
33253 wxSize
* resultptr
;
33254 resultptr
= new wxSize((wxSize
&) result
);
33255 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33263 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33264 PyObject
*resultobj
;
33265 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33268 PyObject
* obj0
= 0 ;
33269 PyObject
* obj1
= 0 ;
33270 char *kwnames
[] = {
33271 (char *) "self",(char *) "sz", NULL
33274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33278 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33282 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
33284 wxPyEndAllowThreads(__tstate
);
33285 if (PyErr_Occurred()) SWIG_fail
;
33287 Py_INCREF(Py_None
); resultobj
= Py_None
;
33294 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33295 PyObject
*resultobj
;
33296 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33297 wxWindow
*arg2
= (wxWindow
*) 0 ;
33298 wxGBPosition result
;
33299 PyObject
* obj0
= 0 ;
33300 PyObject
* obj1
= 0 ;
33302 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33304 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33307 result
= (arg1
)->GetItemPosition(arg2
);
33309 wxPyEndAllowThreads(__tstate
);
33310 if (PyErr_Occurred()) SWIG_fail
;
33313 wxGBPosition
* resultptr
;
33314 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33315 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33323 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
33324 PyObject
*resultobj
;
33325 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33326 wxSizer
*arg2
= (wxSizer
*) 0 ;
33327 wxGBPosition result
;
33328 PyObject
* obj0
= 0 ;
33329 PyObject
* obj1
= 0 ;
33331 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33336 result
= (arg1
)->GetItemPosition(arg2
);
33338 wxPyEndAllowThreads(__tstate
);
33339 if (PyErr_Occurred()) SWIG_fail
;
33342 wxGBPosition
* resultptr
;
33343 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33344 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33352 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33353 PyObject
*resultobj
;
33354 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33356 wxGBPosition result
;
33357 PyObject
* obj0
= 0 ;
33358 PyObject
* obj1
= 0 ;
33360 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33362 arg2
= (size_t) PyInt_AsLong(obj1
);
33363 if (PyErr_Occurred()) SWIG_fail
;
33365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33366 result
= (arg1
)->GetItemPosition(arg2
);
33368 wxPyEndAllowThreads(__tstate
);
33369 if (PyErr_Occurred()) SWIG_fail
;
33372 wxGBPosition
* resultptr
;
33373 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33374 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33382 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
33387 argc
= PyObject_Length(args
);
33388 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33389 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33395 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33405 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33413 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
33421 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33431 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33439 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
33447 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33456 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33459 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
33464 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33469 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33470 PyObject
*resultobj
;
33471 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33472 wxWindow
*arg2
= (wxWindow
*) 0 ;
33473 wxGBPosition
*arg3
= 0 ;
33475 wxGBPosition temp3
;
33476 PyObject
* obj0
= 0 ;
33477 PyObject
* obj1
= 0 ;
33478 PyObject
* obj2
= 0 ;
33480 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33482 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33485 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33489 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33491 wxPyEndAllowThreads(__tstate
);
33492 if (PyErr_Occurred()) SWIG_fail
;
33494 resultobj
= PyInt_FromLong((long)result
);
33501 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
33502 PyObject
*resultobj
;
33503 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33504 wxSizer
*arg2
= (wxSizer
*) 0 ;
33505 wxGBPosition
*arg3
= 0 ;
33507 wxGBPosition temp3
;
33508 PyObject
* obj0
= 0 ;
33509 PyObject
* obj1
= 0 ;
33510 PyObject
* obj2
= 0 ;
33512 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33514 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33517 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33521 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33523 wxPyEndAllowThreads(__tstate
);
33524 if (PyErr_Occurred()) SWIG_fail
;
33526 resultobj
= PyInt_FromLong((long)result
);
33533 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33534 PyObject
*resultobj
;
33535 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33537 wxGBPosition
*arg3
= 0 ;
33539 wxGBPosition temp3
;
33540 PyObject
* obj0
= 0 ;
33541 PyObject
* obj1
= 0 ;
33542 PyObject
* obj2
= 0 ;
33544 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33546 arg2
= (size_t) PyInt_AsLong(obj1
);
33547 if (PyErr_Occurred()) SWIG_fail
;
33550 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33554 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33556 wxPyEndAllowThreads(__tstate
);
33557 if (PyErr_Occurred()) SWIG_fail
;
33559 resultobj
= PyInt_FromLong((long)result
);
33566 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
33571 argc
= PyObject_Length(args
);
33572 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33573 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33579 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33589 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33598 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33601 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
33610 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33620 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33629 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33632 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
33641 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33650 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33654 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33657 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
33663 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
33668 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
33669 PyObject
*resultobj
;
33670 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33671 wxWindow
*arg2
= (wxWindow
*) 0 ;
33673 PyObject
* obj0
= 0 ;
33674 PyObject
* obj1
= 0 ;
33676 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33678 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33681 result
= (arg1
)->GetItemSpan(arg2
);
33683 wxPyEndAllowThreads(__tstate
);
33684 if (PyErr_Occurred()) SWIG_fail
;
33687 wxGBSpan
* resultptr
;
33688 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33689 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33697 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
33698 PyObject
*resultobj
;
33699 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33700 wxSizer
*arg2
= (wxSizer
*) 0 ;
33702 PyObject
* obj0
= 0 ;
33703 PyObject
* obj1
= 0 ;
33705 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33707 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33710 result
= (arg1
)->GetItemSpan(arg2
);
33712 wxPyEndAllowThreads(__tstate
);
33713 if (PyErr_Occurred()) SWIG_fail
;
33716 wxGBSpan
* resultptr
;
33717 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33718 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33726 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
33727 PyObject
*resultobj
;
33728 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33731 PyObject
* obj0
= 0 ;
33732 PyObject
* obj1
= 0 ;
33734 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33736 arg2
= (size_t) PyInt_AsLong(obj1
);
33737 if (PyErr_Occurred()) SWIG_fail
;
33739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33740 result
= (arg1
)->GetItemSpan(arg2
);
33742 wxPyEndAllowThreads(__tstate
);
33743 if (PyErr_Occurred()) SWIG_fail
;
33746 wxGBSpan
* resultptr
;
33747 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33748 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33756 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
33761 argc
= PyObject_Length(args
);
33762 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33763 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33769 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33779 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33787 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
33795 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33805 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33813 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
33821 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33830 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33833 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
33838 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
33843 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
33844 PyObject
*resultobj
;
33845 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33846 wxWindow
*arg2
= (wxWindow
*) 0 ;
33847 wxGBSpan
*arg3
= 0 ;
33850 PyObject
* obj0
= 0 ;
33851 PyObject
* obj1
= 0 ;
33852 PyObject
* obj2
= 0 ;
33854 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33856 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33859 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33863 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33865 wxPyEndAllowThreads(__tstate
);
33866 if (PyErr_Occurred()) SWIG_fail
;
33868 resultobj
= PyInt_FromLong((long)result
);
33875 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
33876 PyObject
*resultobj
;
33877 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33878 wxSizer
*arg2
= (wxSizer
*) 0 ;
33879 wxGBSpan
*arg3
= 0 ;
33882 PyObject
* obj0
= 0 ;
33883 PyObject
* obj1
= 0 ;
33884 PyObject
* obj2
= 0 ;
33886 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33888 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33891 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33895 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33897 wxPyEndAllowThreads(__tstate
);
33898 if (PyErr_Occurred()) SWIG_fail
;
33900 resultobj
= PyInt_FromLong((long)result
);
33907 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
33908 PyObject
*resultobj
;
33909 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33911 wxGBSpan
*arg3
= 0 ;
33914 PyObject
* obj0
= 0 ;
33915 PyObject
* obj1
= 0 ;
33916 PyObject
* obj2
= 0 ;
33918 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33920 arg2
= (size_t) PyInt_AsLong(obj1
);
33921 if (PyErr_Occurred()) SWIG_fail
;
33924 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33928 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33930 wxPyEndAllowThreads(__tstate
);
33931 if (PyErr_Occurred()) SWIG_fail
;
33933 resultobj
= PyInt_FromLong((long)result
);
33940 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
33945 argc
= PyObject_Length(args
);
33946 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33947 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33953 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33963 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33972 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33975 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
33984 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33994 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34003 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34006 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
34015 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34024 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
34028 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34031 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
34037 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
34042 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
34043 PyObject
*resultobj
;
34044 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34045 wxWindow
*arg2
= (wxWindow
*) 0 ;
34046 wxGBSizerItem
*result
;
34047 PyObject
* obj0
= 0 ;
34048 PyObject
* obj1
= 0 ;
34050 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
34051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34055 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
34057 wxPyEndAllowThreads(__tstate
);
34058 if (PyErr_Occurred()) SWIG_fail
;
34060 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34067 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
34068 PyObject
*resultobj
;
34069 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34070 wxSizer
*arg2
= (wxSizer
*) 0 ;
34071 wxGBSizerItem
*result
;
34072 PyObject
* obj0
= 0 ;
34073 PyObject
* obj1
= 0 ;
34075 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
34076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34077 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34080 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
34082 wxPyEndAllowThreads(__tstate
);
34083 if (PyErr_Occurred()) SWIG_fail
;
34085 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34092 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
34097 argc
= PyObject_Length(args
);
34098 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
34099 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34105 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34115 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34123 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
34131 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34141 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34149 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
34154 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
34159 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34160 PyObject
*resultobj
;
34161 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34162 wxGBPosition
*arg2
= 0 ;
34163 wxGBSizerItem
*result
;
34164 wxGBPosition temp2
;
34165 PyObject
* obj0
= 0 ;
34166 PyObject
* obj1
= 0 ;
34167 char *kwnames
[] = {
34168 (char *) "self",(char *) "pos", NULL
34171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34175 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34179 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
34181 wxPyEndAllowThreads(__tstate
);
34182 if (PyErr_Occurred()) SWIG_fail
;
34184 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34191 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34192 PyObject
*resultobj
;
34193 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34194 wxObject
*arg2
= (wxObject
*) 0 ;
34195 wxGBSizerItem
*result
;
34196 PyObject
* obj0
= 0 ;
34197 PyObject
* obj1
= 0 ;
34198 char *kwnames
[] = {
34199 (char *) "self",(char *) "userData", NULL
34202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
34203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34204 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34207 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
34209 wxPyEndAllowThreads(__tstate
);
34210 if (PyErr_Occurred()) SWIG_fail
;
34212 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34219 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34220 PyObject
*resultobj
;
34221 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34222 PyObject
* obj0
= 0 ;
34223 char *kwnames
[] = {
34224 (char *) "self", NULL
34227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34231 (arg1
)->RecalcSizes();
34233 wxPyEndAllowThreads(__tstate
);
34234 if (PyErr_Occurred()) SWIG_fail
;
34236 Py_INCREF(Py_None
); resultobj
= Py_None
;
34243 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34244 PyObject
*resultobj
;
34245 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34247 PyObject
* obj0
= 0 ;
34248 char *kwnames
[] = {
34249 (char *) "self", NULL
34252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34256 result
= (arg1
)->CalcMin();
34258 wxPyEndAllowThreads(__tstate
);
34259 if (PyErr_Occurred()) SWIG_fail
;
34262 wxSize
* resultptr
;
34263 resultptr
= new wxSize((wxSize
&) result
);
34264 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34272 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
34273 PyObject
*resultobj
;
34274 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34275 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
34276 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
34278 PyObject
* obj0
= 0 ;
34279 PyObject
* obj1
= 0 ;
34280 PyObject
* obj2
= 0 ;
34282 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
34283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34284 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34286 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34290 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
34292 wxPyEndAllowThreads(__tstate
);
34293 if (PyErr_Occurred()) SWIG_fail
;
34295 resultobj
= PyInt_FromLong((long)result
);
34302 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
34303 PyObject
*resultobj
;
34304 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34305 wxGBPosition
*arg2
= 0 ;
34306 wxGBSpan
*arg3
= 0 ;
34307 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
34309 wxGBPosition temp2
;
34311 PyObject
* obj0
= 0 ;
34312 PyObject
* obj1
= 0 ;
34313 PyObject
* obj2
= 0 ;
34314 PyObject
* obj3
= 0 ;
34316 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34320 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34324 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34327 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34331 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
34333 wxPyEndAllowThreads(__tstate
);
34334 if (PyErr_Occurred()) SWIG_fail
;
34336 resultobj
= PyInt_FromLong((long)result
);
34343 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
34348 argc
= PyObject_Length(args
);
34349 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
34350 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34352 if ((argc
>= 2) && (argc
<= 3)) {
34356 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34366 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34375 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34379 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34387 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34392 if ((argc
>= 3) && (argc
<= 4)) {
34396 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34405 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
34409 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34413 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
34417 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34425 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
34432 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
34437 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34440 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
34442 return Py_BuildValue((char *)"");
34444 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34445 PyObject
*resultobj
;
34446 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34448 wxWindow
*arg3
= (wxWindow
*) 0 ;
34450 int arg5
= (int) 0 ;
34451 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
34452 PyObject
* obj0
= 0 ;
34453 PyObject
* obj2
= 0 ;
34454 char *kwnames
[] = {
34455 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
)) goto fail
;
34459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34460 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34463 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
34465 wxPyEndAllowThreads(__tstate
);
34466 if (PyErr_Occurred()) SWIG_fail
;
34468 Py_INCREF(Py_None
); resultobj
= Py_None
;
34475 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34476 PyObject
*resultobj
;
34477 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34478 wxWindow
*arg2
= (wxWindow
*) 0 ;
34479 int arg3
= (int) 0 ;
34480 PyObject
* obj0
= 0 ;
34481 PyObject
* obj1
= 0 ;
34482 char *kwnames
[] = {
34483 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34488 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34491 (arg1
)->LeftOf(arg2
,arg3
);
34493 wxPyEndAllowThreads(__tstate
);
34494 if (PyErr_Occurred()) SWIG_fail
;
34496 Py_INCREF(Py_None
); resultobj
= Py_None
;
34503 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34504 PyObject
*resultobj
;
34505 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34506 wxWindow
*arg2
= (wxWindow
*) 0 ;
34507 int arg3
= (int) 0 ;
34508 PyObject
* obj0
= 0 ;
34509 PyObject
* obj1
= 0 ;
34510 char *kwnames
[] = {
34511 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34516 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34519 (arg1
)->RightOf(arg2
,arg3
);
34521 wxPyEndAllowThreads(__tstate
);
34522 if (PyErr_Occurred()) SWIG_fail
;
34524 Py_INCREF(Py_None
); resultobj
= Py_None
;
34531 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34532 PyObject
*resultobj
;
34533 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34534 wxWindow
*arg2
= (wxWindow
*) 0 ;
34535 int arg3
= (int) 0 ;
34536 PyObject
* obj0
= 0 ;
34537 PyObject
* obj1
= 0 ;
34538 char *kwnames
[] = {
34539 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34544 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34547 (arg1
)->Above(arg2
,arg3
);
34549 wxPyEndAllowThreads(__tstate
);
34550 if (PyErr_Occurred()) SWIG_fail
;
34552 Py_INCREF(Py_None
); resultobj
= Py_None
;
34559 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34560 PyObject
*resultobj
;
34561 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34562 wxWindow
*arg2
= (wxWindow
*) 0 ;
34563 int arg3
= (int) 0 ;
34564 PyObject
* obj0
= 0 ;
34565 PyObject
* obj1
= 0 ;
34566 char *kwnames
[] = {
34567 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34572 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34575 (arg1
)->Below(arg2
,arg3
);
34577 wxPyEndAllowThreads(__tstate
);
34578 if (PyErr_Occurred()) SWIG_fail
;
34580 Py_INCREF(Py_None
); resultobj
= Py_None
;
34587 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34588 PyObject
*resultobj
;
34589 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34590 wxWindow
*arg2
= (wxWindow
*) 0 ;
34592 int arg4
= (int) 0 ;
34593 PyObject
* obj0
= 0 ;
34594 PyObject
* obj1
= 0 ;
34595 char *kwnames
[] = {
34596 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
34600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34601 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34604 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
34606 wxPyEndAllowThreads(__tstate
);
34607 if (PyErr_Occurred()) SWIG_fail
;
34609 Py_INCREF(Py_None
); resultobj
= Py_None
;
34616 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34617 PyObject
*resultobj
;
34618 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34619 wxWindow
*arg2
= (wxWindow
*) 0 ;
34622 PyObject
* obj0
= 0 ;
34623 PyObject
* obj1
= 0 ;
34624 char *kwnames
[] = {
34625 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
34628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
34629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34633 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
34635 wxPyEndAllowThreads(__tstate
);
34636 if (PyErr_Occurred()) SWIG_fail
;
34638 Py_INCREF(Py_None
); resultobj
= Py_None
;
34645 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34646 PyObject
*resultobj
;
34647 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34649 PyObject
* obj0
= 0 ;
34650 char *kwnames
[] = {
34651 (char *) "self",(char *) "val", NULL
34654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&arg2
)) goto fail
;
34655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34658 (arg1
)->Absolute(arg2
);
34660 wxPyEndAllowThreads(__tstate
);
34661 if (PyErr_Occurred()) SWIG_fail
;
34663 Py_INCREF(Py_None
); resultobj
= Py_None
;
34670 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34671 PyObject
*resultobj
;
34672 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34673 PyObject
* obj0
= 0 ;
34674 char *kwnames
[] = {
34675 (char *) "self", NULL
34678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
34679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34682 (arg1
)->Unconstrained();
34684 wxPyEndAllowThreads(__tstate
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34687 Py_INCREF(Py_None
); resultobj
= Py_None
;
34694 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34695 PyObject
*resultobj
;
34696 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34697 PyObject
* obj0
= 0 ;
34698 char *kwnames
[] = {
34699 (char *) "self", NULL
34702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
34703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34708 wxPyEndAllowThreads(__tstate
);
34709 if (PyErr_Occurred()) SWIG_fail
;
34711 Py_INCREF(Py_None
); resultobj
= Py_None
;
34718 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34719 PyObject
*resultobj
;
34720 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34722 PyObject
* obj0
= 0 ;
34723 char *kwnames
[] = {
34724 (char *) "self", NULL
34727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
34728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34731 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
34733 wxPyEndAllowThreads(__tstate
);
34734 if (PyErr_Occurred()) SWIG_fail
;
34737 resultobj
= wxPyMake_wxObject(result
);
34745 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34746 PyObject
*resultobj
;
34747 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34749 PyObject
* obj0
= 0 ;
34750 char *kwnames
[] = {
34751 (char *) "self", NULL
34754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
34755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34758 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
34760 wxPyEndAllowThreads(__tstate
);
34761 if (PyErr_Occurred()) SWIG_fail
;
34763 resultobj
= PyInt_FromLong((long)result
);
34770 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34771 PyObject
*resultobj
;
34772 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34774 PyObject
* obj0
= 0 ;
34775 char *kwnames
[] = {
34776 (char *) "self",(char *) "which", NULL
34779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
34780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34783 (arg1
)->SetEdge((wxEdge
)arg2
);
34785 wxPyEndAllowThreads(__tstate
);
34786 if (PyErr_Occurred()) SWIG_fail
;
34788 Py_INCREF(Py_None
); resultobj
= Py_None
;
34795 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34796 PyObject
*resultobj
;
34797 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34799 PyObject
* obj0
= 0 ;
34800 char *kwnames
[] = {
34801 (char *) "self",(char *) "v", NULL
34804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
34805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34808 (arg1
)->SetValue(arg2
);
34810 wxPyEndAllowThreads(__tstate
);
34811 if (PyErr_Occurred()) SWIG_fail
;
34813 Py_INCREF(Py_None
); resultobj
= Py_None
;
34820 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34821 PyObject
*resultobj
;
34822 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34824 PyObject
* obj0
= 0 ;
34825 char *kwnames
[] = {
34826 (char *) "self", NULL
34829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
34830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34833 result
= (int)(arg1
)->GetMargin();
34835 wxPyEndAllowThreads(__tstate
);
34836 if (PyErr_Occurred()) SWIG_fail
;
34838 resultobj
= PyInt_FromLong((long)result
);
34845 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34846 PyObject
*resultobj
;
34847 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34849 PyObject
* obj0
= 0 ;
34850 char *kwnames
[] = {
34851 (char *) "self",(char *) "m", NULL
34854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
34855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34858 (arg1
)->SetMargin(arg2
);
34860 wxPyEndAllowThreads(__tstate
);
34861 if (PyErr_Occurred()) SWIG_fail
;
34863 Py_INCREF(Py_None
); resultobj
= Py_None
;
34870 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34871 PyObject
*resultobj
;
34872 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34874 PyObject
* obj0
= 0 ;
34875 char *kwnames
[] = {
34876 (char *) "self", NULL
34879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
34880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34883 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
34885 wxPyEndAllowThreads(__tstate
);
34886 if (PyErr_Occurred()) SWIG_fail
;
34888 resultobj
= PyInt_FromLong((long)result
);
34895 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34896 PyObject
*resultobj
;
34897 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34899 PyObject
* obj0
= 0 ;
34900 char *kwnames
[] = {
34901 (char *) "self", NULL
34904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
34905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34908 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
34910 wxPyEndAllowThreads(__tstate
);
34911 if (PyErr_Occurred()) SWIG_fail
;
34913 resultobj
= PyInt_FromLong((long)result
);
34920 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34921 PyObject
*resultobj
;
34922 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34924 PyObject
* obj0
= 0 ;
34925 char *kwnames
[] = {
34926 (char *) "self", NULL
34929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
34930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34933 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
34935 wxPyEndAllowThreads(__tstate
);
34936 if (PyErr_Occurred()) SWIG_fail
;
34938 resultobj
= PyInt_FromLong((long)result
);
34945 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34946 PyObject
*resultobj
;
34947 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34949 PyObject
* obj0
= 0 ;
34950 char *kwnames
[] = {
34951 (char *) "self", NULL
34954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
34955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34958 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
34960 wxPyEndAllowThreads(__tstate
);
34961 if (PyErr_Occurred()) SWIG_fail
;
34963 resultobj
= PyInt_FromLong((long)result
);
34970 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34971 PyObject
*resultobj
;
34972 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34974 PyObject
* obj0
= 0 ;
34975 PyObject
* obj1
= 0 ;
34976 char *kwnames
[] = {
34977 (char *) "self",(char *) "d", NULL
34980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
34981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34982 arg2
= PyInt_AsLong(obj1
) ? true : false;
34983 if (PyErr_Occurred()) SWIG_fail
;
34985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34986 (arg1
)->SetDone(arg2
);
34988 wxPyEndAllowThreads(__tstate
);
34989 if (PyErr_Occurred()) SWIG_fail
;
34991 Py_INCREF(Py_None
); resultobj
= Py_None
;
34998 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34999 PyObject
*resultobj
;
35000 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35002 PyObject
* obj0
= 0 ;
35003 char *kwnames
[] = {
35004 (char *) "self", NULL
35007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
35008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35011 result
= (int)(arg1
)->GetRelationship();
35013 wxPyEndAllowThreads(__tstate
);
35014 if (PyErr_Occurred()) SWIG_fail
;
35016 resultobj
= PyInt_FromLong((long)result
);
35023 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35024 PyObject
*resultobj
;
35025 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35027 PyObject
* obj0
= 0 ;
35028 char *kwnames
[] = {
35029 (char *) "self",(char *) "r", NULL
35032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&arg2
)) goto fail
;
35033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35036 (arg1
)->SetRelationship((wxRelationship
)arg2
);
35038 wxPyEndAllowThreads(__tstate
);
35039 if (PyErr_Occurred()) SWIG_fail
;
35041 Py_INCREF(Py_None
); resultobj
= Py_None
;
35048 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35049 PyObject
*resultobj
;
35050 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35051 wxWindow
*arg2
= (wxWindow
*) 0 ;
35053 PyObject
* obj0
= 0 ;
35054 PyObject
* obj1
= 0 ;
35055 char *kwnames
[] = {
35056 (char *) "self",(char *) "otherW", NULL
35059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
35060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35064 result
= (bool)(arg1
)->ResetIfWin(arg2
);
35066 wxPyEndAllowThreads(__tstate
);
35067 if (PyErr_Occurred()) SWIG_fail
;
35069 resultobj
= PyInt_FromLong((long)result
);
35076 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35077 PyObject
*resultobj
;
35078 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35079 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
35080 wxWindow
*arg3
= (wxWindow
*) 0 ;
35082 PyObject
* obj0
= 0 ;
35083 PyObject
* obj1
= 0 ;
35084 PyObject
* obj2
= 0 ;
35085 char *kwnames
[] = {
35086 (char *) "self",(char *) "constraints",(char *) "win", NULL
35089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35091 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35092 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35095 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
35097 wxPyEndAllowThreads(__tstate
);
35098 if (PyErr_Occurred()) SWIG_fail
;
35100 resultobj
= PyInt_FromLong((long)result
);
35107 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35108 PyObject
*resultobj
;
35109 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35111 wxWindow
*arg3
= (wxWindow
*) 0 ;
35112 wxWindow
*arg4
= (wxWindow
*) 0 ;
35114 PyObject
* obj0
= 0 ;
35115 PyObject
* obj2
= 0 ;
35116 PyObject
* obj3
= 0 ;
35117 char *kwnames
[] = {
35118 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
35121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
35122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35123 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35124 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35127 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
35129 wxPyEndAllowThreads(__tstate
);
35130 if (PyErr_Occurred()) SWIG_fail
;
35132 resultobj
= PyInt_FromLong((long)result
);
35139 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
35141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35142 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
35144 return Py_BuildValue((char *)"");
35146 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35147 PyObject
*resultobj
;
35148 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35149 wxIndividualLayoutConstraint
*result
;
35150 PyObject
* obj0
= 0 ;
35151 char *kwnames
[] = {
35152 (char *) "self", NULL
35155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
35156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35157 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
35159 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35166 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35167 PyObject
*resultobj
;
35168 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35169 wxIndividualLayoutConstraint
*result
;
35170 PyObject
* obj0
= 0 ;
35171 char *kwnames
[] = {
35172 (char *) "self", NULL
35175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
35176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35177 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
35179 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35186 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35187 PyObject
*resultobj
;
35188 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35189 wxIndividualLayoutConstraint
*result
;
35190 PyObject
* obj0
= 0 ;
35191 char *kwnames
[] = {
35192 (char *) "self", NULL
35195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
35196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35197 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
35199 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35206 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35207 PyObject
*resultobj
;
35208 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35209 wxIndividualLayoutConstraint
*result
;
35210 PyObject
* obj0
= 0 ;
35211 char *kwnames
[] = {
35212 (char *) "self", NULL
35215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
35216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35217 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
35219 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35226 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35227 PyObject
*resultobj
;
35228 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35229 wxIndividualLayoutConstraint
*result
;
35230 PyObject
* obj0
= 0 ;
35231 char *kwnames
[] = {
35232 (char *) "self", NULL
35235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
35236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35237 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
35239 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35246 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35247 PyObject
*resultobj
;
35248 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35249 wxIndividualLayoutConstraint
*result
;
35250 PyObject
* obj0
= 0 ;
35251 char *kwnames
[] = {
35252 (char *) "self", NULL
35255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
35256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35257 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
35259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35266 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35267 PyObject
*resultobj
;
35268 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35269 wxIndividualLayoutConstraint
*result
;
35270 PyObject
* obj0
= 0 ;
35271 char *kwnames
[] = {
35272 (char *) "self", NULL
35275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
35276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35277 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
35279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35286 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35287 PyObject
*resultobj
;
35288 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35289 wxIndividualLayoutConstraint
*result
;
35290 PyObject
* obj0
= 0 ;
35291 char *kwnames
[] = {
35292 (char *) "self", NULL
35295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
35296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35297 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
35299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35306 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35307 PyObject
*resultobj
;
35308 wxLayoutConstraints
*result
;
35309 char *kwnames
[] = {
35313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
35315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35316 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
35318 wxPyEndAllowThreads(__tstate
);
35319 if (PyErr_Occurred()) SWIG_fail
;
35321 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
35328 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35329 PyObject
*resultobj
;
35330 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35331 wxWindow
*arg2
= (wxWindow
*) 0 ;
35332 int *arg3
= (int *) 0 ;
35335 PyObject
* obj0
= 0 ;
35336 PyObject
* obj1
= 0 ;
35337 char *kwnames
[] = {
35338 (char *) "self",(char *) "win", NULL
35342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
35343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35344 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35347 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
35349 wxPyEndAllowThreads(__tstate
);
35350 if (PyErr_Occurred()) SWIG_fail
;
35352 resultobj
= PyInt_FromLong((long)result
);
35354 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
35355 resultobj
= t_output_helper(resultobj
,o
);
35363 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35364 PyObject
*resultobj
;
35365 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35367 PyObject
* obj0
= 0 ;
35368 char *kwnames
[] = {
35369 (char *) "self", NULL
35372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
35373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35376 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
35378 wxPyEndAllowThreads(__tstate
);
35379 if (PyErr_Occurred()) SWIG_fail
;
35381 resultobj
= PyInt_FromLong((long)result
);
35388 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
35390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35391 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
35393 return Py_BuildValue((char *)"");
35395 static PyMethodDef SwigMethods
[] = {
35396 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
35397 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
35398 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35399 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
35400 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
35401 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
35402 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
35403 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
35404 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
35405 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
35406 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35407 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35408 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
35409 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35410 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
35411 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
35412 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
35413 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35414 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35415 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35416 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35417 { (char *)"Size_GetX", (PyCFunction
) _wrap_Size_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35418 { (char *)"Size_GetY", (PyCFunction
) _wrap_Size_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35419 { (char *)"Size_asTuple", (PyCFunction
) _wrap_Size_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
35420 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
35421 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35422 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35423 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35424 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35425 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
35426 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
35427 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
35428 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35429 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35430 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35431 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
35432 { (char *)"RealPoint_asTuple", (PyCFunction
) _wrap_RealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
35433 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
35434 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35435 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35436 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35437 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35438 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
35439 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
35440 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35441 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35442 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
35443 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35444 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35445 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35446 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
35447 { (char *)"Point_asTuple", (PyCFunction
) _wrap_Point_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
35448 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
35449 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35450 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
35451 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
35452 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35453 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35454 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
35455 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35456 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
35457 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35458 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35459 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35460 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35461 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35462 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35463 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35464 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35465 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35466 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
35467 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35468 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
35469 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35470 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
35471 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
35472 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35473 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
35474 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
35475 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
35476 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
35477 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
35478 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
35479 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35480 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35481 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35482 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
35483 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
35484 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
35485 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35486 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35487 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35488 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35489 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
35490 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
35491 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
35492 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
35493 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
35494 { (char *)"Rect_asTuple", (PyCFunction
) _wrap_Rect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
35495 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
35496 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
35497 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
35498 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
35499 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
35500 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
35501 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
35502 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35503 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35504 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35505 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35506 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
35507 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
35508 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
35509 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
35510 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
35511 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35512 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35513 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
35514 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
35515 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35516 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35517 { (char *)"Point2D_m_x_set", (PyCFunction
) _wrap_Point2D_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35518 { (char *)"Point2D_m_x_get", (PyCFunction
) _wrap_Point2D_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35519 { (char *)"Point2D_m_y_set", (PyCFunction
) _wrap_Point2D_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35520 { (char *)"Point2D_m_y_get", (PyCFunction
) _wrap_Point2D_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35521 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35522 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35523 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35524 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35525 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
35526 { (char *)"Point2D_asTuple", (PyCFunction
) _wrap_Point2D_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
35527 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
35528 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
35529 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
35530 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
35531 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
35532 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
35533 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
35534 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
35535 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
35536 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
35537 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
35538 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
35539 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
35540 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35541 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
35542 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
35543 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
35544 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
35545 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
35546 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
35547 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
35548 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35549 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35550 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
35551 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35552 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
35553 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35554 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
35555 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
35556 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
35557 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
35558 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
35559 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35560 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35561 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35562 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35563 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
35564 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
35565 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35566 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
35567 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
35568 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
35569 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35570 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35571 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
35572 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
35573 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35574 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35575 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35576 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
35577 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
35578 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
35579 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
35580 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
35581 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35582 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35583 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35584 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
35585 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35586 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35587 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35588 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35589 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35590 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
35591 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
35592 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35593 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
35594 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35595 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
35596 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35597 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35598 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35599 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35600 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
35601 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
35602 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35603 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
35604 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35605 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35606 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
35607 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35608 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
35609 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35610 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
35611 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
35612 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
35613 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
35614 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
35615 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
35616 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
35617 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
35618 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
35619 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
35620 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
35621 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35622 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
35623 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
35624 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35625 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
35626 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
35627 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
35628 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
35629 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
35630 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
35631 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
35632 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35633 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35634 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35635 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
35636 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
35637 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35638 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
35639 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
35640 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
35641 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
35642 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
35643 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
35644 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
35645 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
35646 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
35647 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35648 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35649 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
35650 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
35651 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
35652 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
35653 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
35654 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35655 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35656 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
35657 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
35658 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35659 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35660 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
35661 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
35662 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
35663 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
35664 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
35665 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
35666 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
35667 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
35668 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
35669 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
35670 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
35671 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
35672 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
35673 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
35674 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
35675 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
35676 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
35677 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
35678 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
35679 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
35680 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
35681 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
35682 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35683 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35684 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
35685 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
35686 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
35687 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
35688 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
35689 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
35690 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
35691 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
35692 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
35693 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
35694 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
35695 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
35696 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
35697 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
35698 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
35699 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
35700 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
35701 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
35702 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
35703 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
35704 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
35705 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
35706 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
35707 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
35708 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
35709 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
35710 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
35711 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
35712 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
35713 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35714 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35715 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
35716 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
35717 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
35718 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
35719 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
35720 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
35721 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
35722 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
35723 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
35724 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
35725 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
35726 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
35727 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
35728 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
35729 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
35730 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
35731 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
35732 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35733 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
35734 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
35735 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
35736 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
35737 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
35738 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35739 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
35740 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
35741 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
35742 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
35743 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
35744 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
35745 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
35746 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35747 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
35748 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
35749 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
35750 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
35751 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
35752 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
35753 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
35754 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
35755 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
35756 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35757 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
35758 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35759 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
35760 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
35761 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
35762 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
35763 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
35764 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35765 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35766 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35767 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35768 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
35769 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
35770 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35771 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35772 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35773 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35774 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
35775 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35776 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
35777 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
35778 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
35779 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
35780 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
35781 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35782 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
35783 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
35784 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
35785 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
35786 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
35787 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
35788 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
35789 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
35790 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
35791 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
35792 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
35793 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
35794 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
35795 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
35796 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35797 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35798 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35799 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
35800 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
35801 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
35802 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
35803 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35804 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35805 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
35806 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35807 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35808 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
35809 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
35810 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
35811 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
35812 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35813 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35814 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35815 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35816 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35817 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35818 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35819 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35820 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35821 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35822 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35823 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35824 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35825 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35826 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35827 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35828 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35829 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35830 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
35831 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
35832 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
35833 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
35834 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
35835 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
35836 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
35837 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
35838 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35839 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35840 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35841 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35842 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
35843 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
35844 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35845 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
35846 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
35847 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
35848 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
35849 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
35850 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
35851 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
35852 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
35853 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
35854 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35855 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35856 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35857 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35858 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35859 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35860 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35861 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35862 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35863 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35864 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35865 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35866 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35867 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35868 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35869 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35870 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35871 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35872 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35873 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35874 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35875 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35876 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
35877 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
35878 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
35879 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35880 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35881 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35882 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35883 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35884 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
35885 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
35886 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
35887 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
35888 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
35889 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
35890 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35891 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35892 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35893 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35894 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
35895 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
35896 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
35897 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
35898 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
35899 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
35900 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
35901 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
35902 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
35903 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35904 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
35905 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
35906 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
35907 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35908 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35909 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
35910 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
35911 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35912 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
35913 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
35914 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
35915 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
35916 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
35917 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
35918 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
35919 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
35920 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
35921 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
35922 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
35923 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35924 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
35925 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
35926 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
35927 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
35928 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
35929 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
35930 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
35931 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
35932 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
35933 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
35934 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
35935 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35936 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
35937 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
35938 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35939 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
35940 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35941 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
35942 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
35943 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
35944 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
35945 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
35946 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35947 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
35948 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
35949 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
35950 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35951 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
35952 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
35953 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
35954 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
35955 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
35956 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
35957 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
35958 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
35959 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
35960 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
35961 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35962 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
35963 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35964 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
35965 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
35966 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35967 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
35968 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35969 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
35970 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
35971 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
35972 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
35973 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
35974 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
35975 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
35976 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35977 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
35978 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
35979 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
35980 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
35981 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
35982 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
35983 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
35984 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
35985 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35986 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
35987 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35988 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35989 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
35990 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
35991 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35992 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35993 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
35994 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
35995 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
35996 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
35997 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
35998 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
35999 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
36000 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
36001 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36002 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36003 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36004 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36005 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
36006 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36007 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36008 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36009 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36010 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
36011 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
36012 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
36013 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36014 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
36015 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
36016 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
36017 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
36018 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
36019 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
36020 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
36021 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
36022 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
36023 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
36024 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
36025 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
36026 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
36027 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
36028 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
36029 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
36030 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
36031 { (char *)"PyApp_OnIdle", (PyCFunction
) _wrap_PyApp_OnIdle
, METH_VARARGS
| METH_KEYWORDS
},
36032 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
36033 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
36034 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
36035 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
36036 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
36037 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
36038 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
36039 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
36040 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
36041 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
36042 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
36043 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
36044 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36045 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36046 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36047 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
36048 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
36049 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36050 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36051 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36052 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
36053 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
36054 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
36055 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
36056 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
36057 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
36058 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
36059 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
36060 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
36061 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
36062 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
36063 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
36064 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
36065 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
36066 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
36067 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
36068 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36069 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
36070 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
36071 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36072 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36073 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36074 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36075 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
36076 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
36077 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36078 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36079 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
36080 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
36081 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
36082 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
36083 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
36084 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
36085 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36086 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
36087 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
36088 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
36089 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
36090 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36091 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36092 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36093 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36094 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
36095 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36096 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36097 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
36098 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36099 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36100 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
36101 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36102 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36103 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36104 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36105 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
36106 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
36107 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
36108 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
36109 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
36110 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36111 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36112 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
36113 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
36114 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
36115 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
36116 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
36117 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36118 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36119 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36120 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36121 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36122 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
36123 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36124 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36125 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
36126 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36127 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36128 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36129 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36130 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36131 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36132 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
36133 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
36134 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36135 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36136 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
36137 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36138 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36139 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
36140 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
36141 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
36142 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
36143 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
36144 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
36145 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36146 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36147 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36148 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36149 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36150 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
36151 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
36152 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
36153 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
36154 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
36155 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36156 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36157 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36158 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36159 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36160 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36161 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36162 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36163 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36164 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36165 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36166 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36167 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36168 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36169 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36170 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
36171 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
36172 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36173 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36174 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
36175 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
36176 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
36177 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
36178 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
36179 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
36180 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
36181 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
36182 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
36183 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
36184 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
36185 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
36186 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
36187 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36188 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
36189 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
36190 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
36191 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36192 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36193 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36194 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36195 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36196 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36197 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
36198 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
36199 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36200 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36201 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
36202 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
36203 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36204 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36205 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
36206 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
36207 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
36208 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
36209 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
36210 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
36211 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
36212 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36213 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
36214 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
36215 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
36216 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
36217 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
36218 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36219 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36220 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36221 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36222 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
36223 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
36224 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
36225 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
36226 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
36227 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
36228 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
36229 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
36230 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
36231 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36232 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
36233 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36234 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
36235 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36236 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36237 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36238 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36239 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
36240 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36241 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36242 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36243 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36244 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
36245 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36246 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
36247 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36248 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36249 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36250 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
36251 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36252 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36253 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
36254 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
36255 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
36256 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
36257 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
36258 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
36259 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
36260 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36261 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36262 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
36263 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
36264 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
36265 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
36266 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36267 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
36268 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
36269 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
36270 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36271 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36272 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36273 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
36274 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
36275 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
36276 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
36277 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36278 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36279 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36280 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36281 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
36282 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
36283 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
36284 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36285 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36286 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36287 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
36288 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36289 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
36290 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
36291 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
36292 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36293 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
36294 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
36295 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
36296 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
36297 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
36298 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36299 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
36300 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36301 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36302 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
36303 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36304 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36305 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36306 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36307 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36308 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36309 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36310 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36311 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36312 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36313 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36314 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
36315 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
36316 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36317 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36318 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36319 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36320 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
36321 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36322 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
36323 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36324 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
36325 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36326 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
36327 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36328 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
36329 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36330 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
36331 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
36332 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36333 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36334 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36335 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36336 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
36337 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36338 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
36339 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36340 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36341 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36342 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36343 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36344 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36345 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
36346 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36347 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36348 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36349 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
36350 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36351 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36352 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36353 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36354 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36355 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36356 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
36357 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36358 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
36359 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
36360 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
36361 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36362 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36363 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36364 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36365 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36366 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36367 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36368 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
36369 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36370 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
36371 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36372 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36373 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36374 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36375 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
36376 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
36377 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
36378 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
36379 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36380 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36381 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
36382 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36383 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36384 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36385 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36386 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36387 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
36388 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
36389 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
36390 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36391 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36392 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
36393 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
36394 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
36395 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
36396 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
36397 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36398 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36399 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
36400 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
36401 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
36402 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36403 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
36404 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
36405 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
36406 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
36407 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
36408 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
36409 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
36410 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
36411 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
36412 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
36413 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
36414 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
36415 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
36416 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
36417 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
36418 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
36419 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36420 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
36421 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
36422 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
36423 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
36424 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36425 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36426 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
36427 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36428 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
36429 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
36430 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
36431 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
36432 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
36433 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
36434 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
36435 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36436 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
36437 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
36438 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
36439 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
36440 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36441 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36442 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36443 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36444 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36445 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36446 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36447 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36448 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
36449 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36450 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36451 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
36452 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
36453 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
36454 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
36455 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36456 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
36457 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36458 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36459 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
36460 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
36461 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
36462 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
36463 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36464 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36465 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36466 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36467 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36468 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36469 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
36470 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
36471 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
36472 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36473 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36474 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
36475 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
36476 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36477 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
36478 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36479 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36480 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
36481 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
36482 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
36483 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36484 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
36485 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36486 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36487 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36488 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36489 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36490 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
36491 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36492 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
36493 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36494 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36495 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
36496 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36497 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36498 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36499 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
36500 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
36501 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36502 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36503 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
36504 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
36505 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36506 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36507 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
36508 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36509 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36510 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36511 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36512 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36513 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36514 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36515 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36516 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36517 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36518 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36519 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
36520 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
36521 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
36522 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
36523 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
36524 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
36525 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36526 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36527 { (char *)"GBPosition_asTuple", (PyCFunction
) _wrap_GBPosition_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
36528 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
36529 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
36530 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36531 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36532 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36533 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36534 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36535 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36536 { (char *)"GBSpan_asTuple", (PyCFunction
) _wrap_GBSpan_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
36537 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
36538 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
36539 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
36540 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
36541 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36542 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
36543 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36544 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
36545 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36546 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
36547 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
36548 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36549 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36550 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
36551 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
36552 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
36553 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
36554 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36555 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36556 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
36557 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
36558 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
36559 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
36560 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
36561 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
36562 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
36563 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36564 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36565 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
36566 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
36567 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
36568 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
36569 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
36570 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
36571 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
36572 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
36573 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
36574 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
36575 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
36576 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
36577 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
36578 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
36579 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36580 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
36581 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36582 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36583 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
36584 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
36585 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
36586 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
36587 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
36588 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36589 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36590 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
36591 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
36592 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36593 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
36594 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
36595 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
36596 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
36597 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
36598 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
36599 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
36600 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
36601 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
36602 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36603 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36604 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
36605 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
36610 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36612 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
36613 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
36615 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
36616 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
36618 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
36619 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36621 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
36622 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36624 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
36625 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
36627 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
36628 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36630 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
36631 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
36633 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
36634 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36636 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36637 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36639 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36640 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36642 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36643 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36645 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36646 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36648 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36649 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36651 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36652 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36654 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36655 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36657 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36658 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36660 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36661 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36663 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36664 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36666 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36667 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36669 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36670 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36672 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36673 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36675 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36676 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36678 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36679 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36681 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36682 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36684 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36685 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36687 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36688 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36690 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36691 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36693 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36694 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36696 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36697 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36699 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36700 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36702 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36703 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36705 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36706 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36708 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36709 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36711 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36712 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36714 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36715 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36717 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36718 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36720 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36721 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36723 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36724 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36726 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36727 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36729 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36732 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36733 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36735 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36736 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36738 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36739 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36741 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
36742 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36744 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
36745 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36747 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
36748 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36750 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
36751 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
36753 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
36754 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
36756 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36757 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36759 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36760 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36762 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36763 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36765 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36766 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36768 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36769 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36771 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36772 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36774 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36775 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36777 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36778 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36780 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
36781 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
36783 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
36784 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
36786 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
36787 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
36789 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
36790 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
36792 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
36793 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
36795 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
36796 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36798 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
36799 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
36801 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
36802 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
36804 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
36805 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36807 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
36808 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36810 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
36811 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
36813 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
36814 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
36816 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
36817 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
36819 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
36820 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
36822 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
36823 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
36825 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
36826 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
36828 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
36829 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
36831 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
36832 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
36834 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36835 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
36837 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36838 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
36840 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36841 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
36843 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36844 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36846 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36847 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36849 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36850 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36852 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36853 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36855 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36856 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36858 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36859 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36861 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36862 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36864 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36867 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36870 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36871 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36873 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36874 return (void *)((wxObject
*) ((wxSizer
*) x
));
36876 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36877 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36879 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36880 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36882 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36883 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36885 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36886 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36888 static void *_p_wxImageTo_p_wxObject(void *x
) {
36889 return (void *)((wxObject
*) ((wxImage
*) x
));
36891 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36892 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36894 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36895 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36897 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36898 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36900 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36901 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36903 static void *_p_wxControlTo_p_wxObject(void *x
) {
36904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36906 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36907 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36909 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36910 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36912 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36913 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36915 static void *_p_wxEventTo_p_wxObject(void *x
) {
36916 return (void *)((wxObject
*) ((wxEvent
*) x
));
36918 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36919 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36921 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36922 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36924 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36925 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36927 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36928 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36930 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36931 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36933 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36934 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36936 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36937 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36939 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36940 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36942 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36945 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36946 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36948 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36949 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36951 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36952 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36954 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36955 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36957 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36958 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36960 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36961 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36963 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36964 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36966 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36967 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36969 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36970 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36972 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36973 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36975 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36976 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36978 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36979 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36981 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36982 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36984 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36985 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36987 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36988 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36990 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36991 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36993 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36994 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36996 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36997 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36999 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37000 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37002 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37003 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37005 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37006 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37008 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37009 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37011 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37012 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37014 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37015 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37017 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37018 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37020 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37021 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37023 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37024 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37026 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37027 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37029 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37030 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37032 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37033 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37035 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37036 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37038 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37039 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37041 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37042 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37044 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37045 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37047 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37048 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37050 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37051 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37053 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37054 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37056 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37057 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37059 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37060 return (void *)((wxWindow
*) ((wxControl
*) x
));
37062 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37063 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37065 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37066 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37068 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
37069 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37071 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
37072 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
37074 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
37075 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37077 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
37078 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37080 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
37081 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37083 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
37084 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37086 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
37087 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37089 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
37090 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37092 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
37093 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
37095 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
37096 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
37097 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
37098 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
37099 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
37100 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
37101 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}};
37102 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
37103 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
37104 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
37105 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
37106 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
37107 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
37108 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}};
37109 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}};
37110 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
37111 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
37112 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
37113 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
37114 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
37115 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
37116 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
37117 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
37118 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
37119 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
37120 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
37121 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
37122 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
37123 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
37124 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
37125 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
37126 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
37127 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
37128 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
37129 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
37130 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
37131 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
37132 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
37133 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
37134 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
37135 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
37136 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
37137 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
37138 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
37139 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
37140 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
37141 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
37142 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
37143 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
37144 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
37145 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
37146 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
37147 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
37148 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
37149 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
37150 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
37151 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
37152 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
37153 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
37154 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
37155 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
37156 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
37157 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
37158 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}};
37159 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
37160 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}};
37161 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}};
37162 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}};
37163 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}};
37164 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
37165 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
37166 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
37167 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
37168 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
37169 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
37170 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
37171 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
37172 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
37173 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
37174 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
37175 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
37176 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37177 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
37178 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
37179 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_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_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{0}};
37180 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
37181 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
37182 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
37183 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
37184 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
37185 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
37186 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
37187 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}};
37188 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
37189 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
37190 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
37191 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
37192 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
37193 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
37194 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37195 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
37196 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
37197 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
37198 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
37199 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}};
37200 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
37201 static swig_type_info _swigt__p_wxDropTarget
[] = {{"_p_wxDropTarget", 0, "wxDropTarget *", 0},{"_p_wxDropTarget"},{0}};
37202 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
37203 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
37204 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
37205 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
37206 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
37207 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
37208 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
37210 static swig_type_info
*swig_types_initial
[] = {
37211 _swigt__p_wxLayoutConstraints
,
37212 _swigt__p_wxRealPoint
,
37213 _swigt__p_wxSizerItem
,
37214 _swigt__p_wxGBSizerItem
,
37215 _swigt__p_wxScrollEvent
,
37216 _swigt__p_wxIndividualLayoutConstraint
,
37218 _swigt__p_wxBoxSizer
,
37219 _swigt__p_wxStaticBoxSizer
,
37220 _swigt__p_wxGridBagSizer
,
37221 _swigt__p_wxAcceleratorEntry
,
37222 _swigt__p_wxUpdateUIEvent
,
37225 _swigt__p_wxGridSizer
,
37226 _swigt__p_wxFlexGridSizer
,
37227 _swigt__p_wxInitDialogEvent
,
37228 _swigt__p_wxItemContainer
,
37229 _swigt__p_wxNcPaintEvent
,
37230 _swigt__p_wxPaintEvent
,
37231 _swigt__p_wxSysColourChangedEvent
,
37232 _swigt__p_wxMouseCaptureChangedEvent
,
37233 _swigt__p_wxDisplayChangedEvent
,
37234 _swigt__p_wxPaletteChangedEvent
,
37235 _swigt__p_wxControl
,
37237 _swigt__p_wxMenuBarBase
,
37238 _swigt__p_wxSetCursorEvent
,
37239 _swigt__p_wxFSFile
,
37241 _swigt__p_wxRegion
,
37242 _swigt__p_wxPoint2D
,
37246 _swigt__p_wxPySizer
,
37247 _swigt__p_wxNotifyEvent
,
37248 _swigt__p_wxPyEvent
,
37249 _swigt__p_wxPropagationDisabler
,
37250 _swigt__p_wxAppTraits
,
37251 _swigt__p_wxArrayString
,
37252 _swigt__p_wxShowEvent
,
37253 _swigt__p_wxToolTip
,
37254 _swigt__p_wxMaximizeEvent
,
37255 _swigt__p_wxIconizeEvent
,
37256 _swigt__p_wxActivateEvent
,
37257 _swigt__p_wxMoveEvent
,
37258 _swigt__p_wxSizeEvent
,
37259 _swigt__p_wxQueryNewPaletteEvent
,
37260 _swigt__p_wxWindowCreateEvent
,
37261 _swigt__p_wxIdleEvent
,
37262 _swigt__p_wxMenuItem
,
37263 _swigt__p_wxStaticBox
,
37265 _swigt__p_wxTIFFHandler
,
37266 _swigt__p_wxXPMHandler
,
37267 _swigt__p_wxPNMHandler
,
37268 _swigt__p_wxJPEGHandler
,
37269 _swigt__p_wxPCXHandler
,
37270 _swigt__p_wxGIFHandler
,
37271 _swigt__p_wxPNGHandler
,
37272 _swigt__p_wxANIHandler
,
37273 _swigt__p_wxMemoryFSHandler
,
37274 _swigt__p_wxEvtHandler
,
37275 _swigt__p_wxCURHandler
,
37276 _swigt__p_wxICOHandler
,
37277 _swigt__p_wxBMPHandler
,
37278 _swigt__p_wxImageHandler
,
37279 _swigt__p_wxFileSystemHandler
,
37280 _swigt__p_wxPyFileSystemHandler
,
37281 _swigt__p_wxInternetFSHandler
,
37282 _swigt__p_wxZipFSHandler
,
37284 _swigt__p_wxGBSpan
,
37285 _swigt__p_wxPropagateOnce
,
37286 _swigt__p_wxAcceleratorTable
,
37287 _swigt__p_wxGBPosition
,
37290 _swigt__p_wxScrollWinEvent
,
37291 _swigt__p_wxImageHistogram
,
37294 _swigt__p_wxCursor
,
37295 _swigt__p_wxObject
,
37296 _swigt__p_wxPyInputStream
,
37297 _swigt__p_wxOutputStream
,
37298 _swigt__p_wxInputStream
,
37299 _swigt__p_wxDateTime
,
37300 _swigt__p_wxKeyEvent
,
37301 _swigt__p_wxNavigationKeyEvent
,
37302 _swigt__p_wxWindowDestroyEvent
,
37303 _swigt__p_wxWindow
,
37304 _swigt__p_wxMenuBar
,
37305 _swigt__p_wxString
,
37306 _swigt__p_wxFileSystem
,
37307 _swigt__p_wxBitmap
,
37308 _swigt__p_wxMenuEvent
,
37309 _swigt__p_wxContextMenuEvent
,
37310 _swigt__p_unsigned_char
,
37311 _swigt__p_wxCloseEvent
,
37312 _swigt__p_wxEraseEvent
,
37313 _swigt__p_wxMouseEvent
,
37315 _swigt__p_wxCommandEvent
,
37316 _swigt__p_wxPyCommandEvent
,
37317 _swigt__p_wxDropTarget
,
37318 _swigt__p_wxChildFocusEvent
,
37319 _swigt__p_wxFocusEvent
,
37320 _swigt__p_wxDropFilesEvent
,
37321 _swigt__p_wxControlWithItems
,
37322 _swigt__p_wxColour
,
37323 _swigt__p_wxValidator
,
37324 _swigt__p_wxPyValidator
,
37329 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37331 static swig_const_info swig_const_table
[] = {
37332 { SWIG_PY_INT
, (char *)"NOT_FOUND", (long) wxNOT_FOUND
, 0, 0, 0},
37333 { SWIG_PY_INT
, (char *)"VSCROLL", (long) wxVSCROLL
, 0, 0, 0},
37334 { SWIG_PY_INT
, (char *)"HSCROLL", (long) wxHSCROLL
, 0, 0, 0},
37335 { SWIG_PY_INT
, (char *)"CAPTION", (long) wxCAPTION
, 0, 0, 0},
37336 { SWIG_PY_INT
, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER
, 0, 0, 0},
37337 { SWIG_PY_INT
, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER
, 0, 0, 0},
37338 { SWIG_PY_INT
, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER
, 0, 0, 0},
37339 { SWIG_PY_INT
, (char *)"BORDER", (long) wxBORDER
, 0, 0, 0},
37340 { SWIG_PY_INT
, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER
, 0, 0, 0},
37341 { SWIG_PY_INT
, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER
, 0, 0, 0},
37342 { SWIG_PY_INT
, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW
, 0, 0, 0},
37343 { SWIG_PY_INT
, (char *)"NO_BORDER", (long) wxNO_BORDER
, 0, 0, 0},
37344 { SWIG_PY_INT
, (char *)"USER_COLOURS", (long) wxUSER_COLOURS
, 0, 0, 0},
37345 { SWIG_PY_INT
, (char *)"NO_3D", (long) wxNO_3D
, 0, 0, 0},
37346 { SWIG_PY_INT
, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL
, 0, 0, 0},
37347 { SWIG_PY_INT
, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS
, 0, 0, 0},
37348 { SWIG_PY_INT
, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW
, 0, 0, 0},
37349 { SWIG_PY_INT
, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME
, 0, 0, 0},
37350 { SWIG_PY_INT
, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN
, 0, 0, 0},
37351 { SWIG_PY_INT
, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN
, 0, 0, 0},
37352 { SWIG_PY_INT
, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP
, 0, 0, 0},
37353 { SWIG_PY_INT
, (char *)"ICONIZE", (long) wxICONIZE
, 0, 0, 0},
37354 { SWIG_PY_INT
, (char *)"MINIMIZE", (long) wxMINIMIZE
, 0, 0, 0},
37355 { SWIG_PY_INT
, (char *)"MAXIMIZE", (long) wxMAXIMIZE
, 0, 0, 0},
37356 { SWIG_PY_INT
, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX
, 0, 0, 0},
37357 { SWIG_PY_INT
, (char *)"THICK_FRAME", (long) wxTHICK_FRAME
, 0, 0, 0},
37358 { SWIG_PY_INT
, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU
, 0, 0, 0},
37359 { SWIG_PY_INT
, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX
, 0, 0, 0},
37360 { SWIG_PY_INT
, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX
, 0, 0, 0},
37361 { SWIG_PY_INT
, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ
, 0, 0, 0},
37362 { SWIG_PY_INT
, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT
, 0, 0, 0},
37363 { SWIG_PY_INT
, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX
, 0, 0, 0},
37364 { SWIG_PY_INT
, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER
, 0, 0, 0},
37365 { SWIG_PY_INT
, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL
, 0, 0, 0},
37366 { SWIG_PY_INT
, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS
, 0, 0, 0},
37367 { SWIG_PY_INT
, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT
, 0, 0, 0},
37368 { SWIG_PY_INT
, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE
, 0, 0, 0},
37369 { SWIG_PY_INT
, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE
, 0, 0, 0},
37370 { SWIG_PY_INT
, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW
, 0, 0, 0},
37371 { SWIG_PY_INT
, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT
, 0, 0, 0},
37372 { SWIG_PY_INT
, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU
, 0, 0, 0},
37373 { SWIG_PY_INT
, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR
, 0, 0, 0},
37374 { SWIG_PY_INT
, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED
, 0, 0, 0},
37375 { SWIG_PY_INT
, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN
, 0, 0, 0},
37376 { SWIG_PY_INT
, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM
, 0, 0, 0},
37377 { SWIG_PY_INT
, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT
, 0, 0, 0},
37378 { SWIG_PY_INT
, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE
, 0, 0, 0},
37379 { SWIG_PY_INT
, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE
, 0, 0, 0},
37380 { SWIG_PY_INT
, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN
, 0, 0, 0},
37381 { SWIG_PY_INT
, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS
, 0, 0, 0},
37382 { SWIG_PY_INT
, (char *)"RETAINED", (long) wxRETAINED
, 0, 0, 0},
37383 { SWIG_PY_INT
, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE
, 0, 0, 0},
37384 { SWIG_PY_INT
, (char *)"COLOURED", (long) wxCOLOURED
, 0, 0, 0},
37385 { SWIG_PY_INT
, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH
, 0, 0, 0},
37386 { SWIG_PY_INT
, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB
, 0, 0, 0},
37387 { SWIG_PY_INT
, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB
, 0, 0, 0},
37388 { SWIG_PY_INT
, (char *)"LB_SORT", (long) wxLB_SORT
, 0, 0, 0},
37389 { SWIG_PY_INT
, (char *)"LB_SINGLE", (long) wxLB_SINGLE
, 0, 0, 0},
37390 { SWIG_PY_INT
, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE
, 0, 0, 0},
37391 { SWIG_PY_INT
, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED
, 0, 0, 0},
37392 { SWIG_PY_INT
, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW
, 0, 0, 0},
37393 { SWIG_PY_INT
, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL
, 0, 0, 0},
37394 { SWIG_PY_INT
, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER
, 0, 0, 0},
37395 { SWIG_PY_INT
, (char *)"PASSWORD", (long) wxPASSWORD
, 0, 0, 0},
37396 { SWIG_PY_INT
, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE
, 0, 0, 0},
37397 { SWIG_PY_INT
, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN
, 0, 0, 0},
37398 { SWIG_PY_INT
, (char *)"CB_SORT", (long) wxCB_SORT
, 0, 0, 0},
37399 { SWIG_PY_INT
, (char *)"CB_READONLY", (long) wxCB_READONLY
, 0, 0, 0},
37400 { SWIG_PY_INT
, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL
, 0, 0, 0},
37401 { SWIG_PY_INT
, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL
, 0, 0, 0},
37402 { SWIG_PY_INT
, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS
, 0, 0, 0},
37403 { SWIG_PY_INT
, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS
, 0, 0, 0},
37404 { SWIG_PY_INT
, (char *)"RB_GROUP", (long) wxRB_GROUP
, 0, 0, 0},
37405 { SWIG_PY_INT
, (char *)"RB_SINGLE", (long) wxRB_SINGLE
, 0, 0, 0},
37406 { SWIG_PY_INT
, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL
, 0, 0, 0},
37407 { SWIG_PY_INT
, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL
, 0, 0, 0},
37408 { SWIG_PY_INT
, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS
, 0, 0, 0},
37409 { SWIG_PY_INT
, (char *)"SL_LABELS", (long) wxSL_LABELS
, 0, 0, 0},
37410 { SWIG_PY_INT
, (char *)"SL_LEFT", (long) wxSL_LEFT
, 0, 0, 0},
37411 { SWIG_PY_INT
, (char *)"SL_TOP", (long) wxSL_TOP
, 0, 0, 0},
37412 { SWIG_PY_INT
, (char *)"SL_RIGHT", (long) wxSL_RIGHT
, 0, 0, 0},
37413 { SWIG_PY_INT
, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM
, 0, 0, 0},
37414 { SWIG_PY_INT
, (char *)"SL_BOTH", (long) wxSL_BOTH
, 0, 0, 0},
37415 { SWIG_PY_INT
, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE
, 0, 0, 0},
37416 { SWIG_PY_INT
, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL
, 0, 0, 0},
37417 { SWIG_PY_INT
, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL
, 0, 0, 0},
37418 { SWIG_PY_INT
, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP
, 0, 0, 0},
37419 { SWIG_PY_INT
, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE
, 0, 0, 0},
37420 { SWIG_PY_INT
, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE
, 0, 0, 0},
37421 { SWIG_PY_INT
, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER
, 0, 0, 0},
37422 { SWIG_PY_INT
, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE
, 0, 0, 0},
37423 { SWIG_PY_INT
, (char *)"WINDING_RULE", (long) wxWINDING_RULE
, 0, 0, 0},
37424 { SWIG_PY_INT
, (char *)"TOOL_TOP", (long) wxTOOL_TOP
, 0, 0, 0},
37425 { SWIG_PY_INT
, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM
, 0, 0, 0},
37426 { SWIG_PY_INT
, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT
, 0, 0, 0},
37427 { SWIG_PY_INT
, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT
, 0, 0, 0},
37428 { SWIG_PY_INT
, (char *)"OK", (long) wxOK
, 0, 0, 0},
37429 { SWIG_PY_INT
, (char *)"YES_NO", (long) wxYES_NO
, 0, 0, 0},
37430 { SWIG_PY_INT
, (char *)"CANCEL", (long) wxCANCEL
, 0, 0, 0},
37431 { SWIG_PY_INT
, (char *)"YES", (long) wxYES
, 0, 0, 0},
37432 { SWIG_PY_INT
, (char *)"NO", (long) wxNO
, 0, 0, 0},
37433 { SWIG_PY_INT
, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT
, 0, 0, 0},
37434 { SWIG_PY_INT
, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT
, 0, 0, 0},
37435 { SWIG_PY_INT
, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION
, 0, 0, 0},
37436 { SWIG_PY_INT
, (char *)"ICON_HAND", (long) wxICON_HAND
, 0, 0, 0},
37437 { SWIG_PY_INT
, (char *)"ICON_QUESTION", (long) wxICON_QUESTION
, 0, 0, 0},
37438 { SWIG_PY_INT
, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION
, 0, 0, 0},
37439 { SWIG_PY_INT
, (char *)"ICON_STOP", (long) wxICON_STOP
, 0, 0, 0},
37440 { SWIG_PY_INT
, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK
, 0, 0, 0},
37441 { SWIG_PY_INT
, (char *)"ICON_MASK", (long) wxICON_MASK
, 0, 0, 0},
37442 { SWIG_PY_INT
, (char *)"ICON_WARNING", (long) wxICON_WARNING
, 0, 0, 0},
37443 { SWIG_PY_INT
, (char *)"ICON_ERROR", (long) wxICON_ERROR
, 0, 0, 0},
37444 { SWIG_PY_INT
, (char *)"FORWARD", (long) wxFORWARD
, 0, 0, 0},
37445 { SWIG_PY_INT
, (char *)"BACKWARD", (long) wxBACKWARD
, 0, 0, 0},
37446 { SWIG_PY_INT
, (char *)"RESET", (long) wxRESET
, 0, 0, 0},
37447 { SWIG_PY_INT
, (char *)"HELP", (long) wxHELP
, 0, 0, 0},
37448 { SWIG_PY_INT
, (char *)"MORE", (long) wxMORE
, 0, 0, 0},
37449 { SWIG_PY_INT
, (char *)"SETUP", (long) wxSETUP
, 0, 0, 0},
37450 { SWIG_PY_INT
, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH
, 0, 0, 0},
37451 { SWIG_PY_INT
, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT
, 0, 0, 0},
37452 { SWIG_PY_INT
, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO
, 0, 0, 0},
37453 { SWIG_PY_INT
, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING
, 0, 0, 0},
37454 { SWIG_PY_INT
, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE
, 0, 0, 0},
37455 { SWIG_PY_INT
, (char *)"PORTRAIT", (long) wxPORTRAIT
, 0, 0, 0},
37456 { SWIG_PY_INT
, (char *)"LANDSCAPE", (long) wxLANDSCAPE
, 0, 0, 0},
37457 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH
, 0, 0, 0},
37458 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM
, 0, 0, 0},
37459 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW
, 0, 0, 0},
37460 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT
, 0, 0, 0},
37461 { SWIG_PY_INT
, (char *)"ID_ANY", (long) wxID_ANY
, 0, 0, 0},
37462 { SWIG_PY_INT
, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR
, 0, 0, 0},
37463 { SWIG_PY_INT
, (char *)"ID_LOWEST", (long) wxID_LOWEST
, 0, 0, 0},
37464 { SWIG_PY_INT
, (char *)"ID_OPEN", (long) wxID_OPEN
, 0, 0, 0},
37465 { SWIG_PY_INT
, (char *)"ID_CLOSE", (long) wxID_CLOSE
, 0, 0, 0},
37466 { SWIG_PY_INT
, (char *)"ID_NEW", (long) wxID_NEW
, 0, 0, 0},
37467 { SWIG_PY_INT
, (char *)"ID_SAVE", (long) wxID_SAVE
, 0, 0, 0},
37468 { SWIG_PY_INT
, (char *)"ID_SAVEAS", (long) wxID_SAVEAS
, 0, 0, 0},
37469 { SWIG_PY_INT
, (char *)"ID_REVERT", (long) wxID_REVERT
, 0, 0, 0},
37470 { SWIG_PY_INT
, (char *)"ID_EXIT", (long) wxID_EXIT
, 0, 0, 0},
37471 { SWIG_PY_INT
, (char *)"ID_UNDO", (long) wxID_UNDO
, 0, 0, 0},
37472 { SWIG_PY_INT
, (char *)"ID_REDO", (long) wxID_REDO
, 0, 0, 0},
37473 { SWIG_PY_INT
, (char *)"ID_HELP", (long) wxID_HELP
, 0, 0, 0},
37474 { SWIG_PY_INT
, (char *)"ID_PRINT", (long) wxID_PRINT
, 0, 0, 0},
37475 { SWIG_PY_INT
, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP
, 0, 0, 0},
37476 { SWIG_PY_INT
, (char *)"ID_PREVIEW", (long) wxID_PREVIEW
, 0, 0, 0},
37477 { SWIG_PY_INT
, (char *)"ID_ABOUT", (long) wxID_ABOUT
, 0, 0, 0},
37478 { SWIG_PY_INT
, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS
, 0, 0, 0},
37479 { SWIG_PY_INT
, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS
, 0, 0, 0},
37480 { SWIG_PY_INT
, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES
, 0, 0, 0},
37481 { SWIG_PY_INT
, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT
, 0, 0, 0},
37482 { SWIG_PY_INT
, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL
, 0, 0, 0},
37483 { SWIG_PY_INT
, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES
, 0, 0, 0},
37484 { SWIG_PY_INT
, (char *)"ID_CUT", (long) wxID_CUT
, 0, 0, 0},
37485 { SWIG_PY_INT
, (char *)"ID_COPY", (long) wxID_COPY
, 0, 0, 0},
37486 { SWIG_PY_INT
, (char *)"ID_PASTE", (long) wxID_PASTE
, 0, 0, 0},
37487 { SWIG_PY_INT
, (char *)"ID_CLEAR", (long) wxID_CLEAR
, 0, 0, 0},
37488 { SWIG_PY_INT
, (char *)"ID_FIND", (long) wxID_FIND
, 0, 0, 0},
37489 { SWIG_PY_INT
, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE
, 0, 0, 0},
37490 { SWIG_PY_INT
, (char *)"ID_SELECTALL", (long) wxID_SELECTALL
, 0, 0, 0},
37491 { SWIG_PY_INT
, (char *)"ID_DELETE", (long) wxID_DELETE
, 0, 0, 0},
37492 { SWIG_PY_INT
, (char *)"ID_REPLACE", (long) wxID_REPLACE
, 0, 0, 0},
37493 { SWIG_PY_INT
, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL
, 0, 0, 0},
37494 { SWIG_PY_INT
, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES
, 0, 0, 0},
37495 { SWIG_PY_INT
, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS
, 0, 0, 0},
37496 { SWIG_PY_INT
, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS
, 0, 0, 0},
37497 { SWIG_PY_INT
, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS
, 0, 0, 0},
37498 { SWIG_PY_INT
, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST
, 0, 0, 0},
37499 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE
, 0, 0, 0},
37500 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME
, 0, 0, 0},
37501 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE
, 0, 0, 0},
37502 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE
, 0, 0, 0},
37503 { SWIG_PY_INT
, (char *)"ID_FILE1", (long) wxID_FILE1
, 0, 0, 0},
37504 { SWIG_PY_INT
, (char *)"ID_FILE2", (long) wxID_FILE2
, 0, 0, 0},
37505 { SWIG_PY_INT
, (char *)"ID_FILE3", (long) wxID_FILE3
, 0, 0, 0},
37506 { SWIG_PY_INT
, (char *)"ID_FILE4", (long) wxID_FILE4
, 0, 0, 0},
37507 { SWIG_PY_INT
, (char *)"ID_FILE5", (long) wxID_FILE5
, 0, 0, 0},
37508 { SWIG_PY_INT
, (char *)"ID_FILE6", (long) wxID_FILE6
, 0, 0, 0},
37509 { SWIG_PY_INT
, (char *)"ID_FILE7", (long) wxID_FILE7
, 0, 0, 0},
37510 { SWIG_PY_INT
, (char *)"ID_FILE8", (long) wxID_FILE8
, 0, 0, 0},
37511 { SWIG_PY_INT
, (char *)"ID_FILE9", (long) wxID_FILE9
, 0, 0, 0},
37512 { SWIG_PY_INT
, (char *)"ID_OK", (long) wxID_OK
, 0, 0, 0},
37513 { SWIG_PY_INT
, (char *)"ID_CANCEL", (long) wxID_CANCEL
, 0, 0, 0},
37514 { SWIG_PY_INT
, (char *)"ID_APPLY", (long) wxID_APPLY
, 0, 0, 0},
37515 { SWIG_PY_INT
, (char *)"ID_YES", (long) wxID_YES
, 0, 0, 0},
37516 { SWIG_PY_INT
, (char *)"ID_NO", (long) wxID_NO
, 0, 0, 0},
37517 { SWIG_PY_INT
, (char *)"ID_STATIC", (long) wxID_STATIC
, 0, 0, 0},
37518 { SWIG_PY_INT
, (char *)"ID_FORWARD", (long) wxID_FORWARD
, 0, 0, 0},
37519 { SWIG_PY_INT
, (char *)"ID_BACKWARD", (long) wxID_BACKWARD
, 0, 0, 0},
37520 { SWIG_PY_INT
, (char *)"ID_DEFAULT", (long) wxID_DEFAULT
, 0, 0, 0},
37521 { SWIG_PY_INT
, (char *)"ID_MORE", (long) wxID_MORE
, 0, 0, 0},
37522 { SWIG_PY_INT
, (char *)"ID_SETUP", (long) wxID_SETUP
, 0, 0, 0},
37523 { SWIG_PY_INT
, (char *)"ID_RESET", (long) wxID_RESET
, 0, 0, 0},
37524 { SWIG_PY_INT
, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP
, 0, 0, 0},
37525 { SWIG_PY_INT
, (char *)"ID_YESTOALL", (long) wxID_YESTOALL
, 0, 0, 0},
37526 { SWIG_PY_INT
, (char *)"ID_NOTOALL", (long) wxID_NOTOALL
, 0, 0, 0},
37527 { SWIG_PY_INT
, (char *)"ID_ABORT", (long) wxID_ABORT
, 0, 0, 0},
37528 { SWIG_PY_INT
, (char *)"ID_RETRY", (long) wxID_RETRY
, 0, 0, 0},
37529 { SWIG_PY_INT
, (char *)"ID_IGNORE", (long) wxID_IGNORE
, 0, 0, 0},
37530 { SWIG_PY_INT
, (char *)"ID_HIGHEST", (long) wxID_HIGHEST
, 0, 0, 0},
37531 { SWIG_PY_INT
, (char *)"OPEN", (long) wxOPEN
, 0, 0, 0},
37532 { SWIG_PY_INT
, (char *)"SAVE", (long) wxSAVE
, 0, 0, 0},
37533 { SWIG_PY_INT
, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY
, 0, 0, 0},
37534 { SWIG_PY_INT
, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT
, 0, 0, 0},
37535 { SWIG_PY_INT
, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST
, 0, 0, 0},
37536 { SWIG_PY_INT
, (char *)"MULTIPLE", (long) wxMULTIPLE
, 0, 0, 0},
37537 { SWIG_PY_INT
, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR
, 0, 0, 0},
37538 { SWIG_PY_INT
, (char *)"ACCEL_ALT", (long) wxACCEL_ALT
, 0, 0, 0},
37539 { SWIG_PY_INT
, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL
, 0, 0, 0},
37540 { SWIG_PY_INT
, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT
, 0, 0, 0},
37541 { SWIG_PY_INT
, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL
, 0, 0, 0},
37542 { SWIG_PY_INT
, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE
, 0, 0, 0},
37543 { SWIG_PY_INT
, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL
, 0, 0, 0},
37544 { SWIG_PY_INT
, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT
, 0, 0, 0},
37545 { SWIG_PY_INT
, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME
, 0, 0, 0},
37546 { SWIG_PY_INT
, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME
, 0, 0, 0},
37547 { SWIG_PY_INT
, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME
, 0, 0, 0},
37548 { SWIG_PY_INT
, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON
, 0, 0, 0},
37549 { SWIG_PY_INT
, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE
, 0, 0, 0},
37550 { SWIG_PY_INT
, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF
, 0, 0, 0},
37551 { SWIG_PY_INT
, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE
, 0, 0, 0},
37552 { SWIG_PY_INT
, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE
, 0, 0, 0},
37553 { SWIG_PY_INT
, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL
, 0, 0, 0},
37554 { SWIG_PY_INT
, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL
, 0, 0, 0},
37555 { SWIG_PY_INT
, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY
, 0, 0, 0},
37556 { SWIG_PY_INT
, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS
, 0, 0, 0},
37557 { SWIG_PY_INT
, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT
, 0, 0, 0},
37558 { SWIG_PY_INT
, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND
, 0, 0, 0},
37559 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE
, 0, 0, 0},
37560 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES
, 0, 0, 0},
37561 { SWIG_PY_INT
, (char *)"MM_TEXT", (long) wxMM_TEXT
, 0, 0, 0},
37562 { SWIG_PY_INT
, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC
, 0, 0, 0},
37563 { SWIG_PY_INT
, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC
, 0, 0, 0},
37564 { SWIG_PY_INT
, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH
, 0, 0, 0},
37565 { SWIG_PY_INT
, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH
, 0, 0, 0},
37566 { SWIG_PY_INT
, (char *)"MM_TWIPS", (long) wxMM_TWIPS
, 0, 0, 0},
37567 { SWIG_PY_INT
, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC
, 0, 0, 0},
37568 { SWIG_PY_INT
, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC
, 0, 0, 0},
37569 { SWIG_PY_INT
, (char *)"MM_POINTS", (long) wxMM_POINTS
, 0, 0, 0},
37570 { SWIG_PY_INT
, (char *)"MM_METRIC", (long) wxMM_METRIC
, 0, 0, 0},
37571 { SWIG_PY_INT
, (char *)"CENTRE", (long) wxCENTRE
, 0, 0, 0},
37572 { SWIG_PY_INT
, (char *)"CENTER", (long) wxCENTER
, 0, 0, 0},
37573 { SWIG_PY_INT
, (char *)"HORIZONTAL", (long) wxHORIZONTAL
, 0, 0, 0},
37574 { SWIG_PY_INT
, (char *)"VERTICAL", (long) wxVERTICAL
, 0, 0, 0},
37575 { SWIG_PY_INT
, (char *)"BOTH", (long) wxBOTH
, 0, 0, 0},
37576 { SWIG_PY_INT
, (char *)"LEFT", (long) wxLEFT
, 0, 0, 0},
37577 { SWIG_PY_INT
, (char *)"RIGHT", (long) wxRIGHT
, 0, 0, 0},
37578 { SWIG_PY_INT
, (char *)"UP", (long) wxUP
, 0, 0, 0},
37579 { SWIG_PY_INT
, (char *)"DOWN", (long) wxDOWN
, 0, 0, 0},
37580 { SWIG_PY_INT
, (char *)"TOP", (long) wxTOP
, 0, 0, 0},
37581 { SWIG_PY_INT
, (char *)"BOTTOM", (long) wxBOTTOM
, 0, 0, 0},
37582 { SWIG_PY_INT
, (char *)"NORTH", (long) wxNORTH
, 0, 0, 0},
37583 { SWIG_PY_INT
, (char *)"SOUTH", (long) wxSOUTH
, 0, 0, 0},
37584 { SWIG_PY_INT
, (char *)"WEST", (long) wxWEST
, 0, 0, 0},
37585 { SWIG_PY_INT
, (char *)"EAST", (long) wxEAST
, 0, 0, 0},
37586 { SWIG_PY_INT
, (char *)"ALL", (long) wxALL
, 0, 0, 0},
37587 { SWIG_PY_INT
, (char *)"ALIGN_NOT", (long) wxALIGN_NOT
, 0, 0, 0},
37588 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL
, 0, 0, 0},
37589 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL
, 0, 0, 0},
37590 { SWIG_PY_INT
, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT
, 0, 0, 0},
37591 { SWIG_PY_INT
, (char *)"ALIGN_TOP", (long) wxALIGN_TOP
, 0, 0, 0},
37592 { SWIG_PY_INT
, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT
, 0, 0, 0},
37593 { SWIG_PY_INT
, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM
, 0, 0, 0},
37594 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL
, 0, 0, 0},
37595 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL
, 0, 0, 0},
37596 { SWIG_PY_INT
, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER
, 0, 0, 0},
37597 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE
, 0, 0, 0},
37598 { SWIG_PY_INT
, (char *)"ALIGN_MASK", (long) wxALIGN_MASK
, 0, 0, 0},
37599 { SWIG_PY_INT
, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT
, 0, 0, 0},
37600 { SWIG_PY_INT
, (char *)"SHRINK", (long) wxSHRINK
, 0, 0, 0},
37601 { SWIG_PY_INT
, (char *)"GROW", (long) wxGROW
, 0, 0, 0},
37602 { SWIG_PY_INT
, (char *)"EXPAND", (long) wxEXPAND
, 0, 0, 0},
37603 { SWIG_PY_INT
, (char *)"SHAPED", (long) wxSHAPED
, 0, 0, 0},
37604 { SWIG_PY_INT
, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE
, 0, 0, 0},
37605 { SWIG_PY_INT
, (char *)"TILE", (long) wxTILE
, 0, 0, 0},
37606 { SWIG_PY_INT
, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT
, 0, 0, 0},
37607 { SWIG_PY_INT
, (char *)"BORDER_NONE", (long) wxBORDER_NONE
, 0, 0, 0},
37608 { SWIG_PY_INT
, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC
, 0, 0, 0},
37609 { SWIG_PY_INT
, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE
, 0, 0, 0},
37610 { SWIG_PY_INT
, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED
, 0, 0, 0},
37611 { SWIG_PY_INT
, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN
, 0, 0, 0},
37612 { SWIG_PY_INT
, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE
, 0, 0, 0},
37613 { SWIG_PY_INT
, (char *)"BORDER_MASK", (long) wxBORDER_MASK
, 0, 0, 0},
37614 { SWIG_PY_INT
, (char *)"DEFAULT", (long) wxDEFAULT
, 0, 0, 0},
37615 { SWIG_PY_INT
, (char *)"DECORATIVE", (long) wxDECORATIVE
, 0, 0, 0},
37616 { SWIG_PY_INT
, (char *)"ROMAN", (long) wxROMAN
, 0, 0, 0},
37617 { SWIG_PY_INT
, (char *)"SCRIPT", (long) wxSCRIPT
, 0, 0, 0},
37618 { SWIG_PY_INT
, (char *)"SWISS", (long) wxSWISS
, 0, 0, 0},
37619 { SWIG_PY_INT
, (char *)"MODERN", (long) wxMODERN
, 0, 0, 0},
37620 { SWIG_PY_INT
, (char *)"TELETYPE", (long) wxTELETYPE
, 0, 0, 0},
37621 { SWIG_PY_INT
, (char *)"VARIABLE", (long) wxVARIABLE
, 0, 0, 0},
37622 { SWIG_PY_INT
, (char *)"FIXED", (long) wxFIXED
, 0, 0, 0},
37623 { SWIG_PY_INT
, (char *)"NORMAL", (long) wxNORMAL
, 0, 0, 0},
37624 { SWIG_PY_INT
, (char *)"LIGHT", (long) wxLIGHT
, 0, 0, 0},
37625 { SWIG_PY_INT
, (char *)"BOLD", (long) wxBOLD
, 0, 0, 0},
37626 { SWIG_PY_INT
, (char *)"ITALIC", (long) wxITALIC
, 0, 0, 0},
37627 { SWIG_PY_INT
, (char *)"SLANT", (long) wxSLANT
, 0, 0, 0},
37628 { SWIG_PY_INT
, (char *)"SOLID", (long) wxSOLID
, 0, 0, 0},
37629 { SWIG_PY_INT
, (char *)"DOT", (long) wxDOT
, 0, 0, 0},
37630 { SWIG_PY_INT
, (char *)"LONG_DASH", (long) wxLONG_DASH
, 0, 0, 0},
37631 { SWIG_PY_INT
, (char *)"SHORT_DASH", (long) wxSHORT_DASH
, 0, 0, 0},
37632 { SWIG_PY_INT
, (char *)"DOT_DASH", (long) wxDOT_DASH
, 0, 0, 0},
37633 { SWIG_PY_INT
, (char *)"USER_DASH", (long) wxUSER_DASH
, 0, 0, 0},
37634 { SWIG_PY_INT
, (char *)"TRANSPARENT", (long) wxTRANSPARENT
, 0, 0, 0},
37635 { SWIG_PY_INT
, (char *)"STIPPLE", (long) wxSTIPPLE
, 0, 0, 0},
37636 { SWIG_PY_INT
, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH
, 0, 0, 0},
37637 { SWIG_PY_INT
, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH
, 0, 0, 0},
37638 { SWIG_PY_INT
, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH
, 0, 0, 0},
37639 { SWIG_PY_INT
, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH
, 0, 0, 0},
37640 { SWIG_PY_INT
, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH
, 0, 0, 0},
37641 { SWIG_PY_INT
, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH
, 0, 0, 0},
37642 { SWIG_PY_INT
, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL
, 0, 0, 0},
37643 { SWIG_PY_INT
, (char *)"JOIN_MITER", (long) wxJOIN_MITER
, 0, 0, 0},
37644 { SWIG_PY_INT
, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND
, 0, 0, 0},
37645 { SWIG_PY_INT
, (char *)"CAP_ROUND", (long) wxCAP_ROUND
, 0, 0, 0},
37646 { SWIG_PY_INT
, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING
, 0, 0, 0},
37647 { SWIG_PY_INT
, (char *)"CAP_BUTT", (long) wxCAP_BUTT
, 0, 0, 0},
37648 { SWIG_PY_INT
, (char *)"CLEAR", (long) wxCLEAR
, 0, 0, 0},
37649 { SWIG_PY_INT
, (char *)"XOR", (long) wxXOR
, 0, 0, 0},
37650 { SWIG_PY_INT
, (char *)"INVERT", (long) wxINVERT
, 0, 0, 0},
37651 { SWIG_PY_INT
, (char *)"OR_REVERSE", (long) wxOR_REVERSE
, 0, 0, 0},
37652 { SWIG_PY_INT
, (char *)"AND_REVERSE", (long) wxAND_REVERSE
, 0, 0, 0},
37653 { SWIG_PY_INT
, (char *)"COPY", (long) wxCOPY
, 0, 0, 0},
37654 { SWIG_PY_INT
, (char *)"AND", (long) wxAND
, 0, 0, 0},
37655 { SWIG_PY_INT
, (char *)"AND_INVERT", (long) wxAND_INVERT
, 0, 0, 0},
37656 { SWIG_PY_INT
, (char *)"NO_OP", (long) wxNO_OP
, 0, 0, 0},
37657 { SWIG_PY_INT
, (char *)"NOR", (long) wxNOR
, 0, 0, 0},
37658 { SWIG_PY_INT
, (char *)"EQUIV", (long) wxEQUIV
, 0, 0, 0},
37659 { SWIG_PY_INT
, (char *)"SRC_INVERT", (long) wxSRC_INVERT
, 0, 0, 0},
37660 { SWIG_PY_INT
, (char *)"OR_INVERT", (long) wxOR_INVERT
, 0, 0, 0},
37661 { SWIG_PY_INT
, (char *)"NAND", (long) wxNAND
, 0, 0, 0},
37662 { SWIG_PY_INT
, (char *)"OR", (long) wxOR
, 0, 0, 0},
37663 { SWIG_PY_INT
, (char *)"SET", (long) wxSET
, 0, 0, 0},
37664 { SWIG_PY_INT
, (char *)"WXK_BACK", (long) WXK_BACK
, 0, 0, 0},
37665 { SWIG_PY_INT
, (char *)"WXK_TAB", (long) WXK_TAB
, 0, 0, 0},
37666 { SWIG_PY_INT
, (char *)"WXK_RETURN", (long) WXK_RETURN
, 0, 0, 0},
37667 { SWIG_PY_INT
, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE
, 0, 0, 0},
37668 { SWIG_PY_INT
, (char *)"WXK_SPACE", (long) WXK_SPACE
, 0, 0, 0},
37669 { SWIG_PY_INT
, (char *)"WXK_DELETE", (long) WXK_DELETE
, 0, 0, 0},
37670 { SWIG_PY_INT
, (char *)"WXK_START", (long) WXK_START
, 0, 0, 0},
37671 { SWIG_PY_INT
, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON
, 0, 0, 0},
37672 { SWIG_PY_INT
, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON
, 0, 0, 0},
37673 { SWIG_PY_INT
, (char *)"WXK_CANCEL", (long) WXK_CANCEL
, 0, 0, 0},
37674 { SWIG_PY_INT
, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON
, 0, 0, 0},
37675 { SWIG_PY_INT
, (char *)"WXK_CLEAR", (long) WXK_CLEAR
, 0, 0, 0},
37676 { SWIG_PY_INT
, (char *)"WXK_SHIFT", (long) WXK_SHIFT
, 0, 0, 0},
37677 { SWIG_PY_INT
, (char *)"WXK_ALT", (long) WXK_ALT
, 0, 0, 0},
37678 { SWIG_PY_INT
, (char *)"WXK_CONTROL", (long) WXK_CONTROL
, 0, 0, 0},
37679 { SWIG_PY_INT
, (char *)"WXK_MENU", (long) WXK_MENU
, 0, 0, 0},
37680 { SWIG_PY_INT
, (char *)"WXK_PAUSE", (long) WXK_PAUSE
, 0, 0, 0},
37681 { SWIG_PY_INT
, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL
, 0, 0, 0},
37682 { SWIG_PY_INT
, (char *)"WXK_PRIOR", (long) WXK_PRIOR
, 0, 0, 0},
37683 { SWIG_PY_INT
, (char *)"WXK_NEXT", (long) WXK_NEXT
, 0, 0, 0},
37684 { SWIG_PY_INT
, (char *)"WXK_END", (long) WXK_END
, 0, 0, 0},
37685 { SWIG_PY_INT
, (char *)"WXK_HOME", (long) WXK_HOME
, 0, 0, 0},
37686 { SWIG_PY_INT
, (char *)"WXK_LEFT", (long) WXK_LEFT
, 0, 0, 0},
37687 { SWIG_PY_INT
, (char *)"WXK_UP", (long) WXK_UP
, 0, 0, 0},
37688 { SWIG_PY_INT
, (char *)"WXK_RIGHT", (long) WXK_RIGHT
, 0, 0, 0},
37689 { SWIG_PY_INT
, (char *)"WXK_DOWN", (long) WXK_DOWN
, 0, 0, 0},
37690 { SWIG_PY_INT
, (char *)"WXK_SELECT", (long) WXK_SELECT
, 0, 0, 0},
37691 { SWIG_PY_INT
, (char *)"WXK_PRINT", (long) WXK_PRINT
, 0, 0, 0},
37692 { SWIG_PY_INT
, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE
, 0, 0, 0},
37693 { SWIG_PY_INT
, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT
, 0, 0, 0},
37694 { SWIG_PY_INT
, (char *)"WXK_INSERT", (long) WXK_INSERT
, 0, 0, 0},
37695 { SWIG_PY_INT
, (char *)"WXK_HELP", (long) WXK_HELP
, 0, 0, 0},
37696 { SWIG_PY_INT
, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0
, 0, 0, 0},
37697 { SWIG_PY_INT
, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1
, 0, 0, 0},
37698 { SWIG_PY_INT
, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2
, 0, 0, 0},
37699 { SWIG_PY_INT
, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3
, 0, 0, 0},
37700 { SWIG_PY_INT
, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4
, 0, 0, 0},
37701 { SWIG_PY_INT
, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5
, 0, 0, 0},
37702 { SWIG_PY_INT
, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6
, 0, 0, 0},
37703 { SWIG_PY_INT
, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7
, 0, 0, 0},
37704 { SWIG_PY_INT
, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8
, 0, 0, 0},
37705 { SWIG_PY_INT
, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9
, 0, 0, 0},
37706 { SWIG_PY_INT
, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY
, 0, 0, 0},
37707 { SWIG_PY_INT
, (char *)"WXK_ADD", (long) WXK_ADD
, 0, 0, 0},
37708 { SWIG_PY_INT
, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR
, 0, 0, 0},
37709 { SWIG_PY_INT
, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT
, 0, 0, 0},
37710 { SWIG_PY_INT
, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL
, 0, 0, 0},
37711 { SWIG_PY_INT
, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE
, 0, 0, 0},
37712 { SWIG_PY_INT
, (char *)"WXK_F1", (long) WXK_F1
, 0, 0, 0},
37713 { SWIG_PY_INT
, (char *)"WXK_F2", (long) WXK_F2
, 0, 0, 0},
37714 { SWIG_PY_INT
, (char *)"WXK_F3", (long) WXK_F3
, 0, 0, 0},
37715 { SWIG_PY_INT
, (char *)"WXK_F4", (long) WXK_F4
, 0, 0, 0},
37716 { SWIG_PY_INT
, (char *)"WXK_F5", (long) WXK_F5
, 0, 0, 0},
37717 { SWIG_PY_INT
, (char *)"WXK_F6", (long) WXK_F6
, 0, 0, 0},
37718 { SWIG_PY_INT
, (char *)"WXK_F7", (long) WXK_F7
, 0, 0, 0},
37719 { SWIG_PY_INT
, (char *)"WXK_F8", (long) WXK_F8
, 0, 0, 0},
37720 { SWIG_PY_INT
, (char *)"WXK_F9", (long) WXK_F9
, 0, 0, 0},
37721 { SWIG_PY_INT
, (char *)"WXK_F10", (long) WXK_F10
, 0, 0, 0},
37722 { SWIG_PY_INT
, (char *)"WXK_F11", (long) WXK_F11
, 0, 0, 0},
37723 { SWIG_PY_INT
, (char *)"WXK_F12", (long) WXK_F12
, 0, 0, 0},
37724 { SWIG_PY_INT
, (char *)"WXK_F13", (long) WXK_F13
, 0, 0, 0},
37725 { SWIG_PY_INT
, (char *)"WXK_F14", (long) WXK_F14
, 0, 0, 0},
37726 { SWIG_PY_INT
, (char *)"WXK_F15", (long) WXK_F15
, 0, 0, 0},
37727 { SWIG_PY_INT
, (char *)"WXK_F16", (long) WXK_F16
, 0, 0, 0},
37728 { SWIG_PY_INT
, (char *)"WXK_F17", (long) WXK_F17
, 0, 0, 0},
37729 { SWIG_PY_INT
, (char *)"WXK_F18", (long) WXK_F18
, 0, 0, 0},
37730 { SWIG_PY_INT
, (char *)"WXK_F19", (long) WXK_F19
, 0, 0, 0},
37731 { SWIG_PY_INT
, (char *)"WXK_F20", (long) WXK_F20
, 0, 0, 0},
37732 { SWIG_PY_INT
, (char *)"WXK_F21", (long) WXK_F21
, 0, 0, 0},
37733 { SWIG_PY_INT
, (char *)"WXK_F22", (long) WXK_F22
, 0, 0, 0},
37734 { SWIG_PY_INT
, (char *)"WXK_F23", (long) WXK_F23
, 0, 0, 0},
37735 { SWIG_PY_INT
, (char *)"WXK_F24", (long) WXK_F24
, 0, 0, 0},
37736 { SWIG_PY_INT
, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK
, 0, 0, 0},
37737 { SWIG_PY_INT
, (char *)"WXK_SCROLL", (long) WXK_SCROLL
, 0, 0, 0},
37738 { SWIG_PY_INT
, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP
, 0, 0, 0},
37739 { SWIG_PY_INT
, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN
, 0, 0, 0},
37740 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE
, 0, 0, 0},
37741 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB
, 0, 0, 0},
37742 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER
, 0, 0, 0},
37743 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1
, 0, 0, 0},
37744 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2
, 0, 0, 0},
37745 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3
, 0, 0, 0},
37746 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4
, 0, 0, 0},
37747 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME
, 0, 0, 0},
37748 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT
, 0, 0, 0},
37749 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP
, 0, 0, 0},
37750 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT
, 0, 0, 0},
37751 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN
, 0, 0, 0},
37752 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR
, 0, 0, 0},
37753 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP
, 0, 0, 0},
37754 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT
, 0, 0, 0},
37755 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN
, 0, 0, 0},
37756 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END
, 0, 0, 0},
37757 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN
, 0, 0, 0},
37758 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT
, 0, 0, 0},
37759 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE
, 0, 0, 0},
37760 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL
, 0, 0, 0},
37761 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY
, 0, 0, 0},
37762 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD
, 0, 0, 0},
37763 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR
, 0, 0, 0},
37764 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT
, 0, 0, 0},
37765 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL
, 0, 0, 0},
37766 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE
, 0, 0, 0},
37767 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT
, 0, 0, 0},
37768 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT
, 0, 0, 0},
37769 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU
, 0, 0, 0},
37770 { SWIG_PY_INT
, (char *)"PAPER_NONE", (long) wxPAPER_NONE
, 0, 0, 0},
37771 { SWIG_PY_INT
, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER
, 0, 0, 0},
37772 { SWIG_PY_INT
, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL
, 0, 0, 0},
37773 { SWIG_PY_INT
, (char *)"PAPER_A4", (long) wxPAPER_A4
, 0, 0, 0},
37774 { SWIG_PY_INT
, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET
, 0, 0, 0},
37775 { SWIG_PY_INT
, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET
, 0, 0, 0},
37776 { SWIG_PY_INT
, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET
, 0, 0, 0},
37777 { SWIG_PY_INT
, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL
, 0, 0, 0},
37778 { SWIG_PY_INT
, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID
, 0, 0, 0},
37779 { SWIG_PY_INT
, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER
, 0, 0, 0},
37780 { SWIG_PY_INT
, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT
, 0, 0, 0},
37781 { SWIG_PY_INT
, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE
, 0, 0, 0},
37782 { SWIG_PY_INT
, (char *)"PAPER_A3", (long) wxPAPER_A3
, 0, 0, 0},
37783 { SWIG_PY_INT
, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL
, 0, 0, 0},
37784 { SWIG_PY_INT
, (char *)"PAPER_A5", (long) wxPAPER_A5
, 0, 0, 0},
37785 { SWIG_PY_INT
, (char *)"PAPER_B4", (long) wxPAPER_B4
, 0, 0, 0},
37786 { SWIG_PY_INT
, (char *)"PAPER_B5", (long) wxPAPER_B5
, 0, 0, 0},
37787 { SWIG_PY_INT
, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO
, 0, 0, 0},
37788 { SWIG_PY_INT
, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO
, 0, 0, 0},
37789 { SWIG_PY_INT
, (char *)"PAPER_10X14", (long) wxPAPER_10X14
, 0, 0, 0},
37790 { SWIG_PY_INT
, (char *)"PAPER_11X17", (long) wxPAPER_11X17
, 0, 0, 0},
37791 { SWIG_PY_INT
, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE
, 0, 0, 0},
37792 { SWIG_PY_INT
, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9
, 0, 0, 0},
37793 { SWIG_PY_INT
, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10
, 0, 0, 0},
37794 { SWIG_PY_INT
, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11
, 0, 0, 0},
37795 { SWIG_PY_INT
, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12
, 0, 0, 0},
37796 { SWIG_PY_INT
, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14
, 0, 0, 0},
37797 { SWIG_PY_INT
, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL
, 0, 0, 0},
37798 { SWIG_PY_INT
, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5
, 0, 0, 0},
37799 { SWIG_PY_INT
, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3
, 0, 0, 0},
37800 { SWIG_PY_INT
, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4
, 0, 0, 0},
37801 { SWIG_PY_INT
, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6
, 0, 0, 0},
37802 { SWIG_PY_INT
, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65
, 0, 0, 0},
37803 { SWIG_PY_INT
, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4
, 0, 0, 0},
37804 { SWIG_PY_INT
, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5
, 0, 0, 0},
37805 { SWIG_PY_INT
, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6
, 0, 0, 0},
37806 { SWIG_PY_INT
, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY
, 0, 0, 0},
37807 { SWIG_PY_INT
, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH
, 0, 0, 0},
37808 { SWIG_PY_INT
, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL
, 0, 0, 0},
37809 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US
, 0, 0, 0},
37810 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN
, 0, 0, 0},
37811 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN
, 0, 0, 0},
37812 { SWIG_PY_INT
, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4
, 0, 0, 0},
37813 { SWIG_PY_INT
, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD
, 0, 0, 0},
37814 { SWIG_PY_INT
, (char *)"PAPER_9X11", (long) wxPAPER_9X11
, 0, 0, 0},
37815 { SWIG_PY_INT
, (char *)"PAPER_10X11", (long) wxPAPER_10X11
, 0, 0, 0},
37816 { SWIG_PY_INT
, (char *)"PAPER_15X11", (long) wxPAPER_15X11
, 0, 0, 0},
37817 { SWIG_PY_INT
, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE
, 0, 0, 0},
37818 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA
, 0, 0, 0},
37819 { SWIG_PY_INT
, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA
, 0, 0, 0},
37820 { SWIG_PY_INT
, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA
, 0, 0, 0},
37821 { SWIG_PY_INT
, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA
, 0, 0, 0},
37822 { SWIG_PY_INT
, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE
, 0, 0, 0},
37823 { SWIG_PY_INT
, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE
, 0, 0, 0},
37824 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE
, 0, 0, 0},
37825 { SWIG_PY_INT
, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS
, 0, 0, 0},
37826 { SWIG_PY_INT
, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS
, 0, 0, 0},
37827 { SWIG_PY_INT
, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS
, 0, 0, 0},
37828 { SWIG_PY_INT
, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS
, 0, 0, 0},
37829 { SWIG_PY_INT
, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE
, 0, 0, 0},
37830 { SWIG_PY_INT
, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE
, 0, 0, 0},
37831 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA
, 0, 0, 0},
37832 { SWIG_PY_INT
, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA
, 0, 0, 0},
37833 { SWIG_PY_INT
, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA
, 0, 0, 0},
37834 { SWIG_PY_INT
, (char *)"PAPER_A2", (long) wxPAPER_A2
, 0, 0, 0},
37835 { SWIG_PY_INT
, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE
, 0, 0, 0},
37836 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE
, 0, 0, 0},
37837 { SWIG_PY_INT
, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX
, 0, 0, 0},
37838 { SWIG_PY_INT
, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL
, 0, 0, 0},
37839 { SWIG_PY_INT
, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL
, 0, 0, 0},
37840 { SWIG_PY_INT
, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR
, 0, 0, 0},
37841 { SWIG_PY_INT
, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL
, 0, 0, 0},
37842 { SWIG_PY_INT
, (char *)"ITEM_CHECK", (long) wxITEM_CHECK
, 0, 0, 0},
37843 { SWIG_PY_INT
, (char *)"ITEM_RADIO", (long) wxITEM_RADIO
, 0, 0, 0},
37844 { SWIG_PY_INT
, (char *)"ITEM_MAX", (long) wxITEM_MAX
, 0, 0, 0},
37845 { SWIG_PY_INT
, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE
, 0, 0, 0},
37846 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST
, 0, 0, 0},
37847 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1
, 0, 0, 0},
37848 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2
, 0, 0, 0},
37849 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1
, 0, 0, 0},
37850 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2
, 0, 0, 0},
37851 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB
, 0, 0, 0},
37852 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1
, 0, 0, 0},
37853 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2
, 0, 0, 0},
37854 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST
, 0, 0, 0},
37855 { SWIG_PY_INT
, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE
, 0, 0, 0},
37856 { SWIG_PY_INT
, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE
, 0, 0, 0},
37857 { SWIG_PY_INT
, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR
, 0, 0, 0},
37858 { SWIG_PY_INT
, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR
, 0, 0, 0},
37859 { SWIG_PY_INT
, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER
, 0, 0, 0},
37860 { SWIG_PY_INT
, (char *)"HT_MAX", (long) wxHT_MAX
, 0, 0, 0},
37861 { SWIG_PY_INT
, (char *)"MOD_NONE", (long) wxMOD_NONE
, 0, 0, 0},
37862 { SWIG_PY_INT
, (char *)"MOD_ALT", (long) wxMOD_ALT
, 0, 0, 0},
37863 { SWIG_PY_INT
, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL
, 0, 0, 0},
37864 { SWIG_PY_INT
, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT
, 0, 0, 0},
37865 { SWIG_PY_INT
, (char *)"MOD_WIN", (long) wxMOD_WIN
, 0, 0, 0},
37866 { SWIG_PY_INT
, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE
, 0, 0, 0},
37867 { SWIG_PY_INT
, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE
, 0, 0, 0},
37868 { SWIG_PY_INT
, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE
, 0, 0, 0},
37869 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID
, 0, 0, 0},
37870 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP
, 0, 0, 0},
37871 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE
, 0, 0, 0},
37872 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE
, 0, 0, 0},
37873 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO
, 0, 0, 0},
37874 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE
, 0, 0, 0},
37875 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR
, 0, 0, 0},
37876 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE
, 0, 0, 0},
37877 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM
, 0, 0, 0},
37878 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA
, 0, 0, 0},
37879 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM
, 0, 0, 0},
37880 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA
, 0, 0, 0},
37881 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF
, 0, 0, 0},
37882 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE
, 0, 0, 0},
37883 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF
, 0, 0, 0},
37884 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE
, 0, 0, 0},
37885 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG
, 0, 0, 0},
37886 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE
, 0, 0, 0},
37887 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG
, 0, 0, 0},
37888 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE
, 0, 0, 0},
37889 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM
, 0, 0, 0},
37890 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE
, 0, 0, 0},
37891 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX
, 0, 0, 0},
37892 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE
, 0, 0, 0},
37893 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT
, 0, 0, 0},
37894 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE
, 0, 0, 0},
37895 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON
, 0, 0, 0},
37896 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE
, 0, 0, 0},
37897 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI
, 0, 0, 0},
37898 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF
, 0, 0, 0},
37899 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR
, 0, 0, 0},
37900 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE
, 0, 0, 0},
37901 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY
, 0, 0, 0},
37902 { SWIG_PY_INT
, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE
, 0, 0, 0},
37903 { SWIG_PY_INT
, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW
, 0, 0, 0},
37904 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW
, 0, 0, 0},
37905 { SWIG_PY_INT
, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE
, 0, 0, 0},
37906 { SWIG_PY_INT
, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR
, 0, 0, 0},
37907 { SWIG_PY_INT
, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS
, 0, 0, 0},
37908 { SWIG_PY_INT
, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND
, 0, 0, 0},
37909 { SWIG_PY_INT
, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM
, 0, 0, 0},
37910 { SWIG_PY_INT
, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON
, 0, 0, 0},
37911 { SWIG_PY_INT
, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER
, 0, 0, 0},
37912 { SWIG_PY_INT
, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON
, 0, 0, 0},
37913 { SWIG_PY_INT
, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY
, 0, 0, 0},
37914 { SWIG_PY_INT
, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH
, 0, 0, 0},
37915 { SWIG_PY_INT
, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL
, 0, 0, 0},
37916 { SWIG_PY_INT
, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT
, 0, 0, 0},
37917 { SWIG_PY_INT
, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT
, 0, 0, 0},
37918 { SWIG_PY_INT
, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW
, 0, 0, 0},
37919 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON
, 0, 0, 0},
37920 { SWIG_PY_INT
, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW
, 0, 0, 0},
37921 { SWIG_PY_INT
, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS
, 0, 0, 0},
37922 { SWIG_PY_INT
, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE
, 0, 0, 0},
37923 { SWIG_PY_INT
, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE
, 0, 0, 0},
37924 { SWIG_PY_INT
, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING
, 0, 0, 0},
37925 { SWIG_PY_INT
, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN
, 0, 0, 0},
37926 { SWIG_PY_INT
, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT
, 0, 0, 0},
37927 { SWIG_PY_INT
, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH
, 0, 0, 0},
37928 { SWIG_PY_INT
, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK
, 0, 0, 0},
37929 { SWIG_PY_INT
, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT
, 0, 0, 0},
37930 { SWIG_PY_INT
, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW
, 0, 0, 0},
37931 { SWIG_PY_INT
, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT
, 0, 0, 0},
37932 { SWIG_PY_INT
, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX
, 0, 0, 0},
37933 { SWIG_PY_INT
, (char *)"FromStart", (long) wxFromStart
, 0, 0, 0},
37934 { SWIG_PY_INT
, (char *)"FromCurrent", (long) wxFromCurrent
, 0, 0, 0},
37935 { SWIG_PY_INT
, (char *)"FromEnd", (long) wxFromEnd
, 0, 0, 0},
37936 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES
, 0, 0, 0},
37937 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM
, 0, 0, 0},
37938 { SWIG_PY_INT
, (char *)"BMP_24BPP", (long) wxBMP_24BPP
, 0, 0, 0},
37939 { SWIG_PY_INT
, (char *)"BMP_8BPP", (long) wxBMP_8BPP
, 0, 0, 0},
37940 { SWIG_PY_INT
, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY
, 0, 0, 0},
37941 { SWIG_PY_INT
, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY
, 0, 0, 0},
37942 { SWIG_PY_INT
, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED
, 0, 0, 0},
37943 { SWIG_PY_INT
, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE
, 0, 0, 0},
37944 { SWIG_PY_INT
, (char *)"BMP_4BPP", (long) wxBMP_4BPP
, 0, 0, 0},
37945 { SWIG_PY_INT
, (char *)"BMP_1BPP", (long) wxBMP_1BPP
, 0, 0, 0},
37946 { SWIG_PY_INT
, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW
, 0, 0, 0},
37947 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE
, 0, 0, 0},
37948 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX
, 0, 0, 0},
37949 { SWIG_PY_INT
, (char *)"wxEVT_NULL", (long) wxEVT_NULL
, 0, 0, 0},
37950 { SWIG_PY_INT
, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST
, 0, 0, 0},
37951 { SWIG_PY_INT
, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST
, 0, 0, 0},
37952 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED
, 0, 0, 0},
37953 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED
, 0, 0, 0},
37954 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED
, 0, 0, 0},
37955 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED
, 0, 0, 0},
37956 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
, 0, 0, 0},
37957 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
, 0, 0, 0},
37958 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED
, 0, 0, 0},
37959 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED
, 0, 0, 0},
37960 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED
, 0, 0, 0},
37961 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED
, 0, 0, 0},
37962 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED
, 0, 0, 0},
37963 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED
, 0, 0, 0},
37964 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED
, 0, 0, 0},
37965 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED
, 0, 0, 0},
37966 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED
, 0, 0, 0},
37967 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER
, 0, 0, 0},
37968 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN
, 0, 0, 0},
37969 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP
, 0, 0, 0},
37970 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN
, 0, 0, 0},
37971 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP
, 0, 0, 0},
37972 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN
, 0, 0, 0},
37973 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP
, 0, 0, 0},
37974 { SWIG_PY_INT
, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION
, 0, 0, 0},
37975 { SWIG_PY_INT
, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW
, 0, 0, 0},
37976 { SWIG_PY_INT
, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW
, 0, 0, 0},
37977 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK
, 0, 0, 0},
37978 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK
, 0, 0, 0},
37979 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK
, 0, 0, 0},
37980 { SWIG_PY_INT
, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS
, 0, 0, 0},
37981 { SWIG_PY_INT
, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS
, 0, 0, 0},
37982 { SWIG_PY_INT
, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS
, 0, 0, 0},
37983 { SWIG_PY_INT
, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL
, 0, 0, 0},
37984 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN
, 0, 0, 0},
37985 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP
, 0, 0, 0},
37986 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN
, 0, 0, 0},
37987 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP
, 0, 0, 0},
37988 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN
, 0, 0, 0},
37989 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP
, 0, 0, 0},
37990 { SWIG_PY_INT
, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION
, 0, 0, 0},
37991 { SWIG_PY_INT
, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW
, 0, 0, 0},
37992 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW
, 0, 0, 0},
37993 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK
, 0, 0, 0},
37994 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK
, 0, 0, 0},
37995 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK
, 0, 0, 0},
37996 { SWIG_PY_INT
, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR
, 0, 0, 0},
37997 { SWIG_PY_INT
, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK
, 0, 0, 0},
37998 { SWIG_PY_INT
, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY
, 0, 0, 0},
37999 { SWIG_PY_INT
, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN
, 0, 0, 0},
38000 { SWIG_PY_INT
, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP
, 0, 0, 0},
38001 { SWIG_PY_INT
, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY
, 0, 0, 0},
38002 { SWIG_PY_INT
, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR
, 0, 0, 0},
38003 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP
, 0, 0, 0},
38004 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM
, 0, 0, 0},
38005 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP
, 0, 0, 0},
38006 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN
, 0, 0, 0},
38007 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP
, 0, 0, 0},
38008 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN
, 0, 0, 0},
38009 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK
, 0, 0, 0},
38010 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE
, 0, 0, 0},
38011 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL
, 0, 0, 0},
38012 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP
, 0, 0, 0},
38013 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM
, 0, 0, 0},
38014 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP
, 0, 0, 0},
38015 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN
, 0, 0, 0},
38016 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP
, 0, 0, 0},
38017 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN
, 0, 0, 0},
38018 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK
, 0, 0, 0},
38019 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE
, 0, 0, 0},
38020 { SWIG_PY_INT
, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE
, 0, 0, 0},
38021 { SWIG_PY_INT
, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE
, 0, 0, 0},
38022 { SWIG_PY_INT
, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW
, 0, 0, 0},
38023 { SWIG_PY_INT
, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION
, 0, 0, 0},
38024 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION
, 0, 0, 0},
38025 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP
, 0, 0, 0},
38026 { SWIG_PY_INT
, (char *)"wxEVT_POWER", (long) wxEVT_POWER
, 0, 0, 0},
38027 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE
, 0, 0, 0},
38028 { SWIG_PY_INT
, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE
, 0, 0, 0},
38029 { SWIG_PY_INT
, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY
, 0, 0, 0},
38030 { SWIG_PY_INT
, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW
, 0, 0, 0},
38031 { SWIG_PY_INT
, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE
, 0, 0, 0},
38032 { SWIG_PY_INT
, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE
, 0, 0, 0},
38033 { SWIG_PY_INT
, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED
, 0, 0, 0},
38034 { SWIG_PY_INT
, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT
, 0, 0, 0},
38035 { SWIG_PY_INT
, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND
, 0, 0, 0},
38036 { SWIG_PY_INT
, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT
, 0, 0, 0},
38037 { SWIG_PY_INT
, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON
, 0, 0, 0},
38038 { SWIG_PY_INT
, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN
, 0, 0, 0},
38039 { SWIG_PY_INT
, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE
, 0, 0, 0},
38040 { SWIG_PY_INT
, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT
, 0, 0, 0},
38041 { SWIG_PY_INT
, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU
, 0, 0, 0},
38042 { SWIG_PY_INT
, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED
, 0, 0, 0},
38043 { SWIG_PY_INT
, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED
, 0, 0, 0},
38044 { SWIG_PY_INT
, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED
, 0, 0, 0},
38045 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE
, 0, 0, 0},
38046 { SWIG_PY_INT
, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED
, 0, 0, 0},
38047 { SWIG_PY_INT
, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES
, 0, 0, 0},
38048 { SWIG_PY_INT
, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM
, 0, 0, 0},
38049 { SWIG_PY_INT
, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM
, 0, 0, 0},
38050 { SWIG_PY_INT
, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM
, 0, 0, 0},
38051 { SWIG_PY_INT
, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG
, 0, 0, 0},
38052 { SWIG_PY_INT
, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE
, 0, 0, 0},
38053 { SWIG_PY_INT
, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI
, 0, 0, 0},
38054 { SWIG_PY_INT
, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING
, 0, 0, 0},
38055 { SWIG_PY_INT
, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING
, 0, 0, 0},
38056 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK
, 0, 0, 0},
38057 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK
, 0, 0, 0},
38058 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK
, 0, 0, 0},
38059 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK
, 0, 0, 0},
38060 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS
, 0, 0, 0},
38061 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS
, 0, 0, 0},
38062 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER
, 0, 0, 0},
38063 { SWIG_PY_INT
, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY
, 0, 0, 0},
38064 { SWIG_PY_INT
, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE
, 0, 0, 0},
38065 { SWIG_PY_INT
, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT
, 0, 0, 0},
38066 { SWIG_PY_INT
, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE
, 0, 0, 0},
38067 { SWIG_PY_INT
, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT
, 0, 0, 0},
38068 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL
, 0, 0, 0},
38069 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED
, 0, 0, 0},
38070 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL
, 0, 0, 0},
38071 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED
, 0, 0, 0},
38072 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS
, 0, 0, 0},
38073 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION
, 0, 0, 0},
38074 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG
, 0, 0, 0},
38075 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG
, 0, 0, 0},
38076 { SWIG_PY_INT
, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS
, 0, 0, 0},
38077 { SWIG_PY_INT
, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT
, 0, 0, 0},
38078 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE
, 0, 0, 0},
38079 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED
, 0, 0, 0},
38080 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL
, 0, 0, 0},
38081 { SWIG_PY_INT
, (char *)"Left", (long) wxLeft
, 0, 0, 0},
38082 { SWIG_PY_INT
, (char *)"Top", (long) wxTop
, 0, 0, 0},
38083 { SWIG_PY_INT
, (char *)"Right", (long) wxRight
, 0, 0, 0},
38084 { SWIG_PY_INT
, (char *)"Bottom", (long) wxBottom
, 0, 0, 0},
38085 { SWIG_PY_INT
, (char *)"Width", (long) wxWidth
, 0, 0, 0},
38086 { SWIG_PY_INT
, (char *)"Height", (long) wxHeight
, 0, 0, 0},
38087 { SWIG_PY_INT
, (char *)"Centre", (long) wxCentre
, 0, 0, 0},
38088 { SWIG_PY_INT
, (char *)"Center", (long) wxCenter
, 0, 0, 0},
38089 { SWIG_PY_INT
, (char *)"CentreX", (long) wxCentreX
, 0, 0, 0},
38090 { SWIG_PY_INT
, (char *)"CentreY", (long) wxCentreY
, 0, 0, 0},
38091 { SWIG_PY_INT
, (char *)"Unconstrained", (long) wxUnconstrained
, 0, 0, 0},
38092 { SWIG_PY_INT
, (char *)"AsIs", (long) wxAsIs
, 0, 0, 0},
38093 { SWIG_PY_INT
, (char *)"PercentOf", (long) wxPercentOf
, 0, 0, 0},
38094 { SWIG_PY_INT
, (char *)"Above", (long) wxAbove
, 0, 0, 0},
38095 { SWIG_PY_INT
, (char *)"Below", (long) wxBelow
, 0, 0, 0},
38096 { SWIG_PY_INT
, (char *)"LeftOf", (long) wxLeftOf
, 0, 0, 0},
38097 { SWIG_PY_INT
, (char *)"RightOf", (long) wxRightOf
, 0, 0, 0},
38098 { SWIG_PY_INT
, (char *)"SameAs", (long) wxSameAs
, 0, 0, 0},
38099 { SWIG_PY_INT
, (char *)"Absolute", (long) wxAbsolute
, 0, 0, 0},
38109 SWIGEXPORT(void) SWIG_init(void) {
38110 static PyObject
*SWIG_globals
= 0;
38111 static int typeinit
= 0;
38114 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
38115 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38116 d
= PyModule_GetDict(m
);
38119 for (i
= 0; swig_types_initial
[i
]; i
++) {
38120 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
38124 SWIG_InstallConstants(d
,swig_const_table
);
38127 #ifndef wxPyUSE_EXPORT
38128 // Make our API structure a CObject so other modules can import it
38129 // from this module.
38130 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
38131 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
38135 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
38136 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
38137 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
38139 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
38142 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
38144 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
38145 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
38146 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
38147 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
38148 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
38149 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
38150 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
38151 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
38152 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
38153 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
38154 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
38155 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
38156 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
38157 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
38158 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
38159 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
38160 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
38161 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
38162 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
38163 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
38164 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
38165 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
38166 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
38167 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
38168 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
38169 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
38170 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
38171 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
38172 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
38173 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
38174 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
38175 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
38176 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
38177 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
38178 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
38179 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
38180 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
38181 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
38182 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
38183 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
38184 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
38185 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
38186 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
38187 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
38188 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
38189 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
38190 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
38191 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
38192 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
38193 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
38194 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
38195 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
38196 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
38197 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
38198 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
38199 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
38200 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
38201 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
38202 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
38203 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
38204 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
38205 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
38206 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
38207 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
38208 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
38209 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
38210 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
38211 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
38212 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
38213 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
38214 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
38215 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
38216 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
38217 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
38218 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
38219 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
38220 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
38221 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
38222 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
38223 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
38224 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
38225 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
38226 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
38227 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
38228 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
38229 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
38230 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
38231 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
38232 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
38233 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
38234 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
38235 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
38236 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
38237 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
38238 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
38239 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
38240 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
38241 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
38242 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
38243 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
38244 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
38245 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
38246 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
38247 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
38248 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
38249 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
38250 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
38251 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
38252 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
38253 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
38254 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
38255 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
38256 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
38257 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
38258 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
38259 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
38260 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
38261 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
38262 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
38263 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
38264 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
38265 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
38267 // Initialize threading, some globals and such
38271 // Although these are defined in __version__ they need to be here too so
38272 // that an assert can be done to ensure that the wxPython and the wxWindows
38274 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
38275 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
38276 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));